From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#28664: gst-plugins-base-1.12.3.tar.xz nar on berlin returns 404 Date: Mon, 02 Oct 2017 17:15:22 +0200 Message-ID: <87k20doa2d.fsf@gnu.org> References: <87377263ql.fsf@gmail.com> 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]:36102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dz2S0-0006Cb-G0 for bug-guix@gnu.org; Mon, 02 Oct 2017 11:16:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dz2Ru-0001Vk-NC for bug-guix@gnu.org; Mon, 02 Oct 2017 11:16:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:35640) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dz2Ru-0001Vd-KL for bug-guix@gnu.org; Mon, 02 Oct 2017 11:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dz2Ru-0001ty-CD for bug-guix@gnu.org; Mon, 02 Oct 2017 11:16:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87377263ql.fsf@gmail.com> (Maxim Cournoyer's message of "Sun, 01 Oct 2017 15:57:06 -0400") 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: Maxim Cournoyer Cc: 28664@debbugs.gnu.org Hello Maxim, Maxim Cournoyer skribis: > Downloading https://berlin.guixsd.org/nar/g2ph0s1bjnzzn3q3h2pb8zw87bdxf69= 7-gst-plugins-base-1.12.3.tar.xz... > guix substitute: error: download from 'https://berlin.guixsd.org/nar/g2ph= 0s1bjnzzn3q3h2pb8zw87bdxf697-gst-plugins-base-1.12.3.tar.xz' failed: 404, "= Not Found" I think it=E2=80=99s a bug in =E2=80=98guix publish=E2=80=99: the narinfo i= s still here: --8<---------------cut here---------------start------------->8--- $ wget -q -O - https://berlin.guixsd.org/g2ph0s1bjnzzn3q3h2pb8zw87bdxf697.n= arinfo StorePath: /gnu/store/g2ph0s1bjnzzn3q3h2pb8zw87bdxf697-gst-plugins-base-1.1= 2.3.tar.xz URL: nar/g2ph0s1bjnzzn3q3h2pb8zw87bdxf697-gst-plugins-base-1.12.3.tar.xz Compression: none NarHash: sha256:07rx2px28pv6vqvzww4i0sldjray4q4jfggz9x0vp3wqla78rwm5 NarSize: 3117480 References:=20 FileSize: 3117480 System: i686-linux Deriver: mx8rpg1qqbl4244r2xsn3g59lw671sh3-gst-plugins-base-1.12.3.tar.xz.drv Signature: 1;berlin.guixsd.org;KHNpZ25hdHVyZSAKIChkYXRhIAogIChmbGFncyByZmM2= OTc5KQogIChoYXNoIHNoYTI1NiAjMEZFNjA0QjNBRkJGRDYzRjM3RjA3NjJCMjg2MDBGMDFFRUV= EQkZCNTE5RTQyNDAwMjNGOEE4NzlBRTA4OTVFOSMpCiAgKQogKHNpZy12YWwgCiAgKGVjZHNhIA= ogICAociAjMDhEMzhFNkFGM0ZGNzFGNENBMTBENTIwRjU5OTUyREZGNEMxQTREMzREODkwNEYwO= DVFMDY4Q0FGNTgyNjE4MCMpCiAgIChzICMwNDQwODg2RDEzQTVERkM5RDE4NURFMEJBNzkxMTdG= REUxNEQ0OUEyMDE3MUJDQ0M4RjQxRUQ4NDQ5NzcyNDM1IykKICAgKQogICkKIChwdWJsaWMta2V= 5IAogIChlY2MgCiAgIChjdXJ2ZSBFZDI1NTE5KQogICAocSAjOEQxNTZGMjk1RDI0QjBEOUE4Nk= ZBNTc0MUE4NDBGRjJEMjRGNjBGN0I2QzQxMzQ4MTRBRDU1NjI1OTcxQjM5NCMpCiAgICkKICApC= iApCg=3D=3D --8<---------------cut here---------------end--------------->8--- but the tarball itself is missing. On berlin, the narinfo is indeed around: --8<---------------cut here---------------start------------->8--- $ sudo ls -l /var/cache/guix/publish/none/g2ph0s1bjnzzn3q3h2pb8zw87bdxf697* -rw------- 1 guix-publish guix-publish 998 Sep 19 11:12 /var/cache/guix/pub= lish/none/g2ph0s1bjnzzn3q3h2pb8zw87bdxf697-gst-plugins-base-1.12.3.tar.xz.n= arinfo --8<---------------cut here---------------end--------------->8--- So the problem is that for uncompressed store items (=E2=80=98guix publish= =E2=80=99 serves *.tar.xz without any additional compression, so it uses the =E2=80=98none=E2=80=99 compression method from its viewpoint), =E2=80=98gui= x publish=E2=80=99 does not keep the nar in /var/cache/guix/publish, so it cannot guarantee its TTL. The fix is probably simply to store nars even for uncompressed store items, even if that increases disk usage. Ludo=E2=80=99.