-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI: Ensure only supported configure options are used (--enable-option-checking=fatal) #1934
Conversation
a6fd7ed
to
65c837d
Compare
Looks good to me. |
Use the multi-line format to invoke configure with a long command line. This prepares for even longer command lines.
65c837d
to
8fc665f
Compare
Fixed commit message typo. |
The macos build's "brew install" command has developed a build failure without us being involved at all: Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /opt/homebrew Could not symlink bin/pkg-config Target /opt/homebrew/bin/pkg-config is a symlink belonging to pkg-config@0.29.2. You can unlink it: brew unlink pkg-config@0.29.2 This makes the macos build work again and implements the suggestions brew prints when installing bison and flex, regarding PATH, LDFLAGS, and CPPFLAGS.
Abort autotools CI builds in case we give them an unsupported option. The default is to only warn, but the CI should catch mistakes.
8fc665f
to
172474a
Compare
Looks good. I will merge this one so that CI runs will be okay. |
I have not updated the NEWS file but we can add the two commits later. |
Please do - lest we forget. Best if the person carrying out the merge documents that in NEWS |
Done. |
This ensures that only supported
configure
options are used in the CI builds, by adding--enable-option-checking=fatal
to theconfigure
command line (since Autoconf 2.62 from 2008 or something).To make this work at all, this PR first fixes the issue of the MacOS "brew install" command suddenly failing while installing
pkg-config
.