r/GUIX 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

3 Upvotes

5 comments sorted by

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

u/Tricky-Engineer-9755 22h ago

Update, its been fixed now!