GNU bug report logs - #43508
gcc-mesboot@4.9.4 has duplicate ‘gcc-mesboot1’ input

Previous Next

Package: guix;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Sat, 19 Sep 2020 09:32:02 UTC

Severity: important

Tags: fixed

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43508 in the body.
You can then email your comments to 43508 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#43508; Package guix. (Sat, 19 Sep 2020 09:32:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 19 Sep 2020 09:32:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: <bug-guix <at> gnu.org>
Subject: gcc-mesboot <at> 4.9.4 has duplicate ‘gcc-mesboot1’ input
Date: Sat, 19 Sep 2020 11:30:52 +0200
Hello,

The gcc-mesboot <at> 4.9.4 package has the same ‘gcc-mesboot1’ input 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 commencement) gcc-mesboot)' -d) |grep gcc-mesboot-4.9.4-guile-builder)
  […]
  (define %build-inputs
    (quote
     (("source" . "/gnu/store/56km255bk1s880yn6rxw4wj3crm2pshk-gcc-4.9.4.tar.xz")
      ("gcc-wrapper" . "/gnu/store/w527yvvbn3m8m243x7q9h6bal035ry9h-gcc-mesboot1-wrapper-4.6.4")
      ("gcc" . "/gnu/store/q7f07gpd9sq9krc68gxa73vbqmk06y0a-gcc-mesboot1-4.6.4")   ; ⇐
      ("headers" . "/gnu/store/aj9plwk7k9ma17bbcwd7l8f48z1bim66-glibc-headers-mesboot-2.16.0")
      ("libc" . "/gnu/store/wgb70ir475v4vhg4bcjzv4h2kaa93qj7-glibc-mesboot-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")   ; ⇐
--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 = (("gcc-wrapper"
  #<package gcc-mesboot1-wrapper <at> 4.6.4 gnu/packages/commencement.scm:2321 7f3f5dd12960>)
 ("gcc"
  #<package gcc-mesboot1 <at> 4.6.4 gnu/packages/commencement.scm:1992 7f3f5dd12d20>)
 ("headers"
  #<package glibc-headers-mesboot <at> 2.16.0 gnu/packages/commencement.scm:2183 7f3f5dd12aa0>)
 ("libc"
  #<package glibc-mesboot <at> 2.16.0 gnu/packages/commencement.scm:2291 7f3f5dd12a00>)
 ("binutils"
  #<package binutils-mesboot <at> 2.20.1a gnu/packages/commencement.scm:2108 7f3f5dd12b40>)
 ("xz"
  #<package xz-mesboot <at> 5.0.0 gnu/packages/commencement.scm:2041 7f3f5dd12c80>)
 ("gcc"
  #<package gcc-mesboot1 <at> 4.6.4 gnu/packages/commencement.scm:1992 7f3f5dd12d20>)
--8<---------------cut here---------------end--------------->8---

I noticed it while trying to address
<https://issues.guix.gnu.org/38100>: it prevents the simple solution of
using (delete-duplicates input-drvs) in ‘bag->derivation’.  (Apart from
that this issue is harmless, but I think we’d better be strict about
this sort of things deep down in the graph.)

Ludo’.




Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sat, 19 Sep 2020 09:38:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#43508; Package guix. (Mon, 21 Sep 2020 13:52:01 GMT) Full text and rfc822 format available.

Message #10 received at 43508 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: 43508 <at> debbugs.gnu.org
Subject: Re: bug#43508: gcc-mesboot <at> 4.9.4 has duplicate
 ‘gcc-mesboot1’ input
Date: Mon, 21 Sep 2020 15:51:03 +0200
Ludovic Courtès <ludo <at> gnu.org> skribis:

> The gcc-mesboot <at> 4.9.4 package has the same ‘gcc-mesboot1’ 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 commencement) gcc-mesboot)' -d) |grep gcc-mesboot-4.9.4-guile-builder)
>   […]
>   (define %build-inputs
>     (quote
>      (("source" . "/gnu/store/56km255bk1s880yn6rxw4wj3crm2pshk-gcc-4.9.4.tar.xz")
>       ("gcc-wrapper" . "/gnu/store/w527yvvbn3m8m243x7q9h6bal035ry9h-gcc-mesboot1-wrapper-4.6.4")
>       ("gcc" . "/gnu/store/q7f07gpd9sq9krc68gxa73vbqmk06y0a-gcc-mesboot1-4.6.4")   ; ⇐
>       ("headers" . "/gnu/store/aj9plwk7k9ma17bbcwd7l8f48z1bim66-glibc-headers-mesboot-2.16.0")
>       ("libc" . "/gnu/store/wgb70ir475v4vhg4bcjzv4h2kaa93qj7-glibc-mesboot-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")   ; ⇐

Fixed in 18fa433bf5c420868562b9f4b017c5c97251a44b on ‘core-updates’.

> I noticed it while trying to address
> <https://issues.guix.gnu.org/38100>: it prevents the simple solution of
> using (delete-duplicates input-drvs) in ‘bag->derivation’.  (Apart from
> that this issue is harmless, but I think we’d better be strict about
> this sort of things deep down in the graph.)

There are other similar situations that prevent this solution on
‘master’ anyway.

In particular, any package that has the same dependency both in ‘inputs’
and in ‘native-inputs’ ends up with duplicates in ‘%build-inputs’.  This
is the case, for example, of ‘help2man’, where Perl is both in
‘native-inputs’ and in ‘inputs’.

Ludo’.




Added tag(s) fixed. Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 27 Sep 2020 21:41:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 43508 <at> debbugs.gnu.org and Ludovic Courtès <ludo <at> gnu.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 27 Sep 2020 21:41:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 26 Oct 2020 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.