Skip to content

Commit 695c8b1

Browse files
fanquakeUdjinM6
authored andcommitted
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
1 parent 439f6d1 commit 695c8b1

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
@@ -54,7 +54,8 @@ BASEPREFIX="${PWD}/depends"
5454
store_path() {
5555
grep --extended-regexp "/[^-]{32}-${1}-[^-]+${2:+-${2}}" "${GUIX_ENVIRONMENT}/manifest" \
5656
| head --lines=1 \
57-
| sed --expression='s|^[[:space:]]*"||' \
57+
| sed --expression='s|\x29*$||' \
58+
--expression='s|^[[:space:]]*"||' \
5859
--expression='s|"[[:space:]]*$||'
5960
}
6061

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
@@ -97,16 +97,16 @@ http://www.linuxfromscratch.org/hlfs/view/development/chapter05/gcc-pass1.html"
9797
;; 2. Build cross-compiled kernel headers with XGCC-SANS-LIBC, derived
9898
;; from BASE-KERNEL-HEADERS
9999
(xkernel (cross-kernel-headers target
100-
base-kernel-headers
101-
xgcc-sans-libc
102-
xbinutils))
100+
#:linux-headers base-kernel-headers
101+
#:xgcc xgcc-sans-libc
102+
#:xbinutils xbinutils))
103103
;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL,
104104
;; derived from BASE-LIBC
105105
(xlibc (explicit-cross-configure (cross-libc target
106-
base-libc
107-
xgcc-sans-libc
108-
xbinutils
109-
xkernel)))
106+
#:libc base-libc
107+
#:xgcc xgcc-sans-libc
108+
#:xbinutils xbinutils
109+
#:xheaders xkernel))
110110
;; 4. Build a cross-compiling gcc targeting XLIBC, derived from
111111
;; BASE-GCC
112112
(xgcc (explicit-cross-configure (cross-gcc target
@@ -167,8 +167,7 @@ desirable for building Dash Core release binaries."
167167

168168
(define (make-mingw-w64-cross-gcc cross-gcc)
169169
(package-with-extra-patches cross-gcc
170-
(search-our-patches "vmov-alignment.patch"
171-
"gcc-broken-longjmp.patch")))
170+
(search-our-patches "vmov-alignment.patch")))
172171

173172
(define (make-mingw-pthreads-cross-toolchain target)
174173
"Create a cross-compilation toolchain package for TARGET"
@@ -200,8 +199,7 @@ chain for " target " development."))
200199

201200
(define (make-nsis-for-gcc-10 base-nsis)
202201
(package-with-extra-patches base-nsis
203-
(search-our-patches "nsis-gcc-10-memmove.patch"
204-
"nsis-disable-installer-reloc.patch")))
202+
(search-our-patches "nsis-gcc-10-memmove.patch")))
205203

206204
(define osslsigncode
207205
(package
@@ -262,7 +260,7 @@ thus should be able to compile on most platforms where these exist.")
262260
(define-public python-oscrypto
263261
(package
264262
(name "python-oscrypto")
265-
(version "1.2.1")
263+
(version "1.3.0")
266264
(source
267265
(origin
268266
(method git-fetch)
@@ -272,7 +270,7 @@ thus should be able to compile on most platforms where these exist.")
272270
(file-name (git-file-name name version))
273271
(sha256
274272
(base32
275-
"1d4d8s4z340qhvb3g5m5v3436y3a71yc26wk4749q64m09kxqc3l"))
273+
"1v5wkmzcyiqy39db8j2dvkdrv2nlsc48556h73x4dzjwd6kg4q0a"))
276274
(patches (search-our-patches "oscrypto-hard-code-openssl.patch"))))
277275
(build-system python-build-system)
278276
(native-search-paths
@@ -529,7 +527,8 @@ inspecting signatures in Mach-O binaries.")
529527
(patches (search-our-patches "glibc-ldd-x86_64.patch"
530528
"glibc-versioned-locpath.patch"
531529
"glibc-2.27-fcommon.patch"
532-
"glibc-2.27-guix-prefix.patch"))))))
530+
"glibc-2.27-guix-prefix.patch"
531+
"glibc-2.27-powerpc-ldbrx.patch"))))
533532

534533
(define (fix-ppc64-nx-default lief)
535534
(package-with-extra-patches lief
@@ -591,7 +590,7 @@ parse, modify and abstract ELF, PE and MachO formats.")
591590
(list zlib "static")
592591
;; Build tools
593592
gnu-make
594-
libtool-2.4.7
593+
libtool
595594
autoconf-2.71
596595
automake
597596
pkg-config
@@ -600,7 +599,7 @@ parse, modify and abstract ELF, PE and MachO formats.")
600599
gcc-toolchain-10
601600
(list gcc-toolchain-10 "static")
602601
;; Scripting
603-
python-minimal ;; (3.9)
602+
python-minimal ;; (3.10)
604603
;; Git
605604
git-minimal
606605
;; Tests

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

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

0 commit comments

Comments
 (0)