Subject: Re: bug#52060: [core-updates-frozen] Guile crash during evaluation on Cuirass
From: Ludovic Courtès <[email-masked]>
To: [email-masked]
Date: Tue, 23 Nov 2021 18:34:28 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Ludovic Courtès <[email-masked]> skribis:

> Guile aborts while evaluating commit
> b15e543d303ea58fdc0f0541c708389f9d513e3d of ‘core-updates-frozen’:

Running ‘make cuirass-jobs’ from that commit gave me a clearer message:

--8<---------------cut here---------------start------------->8---
$ make cuirass-jobs
[…]
Generating package cache for '/gnu/store/h9kcxvinlnpm2f51ahwxwk5g7886q65b-profile'...
(values (value "/gnu/store/xmmbv653r8kk1zyd83l8z2i7z1i3yqyn-guix-package-cache/lib/guix/package.cache"))
@ build-succeeded /gnu/store/qia7z24768cv7b252b6xa0nq3syr5hx8-guix-package-cache.drv -
@ build-started /gnu/store/7jnn5bm7c99fc623vyyhk9vdyi0gzmrr-profile.drv - x86_64-linux /var/log/guix/drvs/7j//nn5bm7c99fc623vyyhk9vdyi0gzmrr-profile.drv.bz2 6263
@ build-succeeded /gnu/store/7jnn5bm7c99fc623vyyhk9vdyi0gzmrr-profile.drv -
In thread:
uncaught throw to %exception: (#<&inferior-exception arguments: (%exception #<inferior-object #<&formatted-message format: "~a: patch not found\n" arguments: ("libgit2-mtime-0.patch")>>) inferior: #<inferior pipe (0 1 1) 7f0965a76f80> stack: ((#f ("ice-9/boot-9.scm" 1779 13)) (raise-exception ("ice-9/boot-9.scm" 1682 16)) (raise-exception ("ice-9/boot-9.scm" 1684 16)) (#f ("gnu/packages/version-control.scm" 865 17)) (force (#f #f #f)) (origin->derivation ("guix/packages.scm" 1955 2)) (#f ("guix/gexp.scm" 295 51)) (#f ("guix/store.scm" 1959 13)) (#f ("guix/gexp.scm" 895 13)) (run-with-store ("guix/store.scm" 2122 24)) (call-with-build-handler ("guix/store.scm" 1319 8)) (map/accumulate-builds ("guix/store.scm" 1384 9)) (#f ("guix/store.scm" 2007 12)) (#f ("guix/gexp.scm" 890 4)) (#f ("guix/gexp.scm" 1044 2)) (#f ("guix/gexp.scm" 1178 2)) (#f ("guix/packages.scm" 1852 11)) (#f ("guix/store.scm" 1959 8)) (run-with-store ("guix/store.scm" 2122 24)) (#f ("gnu/ci.scm" 404 24)) (filter-map ("srfi/srfi-1.scm" 690 23)) (#f ("gnu/ci.scm" 532 13)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map ("srfi/srfi-1.scm" 672 15)) (cuirass-jobs ("gnu/ci.scm" 516 4)) (#f ("ice-9/eval.scm" 158 9)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (call-with-prompt ("ice-9/boot-9.scm" 723 2)) (dynamic-wind ("ice-9/boot-9.scm" 141 2)) (#f (#f #f #f)) (#f ("guix/repl.scm" 98 21)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (with-exception-handler ("ice-9/boot-9.scm" 1746 15)) (#f ("guix/repl.scm" 125 7)))>)
In thread:
uncaught throw to %exception: (#<&inferior-exception arguments: (%exception #<inferior-object #<&formatted-message format: "~a: patch not found\n" arguments: ("libgit2-mtime-0.patch")>>) inferior: #<inferior pipe (0 1 1) 7f09677f5540> stack: ((#f ("ice-9/boot-9.scm" 1779 13)) (raise-exception ("ice-9/boot-9.scm" 1682 16)) (raise-exception ("ice-9/boot-9.scm" 1684 16)) (#f ("gnu/packages/version-control.scm" 865 17)) (force (#f #f #f)) (origin->derivation ("guix/packages.scm" 1955 2)) (#f ("guix/gexp.scm" 295 51)) (#f ("guix/store.scm" 1959 13)) (#f ("guix/gexp.scm" 895 13)) (run-with-store ("guix/store.scm" 2122 24)) (call-with-build-handler ("guix/store.scm" 1319 8)) (map/accumulate-builds ("guix/store.scm" 1384 9)) (#f ("guix/store.scm" 2007 12)) (#f ("guix/gexp.scm" 890 4)) (#f ("guix/gexp.scm" 1044 2)) (#f ("guix/gexp.scm" 1178 2)) (#f ("guix/packages.scm" 1852 11)) (#f ("guix/store.scm" 1959 8)) (run-with-store ("guix/store.scm" 2122 24)) (#f ("gnu/ci.scm" 404 24)) (filter-map ("srfi/srfi-1.scm" 690 23)) (#f ("gnu/ci.scm" 532 13)) (map1 ("srfi/srfi-1.scm" 585 17)) (append-map ("srfi/srfi-1.scm" 672 15)) (cuirass-jobs ("gnu/ci.scm" 516 4)) (#f ("ice-9/eval.scm" 158 9)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (call-with-prompt ("ice-9/boot-9.scm" 723 2)) (dynamic-wind ("ice-9/boot-9.scm" 141 2)) (#f (#f #f #f)) (#f ("guix/repl.scm" 98 21)) (with-exception-handler ("ice-9/boot-9.scm" 1751 10)) (with-exception-handler ("ice-9/boot-9.scm" 1746 15)) (#f ("guix/repl.scm" 125 7)))>)
--8<---------------cut here---------------end--------------->8---

That doesn’t explain the scary SIGABRT, but at least this issue was due
to the missing “libgit2-mtime-0.patch” file and is fixed by
0677443c45c89c64ee3a62849b76d8e8a6ddfb17.

Ludo’.