GNU bug report logs - #24712
Grafting of multiple-output dependencies is mishandled

Previous Next

Package: guix;

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

Date: Sun, 16 Oct 2016 20:04:02 UTC

Severity: serious

Fixed in version 0.11.1

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

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 24712 in the body.
You can then email your comments to 24712 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#24712; Package guix. (Sun, 16 Oct 2016 20:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ludo <at> gnu.org (Ludovic Courtès):
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sun, 16 Oct 2016 20:04:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guix <at> gnu.org
Subject: Grafting of multiple-output dependencies is mishandled
Date: Sun, 16 Oct 2016 22:03:08 +0200
Mark reported on IRC that gnome-session, as of v0.11.0-1639-g34f9582,
refers to the grafted “out” of glib, but at the same time refers to the
*ungrafted* “bin” output of glib:

--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix build gnome-session
/gnu/store/rchskrbc42yjlb85lq8zigpvynwc2zz7-gnome-session-3.20.2
$ guix gc -R /gnu/store/rchskrbc42yjlb85lq8zigpvynwc2zz7-gnome-session-3.20.2|grep glib-2
/gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0
/gnu/store/c4rjjznraqnw7wk7zwr8ndmq7bdmj51q-glib-2.48.0-bin
$ ./pre-inst-env guix build glib
/gnu/store/ya5d1r6bvph3m5nisjywrnkvffpdrjfn-glib-2.48.0-bin
/gnu/store/jav2d6c39k3amv4k1670845li7284a6q-glib-2.48.0-doc
/gnu/store/77f9q6kvgrrwhqbzxzc10bwdwq6kd690-glib-2.48.0
$ ./pre-inst-env guix build glib --no-grafts
/gnu/store/c4rjjznraqnw7wk7zwr8ndmq7bdmj51q-glib-2.48.0-bin
/gnu/store/ib12bfrx83aawhabpp0rijgmm61gi0wg-glib-2.48.0-doc
/gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0
--8<---------------cut here---------------end--------------->8---

(This was initially reported at
<http://debbugs.gnu.org/cgi/bugreport.cgi?bug=24418#15> but turned out
to be unrelated.)

Ludo’.




Severity set to 'serious' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Mon, 17 Oct 2016 20:35:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#24712; Package guix. (Mon, 17 Oct 2016 22:04:03 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: 24712 <at> debbugs.gnu.org
Cc: Mark H Weaver <mhw <at> netris.org>
Subject: Re: bug#24712: Grafting of multiple-output dependencies is mishandled
Date: Tue, 18 Oct 2016 00:03:11 +0200
ludo <at> gnu.org (Ludovic Courtès) skribis:

> Mark reported on IRC that gnome-session, as of v0.11.0-1639-g34f9582,
> refers to the grafted “out” of glib, but at the same time refers to the
> *ungrafted* “bin” output of glib:
>
> $ ./pre-inst-env guix build gnome-session
> /gnu/store/rchskrbc42yjlb85lq8zigpvynwc2zz7-gnome-session-3.20.2
> $ guix gc -R /gnu/store/rchskrbc42yjlb85lq8zigpvynwc2zz7-gnome-session-3.20.2|grep glib-2
> /gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0
> /gnu/store/c4rjjznraqnw7wk7zwr8ndmq7bdmj51q-glib-2.48.0-bin
> $ ./pre-inst-env guix build glib
> /gnu/store/ya5d1r6bvph3m5nisjywrnkvffpdrjfn-glib-2.48.0-bin
> /gnu/store/jav2d6c39k3amv4k1670845li7284a6q-glib-2.48.0-doc
> /gnu/store/77f9q6kvgrrwhqbzxzc10bwdwq6kd690-glib-2.48.0
> $ ./pre-inst-env guix build glib --no-grafts
> /gnu/store/c4rjjznraqnw7wk7zwr8ndmq7bdmj51q-glib-2.48.0-bin
> /gnu/store/ib12bfrx83aawhabpp0rijgmm61gi0wg-glib-2.48.0-doc
> /gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0

I believe this is fixed by 3d47aa81ba4c19b45ce9a9ff0ece0252777ea8ed.

Mark, could you check with the Bash replacement you wanted to add?

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#24712; Package guix. (Tue, 18 Oct 2016 03:24:02 GMT) Full text and rfc822 format available.

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

From: Mark H Weaver <mhw <at> netris.org>
To: ludo <at> gnu.org (Ludovic Courtès)
Cc: 24712 <at> debbugs.gnu.org
Subject: Re: bug#24712: Grafting of multiple-output dependencies is mishandled
Date: Mon, 17 Oct 2016 23:22:53 -0400
ludo <at> gnu.org (Ludovic Courtès) writes:

> ludo <at> gnu.org (Ludovic Courtès) skribis:
>
>> Mark reported on IRC that gnome-session, as of v0.11.0-1639-g34f9582,
>> refers to the grafted “out” of glib, but at the same time refers to the
>> *ungrafted* “bin” output of glib:
>>
>> $ ./pre-inst-env guix build gnome-session
>> /gnu/store/rchskrbc42yjlb85lq8zigpvynwc2zz7-gnome-session-3.20.2
>> $ guix gc -R /gnu/store/rchskrbc42yjlb85lq8zigpvynwc2zz7-gnome-session-3.20.2|grep glib-2
>> /gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0
>> /gnu/store/c4rjjznraqnw7wk7zwr8ndmq7bdmj51q-glib-2.48.0-bin
>> $ ./pre-inst-env guix build glib
>> /gnu/store/ya5d1r6bvph3m5nisjywrnkvffpdrjfn-glib-2.48.0-bin
>> /gnu/store/jav2d6c39k3amv4k1670845li7284a6q-glib-2.48.0-doc
>> /gnu/store/77f9q6kvgrrwhqbzxzc10bwdwq6kd690-glib-2.48.0
>> $ ./pre-inst-env guix build glib --no-grafts
>> /gnu/store/c4rjjznraqnw7wk7zwr8ndmq7bdmj51q-glib-2.48.0-bin
>> /gnu/store/ib12bfrx83aawhabpp0rijgmm61gi0wg-glib-2.48.0-doc
>> /gnu/store/l1s4cw9g58hmcpd2qgbckfl228143qzx-glib-2.48.0
>
> I believe this is fixed by 3d47aa81ba4c19b45ce9a9ff0ece0252777ea8ed.

Indeed, this seems to have improved things, thanks!

Unfortunately:

> Mark, could you check with the Bash replacement you wanted to add?

I tried it, and now *every* derivation fails, even simple things like
imported-module compiles, because 'guile-final' crashes while booting
within the build container.  Outside of the build container, it works
fine.

To make a long story short, it turns out that #24703 is the cause.  My
'guile-final' is grafted, using a 'glibc-final' grafted to use the new
Bash.  The only problem is, 'glibc-final' is still trying to load its
'gconv' modules from the ungrafted 'glibc-final'.  Thanks to 3d47aa81,
there are no longer any *visible* references to the ungrafted
'glibc-final', so it's no longer being included in the build
environment.

      Mark




Information forwarded to bug-guix <at> gnu.org:
bug#24712; Package guix. (Tue, 18 Oct 2016 08:31:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Mark H Weaver <mhw <at> netris.org>
Cc: 24712 <at> debbugs.gnu.org
Subject: Re: bug#24712: Grafting of multiple-output dependencies is mishandled
Date: Tue, 18 Oct 2016 10:30:20 +0200
Mark H Weaver <mhw <at> netris.org> skribis:

> To make a long story short, it turns out that #24703 is the cause.  My
> 'guile-final' is grafted, using a 'glibc-final' grafted to use the new
> Bash.  The only problem is, 'glibc-final' is still trying to load its
> 'gconv' modules from the ungrafted 'glibc-final'.  Thanks to 3d47aa81,
> there are no longer any *visible* references to the ungrafted
> 'glibc-final', so it's no longer being included in the build
> environment.

Ouch, OK.  (At least 3d47aa81 has the intended effect…)

Ludo’.




bug marked as fixed in version 0.11.1, send any further explanations to 24712 <at> debbugs.gnu.org and ludo <at> gnu.org (Ludovic Courtès) Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Tue, 18 Oct 2016 13:58: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. (Wed, 16 Nov 2016 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 175 days ago.

Previous Next


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