From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#38093: =?UTF-8?Q?=E2=80=98guix?= build =?UTF-8?Q?--target=E2=80=99?= crashes Date: Wed, 06 Nov 2019 23:11:22 +0100 Message-ID: <874kzgvenp.fsf@inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:60363) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSTX1-0006ed-Tr for bug-guix@gnu.org; Wed, 06 Nov 2019 17:12:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iSTX0-0001Ig-IP for bug-guix@gnu.org; Wed, 06 Nov 2019 17:12:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60761) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iSTX0-0001IT-FO for bug-guix@gnu.org; Wed, 06 Nov 2019 17:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iSTX0-0008Bx-8y for bug-guix@gnu.org; Wed, 06 Nov 2019 17:12:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:60316) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iSTWO-0006In-Sw for bug-Guix@gnu.org; Wed, 06 Nov 2019 17:11:26 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iSTWO-0000i4-PN for bug-Guix@gnu.org; Wed, 06 Nov 2019 17:11:24 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54266 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iSTWO-0004wW-8H for bug-Guix@gnu.org; Wed, 06 Nov 2019 17:11:24 -0500 List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: bug-Guix@gnu.org I noticed this: --8<---------------cut here---------------start------------->8--- $ guix build coreutils --target=3Darm-linux-gnueabihf -n Backtrace: In srfi/srfi-1.scm: 592:29 19 (map1 (("diffutils" #) = =E2=80=A6)) 592:29 18 (map1 (("patch" #) = =E2=80=A6)) 592:29 17 (map1 (("findutils" #) = =E2=80=A6)) 592:29 16 (map1 (("gawk" #) = =E2=80=A6)) 592:29 15 (map1 (("sed" #) = =E2=80=A6)) 592:29 14 (map1 (("grep" #) = =E2=80=A6)) 592:29 13 (map1 (("coreutils" #) = =E2=80=A6)) 592:17 12 (map1 (("make" #) = =E2=80=A6)) In guix/packages.scm: 991:16 11 (expand-input # # =E2=80= =A6) 948:16 10 (cache! # # =E2=80=A6) 1267:22 9 (thunk) 1200:25 8 (bag->derivation # =E2= =80=A6) In srfi/srfi-1.scm: 592:29 7 (map1 (("source" #) = =E2=80=A6)) 592:17 6 (map1 (("pkg-config" #) = =E2=80=A6)) In guix/packages.scm: 991:16 5 (expand-input # # =E2=80= =A6) 948:16 4 (cache! # # =E2=80=A6) 1266:22 3 (thunk) 948:16 2 (cache! # # =E2=80=A6) 1050:19 1 (thunk) In guix/build-system/trivial.scm: 37:0 0 (lower _ #:source _ #:inputs _ #:native-inputs _ # _ # _ =E2= =80=A6) 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 =E2=80=9C-L /var/empty=E2=80=9D 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=3Darm-linux-gnueabihf -n -e '(@ (gnu p= ackages base) coreutils)' =E2=80=A6 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..bd04fe878627a14533d908ccdf5b90605= 0d6e0a4 range, presumably one touching =E2=80=98package-with-explicit-inputs=E2=80= =99. To be continued=E2=80=A6 Ludo=E2=80=99.