GNU bug report logs - #25095
Multiple output packages causes noop profile generations

Previous Next

Package: guix;

Reported by: Marius Bakke <mbakke <at> fastmail.com>

Date: Fri, 2 Dec 2016 17:45:02 UTC

Severity: normal

Tags: notabug

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 25095 in the body.
You can then email your comments to 25095 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#25095; Package guix. (Fri, 02 Dec 2016 17:45:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marius Bakke <mbakke <at> fastmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 02 Dec 2016 17:45:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <mbakke <at> fastmail.com>
To: bug-guix <at> gnu.org
Subject: Multiple output packages causes noop profile generations
Date: Fri, 02 Dec 2016 18:43:54 +0100
[Message part 1 (text/plain, inline)]
Sorry for the non-descriptive title. It appears that having non-default
outputs in the profile always causes a new profile generation even if
the package derivations themselves don't change. Here is an example:

$ guix package -u
The following packages will be upgraded:
   bind:utils   9.10.4-P4 → 9.10.4-P4   /gnu/store/ypv8jppwn3dvhnkrmibw3p2h35cm30ij-bind-9.10.4-P4-utils
   git:send-email       2.11.0 → 2.11.0 /gnu/store/xnm8msrlh4ac9bxzvf9pgai8xnjjkvwj-git-2.11.0-send-email
   transmission:gui     2.92 → 2.92     /gnu/store/x2q22mfakkkf7nr68nfsxcvci4psz0vi-transmission-2.92-gui

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/ws9msik5wm3qqzmi6j0ff5qhf8bzhr20-profile.drv
   /gnu/store/zlxic4wlk32zl2w1mrjx4n8qn0kabsg8-fonts-dir.drv
   /gnu/store/scap2hk64ly2g1jh00xzxg36w8bp7mih-xdg-mime-database.drv
   /gnu/store/n5vb0ysg3b3kx62dlszppnz9cp9xc9gr-info-dir.drv
   /gnu/store/laqlnv1dgf7dsj1kyznbqq7vj306p3xg-gtk-im-modules.drv
   /gnu/store/d5dr00lcv7f290x59mpbbwxfz6pl75hq-gtk-icon-themes.drv
   /gnu/store/60r69w2jfq3pwaijwh3qrpwvzfbhg70p-ca-certificate-bundle.drv
49 packages in profile

Those packages already were at the latest versions and a new empty
generation is created. Running the same command again:

$ guix package -u
The following packages will be upgraded:
   transmission:gui     2.92 → 2.92     /gnu/store/x2q22mfakkkf7nr68nfsxcvci4psz0vi-transmission-2.92-gui
   git:send-email       2.11.0 → 2.11.0 /gnu/store/xnm8msrlh4ac9bxzvf9pgai8xnjjkvwj-git-2.11.0-send-email
   bind:utils   9.10.4-P4 → 9.10.4-P4   /gnu/store/ypv8jppwn3dvhnkrmibw3p2h35cm30ij-bind-9.10.4-P4-utils

substitute: updating list of substitutes from 'https://mirror.hydra.gnu.org'... 100.0%
The following derivations will be built:
   /gnu/store/l0cn4ywl69g05am2qv582l5hxpqa2y2g-profile.drv
   /gnu/store/qr24xwmp9prqy1yyyp3yha61a7pf2hhw-ca-certificate-bundle.drv
   /gnu/store/kg0xd3rjjclgiin1dk772svhinzad220-info-dir.drv
   /gnu/store/hh2477qjgg9kl77c6arnrlrlmkw7nyhb-gtk-im-modules.drv
   /gnu/store/fwjbhn15g7s56rcpk5afj8a6w4p15wv2-gtk-icon-themes.drv
   /gnu/store/6ibbk1jags9249lvjpcrlzljvjjzzkvq-fonts-dir.drv
   /gnu/store/61260hfwwx7wjz140sp280qzmjwxlcfw-xdg-mime-database.drv
49 packages in profile

Output of "guix package --list-generations":

[...lots of generations...]

Generation 71   Dec 02 2016 17:37:47

Generation 72   Dec 02 2016 17:46:21    (current)

Diffing the profile derivations only shows changes to
ca-certificate-bundle.drv, gtk-icon-themes.drv, fonts-dir.drv,
gtk-im-modules.drv, info-dir.drv, xdg-mime-database.drv, the profiles
themselves, and the profile-builder. Although the order is different.
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#25095; Package guix. (Sat, 03 Dec 2016 23:59:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Marius Bakke <mbakke <at> fastmail.com>
Cc: 25095 <at> debbugs.gnu.org
Subject: Re: bug#25095: Multiple output packages causes noop profile
 generations
Date: Sun, 04 Dec 2016 00:58:08 +0100
Marius Bakke <mbakke <at> fastmail.com> skribis:

> Sorry for the non-descriptive title. It appears that having non-default
> outputs in the profile always causes a new profile generation even if
> the package derivations themselves don't change. Here is an example:
>
> $ guix package -u
> The following packages will be upgraded:
>    bind:utils   9.10.4-P4 → 9.10.4-P4   /gnu/store/ypv8jppwn3dvhnkrmibw3p2h35cm30ij-bind-9.10.4-P4-utils
>    git:send-email       2.11.0 → 2.11.0 /gnu/store/xnm8msrlh4ac9bxzvf9pgai8xnjjkvwj-git-2.11.0-send-email
>    transmission:gui     2.92 → 2.92     /gnu/store/x2q22mfakkkf7nr68nfsxcvci4psz0vi-transmission-2.92-gui

[...]

> $ guix package -u
> The following packages will be upgraded:
>    transmission:gui     2.92 → 2.92     /gnu/store/x2q22mfakkkf7nr68nfsxcvci4psz0vi-transmission-2.92-gui
>    git:send-email       2.11.0 → 2.11.0 /gnu/store/xnm8msrlh4ac9bxzvf9pgai8xnjjkvwj-git-2.11.0-send-email
>    bind:utils   9.10.4-P4 → 9.10.4-P4   /gnu/store/ypv8jppwn3dvhnkrmibw3p2h35cm30ij-bind-9.10.4-P4-utils

Notice how the order was reversed.  :-)

This is enough to create a new generation (the order of packages in the
manifest matters because it changes the way collisions are resolved, if
any.)

The reverse is unintended, but I suspect it has nothing to do with
multiple-output packages.

Thanks,
Ludo’.




Added tag(s) notabug. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 11 Jan 2017 16:24:01 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 25095 <at> debbugs.gnu.org and Marius Bakke <mbakke <at> fastmail.com> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Wed, 11 Jan 2017 16:24: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. (Thu, 09 Feb 2017 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 125 days ago.

Previous Next


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