From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 19 05:31:12 2020 Received: (at submit) by debbugs.gnu.org; 19 Sep 2020 09:31:12 +0000 Received: from localhost ([127.0.0.1]:45654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJZD5-00045b-OL for submit@debbugs.gnu.org; Sat, 19 Sep 2020 05:31:11 -0400 Received: from lists.gnu.org ([209.51.188.17]:42368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJZD1-00045P-G1 for submit@debbugs.gnu.org; Sat, 19 Sep 2020 05:31:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42552) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJZCv-0005Vz-29 for bug-guix@gnu.org; Sat, 19 Sep 2020 05:31:03 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42094) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJZCs-0003r5-9m for bug-guix@gnu.org; Sat, 19 Sep 2020 05:30:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=46982 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJZCp-0003FB-2V for bug-guix@gnu.org; Sat, 19 Sep 2020 05:30:55 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Subject: gcc-mesboot@4.9.4 has duplicate =?utf-8?Q?=E2=80=98gcc-mesboot1?= =?utf-8?Q?=E2=80=99?= input X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour de la Raison de =?utf-8?Q?l'Ann=C3=A9e?= 228 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: Sat, 19 Sep 2020 11:30:52 +0200 Message-ID: <87o8m2ru43.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) 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: -3.3 (---) Hello, The gcc-mesboot@4.9.4 package has the same =E2=80=98gcc-mesboot1=E2=80=99 i= nput twice: --8<---------------cut here---------------start------------->8--- $ guix describe Generacio 159 Sep 18 2020 08:55:27 (nuna) guix 98b89f4 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 98b89f432103b66efacee0bcba41a94148b8e870 $ cat $(guix gc --references $(guix build -e '(@@ (gnu packages commencemen= t) gcc-mesboot)' -d) |grep gcc-mesboot-4.9.4-guile-builder) [=E2=80=A6] (define %build-inputs (quote (("source" . "/gnu/store/56km255bk1s880yn6rxw4wj3crm2pshk-gcc-4.9.4.ta= r.xz") ("gcc-wrapper" . "/gnu/store/w527yvvbn3m8m243x7q9h6bal035ry9h-gcc-mes= boot1-wrapper-4.6.4") ("gcc" . "/gnu/store/q7f07gpd9sq9krc68gxa73vbqmk06y0a-gcc-mesboot1-4.= 6.4") ; =E2=87=90 ("headers" . "/gnu/store/aj9plwk7k9ma17bbcwd7l8f48z1bim66-glibc-heade= rs-mesboot-2.16.0") ("libc" . "/gnu/store/wgb70ir475v4vhg4bcjzv4h2kaa93qj7-glibc-mesboot-= 2.16.0") ("binutils" . "/gnu/store/mza1k0mgr8ab407yzavwwz07ly7221wy-binutils-m= esboot-2.20.1a") ("xz" . "/gnu/store/r1zsxj7wlvw1aa1ifv3nyrrjag44pc9s-xz-mesboot-5.0.0= ") ("gcc" . "/gnu/store/q7f07gpd9sq9krc68gxa73vbqmk06y0a-gcc-mesboot1-4.= 6.4") ; =E2=87=90 --8<---------------cut here---------------end--------------->8--- This is visible at the package level: --8<---------------cut here---------------start------------->8--- scheme@(gnu packages commencement)> ,pp (package-native-inputs gcc-mesboot) $11 =3D (("gcc-wrapper" #) ("gcc" #) ("headers" #) ("libc" #) ("binutils" #) ("xz" #) ("gcc" #) --8<---------------cut here---------------end--------------->8--- I noticed it while trying to address : it prevents the simple solution of using (delete-duplicates input-drvs) in =E2=80=98bag->derivation=E2=80=99. = (Apart from that this issue is harmless, but I think we=E2=80=99d better be strict about this sort of things deep down in the graph.) Ludo=E2=80=99.