From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MJ+pNtawaF9ZCAAA0tVLHw (envelope-from ) for ; Mon, 21 Sep 2020 13:55:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wNW0MtawaF8IaQAA1q6Kng (envelope-from ) for ; Mon, 21 Sep 2020 13:55:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4D21B9402DA for ; Mon, 21 Sep 2020 13:55:34 +0000 (UTC) Received: from localhost ([::1]:41754 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKMI1-0006w7-3F for larch@yhetil.org; Mon, 21 Sep 2020 09:55:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:32834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kKMEb-0004ll-Rf for bug-guix@gnu.org; Mon, 21 Sep 2020 09:52:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42362) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kKMEb-00065V-IZ for bug-guix@gnu.org; Mon, 21 Sep 2020 09:52:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kKMEb-0003Gt-Ha for bug-guix@gnu.org; Mon, 21 Sep 2020 09:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#43508: gcc-mesboot@4.9.4 has duplicate =?UTF-8?Q?=E2=80=98gcc-mesboot1=E2=80=99?= input Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 21 Sep 2020 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43508 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 43508@debbugs.gnu.org Received: via spool by 43508-submit@debbugs.gnu.org id=B43508.160069627512523 (code B ref 43508); Mon, 21 Sep 2020 13:52:01 +0000 Received: (at 43508) by debbugs.gnu.org; 21 Sep 2020 13:51:15 +0000 Received: from localhost ([127.0.0.1]:53908 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKMDq-0003Ft-W4 for submit@debbugs.gnu.org; Mon, 21 Sep 2020 09:51:15 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kKMDn-0003FY-Hg for 43508@debbugs.gnu.org; Mon, 21 Sep 2020 09:51:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:57137) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kKMDi-00061M-8P for 43508@debbugs.gnu.org; Mon, 21 Sep 2020 09:51:06 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=40278 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kKMDh-0007uo-Mb for 43508@debbugs.gnu.org; Mon, 21 Sep 2020 09:51:06 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o8m2ru43.fsf@gnu.org> Date: Mon, 21 Sep 2020 15:51:03 +0200 In-Reply-To: <87o8m2ru43.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sat, 19 Sep 2020 11:30:52 +0200") Message-ID: <87pn6fjl14.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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: FxvZZtHXLdkT Ludovic Court=C3=A8s skribis: > The gcc-mesboot@4.9.4 package has the same =E2=80=98gcc-mesboot1=E2=80=99= input twice: > > $ 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 commencem= ent) 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.= tar.xz") > ("gcc-wrapper" . "/gnu/store/w527yvvbn3m8m243x7q9h6bal035ry9h-gcc-m= esboot1-wrapper-4.6.4") > ("gcc" . "/gnu/store/q7f07gpd9sq9krc68gxa73vbqmk06y0a-gcc-mesboot1-= 4.6.4") ; =E2=87=90 > ("headers" . "/gnu/store/aj9plwk7k9ma17bbcwd7l8f48z1bim66-glibc-hea= ders-mesboot-2.16.0") > ("libc" . "/gnu/store/wgb70ir475v4vhg4bcjzv4h2kaa93qj7-glibc-mesboo= t-2.16.0") > ("binutils" . "/gnu/store/mza1k0mgr8ab407yzavwwz07ly7221wy-binutils= -mesboot-2.20.1a") > ("xz" . "/gnu/store/r1zsxj7wlvw1aa1ifv3nyrrjag44pc9s-xz-mesboot-5.0= .0") > ("gcc" . "/gnu/store/q7f07gpd9sq9krc68gxa73vbqmk06y0a-gcc-mesboot1-= 4.6.4") ; =E2=87=90 Fixed in 18fa433bf5c420868562b9f4b017c5c97251a44b on =E2=80=98core-updates= =E2=80=99. > 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 ab= out > this sort of things deep down in the graph.) There are other similar situations that prevent this solution on =E2=80=98master=E2=80=99 anyway. In particular, any package that has the same dependency both in =E2=80=98in= puts=E2=80=99 and in =E2=80=98native-inputs=E2=80=99 ends up with duplicates in =E2=80=98= %build-inputs=E2=80=99. This is the case, for example, of =E2=80=98help2man=E2=80=99, where Perl is both= in =E2=80=98native-inputs=E2=80=99 and in =E2=80=98inputs=E2=80=99. Ludo=E2=80=99.