GNU bug report logs - #31142
guix package --upgrade reverses the order of packages

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Chris Marusich <cmmarusich@HIDDEN>; dated Fri, 13 Apr 2018 05:59:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at 31142 <at> debbugs.gnu.org:


Received: (at 31142) by debbugs.gnu.org; 18 Apr 2018 21:15:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 18 17:15:49 2018
Received: from localhost ([127.0.0.1]:59746 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f8uQf-0004uQ-5L
	for submit <at> debbugs.gnu.org; Wed, 18 Apr 2018 17:15:49 -0400
Received: from hera.aquilenet.fr ([185.233.100.1]:40414)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1f8uQd-0004sI-Lg
 for 31142 <at> debbugs.gnu.org; Wed, 18 Apr 2018 17:15:47 -0400
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id CEFC412901;
 Wed, 18 Apr 2018 23:15:46 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at aquilenet.fr
Received: from hera.aquilenet.fr ([127.0.0.1])
 by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id pUramwUDrsji; Wed, 18 Apr 2018 23:15:46 +0200 (CEST)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id F0F0C128F7;
 Wed, 18 Apr 2018 23:15:45 +0200 (CEST)
From: ludo@HIDDEN (Ludovic =?utf-8?Q?Court=C3=A8s?=)
To: Chris Marusich <cmmarusich@HIDDEN>
Subject: Re: bug#31142: guix package --upgrade reverses the order of packages
References: <87r2njwsuy.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 29 Germinal an 226 de la =?utf-8?Q?R=C3=A9volution?=
X-PGP-Key-ID: 0x090B11993D9AEBB5
X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc
X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4  0CFB 090B 1199 3D9A EBB5
X-OS: x86_64-pc-linux-gnu
Date: Wed, 18 Apr 2018 23:15:45 +0200
In-Reply-To: <87r2njwsuy.fsf@HIDDEN> (Chris Marusich's message of "Thu, 12
 Apr 2018 22:57:57 -0700")
Message-ID: <87604otdvi.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: 31142
Cc: 31142 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hello,

Chris Marusich <cmmarusich@HIDDEN> skribis:

> It seems that running "guix package --upgrade ." reverses the order of
> packages installed in a profile.  Apparently as a result, repeatedly
> running the command on a profile will create multiple generations, even
> though the packages are not actually being upgraded.

Commit eca16a3d1d9e6b2c064e0105c1015258bf2755f2 was supposed to fix it=E2=
=80=A6
but it lacked a test case=E2=80=A6  I plaid guilty.  :-)

Could you take a closer look at that commit?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#31142; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 13 Apr 2018 05:58:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 13 01:58:17 2018
Received: from localhost ([127.0.0.1]:48994 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1f6riz-0000NF-7S
	for submit <at> debbugs.gnu.org; Fri, 13 Apr 2018 01:58:17 -0400
Received: from eggs.gnu.org ([208.118.235.92]:54651)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <cmmarusich@HIDDEN>) id 1f6rix-0000N1-4X
 for submit <at> debbugs.gnu.org; Fri, 13 Apr 2018 01:58:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1f6riq-0003F1-Qz
 for submit <at> debbugs.gnu.org; Fri, 13 Apr 2018 01:58:09 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:35561)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <cmmarusich@HIDDEN>)
 id 1f6riq-0003Ev-Nc
 for submit <at> debbugs.gnu.org; Fri, 13 Apr 2018 01:58:08 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:45615)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1f6rip-0005jA-GV
 for bug-guix@HIDDEN; Fri, 13 Apr 2018 01:58:08 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <cmmarusich@HIDDEN>) id 1f6rim-0003DA-Dj
 for bug-guix@HIDDEN; Fri, 13 Apr 2018 01:58:07 -0400
Received: from mail-pf0-x244.google.com ([2607:f8b0:400e:c00::244]:35021)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <cmmarusich@HIDDEN>)
 id 1f6rim-0003Cv-7j
 for bug-guix@HIDDEN; Fri, 13 Apr 2018 01:58:04 -0400
Received: by mail-pf0-x244.google.com with SMTP id u86so5588987pfd.2
 for <bug-guix@HIDDEN>; Thu, 12 Apr 2018 22:58:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:subject:date:message-id:user-agent:mime-version;
 bh=iQrnKwKS6r9UuFqohrU19CaLH+ru82OsFRkhRRIUI8k=;
 b=r82+OQ5RuE/BZgD++KeWuDgSy95EKDbdUP3ypW4ShT437X7L1s1zbjhi9mwrWvp/h0
 mPIn+Qk5q0HPYSrm6g8a8MllzfEl99Yn6/aDmgj0HZ8dr5h4woYHv6oluyqxrn2k74ii
 0Afw79WDPzX/T2A4i+qPJR5f8/o+dNjxO5vdRfQlYjbkaBXNgjAGb1iIq+na7rxV5i2w
 yPQJlOv7u78sYZKQc2aEOSzffRPh6vexqkUSeb7Ul9uoVF/DmTPW7mK0+fxOlCHQDKJ9
 DMiJ/uf5aUjiGpaEo0iLeVI2zNCER99oXbCcTgNpnlpm+wdxiW2hpu8bPS2Y572UDj8I
 WbYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:subject:date:message-id:user-agent
 :mime-version;
 bh=iQrnKwKS6r9UuFqohrU19CaLH+ru82OsFRkhRRIUI8k=;
 b=Ngapy3/wtk8XZIgaveZ79kVZlpoyvHAZp2Xc69d5qpK6mEMJKZWzIZtFN+60NVOho2
 ZJ+oDmYBOsZk0nuoL33PEZ5pj5Mk0fRFg3iZQCoTPfzoRIrOq7QMOuuhflI8gdBcsi9T
 u9hLPalnOOTnCsbjFsNd9SJBEd6rbiTATBYic7TolvOtNSPUOOFvmZ5XlKUAvCUHswXX
 0m0aYFiIpzNqH476rSi4PxYfObjtVgLPWRajR1m9CIN6ET5P0uhMCu9+DaTdt20N6q1t
 R9UwZvhb7n8aJURVxUjy2lWAiVoOSs7WT4rDKepzIlSseB/apsptBT5tQ+tNvanPiV6P
 mgPA==
X-Gm-Message-State: ALQs6tDWTDzMjds8ATtgLZKaoSQ4wFfLNZNZxT/rT/Ju5D6IqcDC0TQ1
 GYZc5SY1JLv2TmKr2PwOXJo9i41e
X-Google-Smtp-Source: AIpwx4/QxpKMHBxtDd/683eF7a6ytGRcy+AAPgaleWYgfRQU5m0nFBFDmwlzvZFpzLcj1922aanWQQ==
X-Received: by 10.98.244.6 with SMTP id r6mr10197262pff.242.1523599082428;
 Thu, 12 Apr 2018 22:58:02 -0700 (PDT)
Received: from garuda.local (c-24-18-253-84.hsd1.wa.comcast.net.
 [24.18.253.84])
 by smtp.gmail.com with ESMTPSA id m66sm13378873pfb.82.2018.04.12.22.58.00
 for <bug-guix@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Thu, 12 Apr 2018 22:58:01 -0700 (PDT)
From: Chris Marusich <cmmarusich@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix package --upgrade reverses the order of packages
Date: Thu, 12 Apr 2018 22:57:57 -0700
Message-ID: <87r2njwsuy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha256; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Hi,

It seems that running "guix package --upgrade ." reverses the order of
packages installed in a profile.  Apparently as a result, repeatedly
running the command on a profile will create multiple generations, even
though the packages are not actually being upgraded.

Here's a way to reproduce it:

=2D-8<---------------cut here---------------start------------->8---
$ guix package -p test-profile -i guile git:send-email
[0] marusich@HIDDEN:/tmp
$ guix package -p test-profile -i guile git:send-email
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following packages will be installed:
   guile	2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-guile-2.2.3
   git:send-email	2.17.0	/gnu/store/xv8za72akjqidji3y5fz76n21jnvmqvk-git-2.=
17.0-send-email

2 packages in profile
The following environment variable definitions may be needed:
   export PATH=3D"test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH=3D"test-profile/libexec/git-core"
[0] marusich@HIDDEN:/tmp
$ guix package -p test-profile -u .
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following packages will be upgraded:
   git:send-email	2.17.0 =E2=86=92 2.17.0	/gnu/store/xv8za72akjqidji3y5fz76=
n21jnvmqvk-git-2.17.0-send-email
   guile	2.2.3 =E2=86=92 2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-=
guile-2.2.3

2 packages in profile
The following environment variable definitions may be needed:
   export PATH=3D"test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH=3D"test-profile/libexec/git-core"
[0] marusich@HIDDEN:/tmp
$ guix package -p test-profile -u .
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following packages will be upgraded:
   guile	2.2.3 =E2=86=92 2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-=
guile-2.2.3
   git:send-email	2.17.0 =E2=86=92 2.17.0	/gnu/store/xv8za72akjqidji3y5fz76=
n21jnvmqvk-git-2.17.0-send-email

2 packages in profile
The following environment variable definitions may be needed:
   export PATH=3D"test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH=3D"test-profile/libexec/git-core"
[0] marusich@HIDDEN:/tmp
$ guix package -p test-profile -u .
guix package: warning: Your Guix installation is 7 days old.
guix package: warning: Consider running 'guix pull' followed by
'guix package -u' to get up-to-date packages and security updates.

The following packages will be upgraded:
   git:send-email	2.17.0 =E2=86=92 2.17.0	/gnu/store/xv8za72akjqidji3y5fz76=
n21jnvmqvk-git-2.17.0-send-email
   guile	2.2.3 =E2=86=92 2.2.3	/gnu/store/b90y3swxlx3vw2yyacs8cz59b8cbpbw5-=
guile-2.2.3

2 packages in profile
The following environment variable definitions may be needed:
   export PATH=3D"test-profile/bin${PATH:+:}$PATH"
   export GIT_EXEC_PATH=3D"test-profile/libexec/git-core"
[0] marusich@HIDDEN:/tmp
$=20
=2D-8<---------------cut here---------------end--------------->8---

=2D-=20
Chris

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlrQRuUACgkQ3UCaFdgi
Rp0ykg//ZUMd60tJaYdKF9Zt43S56FsUN9956iV73GWAVzLCKeVotMUrvhS4U1RM
YVbtMiWvWPNEqW00Uls8Cn5wmD7skDlykty1QcUUj7fEL+1DjU4PeQsYoLeohStE
q98XrMal1Mn+Un48HrNdDgdhPqFkOvhhAbFTZpZQLAd1cC2OAG+DEEvCsEyrrlVz
i/E/9LHSg8jZnsy8dB3wGwbRBe44Sp9Daq3XcBmoGVtYo79Uwk4ZHkNQylbGq/EZ
sVdOahc9D+hNF6dNBsi3m47kwsBSr81tBe4NUTyUNdJP5OAt4cbJVqVVBrp4WwbF
j0KPCk4ev21LCBq5VUxvRBmvRhxZT2Ekw3gTWFu38sQFWRl+CFwHKy5GnGPqe+iG
9fMJm4OlYaDwkdilvBLu2e6cxaBf9IHJ3caFcK+6X/pww32/JHzSK4m4azXAo6PB
ih21fTtvc4XKfohdHC/dDPYTbVnzIgtDqnFak55yLVdXKhj+kDgPSOLnxZL8+m8N
2I8RDMrp4uBkL1p7+XyVrRWLvQpJJ7vXG8qtXxMXhWHas3t30ndYUoyRTkh4x8zw
egoEaOMZSt6EebNEQk1ikF+ZqvEzze1X3acXOdWfgKiHiFWs6aAsc7/AOH+EhzFK
4WWZSqCk7qE8TkyuKLqjgQbc26HAAYTaHaWhgUXLKnti4REPIyk=
=fntP
-----END PGP SIGNATURE-----
--=-=-=--




Acknowledgement sent to Chris Marusich <cmmarusich@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#31142; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 18 Apr 2018 21:15:01 UTC

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