emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#38093: closed (‘guix build --target’ crashes)


From: GNU bug Tracking System
Subject: bug#38093: closed (‘guix build --target’ crashes)
Date: Thu, 07 Nov 2019 17:43:02 +0000

Your message dated Thu, 07 Nov 2019 18:41:59 +0100
with message-id <address@hidden>
and subject line Re: bug#38093: ‘guix build --target’ crashes
has caused the debbugs.gnu.org bug report #38093,
regarding ‘guix build --target’ crashes
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
38093: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=38093
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: ‘guix build --target’ crashes Date: Wed, 06 Nov 2019 23:11:22 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
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@3.7 guix/b…>) …))
   592:29 18 (map1 (("patch" #<package patch@2.7.6 guix/build-s…>) …))
   592:29 17 (map1 (("findutils" #<package findutils@4.6.0 guix…>) …))
   592:29 16 (map1 (("gawk" #<package gawk@5.0.1 guix/build-sys…>) …))
   592:29 15 (map1 (("sed" #<package sed@4.7 gnu/packages/comme…>) …))
   592:29 14 (map1 (("grep" #<package grep@3.3 gnu/packages/com…>) …))
   592:29 13 (map1 (("coreutils" #<package coreutils@8.31 guix/…>) …))
   592:17 12 (map1 (("make" #<package make@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@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’.



--- End Message ---
--- Begin Message --- Subject: Re: bug#38093: ‘guix build --target’ crashes Date: Thu, 07 Nov 2019 18:41:59 +0100 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Ludovic Courtès <address@hidden> skribis:

> $ guix build coreutils --target=arm-linux-gnueabihf -n
> Backtrace:
> In srfi/srfi-1.scm:
>    592:29 19 (map1 (("diffutils" #<package diffutils@3.7 guix/b…>) …))
>    592:29 18 (map1 (("patch" #<package patch@2.7.6 guix/build-s…>) …))
>    592:29 17 (map1 (("findutils" #<package findutils@4.6.0 guix…>) …))
>    592:29 16 (map1 (("gawk" #<package gawk@5.0.1 guix/build-sys…>) …))
>    592:29 15 (map1 (("sed" #<package sed@4.7 gnu/packages/comme…>) …))
>    592:29 14 (map1 (("grep" #<package grep@3.3 gnu/packages/com…>) …))
>    592:29 13 (map1 (("coreutils" #<package coreutils@8.31 guix/…>) …))
>    592:17 12 (map1 (("make" #<package make@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@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'.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]