build: copy config.{guess,sub} post autogen in zmq package#26421
build: copy config.{guess,sub} post autogen in zmq package#26421fanquake merged 1 commit intobitcoin:masterfrom
Conversation
Otherwise our config.guess and config.sub will be copied over. This problem has been masked by the fact that modern systems ship with versions that recognise all the triplets we use (namely arm64-apple-darwin). However building on ubuntu 20.04 surfaces the issue. Fixes bitcoin#26420.
hebasto
left a comment
There was a problem hiding this comment.
ACK 1914e47, tested on Ubuntu 18.04.
Updating of config.{guess,sub} files was introduced in 0d1f38c. And it worked well until got broken in 6897c4b, where the added ./autogen.sh invocation overwrites them back.
Does it worth moving such copying commands from $(package)_preprocess_cmds into $(package)_config_cmds for all packages, for the sake of consistency?
Guix builds
|
|
Hmm, won't this break native builds that require a newer config.* than we ship? |
|
GUIX hashes x86: arm64: |
|
The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. ReviewsSee the guideline for information on the review process.
If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update. |
Possibly, however I don't think we've ever run into an instance of that happening. More often than not, the issue is the opposite, and the system config.guess/sub are not new enough. Hence why we use this copying-over method in multiple other depends packages; it's been a necessity for RISC-V and arm64-darwin. |
…mq package 1914e47 build: copy config.{guess,sub} post autogen in zmq package (fanquake) Pull request description: Otherwise our config.guess and config.sub will be copied over. This problem has been masked by the fact that modern systems ship with versions that recognise all the triplets we use (namely arm64-apple-darwin). However building on ubuntu 20.04 surfaces the issue. Fixes bitcoin#26420. ACKs for top commit: hebasto: ACK 1914e47, tested on Ubuntu 18.04. Tree-SHA512: dff64c3c62d9f8fc205e5a4dffe8befd58838418d073a15dfe304a0f64b182dfffd9dcf98b53df44bfab905c12a62d03cd5c0f91fa7c4b246ac21ae5f20540fd
Otherwise our config.guess and config.sub will be copied over. This problem has been masked by the fact that modern systems ship with versions that recognise all the triplets we use (namely arm64-apple-darwin). However building on ubuntu 20.04 surfaces the issue.
Fixes #26420.