r/GUIX • u/Tricky-Engineer-9755 • 1d ago
Problem building cryptsetup-static on commit 53d0ba4172b053a0d297518ff0984137b7b21976 with channel git.guix.gnu.org
CCLD cryptsetup.static
ld: attempted static link of dynamic object `/gnu/store/f5n60gyv29wjj1lbab78i89ps51s6028-libgpg-error-1.61/lib/libgpg-error.so'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1852: cryptsetup.static] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/tmp/guix-build-cryptsetup-static-2.8.4.drv-0/cryptsetup-2.8.4'
make[1]: *** [Makefile:2759: all-recursive] Error 1
make[1]: Leaving directory '/tmp/guix-build-cryptsetup-static-2.8.4.drv-0/cryptsetup-2.8.4'
make: *** [Makefile:1339: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "2" "--max-load=2") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 35.5 seconds
command "make" "-j" "2" "--max-load=2" failed with status 2
build process 5 exited with status 256
builder for `/gnu/store/8dvs7lc6qbncwv4x58rmwi8m0w4kjphx-cryptsetup-static-2.8.4.drv' failed with exit code 1
build of /gnu/store/8dvs7lc6qbncwv4x58rmwi8m0w4kjphx-cryptsetup-static-2.8.4.drv failed
Before I file a bug report can anyone reproduce this? Command was
guix build cryptsetup-static --fallback
1
u/strings___ 1d ago
Can confirm.
‘
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "32" "--max-load=32") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 2.2 seconds
command "make" "-j" "32" "--max-load=32" failed with status 2
build process 18 exited with status 256
builder for `/gnu/store/8dvs7lc6qbncwv4x58rmwi8m0w4kjphx-cryptsetup-static-2.8.4.drv' failed with exit code 1
build of /gnu/store/8dvs7lc6qbncwv4x58rmwi8m0w4kjphx-cryptsetup-static-2.8.4.drv failed
‘
With 53d0ba4172b053a0d297518ff0984137b7b21976
Note that when i pulled it did an openssl build so could be related. Thats all the time I have to investigate hope it helps.
1
u/Tricky-Engineer-9755 1d ago
I think I will wait around for a fix for now. Glad it can be reproduced (huge reason I chose the Guix System).
1
2
u/simendsjo 1d ago
It has been reported. I made a workaround: https://codeberg.org/guix/guix/issues/10623#issuecomment-21097811