-
Notifications
You must be signed in to change notification settings - Fork 37.7k
build: only pass --disable-dependency-tracking to packages that understand it #16949
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
build: only pass --disable-dependency-tracking to packages that understand it #16949
Conversation
Why is this a problem? |
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ConflictsReviewers, this pull request conflicts with the following ones:
If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. |
Would be nice if there was a way to make it stop instead of warn on unknown configure arguments, This would make it easy to detect when say, a dependency upgrade invalidates some of the configuration. |
I think we want to make sure that given the choice, we supply |
@dongcarl Would you rather a comment in |
Let's do that! |
Concept ACK, looks good to me as-is.
Great idea, and there is! Edit: Heh, we'd obviously want to flip this to |
…stand it By blanket passing --disable-dependency-tracking to all depends packages we end up with some warnings like: configure: WARNING: unrecognized options: --disable-dependency-tracking So instead, only pass it to packages that understand it. Related to bitcoin#16354.
19eb427
to
1ba49bc
Compare
Thanks @theuni. I've left the changes as they are, and added an additional commit that adds |
Gitian builds for commit f4d9307 (master):
Gitian builds for commit babbe24 (master and this pull):
|
ACK 1ba49bc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK 1ba49bc
…ges that understand it 1ba49bc build: pass --enable-option-checking to applicable packages (fanquake) bcff8e2 build: only pass --disable-dependency-tracking to packages that understand it (fanquake) Pull request description: By blanket passing `--disable-dependency-tracking` to all depends packages we end up with warnings (i.e in `bdb` or `freetype`) like: ```bash configure: WARNING: unrecognized options: --disable-dependency-tracking ``` Instead, only pass it to packages that actually understand it. Related to #16354. More info on `--disable-dependency-tracking` available [here](https://www.gnu.org/software/automake/manual/html_node/Dependency-Tracking.html). This PR also adds `--enable-option-checking` as a configure option to all applicable packages. ACKs for top commit: laanwj: ACK 1ba49bc theuni: ACK 1ba49bc Tree-SHA512: 6d3143ad5f5d1abed5e0a0b2ffbb4323f21c7bf24b0b8df26fb1b3cd16cf5309bbb830aa5aaec99164d5bbe8e9c62b97aa3e97ee1ddc2c7612bf8ff88a63885e
…o packages that understand it 1ba49bc build: pass --enable-option-checking to applicable packages (fanquake) bcff8e2 build: only pass --disable-dependency-tracking to packages that understand it (fanquake) Pull request description: By blanket passing `--disable-dependency-tracking` to all depends packages we end up with warnings (i.e in `bdb` or `freetype`) like: ```bash configure: WARNING: unrecognized options: --disable-dependency-tracking ``` Instead, only pass it to packages that actually understand it. Related to bitcoin#16354. More info on `--disable-dependency-tracking` available [here](https://www.gnu.org/software/automake/manual/html_node/Dependency-Tracking.html). This PR also adds `--enable-option-checking` as a configure option to all applicable packages. ACKs for top commit: laanwj: ACK 1ba49bc theuni: ACK 1ba49bc Tree-SHA512: 6d3143ad5f5d1abed5e0a0b2ffbb4323f21c7bf24b0b8df26fb1b3cd16cf5309bbb830aa5aaec99164d5bbe8e9c62b97aa3e97ee1ddc2c7612bf8ff88a63885e
Summary: ``` By blanket passing --disable-dependency-tracking to all depends packages we end up with warnings (i.e in bdb or freetype) like: configure: WARNING: unrecognized options: --disable-dependency-tracking Instead, only pass it to packages that actually understand it. [...] This PR also adds --enable-option-checking as a configure option to all applicable packages. ``` Backport of core [[bitcoin/bitcoin#16949 | PR16949]]. Test Plan: Run the Gitian builds. Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D5660
Update ZeroMQ Includes changes cherry-picked from the following upstream PRs: - bitcoin/bitcoin#9254 - bitcoin/bitcoin#13578 - bitcoin/bitcoin#15844 - bitcoin/bitcoin#16370 - Only the ZeroMQ changes. - bitcoin/bitcoin#16949
Summary: ``` By blanket passing --disable-dependency-tracking to all depends packages we end up with warnings (i.e in bdb or freetype) like: configure: WARNING: unrecognized options: --disable-dependency-tracking Instead, only pass it to packages that actually understand it. [...] This PR also adds --enable-option-checking as a configure option to all applicable packages. ``` Backport of core [[bitcoin/bitcoin#16949 | PR16949]]. Test Plan: Run the Gitian builds. Reviewers: #bitcoin_abc, deadalnix Reviewed By: #bitcoin_abc, deadalnix Differential Revision: https://reviews.bitcoinabc.org/D5660
By blanket passing
--disable-dependency-tracking
to all depends packages we end up with warnings (i.e inbdb
orfreetype
) like:Instead, only pass it to packages that actually understand it. Related to #16354.
More info on
--disable-dependency-tracking
available here.This PR also adds
--enable-option-checking
as a configure option to all applicable packages.