Skip to content

Commit 03675b2

Browse files
committed
Merge bitcoin#28328: guix: update time-machine
6cbedc3 guix: drop Windows broken-longjmp.patch (fanquake) a1d4a42 guix: drop NSIS patch now that we use 3.09 (fanquake) 1f6c75e guix: use cross-* keyword arguments (fanquake) ea4387e guix: update time-machine to 160f78a4d92205df986ed9efcce7d3aac188cb24 (fanquake) f1a4afb guix: update python-oscrypto to 1.3.0 (fanquake) a8a7b75 guix: backport glibc patch to fix powerpc build (fanquake) Pull request description: Bumps our Guix time-machine to [160f78a4d92205df986ed9efcce7d3aac188cb24](https://git.savannah.gnu.org/cgit/guix.git/commit/?id=160f78a4d92205df986ed9efcce7d3aac188cb24), which includes: GCC 10.3.0 -> 10.4.0 Binutils 2.37 -> 2.38 Automake 1.16.3 -> 1.16.5 Coreutils 8.32 -> 9.1 Findutils 4.8.2 -> 4.9.0 Libtool 2.4.6 -> 2.4.7 Linux Libre Headers 5.15.37 -> 5.15.127 Git 2.36.0 -> 2.41.0 Mingw-w64 8.0.0 -> 11.0.1 NSIS 3.05 -> 3.09 Xorriso 1.5.2 -> 1.5.6.pl02 Python 3.9 -> 3.10.7 Python-asn1crypto 1.4.0 -> 1.5.1 GCC 12.3.0 becomes available. See bitcoin#27897. LLVM 15.0.7 becomes available. Sadly not quite new enough for bitcoin#21778. Split from bitcoin#27897 for easier review, and to make it clear which changes are part of the time-machine bump vs changing to GCC 12. Guix Build: ```bash 1e4aab93de36b47cbbfc5882d3d2a598e54a9c3604b3be1891ddac70cdc46547 guix-build-6cbedc3d9b67/output/aarch64-linux-gnu/SHA256SUMS.part 278206bddf166ce507ab2ae4742ffbe6ec4256dbc6beee7e42ea040ec3d5b679 guix-build-6cbedc3d9b67/output/aarch64-linux-gnu/bitcoin-6cbedc3d9b67-aarch64-linux-gnu-debug.tar.gz 261974753869297a480db24733f057aa58e33a0ce08754bea74984a00f8c376f guix-build-6cbedc3d9b67/output/aarch64-linux-gnu/bitcoin-6cbedc3d9b67-aarch64-linux-gnu.tar.gz 13bde7d903665f7699e2aa42a23ddc5ece9fab450437ae641d8ebfe6f6b084e1 guix-build-6cbedc3d9b67/output/arm-linux-gnueabihf/SHA256SUMS.part df951e4b23db34d1248f7ee9837594645acea8e2de1ed03b23ee002579a4c653 guix-build-6cbedc3d9b67/output/arm-linux-gnueabihf/bitcoin-6cbedc3d9b67-arm-linux-gnueabihf-debug.tar.gz 5839bb71cca6aafa662f3c7e1c09393dce1c3fd13241726796bf3e681a0a34f0 guix-build-6cbedc3d9b67/output/arm-linux-gnueabihf/bitcoin-6cbedc3d9b67-arm-linux-gnueabihf.tar.gz 637b1aa49db0cab1bc35064d068f1a5fdee5ab2ceba30b7f6d2c80bbf174c107 guix-build-6cbedc3d9b67/output/arm64-apple-darwin/SHA256SUMS.part be87c1ad41f06bcaa8c940fc8d881eca41c531d250ce114325b0e042e603c257 guix-build-6cbedc3d9b67/output/arm64-apple-darwin/bitcoin-6cbedc3d9b67-arm64-apple-darwin-unsigned.dmg 632956e64d2baf9329ee086781b9268786f37b7c3c5f5232e2394ef2839d6d40 guix-build-6cbedc3d9b67/output/arm64-apple-darwin/bitcoin-6cbedc3d9b67-arm64-apple-darwin-unsigned.tar.gz 1b23548a94aee5e03a8aec1e63938d9c8505005b87fa832ed112af60861c42a6 guix-build-6cbedc3d9b67/output/arm64-apple-darwin/bitcoin-6cbedc3d9b67-arm64-apple-darwin.tar.gz e4056df68bac0bdc0a54899af8f8178e78bfb7d170750f2296fd512d0c6c20db guix-build-6cbedc3d9b67/output/dist-archive/bitcoin-6cbedc3d9b67.tar.gz 9f149c82f30eed35e2c217dc57cab37745db27f0a3205e66b4535c247dffc500 guix-build-6cbedc3d9b67/output/powerpc64-linux-gnu/SHA256SUMS.part ef91dce0a735ce0633fd273d9e1d6599d74c18280a866c1d6b71c2c3434af9c3 guix-build-6cbedc3d9b67/output/powerpc64-linux-gnu/bitcoin-6cbedc3d9b67-powerpc64-linux-gnu-debug.tar.gz dfb60f13b9a7435f608f6d09585de37f789b055c77a0ee729e5723b0ef0550fe guix-build-6cbedc3d9b67/output/powerpc64-linux-gnu/bitcoin-6cbedc3d9b67-powerpc64-linux-gnu.tar.gz 0ae916b95617042330166e20a27399c14abbc20638ae3e5e5f9f812146d4a07e guix-build-6cbedc3d9b67/output/powerpc64le-linux-gnu/SHA256SUMS.part 180d9c29da1efd21fba6be8a670b6ed01d71a5e90991da3c543f6720273831a2 guix-build-6cbedc3d9b67/output/powerpc64le-linux-gnu/bitcoin-6cbedc3d9b67-powerpc64le-linux-gnu-debug.tar.gz 9753408e3b4c10b19dba30ecb12ee2ae065c08e7c88be25599e1fdffe81bddbe guix-build-6cbedc3d9b67/output/powerpc64le-linux-gnu/bitcoin-6cbedc3d9b67-powerpc64le-linux-gnu.tar.gz b1f09baec636a3bbaff1be629c95e75767c4ae3d96f0ebe63dcefb6fdb4953fb guix-build-6cbedc3d9b67/output/riscv64-linux-gnu/SHA256SUMS.part 09149283880c39c76f73ce83848f266f93777f6d9d389c2448ef0a9af9339b30 guix-build-6cbedc3d9b67/output/riscv64-linux-gnu/bitcoin-6cbedc3d9b67-riscv64-linux-gnu-debug.tar.gz 788ce14925fec9861c78e16a57a1fd25d0f2ddf3f4e10f3c795bac534d339197 guix-build-6cbedc3d9b67/output/riscv64-linux-gnu/bitcoin-6cbedc3d9b67-riscv64-linux-gnu.tar.gz f357a0522c779d1953f37f4cab0160622cbf89ed3fe49cb5abea2509dba1d76f guix-build-6cbedc3d9b67/output/x86_64-apple-darwin/SHA256SUMS.part be5c797a3e4dc969fd9116dede0cb27bda5180e653bb63d1ef3dbcc3de983bf0 guix-build-6cbedc3d9b67/output/x86_64-apple-darwin/bitcoin-6cbedc3d9b67-x86_64-apple-darwin-unsigned.dmg 7364b2d0223b39debd386b521a5c5d1b26a446331f347b4d4e8fc58bf5b4439e guix-build-6cbedc3d9b67/output/x86_64-apple-darwin/bitcoin-6cbedc3d9b67-x86_64-apple-darwin-unsigned.tar.gz 7e873165d4ed785381b6e461a81a947814d14fdd41ae65bc82134c03b3ac0471 guix-build-6cbedc3d9b67/output/x86_64-apple-darwin/bitcoin-6cbedc3d9b67-x86_64-apple-darwin.tar.gz bf03ca15a885330ed0c91b3137dcc4ec1102570898360cc3f1073f03b792d729 guix-build-6cbedc3d9b67/output/x86_64-linux-gnu/SHA256SUMS.part 0707b0e4d8529fc5f7567d1ff029b4b6fdf0bb46f1eb227d70c3aaa2018d65e5 guix-build-6cbedc3d9b67/output/x86_64-linux-gnu/bitcoin-6cbedc3d9b67-x86_64-linux-gnu-debug.tar.gz 5f1e3713cf856f884d305ad12f43254be3871d9020cc514194fc0a6efd0867b1 guix-build-6cbedc3d9b67/output/x86_64-linux-gnu/bitcoin-6cbedc3d9b67-x86_64-linux-gnu.tar.gz c0d5e284903dbb55e4ad3d43db9b1e5d211c5259c3fae43bf4cddedea2e02c01 guix-build-6cbedc3d9b67/output/x86_64-w64-mingw32/SHA256SUMS.part d16f61c78b784b664d558a9a537e15da432ef9c18de0754dd7fd19682ab0569f guix-build-6cbedc3d9b67/output/x86_64-w64-mingw32/bitcoin-6cbedc3d9b67-win64-debug.zip 617010c1ac295bc692e0a4074acc19ebbc9561a01c8e5365428cfe61dc50fe3c guix-build-6cbedc3d9b67/output/x86_64-w64-mingw32/bitcoin-6cbedc3d9b67-win64-setup-unsigned.exe a48961c49edf9f8988b902d874f47918f6716053be6c3bc263932834cb896510 guix-build-6cbedc3d9b67/output/x86_64-w64-mingw32/bitcoin-6cbedc3d9b67-win64-unsigned.tar.gz 0cd95e8f919ac694dfd88a14fda37c57f0534cb890acc73f70aff71937fa1a8e guix-build-6cbedc3d9b67/output/x86_64-w64-mingw32/bitcoin-6cbedc3d9b67-win64.zip ``` ACKs for top commit: TheCharlatan: ACK 6cbedc3 Tree-SHA512: 48950535febab3865a8899b0ce590a7da6dbd0a89d2d2987a467da457e9ff0687d5afc65f952386fa562aa2a3fc6d8c85b1c221c73998d522076486a9fd845c4
2 parents c9273f6 + 6cbedc3 commit 03675b2

File tree

6 files changed

+263
-118
lines changed

6 files changed

+263
-118
lines changed

contrib/guix/libexec/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ BASEPREFIX="${PWD}/depends"
5252
store_path() {
5353
grep --extended-regexp "/[^-]{32}-${1}-[^-]+${2:+-${2}}" "${GUIX_ENVIRONMENT}/manifest" \
5454
| head --lines=1 \
55-
| sed --expression='s|^[[:space:]]*"||' \
55+
| sed --expression='s|\x29*$||' \
56+
--expression='s|^[[:space:]]*"||' \
5657
--expression='s|"[[:space:]]*$||'
5758
}
5859

contrib/guix/libexec/prelude.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ fi
5151
time-machine() {
5252
# shellcheck disable=SC2086
5353
guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \
54-
--commit=998eda3067c7d21e0d9bb3310d2f5a14b8f1c681 \
54+
--commit=160f78a4d92205df986ed9efcce7d3aac188cb24 \
5555
--cores="$JOBS" \
5656
--keep-failed \
5757
--fallback \

contrib/guix/manifest.scm

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,16 @@ FILE-NAME found in ./patches relative to the current file."
5757
;; 2. Build cross-compiled kernel headers with XGCC-SANS-LIBC, derived
5858
;; from BASE-KERNEL-HEADERS
5959
(xkernel (cross-kernel-headers target
60-
base-kernel-headers
61-
xgcc-sans-libc
62-
xbinutils))
60+
#:linux-headers base-kernel-headers
61+
#:xgcc xgcc-sans-libc
62+
#:xbinutils xbinutils))
6363
;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL,
6464
;; derived from BASE-LIBC
6565
(xlibc (cross-libc target
66-
base-libc
67-
xgcc-sans-libc
68-
xbinutils
69-
xkernel))
66+
#:libc base-libc
67+
#:xgcc xgcc-sans-libc
68+
#:xbinutils xbinutils
69+
#:xheaders xkernel))
7070
;; 4. Build a cross-compiling gcc targeting XLIBC, derived from
7171
;; BASE-GCC
7272
(xgcc (cross-gcc target
@@ -113,8 +113,7 @@ desirable for building Bitcoin Core release binaries."
113113
(define (gcc-mingw-patches gcc)
114114
(package-with-extra-patches gcc
115115
(search-our-patches "gcc-remap-guix-store.patch"
116-
"vmov-alignment.patch"
117-
"gcc-broken-longjmp.patch")))
116+
"vmov-alignment.patch")))
118117

119118
(define (make-mingw-pthreads-cross-toolchain target)
120119
"Create a cross-compilation toolchain package for TARGET"
@@ -145,8 +144,7 @@ chain for " target " development."))
145144

146145
(define (make-nsis-for-gcc-10 base-nsis)
147146
(package-with-extra-patches base-nsis
148-
(search-our-patches "nsis-gcc-10-memmove.patch"
149-
"nsis-disable-installer-reloc.patch")))
147+
(search-our-patches "nsis-gcc-10-memmove.patch")))
150148

151149
;; While LIEF is packaged in Guix, we maintain our own package,
152150
;; to simplify building, and more easily apply updates.
@@ -243,7 +241,7 @@ thus should be able to compile on most platforms where these exist.")
243241
(define-public python-oscrypto
244242
(package
245243
(name "python-oscrypto")
246-
(version "1.2.1")
244+
(version "1.3.0")
247245
(source
248246
(origin
249247
(method git-fetch)
@@ -253,7 +251,7 @@ thus should be able to compile on most platforms where these exist.")
253251
(file-name (git-file-name name version))
254252
(sha256
255253
(base32
256-
"1d4d8s4z340qhvb3g5m5v3436y3a71yc26wk4749q64m09kxqc3l"))
254+
"1v5wkmzcyiqy39db8j2dvkdrv2nlsc48556h73x4dzjwd6kg4q0a"))
257255
(patches (search-our-patches "oscrypto-hard-code-openssl.patch"))))
258256
(build-system python-build-system)
259257
(native-search-paths
@@ -539,7 +537,8 @@ inspecting signatures in Mach-O binaries.")
539537
(patches (search-our-patches "glibc-2.27-riscv64-Use-__has_include-to-include-asm-syscalls.h.patch"
540538
"glibc-2.27-fcommon.patch"
541539
"glibc-2.27-guix-prefix.patch"
542-
"glibc-2.27-no-librt.patch"))))
540+
"glibc-2.27-no-librt.patch"
541+
"glibc-2.27-powerpc-ldbrx.patch"))))
543542
(arguments
544543
(substitute-keyword-arguments (package-arguments glibc)
545544
((#:configure-flags flags)
@@ -586,7 +585,7 @@ inspecting signatures in Mach-O binaries.")
586585
xz
587586
;; Build tools
588587
gnu-make
589-
libtool-2.4.7
588+
libtool
590589
autoconf-2.71
591590
automake
592591
pkg-config
@@ -595,7 +594,7 @@ inspecting signatures in Mach-O binaries.")
595594
gcc-toolchain-10
596595
(list gcc-toolchain-10 "static")
597596
;; Scripting
598-
python-minimal ;; (3.9)
597+
python-minimal ;; (3.10)
599598
;; Git
600599
git-minimal
601600
;; Tests

contrib/guix/patches/gcc-broken-longjmp.patch

Lines changed: 0 additions & 70 deletions
This file was deleted.

0 commit comments

Comments
 (0)