GNU bug report logs - #33897
'guix publish' is unable to serve narinfos for dead items

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: Ludovic Courtès <ludo@HIDDEN>; dated Fri, 28 Dec 2018 21:56:02 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.

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


Received: (at submit) by debbugs.gnu.org; 28 Dec 2018 21:55:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 28 16:55:21 2018
Received: from localhost ([127.0.0.1]:40689 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1gd06D-0005th-OO
	for submit <at> debbugs.gnu.org; Fri, 28 Dec 2018 16:55:21 -0500
Received: from eggs.gnu.org ([208.118.235.92]:47873)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1gd06C-0005tV-AN
 for submit <at> debbugs.gnu.org; Fri, 28 Dec 2018 16:55:20 -0500
Received: from lists.gnu.org ([208.118.235.17]:54014)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1gd066-0002Ua-B9
 for submit <at> debbugs.gnu.org; Fri, 28 Dec 2018 16:55:14 -0500
Received: from eggs.gnu.org ([208.118.235.92]:42374)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gd065-0003TC-Cg
 for bug-guix@HIDDEN; Fri, 28 Dec 2018 16:55:14 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled
 version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <ludo@HIDDEN>) id 1gd014-0001mi-0R
 for bug-guix@HIDDEN; Fri, 28 Dec 2018 16:50:03 -0500
Received: from hera.aquilenet.fr ([2a0c:e300::1]:41798)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <ludo@HIDDEN>) id 1gd013-0001fj-Oc
 for bug-guix@HIDDEN; Fri, 28 Dec 2018 16:50:01 -0500
Received: from localhost (localhost [127.0.0.1])
 by hera.aquilenet.fr (Postfix) with ESMTP id 6567E14E5
 for <bug-guix@HIDDEN>; Fri, 28 Dec 2018 22:50:00 +0100 (CET)
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 AgZhcJcbgs-z for <bug-guix@HIDDEN>;
 Fri, 28 Dec 2018 22:49:59 +0100 (CET)
Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465])
 by hera.aquilenet.fr (Postfix) with ESMTPSA id 67034FA9
 for <bug-guix@HIDDEN>; Fri, 28 Dec 2018 22:49:59 +0100 (CET)
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Bug Guix <bug-guix@HIDDEN>
Subject: 'guix publish' is unable to serve narinfos for dead items
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 8 =?utf-8?Q?Niv=C3=B4se?= an 227 de la =?utf-8?Q?R?=
 =?utf-8?Q?=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: Fri, 28 Dec 2018 22:49:58 +0100
Message-ID: <87k1jt8gop.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (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: Genre and OS details not
 recognized.
X-Received-From: 2a0c:e300::1
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: -5.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: -6.0 (------)

Hello,

=E2=80=98render-narinfo/cached=E2=80=99 in =E2=80=98guix publish=E2=80=99 u=
ses =E2=80=98hash-part->path=E2=80=99 to go
from /xyz.narinfo to, say, /gnu/store/xyz-guile-2.2.4.

The problem is that =E2=80=98hash-part->path=E2=80=99 is an RPC that works =
only if xyz
corresponds to a live item; in other cases, it returns the empty
string.  Consequently, if /gnu/store/xyz-guile-2.2.4 has been GC=E2=80=99d,
=E2=80=98guix publish=E2=80=99 returns 404 for /xyz.narinfo, even if it act=
ually has the
narinfo somewhere in cache.

This defeats the intended behavior of =E2=80=98--cache=E2=80=99 and =E2=80=
=98--ttl=E2=80=99.

Ludo=E2=80=99.




Acknowledgement sent to Ludovic Courtès <ludo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#33897; 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, 9 Jan 2019 20:45:02 UTC

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