GNU bug report logs - #38093
‘guix build --target’ crashes

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Wed, 6 Nov 2019 22:12:02 UTC

Severity: normal

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 38093 in the body.
You can then email your comments to 38093 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#38093; Package guix. (Wed, 06 Nov 2019 22:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 06 Nov 2019 22:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: bug-Guix <at> gnu.org
Subject: ‘guix build --target’ crashes
Date: Wed, 06 Nov 2019 23:11:22 +0100
I noticed this:

--8<---------------cut here---------------start------------->8---
$ guix build coreutils --target=arm-linux-gnueabihf -n
Backtrace:
In srfi/srfi-1.scm:
   592:29 19 (map1 (("diffutils" #<package diffutils <at> 3.7 guix/b…>) …))
   592:29 18 (map1 (("patch" #<package patch <at> 2.7.6 guix/build-s…>) …))
   592:29 17 (map1 (("findutils" #<package findutils <at> 4.6.0 guix…>) …))
   592:29 16 (map1 (("gawk" #<package gawk <at> 5.0.1 guix/build-sys…>) …))
   592:29 15 (map1 (("sed" #<package sed <at> 4.7 gnu/packages/comme…>) …))
   592:29 14 (map1 (("grep" #<package grep <at> 3.3 gnu/packages/com…>) …))
   592:29 13 (map1 (("coreutils" #<package coreutils <at> 8.31 guix/…>) …))
   592:17 12 (map1 (("make" #<package make <at> 4.2.1 gnu/packages/c…>) …))
In guix/packages.scm:
   991:16 11 (expand-input #<store-connection 256.99 7fcc0b0c5ae0> # …)
   948:16 10 (cache! #<weak-table 110/223> #<package make <at> 4.2.1 gnu…> …)
  1267:22  9 (thunk)
  1200:25  8 (bag->derivation #<store-connection 256.99 7fcc0b0c5ae0> …)
In srfi/srfi-1.scm:
   592:29  7 (map1 (("source" #<origin "mirror://gnu/make/make-…>) …))
   592:17  6 (map1 (("pkg-config" #<package pkg-config-arm-linu…>) …))
In guix/packages.scm:
   991:16  5 (expand-input #<store-connection 256.99 7fcc0b0c5ae0> # …)
   948:16  4 (cache! #<weak-table 110/223> #<package pkg-config-arm…> …)
  1266:22  3 (thunk)
   948:16  2 (cache! #<weak-table 118/223> #<package pkg-config-arm…> …)
  1050:19  1 (thunk)
In guix/build-system/trivial.scm:
     37:0  0 (lower _ #:source _ #:inputs _ #:native-inputs _ # _ # _ …)

guix/build-system/trivial.scm:37:0: In procedure lower:
Unrecognized keyword: #:implicit-inputs?
$ guix describe
Generacio 114   Nov 02 2019 11:32:51    (nuna)
  guix ab1c063
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master
    commit: ab1c063ab08e069fbe62919828fa634a2e222bbf
--8<---------------cut here---------------end--------------->8---

Adding “-L /var/empty” on the command line lets the problem go away,
suggesting that it has to do with file load order (package cache vs. no
package cache).  Likewise, to reproduce with ./pre-inst-env, do:

  ./pre-inst-env guix build --target=arm-linux-gnueabihf -n -e '(@ (gnu packages base) coreutils)'

… which has the same effect as going through the package cache.

From a quick look, this regression was introduced by a commit in the
861907f01efb1cae7f260e8cb7b991d5034a486a..bd04fe878627a14533d908ccdf5b906050d6e0a4
range, presumably one touching ‘package-with-explicit-inputs’.

To be continued…

Ludo’.




Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Thu, 07 Nov 2019 17:43:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Courtès <ludo <at> gnu.org>:
bug acknowledged by developer. (Thu, 07 Nov 2019 17:43:02 GMT) Full text and rfc822 format available.

Message #10 received at 38093-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 38093-done <at> debbugs.gnu.org
Subject: Re: bug#38093: ‘guix build --target’ crashes
Date: Thu, 07 Nov 2019 18:41:59 +0100
Ludovic Courtès <ludo <at> gnu.org> skribis:

> $ guix build coreutils --target=arm-linux-gnueabihf -n
> Backtrace:
> In srfi/srfi-1.scm:
>    592:29 19 (map1 (("diffutils" #<package diffutils <at> 3.7 guix/b…>) …))
>    592:29 18 (map1 (("patch" #<package patch <at> 2.7.6 guix/build-s…>) …))
>    592:29 17 (map1 (("findutils" #<package findutils <at> 4.6.0 guix…>) …))
>    592:29 16 (map1 (("gawk" #<package gawk <at> 5.0.1 guix/build-sys…>) …))
>    592:29 15 (map1 (("sed" #<package sed <at> 4.7 gnu/packages/comme…>) …))
>    592:29 14 (map1 (("grep" #<package grep <at> 3.3 gnu/packages/com…>) …))
>    592:29 13 (map1 (("coreutils" #<package coreutils <at> 8.31 guix/…>) …))
>    592:17 12 (map1 (("make" #<package make <at> 4.2.1 gnu/packages/c…>) …))
> In guix/packages.scm:
>    991:16 11 (expand-input #<store-connection 256.99 7fcc0b0c5ae0> # …)
>    948:16 10 (cache! #<weak-table 110/223> #<package make <at> 4.2.1 gnu…> …)
>   1267:22  9 (thunk)
>   1200:25  8 (bag->derivation #<store-connection 256.99 7fcc0b0c5ae0> …)
> In srfi/srfi-1.scm:
>    592:29  7 (map1 (("source" #<origin "mirror://gnu/make/make-…>) …))
>    592:17  6 (map1 (("pkg-config" #<package pkg-config-arm-linu…>) …))
> In guix/packages.scm:
>    991:16  5 (expand-input #<store-connection 256.99 7fcc0b0c5ae0> # …)
>    948:16  4 (cache! #<weak-table 110/223> #<package pkg-config-arm…> …)
>   1266:22  3 (thunk)
>    948:16  2 (cache! #<weak-table 118/223> #<package pkg-config-arm…> …)
>   1050:19  1 (thunk)
> In guix/build-system/trivial.scm:
>      37:0  0 (lower _ #:source _ #:inputs _ #:native-inputs _ # _ # _ …)
>
> guix/build-system/trivial.scm:37:0: In procedure lower:
> Unrecognized keyword: #:implicit-inputs?

Fixed by 537b2daba9a5f0c17bde2203e6fb074a661d5b32.

Ludo'.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 06 Dec 2019 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 141 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.