aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2023-06-16 10:57:40 +0100
committerfanquake <fanquake@gmail.com>2023-06-16 11:03:07 +0100
commit1ecdf6ea8fb6dc1d64f41323a1e337beb174c25b (patch)
treed952d02b1aab1d6a1572f9d54a2953f19eba1c62 /doc
parentb3db18a0126bc4181d2a0880c27f45d203d06179 (diff)
parentfc6c17b83887ef193f2b97264b1843c94dcb915d (diff)
downloadbitcoin-1ecdf6ea8fb6dc1d64f41323a1e337beb174c25b.tar.xz
Merge bitcoin/bitcoin#27875: build: make sure we can overwrite config.{guess,sub} before doing so
fc6c17b83887ef193f2b97264b1843c94dcb915d build: make sure we can overwrite config.{guess,sub} (0xb10c) Pull request description: Since ea7b8528 (#26422), `autogen.sh` overwrites the `build-aux/config.{guess, sub}` files (installed there by `autoreconf`) with the `depends/config.{guess, sub}` files if these are newer. The `autoreconf` tool copies them from it's `share/autoconf/build-aux/` directory. Specifically on NixOS, the `share/autoconf/build-aux/` files are located in the nix-store and are read-only. `autoreconf` preserves the read-only permissions when copying. Overwriting them with our `depends/config.{guess, sub}` files subsequently fails. To make sure we can overwrite the files, set write permissions to the current user and group before overwriting. This fixes the problem on NixOS. fixes #27873 ACKs for top commit: dergoegge: tACK fc6c17b83887ef193f2b97264b1843c94dcb915d fanquake: ACK fc6c17b83887ef193f2b97264b1843c94dcb915d Tree-SHA512: e8a31f739d5b598b2fe9fe6fc3d02303c117a6adccc49b8d0fea4980027a64f915a0e1e00e4788dce6113ef1b9ec9acf9e4164486f6e4904bad405f20b6746a0
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions