From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#25095: Multiple output packages causes noop profile generations Date: Sun, 04 Dec 2016 00:58:08 +0100 Message-ID: <87eg1o8t0v.fsf@gnu.org> References: <8760n2cjl1.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDKCx-0000iN-C1 for bug-guix@gnu.org; Sat, 03 Dec 2016 18:59:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDKCs-00069Q-I1 for bug-guix@gnu.org; Sat, 03 Dec 2016 18:59:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:36319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDKCs-00069M-EF for bug-guix@gnu.org; Sat, 03 Dec 2016 18:59:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cDKCs-0006oH-7h for bug-guix@gnu.org; Sat, 03 Dec 2016 18:59:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8760n2cjl1.fsf@kirby.i-did-not-set--mail-host-address--so-tickle-me> (Marius Bakke's message of "Fri, 02 Dec 2016 18:43:54 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Marius Bakke Cc: 25095@debbugs.gnu.org Marius Bakke 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 =E2=86=92 9.10.4-P4 /gnu/store/ypv8jppwn3dvhn= krmibw3p2h35cm30ij-bind-9.10.4-P4-utils > git:send-email 2.11.0 =E2=86=92 2.11.0 /gnu/store/xnm8msrlh4ac9b= xzvf9pgai8xnjjkvwj-git-2.11.0-send-email > transmission:gui 2.92 =E2=86=92 2.92 /gnu/store/x2q22mfakkkf7n= r68nfsxcvci4psz0vi-transmission-2.92-gui [...] > $ guix package -u > The following packages will be upgraded: > transmission:gui 2.92 =E2=86=92 2.92 /gnu/store/x2q22mfakkkf7n= r68nfsxcvci4psz0vi-transmission-2.92-gui > git:send-email 2.11.0 =E2=86=92 2.11.0 /gnu/store/xnm8msrlh4ac9b= xzvf9pgai8xnjjkvwj-git-2.11.0-send-email > bind:utils 9.10.4-P4 =E2=86=92 9.10.4-P4 /gnu/store/ypv8jppwn3dvhn= krmibw3p2h35cm30ij-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=E2=80=99.