Make pkgconfig Hermetic
Make sure that when building pkg-config, that we're using the make and other tools from our configured toolchain rather than using whatever we happen to find on $PATH.
Fixes #1065
Hmm, I don't know enough about macOS to understand why exactly it's failing here
Hmm, I don't know enough about macOS to understand why exactly it's failing here
For some reason the ARFLAGS are not passed:
CC libcharset_la-localcharset.lo
--
| CCLD libcharset.la
| error: /Applications/Xcode14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: no output file specified (specify with -o output)
I can repro it locally.
@dstufft We are currently setting AR to an empty string in the environment variables, that seems to work (not sure why). Would that be a proper fix?
See: https://github.com/bazelbuild/rules_foreign_cc/commit/48d7b9fa84fef6c2c58f810fa629c39e2572125b
would be nice to have a release with this one
would be nice to have a release with this one
I'll try and cut a release today..
Annoyingly the CI job for the release process failed; I don't currently have time to debug this - the tag is present on the repo so you can reference that release but cutting the release to the BCR will have to be more manual..
Actually turned out to be quite straightforward - 0.11.1 should be in the BCR once it's been reviewed there.