From unknown Mon Aug 18 11:27:13 2025 X-Loop: help-debbugs@gnu.org Subject: bug#30155: 'bag-transitive-inputs' behaves non-deterministically Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Jan 2018 11:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30155 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 30155@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.151627445818491 (code B ref -1); Thu, 18 Jan 2018 11:21:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jan 2018 11:20:58 +0000 Received: from localhost ([127.0.0.1]:60974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8Fe-0004oA-Ax for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8Fb-0004nv-VW for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec8FV-0002tN-F9 for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ec8FV-0002t0-Cg for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec8FT-0006ET-T5 for bug-guix@gnu.org; Thu, 18 Jan 2018 06:20:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec8FN-0002nl-Q1 for bug-guix@gnu.org; Thu, 18 Jan 2018 06:20:47 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48024) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ec8FN-0002mM-JV for bug-guix@gnu.org; Thu, 18 Jan 2018 06:20:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 38E2910EE4 for ; Thu, 18 Jan 2018 12:20:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sbT35GxzhO62 for ; Thu, 18 Jan 2018 12:20:39 +0100 (CET) Received: from ribbon (unknown [193.50.110.135]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4DDD510DEE for ; Thu, 18 Jan 2018 12:20:39 +0100 (CET) From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?UTF-8?Q?Niv=C3=B4se?= an 226 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 18 Jan 2018 12:20:38 +0100 Message-ID: <87wp0f8lbt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On =E2=80=98core-updates=E2=80=99 (e80514bc03b003a7ce95d7b55cf33c9f18f9e860= ) I get: --8<---------------cut here---------------start------------->8--- ludo@ribbon ~/src/guix/+core-updates$ make -q make all-recursive make[1]: Entering directory '/home/ludo/src/guix/+core-updates' Making all in po/guix make[1]: Leaving directory '/home/ludo/src/guix/+core-updates' ludo@ribbon ~/src/guix/+core-updates$ ./pre-inst-env guix build -e '(@@ (gn= u packages commencement) static-bash-for-glibc)' -d /gnu/store/xymnr48xhdzvrw0cakhyn7hgapr4wiix-bash-static-4.4.12.drv ludo@ribbon ~/src/guix/+core-updates$ rm gnu/packages/commencement.go=20 ludo@ribbon ~/src/guix/+core-updates$ ./pre-inst-env guix build -e '(@@ (gn= u packages commencement) static-bash-for-glibc)' -d ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/packages/commencement.go ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/packages/commencement.go ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/packages/commencement.go ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /home/ludo/.cache/guile/ccache/2.2-LE-8-3.A/h= ome/ludo/src/guix/+core-updates/gnu/packages/commencement.scm.go /gnu/store/crzz4z5k8hpdkbgzqvn7bz3rspq13gb5-bash-static-4.4.12.drv --8<---------------cut here---------------end--------------->8--- The difference between these two derivations is the build script. In the second case, it reads this: --8<---------------cut here---------------start------------->8--- (define %build-inputs (quote (("source" . "/gnu/store/hl0xxmm8habnijw7y45dqsp9j5nqxq6i-bash-4.4.tar= .xz") ("gcc" . "/gnu/store/a1qrh6iw7gj3f8m0d3v97xc4xrk2qbk9-gcc-cross-boot0= -wrapped-5.5.0") ("libc" . "/gnu/store/b6mcmg1wmxz83hd9ffjwzxv9xdb0xsbm-glibc-intermed= iate-2.26.105-g0890d5379c") ("libc:static" . "/gnu/store/9gy08pnv20v1g1ldmqlsy07lhj2w77gi-glibc-i= ntermediate-2.26.105-g0890d5379c-static") ("ld-wrapper-cross" . "/gnu/store/hmb02fkk0gv2j7l3kb4a1igy6cga7kbl-ld= -wrapper-boot0-0") ("binutils-cross" . "/gnu/store/580ywwc0sr3l4dqj36a5jl5ad3yh760b-binu= tils-cross-boot0-2.28.1") ("make" . "/gnu/store/f7q38v9fh9zz27qinjwscqip8k7fkirs-make-boot0-4.2= .1") ("diffutils" . "/gnu/store/96brzsaxvax24qwylwfhb2kjikbm3zhn-diffutils= -boot0-3.6") ("findutils" . "/gnu/store/imjcbzjrp4jsvmrznc8xyhja28jgnflv-findutils= -boot0-4.6.0") ("file" . "/gnu/store/b18smgaibx4kgbw9sdypdd5x5pxjif5j-file-boot0-5.3= 2") ("coreutils&co" . "/gnu/store/wsb8hrijrss858p2ddwmqwg85z8q719c-bootst= rap-binaries-0") ("bash" . "/gnu/store/wsb8hrijrss858p2ddwmqwg85z8q719c-bootstrap-bina= ries-0") ("kernel-headers" . "/gnu/store/yqahwgll57j88bq275m4xvifg9x3alsb-linu= x-libre-headers-4.9.59") ("kernel-headers" . "/gnu/store/yqahwgll57j88bq275m4xvifg9x3alsb-linu= x-libre-headers-4.9.59")))) --8<---------------cut here---------------end--------------->8--- Notice the =E2=80=9Ckernel-headers=E2=80=9D repetition, which is not in the= correct build script. The repetition stems from the traversal done by =E2=80=98bag-transitive-inp= uts=E2=80=99, which relies on pointer identity when comparing packages (via the =E2=80=98= eq?=E2=80=99 vhash in =E2=80=98transitive-inputs=E2=80=99), and for some reason there ar= e two non-eq? linux-libre-headers packages encountered here. =E2=80=98master=E2=80=99 do= esn=E2=80=99t have this problem. FTR we had a similar issue in with PAM services. Incidentally, I discovered this bug while getting berlin.guixsd.org to build =E2=80=98core-updates=E2=80=99: Cuirass there would exhibit the bug, = and thus berlin would end up building something different from what I have on my laptop (and what hydra.gnu.org has.) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 18 09:31:24 2018 Received: (at control) by debbugs.gnu.org; 18 Jan 2018 14:31:24 +0000 Received: from localhost ([127.0.0.1]:32895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecBDw-0004ll-HX for submit@debbugs.gnu.org; Thu, 18 Jan 2018 09:31:24 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:34652) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecBDu-0004lb-Dy for control@debbugs.gnu.org; Thu, 18 Jan 2018 09:31:22 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 4AA3911157 for ; Thu, 18 Jan 2018 15:31:21 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kFHN8hzQezEU for ; Thu, 18 Jan 2018 15:31:20 +0100 (CET) Received: from ribbon (unknown [193.50.110.135]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 9FF6B10FFD for ; Thu, 18 Jan 2018 15:31:20 +0100 (CET) Date: Thu, 18 Jan 2018 15:31:20 +0100 Message-Id: <87k1wf8chz.fsf@gnu.org> To: control@debbugs.gnu.org From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: control message for bug #30155 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) severity 30155 important From unknown Mon Aug 18 11:27:13 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#30155: closed (Re: bug#30155: 'bag-transitive-inputs' behaves non-deterministically) Message-ID: References: <87h8rj6qmi.fsf@gnu.org> <87wp0f8lbt.fsf@gnu.org> X-Gnu-PR-Message: they-closed 30155 X-Gnu-PR-Package: guix Reply-To: 30155@debbugs.gnu.org Date: Thu, 18 Jan 2018 17:10:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1516295402-16056-1" This is a multi-part message in MIME format... ------------=_1516295402-16056-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #30155: 'bag-transitive-inputs' behaves non-deterministically which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 30155@debbugs.gnu.org. --=20 30155: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30155 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1516295402-16056-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 30155-done) by debbugs.gnu.org; 18 Jan 2018 17:09:14 +0000 Received: from localhost ([127.0.0.1]:33617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecDgg-00049i-1h for submit@debbugs.gnu.org; Thu, 18 Jan 2018 12:09:14 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:36726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ecDgd-00049Z-Vn for 30155-done@debbugs.gnu.org; Thu, 18 Jan 2018 12:09:12 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 475CA10EDD for <30155-done@debbugs.gnu.org>; Thu, 18 Jan 2018 18:09:11 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hjmfQ-aScErw for <30155-done@debbugs.gnu.org>; Thu, 18 Jan 2018 18:09:09 +0100 (CET) Received: from ribbon (unknown [193.50.110.135]) by hera.aquilenet.fr (Postfix) with ESMTPSA id C23B110A34 for <30155-done@debbugs.gnu.org>; Thu, 18 Jan 2018 18:09:09 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: 30155-done@debbugs.gnu.org Subject: Re: bug#30155: 'bag-transitive-inputs' behaves non-deterministically References: <87wp0f8lbt.fsf@gnu.org> Date: Thu, 18 Jan 2018 18:09:09 +0100 In-Reply-To: <87wp0f8lbt.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Thu, 18 Jan 2018 12:20:38 +0100") Message-ID: <87h8rj6qmi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 30155-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > Notice the =E2=80=9Ckernel-headers=E2=80=9D repetition, which is not in t= he correct > build script. > > The repetition stems from the traversal done by =E2=80=98bag-transitive-i= nputs=E2=80=99, > which relies on pointer identity when comparing packages (via the =E2=80= =98eq?=E2=80=99 > vhash in =E2=80=98transitive-inputs=E2=80=99), and for some reason there = are two non-eq? > linux-libre-headers packages encountered here. =E2=80=98master=E2=80=99 = doesn=E2=80=99t have > this problem. This is fixed by 8102cf0b37e100f760d25b500cf91ed38928615c, which makes sure there=E2=80=99s only one =E2=80=9Clinux-libre-boot0=E2=80=9D package o= bject. At some point we could change the way =E2=80=98transitive-inputs=E2=80=99 c= hecks for already-visited node, though I think it=E2=80=99d be hard to avoid relying = on eq?-ness. Ludo=E2=80=99. ------------=_1516295402-16056-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Jan 2018 11:20:58 +0000 Received: from localhost ([127.0.0.1]:60974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8Fe-0004oA-Ax for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ec8Fb-0004nv-VW for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec8FV-0002tN-F9 for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54390) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ec8FV-0002t0-Cg for submit@debbugs.gnu.org; Thu, 18 Jan 2018 06:20:49 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ec8FT-0006ET-T5 for bug-guix@gnu.org; Thu, 18 Jan 2018 06:20:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ec8FN-0002nl-Q1 for bug-guix@gnu.org; Thu, 18 Jan 2018 06:20:47 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:48024) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ec8FN-0002mM-JV for bug-guix@gnu.org; Thu, 18 Jan 2018 06:20:41 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 38E2910EE4 for ; Thu, 18 Jan 2018 12:20:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sbT35GxzhO62 for ; Thu, 18 Jan 2018 12:20:39 +0100 (CET) Received: from ribbon (unknown [193.50.110.135]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 4DDD510DEE for ; Thu, 18 Jan 2018 12:20:39 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: bug-guix@gnu.org Subject: 'bag-transitive-inputs' behaves non-deterministically X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 =?utf-8?Q?Niv=C3=B4se?= an 226 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 18 Jan 2018 12:20:38 +0100 Message-ID: <87wp0f8lbt.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On =E2=80=98core-updates=E2=80=99 (e80514bc03b003a7ce95d7b55cf33c9f18f9e860= ) I get: --8<---------------cut here---------------start------------->8--- ludo@ribbon ~/src/guix/+core-updates$ make -q make all-recursive make[1]: Entering directory '/home/ludo/src/guix/+core-updates' Making all in po/guix make[1]: Leaving directory '/home/ludo/src/guix/+core-updates' ludo@ribbon ~/src/guix/+core-updates$ ./pre-inst-env guix build -e '(@@ (gn= u packages commencement) static-bash-for-glibc)' -d /gnu/store/xymnr48xhdzvrw0cakhyn7hgapr4wiix-bash-static-4.4.12.drv ludo@ribbon ~/src/guix/+core-updates$ rm gnu/packages/commencement.go=20 ludo@ribbon ~/src/guix/+core-updates$ ./pre-inst-env guix build -e '(@@ (gn= u packages commencement) static-bash-for-glibc)' -d ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/packages/commencement.go ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/packages/commencement.go ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /run/current-system/profile/lib/guile/2.2/sit= e-ccache/gnu/packages/commencement.go ;;; note: source file /home/ludo/src/guix/+core-updates/gnu/packages/commen= cement.scm ;;; newer than compiled /home/ludo/.cache/guile/ccache/2.2-LE-8-3.A/h= ome/ludo/src/guix/+core-updates/gnu/packages/commencement.scm.go /gnu/store/crzz4z5k8hpdkbgzqvn7bz3rspq13gb5-bash-static-4.4.12.drv --8<---------------cut here---------------end--------------->8--- The difference between these two derivations is the build script. In the second case, it reads this: --8<---------------cut here---------------start------------->8--- (define %build-inputs (quote (("source" . "/gnu/store/hl0xxmm8habnijw7y45dqsp9j5nqxq6i-bash-4.4.tar= .xz") ("gcc" . "/gnu/store/a1qrh6iw7gj3f8m0d3v97xc4xrk2qbk9-gcc-cross-boot0= -wrapped-5.5.0") ("libc" . "/gnu/store/b6mcmg1wmxz83hd9ffjwzxv9xdb0xsbm-glibc-intermed= iate-2.26.105-g0890d5379c") ("libc:static" . "/gnu/store/9gy08pnv20v1g1ldmqlsy07lhj2w77gi-glibc-i= ntermediate-2.26.105-g0890d5379c-static") ("ld-wrapper-cross" . "/gnu/store/hmb02fkk0gv2j7l3kb4a1igy6cga7kbl-ld= -wrapper-boot0-0") ("binutils-cross" . "/gnu/store/580ywwc0sr3l4dqj36a5jl5ad3yh760b-binu= tils-cross-boot0-2.28.1") ("make" . "/gnu/store/f7q38v9fh9zz27qinjwscqip8k7fkirs-make-boot0-4.2= .1") ("diffutils" . "/gnu/store/96brzsaxvax24qwylwfhb2kjikbm3zhn-diffutils= -boot0-3.6") ("findutils" . "/gnu/store/imjcbzjrp4jsvmrznc8xyhja28jgnflv-findutils= -boot0-4.6.0") ("file" . "/gnu/store/b18smgaibx4kgbw9sdypdd5x5pxjif5j-file-boot0-5.3= 2") ("coreutils&co" . "/gnu/store/wsb8hrijrss858p2ddwmqwg85z8q719c-bootst= rap-binaries-0") ("bash" . "/gnu/store/wsb8hrijrss858p2ddwmqwg85z8q719c-bootstrap-bina= ries-0") ("kernel-headers" . "/gnu/store/yqahwgll57j88bq275m4xvifg9x3alsb-linu= x-libre-headers-4.9.59") ("kernel-headers" . "/gnu/store/yqahwgll57j88bq275m4xvifg9x3alsb-linu= x-libre-headers-4.9.59")))) --8<---------------cut here---------------end--------------->8--- Notice the =E2=80=9Ckernel-headers=E2=80=9D repetition, which is not in the= correct build script. The repetition stems from the traversal done by =E2=80=98bag-transitive-inp= uts=E2=80=99, which relies on pointer identity when comparing packages (via the =E2=80=98= eq?=E2=80=99 vhash in =E2=80=98transitive-inputs=E2=80=99), and for some reason there ar= e two non-eq? linux-libre-headers packages encountered here. =E2=80=98master=E2=80=99 do= esn=E2=80=99t have this problem. FTR we had a similar issue in with PAM services. Incidentally, I discovered this bug while getting berlin.guixsd.org to build =E2=80=98core-updates=E2=80=99: Cuirass there would exhibit the bug, = and thus berlin would end up building something different from what I have on my laptop (and what hydra.gnu.org has.) Ludo=E2=80=99. ------------=_1516295402-16056-1--