GNU bug report logs - #35872
'guix upgrade' misdiagnoses upgrades in the presence of propagated inputs

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; Severity: important; Reported by: Andy Tai <atai@HIDDEN>; dated Thu, 23 May 2019 20:42:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to ''guix upgrade' misdiagnoses upgrades in the presence of propagated inputs' from 'messages that are redundant can be eliminated?' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 35872) by debbugs.gnu.org; 24 May 2019 16:55:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri May 24 12:55:45 2019
Received: from localhost ([127.0.0.1]:47195 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hUDTt-00023t-9o
	for submit <at> debbugs.gnu.org; Fri, 24 May 2019 12:55:45 -0400
Received: from eggs.gnu.org ([209.51.188.92]:33702)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1hUDTs-00023i-BE
 for 35872 <at> debbugs.gnu.org; Fri, 24 May 2019 12:55:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:43071)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ludo@HIDDEN>)
 id 1hUDTm-0000L9-Ve; Fri, 24 May 2019 12:55:39 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37192 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1hUDTk-0006Xl-MM; Fri, 24 May 2019 12:55:37 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Andy Tai <atai@HIDDEN>
Subject: Re: bug#35872: messages that are redundant can be eliminated?
References: <CAJsg1E_zg2ichPqat_2J3sz11rEJbB+5z6Zk2Ai-cJHkOfB79A@HIDDEN>
Date: Fri, 24 May 2019 18:55:35 +0200
In-Reply-To: <CAJsg1E_zg2ichPqat_2J3sz11rEJbB+5z6Zk2Ai-cJHkOfB79A@HIDDEN>
 (Andy Tai's message of "Thu, 23 May 2019 13:41:03 -0700")
Message-ID: <87zhnbrdvc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 35872
Cc: 35872 <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: -3.3 (---)

Hi Andy,

Andy Tai <atai@HIDDEN> skribis:

> %guix pull && guix package -u
>
> these were printed:
> ----
> ...
> New in this revision:
>   ...
> hint: Run `guix pull --news' to view the complete list of package changes.
>
> hint: After setting `PATH', run `hash guix' to make sure your shell refers
> to `/home/.../.config/guix/current/bin/guix'.

You should follow this advice, which would address this warning:

> 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:
>    glibc-locales 2.28 =E2=86=92 2.28
> /gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28
>    meson 0.50.0 =E2=86=92 0.50.0
> /gnu/store/zc6r8b1rx3q7lqd8kvvpnm38ky925kmj-meson-0.50.0
>    guile 2.2.4 =E2=86=92 2.2.4
> /gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4
>    font-adobe-source-han-sans:cn 1.004 =E2=86=92 1.004
> /gnu/store/zf59mg6g0afay9458aarh0rqcz852hhb-font-adobe-source-han-sans-1.=
004-cn
>    fontconfig 2.13.1 =E2=86=92 2.13.1
> /gnu/store/cnafj0dn09qzy23xnrrjsq5zcdj4739j-fontconfig-2.13.1
>    epiphany 3.28.3.1 =E2=86=92 3.28.3.1
> /gnu/store/n56bdjhqgq7a4a6ndqc3aymyrzvs12hl-epiphany-3.28.3.1
>    gnome-terminal 3.28.2 =E2=86=92 3.28.2
> /gnu/store/r6i61wji0qmv9fqdyk65kx73nzxw8v80-gnome-terminal-3.28.2
>
> nothing to be done

This is a bug where the presence of propagated inputs leads =E2=80=98guix
upgrade=E2=80=99 to assume something would be upgraded, even when that=E2=
=80=99s not the
case.  This can be reproduced with:

  guix install -p foo guile
  guix upgrade -p foo

I=E2=80=99ll see what can be done.

Thanks for reporting it,
Ludo=E2=80=99.




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

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


Received: (at submit) by debbugs.gnu.org; 23 May 2019 20:41:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu May 23 16:41:28 2019
Received: from localhost ([127.0.0.1]:45407 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hTuWm-00061M-9s
	for submit <at> debbugs.gnu.org; Thu, 23 May 2019 16:41:28 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50323)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lichengtai@HIDDEN>) id 1hTuWk-00061A-Bb
 for submit <at> debbugs.gnu.org; Thu, 23 May 2019 16:41:27 -0400
Received: from lists.gnu.org ([209.51.188.17]:45430)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <lichengtai@HIDDEN>)
 id 1hTuWf-0000PN-3E
 for submit <at> debbugs.gnu.org; Thu, 23 May 2019 16:41:21 -0400
Received: from eggs.gnu.org ([209.51.188.92]:36452)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lichengtai@HIDDEN>) id 1hTuWd-0005aA-E1
 for bug-guix@HIDDEN; Thu, 23 May 2019 16:41:20 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 HTML_MESSAGE autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lichengtai@HIDDEN>) id 1hTuWb-0000MZ-WB
 for bug-guix@HIDDEN; Thu, 23 May 2019 16:41:19 -0400
Received: from mail-lj1-x22c.google.com ([2a00:1450:4864:20::22c]:34197)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <lichengtai@HIDDEN>)
 id 1hTuWb-0000JQ-Ec
 for bug-guix@HIDDEN; Thu, 23 May 2019 16:41:17 -0400
Received: by mail-lj1-x22c.google.com with SMTP id j24so6745230ljg.1
 for <bug-guix@HIDDEN>; Thu, 23 May 2019 13:41:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=atai-org.20150623.gappssmtp.com; s=20150623;
 h=mime-version:from:date:message-id:subject:to;
 bh=QwPwN6Pt+Pgu/sHeO9DgUseWh5Svs9tCmvWQKY8Rzyc=;
 b=RUMAFz/cd6W1r24O/ecxt39DM3Ux5LEUC+SZqNYOGA98FgHYQktDTQBDG2jOzUf3+X
 ElbfSUWP1kUZrHrMnFputooTaIYPNpu3EDDTfW74TZcg3LEJpsMGqZ0eDa5JDmNlR+iX
 lxCT540v7PZQXuSl0zdLpbvRgWACNf2AO/ypB2ewarDBeGwg8iRbPrC5K3F12+ynJt8x
 X7bren7p5utem4QXiqii7caYm9xCbIRps34M9hwnZAOdoBBqgylqGq/B7i3zPuXAJEWp
 KRi3HLOYv+FhjFW3woToTjPXXK9kehGufST2FmaHYygSSnxcMC1ShvyK5n5t9Y8Hw/sY
 G3EQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=QwPwN6Pt+Pgu/sHeO9DgUseWh5Svs9tCmvWQKY8Rzyc=;
 b=tjM3i+/zUDW9rQWCD3dXfM3lXvBk9iPCol+faIR7Rd2s7a21TubMFAGZZKYyjECnYF
 uUHub/S7ZY6+NaMuZhWSmTPXzlIpz0dhx2Y8ZT90ZaeXtZHe+jtGTuA5T7Vw3YW9uyob
 jSL7iIt/p5iI46ltlyGgA3tgPJpuqCZAYP2hdGaWlUNqovwAlvF5AIwWgTVCN0jzIHOY
 05/CG7xNXjjMbNZlE8oU/2RKsJGwTEx7VFtjE+s1A37lb9X31myZnR8m11g1UmxWLAVE
 65fHZKICfzYU7sJFasjKrJoXevVQ/vLTXqa+G1tMoxZBkoyZgrBY+EyX2rhU3ZKIyxHM
 rKkA==
X-Gm-Message-State: APjAAAXJ7JoFdJJ08OYnwnjnJKIG9OkhPDqlMEckMHExpGMu2OaHbAQn
 G0o3MZAsFdlxYOqc5KBnQexyoF5C10wfO997YL+8Hjf5
X-Google-Smtp-Source: APXvYqywBOEY9Hbd8xBRs9JA2yYKmQ71Fp8PlIUvcTdQreZ6OgXtLX7NbMBR48JDwdHZnQmSY50bNbAQmdzz2GzY+IM=
X-Received: by 2002:a2e:885a:: with SMTP id z26mr5671667ljj.35.1558644075031; 
 Thu, 23 May 2019 13:41:15 -0700 (PDT)
MIME-Version: 1.0
From: Andy Tai <atai@HIDDEN>
Date: Thu, 23 May 2019 13:41:03 -0700
Message-ID: <CAJsg1E_zg2ichPqat_2J3sz11rEJbB+5z6Zk2Ai-cJHkOfB79A@HIDDEN>
Subject: messages that are redundant can be eliminated?
To: bug-guix@HIDDEN
Content-Type: multipart/alternative; boundary="0000000000006c6f1d0589941a5c"
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::22c
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -1.1 (-)
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: -2.1 (--)

--0000000000006c6f1d0589941a5c
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

on my guix installation (on an Ubuntu system but that detail should not
matter)

after running

%guix pull && guix package -u

these were printed:
----
...
New in this revision:
  ...
hint: Run `guix pull --news' to view the complete list of package changes.

hint: After setting `PATH', run `hash guix' to make sure your shell refers
to `/home/.../.config/guix/current/bin/guix'.

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:
   glibc-locales 2.28 =E2=86=92 2.28
/gnu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28
   meson 0.50.0 =E2=86=92 0.50.0
/gnu/store/zc6r8b1rx3q7lqd8kvvpnm38ky925kmj-meson-0.50.0
   guile 2.2.4 =E2=86=92 2.2.4
/gnu/store/9alic3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4
   font-adobe-source-han-sans:cn 1.004 =E2=86=92 1.004
/gnu/store/zf59mg6g0afay9458aarh0rqcz852hhb-font-adobe-source-han-sans-1.00=
4-cn
   fontconfig 2.13.1 =E2=86=92 2.13.1
/gnu/store/cnafj0dn09qzy23xnrrjsq5zcdj4739j-fontconfig-2.13.1
   epiphany 3.28.3.1 =E2=86=92 3.28.3.1
/gnu/store/n56bdjhqgq7a4a6ndqc3aymyrzvs12hl-epiphany-3.28.3.1
   gnome-terminal 3.28.2 =E2=86=92 3.28.2
/gnu/store/r6i61wji0qmv9fqdyk65kx73nzxw8v80-gnome-terminal-3.28.2

nothing to be done
----
Now there seems nothing to be done during the guix package -u step so these
messages
glibc-locales 2.28 =E2=86=92 2.28...
were confusing and probably not necessary?

--0000000000006c6f1d0589941a5c
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif"><br clear=3D"all"></div><div style=3D"font-family:arial=
,helvetica,sans-serif" class=3D"gmail_default">on my guix installation (on =
an Ubuntu system but that detail should not matter)</div><div style=3D"font=
-family:arial,helvetica,sans-serif" class=3D"gmail_default"><br></div><div =
style=3D"font-family:arial,helvetica,sans-serif" class=3D"gmail_default">af=
ter running</div><div style=3D"font-family:arial,helvetica,sans-serif" clas=
s=3D"gmail_default"><br></div><div style=3D"font-family:arial,helvetica,san=
s-serif" class=3D"gmail_default">%guix pull &amp;&amp; guix package -u<br><=
/div><div><br></div><div><div style=3D"font-family:arial,helvetica,sans-ser=
if" class=3D"gmail_default">these were printed:</div><div style=3D"font-fam=
ily:arial,helvetica,sans-serif" class=3D"gmail_default">----<br></div><div =
style=3D"font-family:arial,helvetica,sans-serif" class=3D"gmail_default">..=
.</div><div style=3D"font-family:arial,helvetica,sans-serif" class=3D"gmail=
_default">New in this revision:<br>=C2=A0 ...<br>hint: Run `guix pull --new=
s&#39; to view the complete list of package changes.<br><br>hint: After set=
ting `PATH&#39;, run `hash guix&#39; to make sure your shell refers to `/ho=
me/.../.config/guix/current/bin/guix&#39;.<br><br>guix package: warning: Co=
nsider running &#39;guix pull&#39; followed by<br>&#39;guix package -u&#39;=
 to get up-to-date packages and security updates.<br><br>The following pack=
ages will be upgraded:<br>=C2=A0 =C2=A0glibc-locales	2.28 =E2=86=92 2.28	/g=
nu/store/acl2wxzzkkcjv74rlqswdf9p8pwddlmk-glibc-locales-2.28<br>=C2=A0 =C2=
=A0meson	0.50.0 =E2=86=92 0.50.0	/gnu/store/zc6r8b1rx3q7lqd8kvvpnm38ky925km=
j-meson-0.50.0<br>=C2=A0 =C2=A0guile	2.2.4 =E2=86=92 2.2.4	/gnu/store/9alic=
3caqhay3h8mx4iihpmyj6ymqpcx-guile-2.2.4<br>=C2=A0 =C2=A0font-adobe-source-h=
an-sans:cn	1.004 =E2=86=92 1.004	/gnu/store/zf59mg6g0afay9458aarh0rqcz852hh=
b-font-adobe-source-han-sans-1.004-cn<br>=C2=A0 =C2=A0fontconfig	2.13.1 =E2=
=86=92 2.13.1	/gnu/store/cnafj0dn09qzy23xnrrjsq5zcdj4739j-fontconfig-2.13.1=
<br>=C2=A0 =C2=A0epiphany	3.28.3.1 =E2=86=92 3.28.3.1	/gnu/store/n56bdjhqgq=
7a4a6ndqc3aymyrzvs12hl-epiphany-3.28.3.1<br>=C2=A0 =C2=A0gnome-terminal	3.2=
8.2 =E2=86=92 3.28.2	/gnu/store/r6i61wji0qmv9fqdyk65kx73nzxw8v80-gnome-term=
inal-3.28.2<br><br>nothing to be done</div><div style=3D"font-family:arial,=
helvetica,sans-serif" class=3D"gmail_default">----</div></div><div><div sty=
le=3D"font-family:arial,helvetica,sans-serif" class=3D"gmail_default">Now t=
here seems nothing to be done during the guix package -u step so these mess=
ages <br></div><div style=3D"font-family:arial,helvetica,sans-serif" class=
=3D"gmail_default">glibc-locales	2.28 =E2=86=92 2.28...</div><div style=3D"=
font-family:arial,helvetica,sans-serif" class=3D"gmail_default">were confus=
ing and probably not necessary?<br></div><br></div></div>

--0000000000006c6f1d0589941a5c--




Acknowledgement sent to Andy Tai <atai@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#35872; 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: Fri, 24 May 2019 17:00:02 UTC

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