Message ID | 87wmu0bgr7.fsf@gnu.org |
---|---|
State | New |
Headers | show |
Hello! Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > $ make as-derivation > Building Guix in Guix... > warning: 'nix-server-socket' is deprecated, use 'store-connection-socket' instead > warning: 'nix-server-major-version' is deprecated, use 'store-connection-major-version' instead > warning: 'nix-server-minor-version' is deprecated, use 'store-connection-minor-version' instead > Computing Guix derivation for 'i586-gnu'... |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022/0' > \normalized load on machine 'kluit.dezyne.org' is 0.91 > waiting for locks or build slots... > |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022/0' > \normalized load on machine 'kluit.dezyne.org' is 0.64 > \guix offload: sending 0 store items (0 MiB) to 'kluit.dezyne.org'... > offloading '/gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-2.37.drv' to 'kluit.dezyne.org'... > @ build-remote /gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-2.37.drv kluit.dezyne.org > retrieving 1 store item from 'kluit.dezyne.org'... > -importing file or directory '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2.37'... > guix offload: error: corrupt input while restoring '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2. [...] > 1. &store-protocol-error: > message: "build of `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.drv' failed" > status: 1 This looks like an offloading issue. What happens if you do this beforehand: guix build /gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.drv ? (Note that I tested on ‘master’ though, so I’m not sure if there are relevant differences between the two branches; I guess I should know better…) Thanks for testing! Ludo’.
Ludovic Courtès writes: Hi! > Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > >> $ make as-derivation >> Building Guix in Guix... >> warning: 'nix-server-socket' is deprecated, use 'store-connection-socket' instead >> warning: 'nix-server-major-version' is deprecated, use 'store-connection-major-version' instead >> warning: 'nix-server-minor-version' is deprecated, use 'store-connection-minor-version' instead >> Computing Guix derivation for 'i586-gnu'... |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022/0' >> \normalized load on machine 'kluit.dezyne.org' is 0.91 >> waiting for locks or build slots... >> |process 7189 acquired build slot '/var/guix/offload/kluit.dezyne.org:10022/0' >> \normalized load on machine 'kluit.dezyne.org' is 0.64 >> \guix offload: sending 0 store items (0 MiB) to 'kluit.dezyne.org'... >> offloading '/gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-2.37.drv' to 'kluit.dezyne.org'... >> @ build-remote /gnu/store/3hc9fardc4pwmcjh6x5x6mi1yicvy861-glibc-utf8-locales-2.37.drv kluit.dezyne.org >> retrieving 1 store item from 'kluit.dezyne.org'... >> -importing file or directory '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2.37'... >> guix offload: error: corrupt input while restoring '/gnu/store/30knn5niz8j43aqly8qy4k20755n92kv-glibc-utf8-locales-2. > [...] > >> 1. &store-protocol-error: >> message: "build of `/gnu/store/2d6gh47cnnsv8zf5dvznlsszai4ry5qc-guile-3.0.9.drv' failed" >> status: 1 > > This looks like an offloading issue. Yes, somehow I didn't have the correct chilhurd signging-key registered. > (Note that I tested on ‘master’ though, so I’m not sure if there are > relevant differences between the two branches; I guess I should know > better…) > > Thanks for testing! So, I created a new VM (needed to create yet another guix package update commit on hurd-team to avoid the circular dependency thing), and (with my curl fix from yesterday), now "guix shell -D guix" works again; and without any glibc-2.35 afaics (there's only one x86_64-linux glibc-2.35 in the hurd's store, I guess that's to be expected). I also tested on hurd-team using the `make as-derivation' trick with #:system "i586-gnu" in compile-as-derivation.scm, which now fails with --8<---------------cut here---------------start------------->8--- offloading '/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' to 'kluit.dezyne.org'... @ build-remote /gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv kluit.dezyne.org Backtrace: In ice-9/boot-9.scm: 160: 10 [catch #t #<catch-closure 1ba1510> ...] In unknown file: ?: 9 [apply-smob/1 #<catch-closure 1ba1510>] In ice-9/boot-9.scm: 66: 8 [call-with-prompt prompt0 ...] In ice-9/eval.scm: 432: 7 [eval # #] In ice-9/boot-9.scm: 2412: 6 [save-module-excursion #<procedure 1bb2c00 at ice-9/boot-9.scm:4084:3 ()>] 4089: 5 [#<procedure 1bb2c00 at ice-9/boot-9.scm:4084:3 ()>] 1734: 4 [%start-stack load-stack ...] 1739: 3 [#<procedure 1bbb930 ()>] In unknown file: ?: 2 [primitive-load "/gnu/store/dljmqd3db20j9z9bbqlha71p3jzj7cvk-bash-minimal-5.1.16-builder"] In ice-9/eval.scm: 432: 1 [eval # ()] In unknown file: ?: 0 [setlocale 6 "en_US.utf8"] ERROR: In procedure setlocale: ERROR: In procedure setlocale: Invalid argument builder for `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' failed with exit code 1 derivation '/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' offloaded to 'kluit.dezyne.org' failed: build of `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' failed --8<---------------cut here---------------end--------------->8--- Not sure where that comes from or if that's a problem Greetings, Janneke
Hi, Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > So, I created a new VM (needed to create yet another guix package update > commit on hurd-team to avoid the circular dependency thing), and (with > my curl fix from yesterday), now "guix shell -D guix" works again; and > without any glibc-2.35 afaics (there's only one x86_64-linux glibc-2.35 > in the hurd's store, I guess that's to be expected). Good. > I also tested on hurd-team using the `make as-derivation' trick with > #:system "i586-gnu" in compile-as-derivation.scm, which now fails with > > offloading '/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' to 'kluit.dezyne.org'... > @ build-remote /gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv kluit.dezyne.org > Backtrace: > In ice-9/boot-9.scm: > 160: 10 [catch #t #<catch-closure 1ba1510> ...] > In unknown file: > ?: 9 [apply-smob/1 #<catch-closure 1ba1510>] > In ice-9/boot-9.scm: > 66: 8 [call-with-prompt prompt0 ...] > In ice-9/eval.scm: > 432: 7 [eval # #] > In ice-9/boot-9.scm: > 2412: 6 [save-module-excursion #<procedure 1bb2c00 at ice-9/boot-9.scm:4084:3 ()>] > 4089: 5 [#<procedure 1bb2c00 at ice-9/boot-9.scm:4084:3 ()>] > 1734: 4 [%start-stack load-stack ...] > 1739: 3 [#<procedure 1bbb930 ()>] > In unknown file: > ?: 2 [primitive-load "/gnu/store/dljmqd3db20j9z9bbqlha71p3jzj7cvk-bash-minimal-5.1.16-builder"] > In ice-9/eval.scm: > 432: 1 [eval # ()] > In unknown file: > ?: 0 [setlocale 6 "en_US.utf8"] > > ERROR: In procedure setlocale: > ERROR: In procedure setlocale: Invalid argument > builder for `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' failed with exit code 1 It builds for me now on ‘master’: --8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix build bash-minimal -s i586-gnu --no-grafts /gnu/store/0iw3v18ar8vy1yknnf84lv0jzmq6gjhm-bash-minimal-5.1.16-doc /gnu/store/1gsf6zrl3fmbrip98nsqpkjykfhahmvd-bash-minimal-5.1.16 $ git log |head -1 commit aeb494322ca9dec4a4d66a7d063239c8536bd538 --8<---------------cut here---------------end--------------->8--- \o/ Christopher Baines <mail@cbaines.net> skribis: > These changes look good to me. > > For the data service instances, it would be good to fix the infinite > loop issue sooner rather than later. For affected revisions, I think the > data service is effectively waiting until the relevant processes run out > of memory and crash, and this is slowing down processing revisions. Yeah. Pushed as b0715d7cd2a74bc231751f8afc9dffb2047501ac. Let’s do some more testing from here and see how it goes. Thanks! Ludo’.
Ludovic Courtès writes: Hi, > Janneke Nieuwenhuizen <janneke@gnu.org> skribis: > >> I also tested on hurd-team using the `make as-derivation' trick with >> #:system "i586-gnu" in compile-as-derivation.scm, which now fails with [..] >> ERROR: In procedure setlocale: >> ERROR: In procedure setlocale: Invalid argument >> builder for `/gnu/store/qy6l0gjjpc40frz57fv08shpwj4pssfd-bash-minimal-5.1.16.drv' failed with exit code 1 > > It builds for me now on ‘master’: > > $ ./pre-inst-env guix build bash-minimal -s i586-gnu --no-grafts > /gnu/store/0iw3v18ar8vy1yknnf84lv0jzmq6gjhm-bash-minimal-5.1.16-doc > /gnu/store/1gsf6zrl3fmbrip98nsqpkjykfhahmvd-bash-minimal-5.1.16 > $ git log |head -1 > commit aeb494322ca9dec4a4d66a7d063239c8536bd538 > > \o/ Yeah, for me too; it's the grafting that seems to be implicit in `make as-derivation'...so maybe that's not a great way to test this? > Christopher Baines <mail@cbaines.net> skribis: > >> These changes look good to me. >> >> For the data service instances, it would be good to fix the infinite >> loop issue sooner rather than later. For affected revisions, I think the >> data service is effectively waiting until the relevant processes run out >> of memory and crash, and this is slowing down processing revisions. > > Yeah. > > Pushed as b0715d7cd2a74bc231751f8afc9dffb2047501ac. > > Let’s do some more testing from here and see how it goes. Great, thanks all! For `guix shell -D guix' to work with this (i.e., not hang resolving the circular dependency), I updated the guix package once again. Does hurd-packages need to be enabled again at https://ci.guix.gnu.org/? Greetings, Janneke
Dear all,
Ludovic Courtès <ludo@gnu.org> writes:
> Let’s do some more testing from here and see how it goes.
there was some discussion on IRC which, I think, is related to this
issue:
- https://logs.guix.gnu.org/guix/2023-12-03.log#104632
- https://logs.guix.gnu.org/guix/2023-12-04.log#165604
In short, people observe issues such as: "package glibc-locales@2.37
does not support x86_64-linux". There is also #67586 describing this.
I am sharing it in case it is related and with the hope that it helps.
Best regards
itd
diff --git a/build-aux/compile-as-derivation.scm b/build-aux/compile-as-derivation.scm index d945a8c79c..3bc4509f7a 100644 --- a/build-aux/compile-as-derivation.scm +++ b/build-aux/compile-as-derivation.scm @@ -51,7 +51,8 @@ (mlet* %store-monad ((source (interned-file source "guix-source" #:select? git? #:recursive? #t)) - (drv (build source #:pull-version 1))) + (drv (build source #:pull-version 1 + #:system "i586-gnu"))) (mbegin %store-monad (show-what-to-build* (list drv)) (built-derivations (list drv))