From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Subject: bug#32245: Guix does not search sources locally by hash Date: Sun, 22 Jul 2018 11:56:07 +0200 Message-ID: <20180722115607.1eea6917@alma-ubu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/7Lp31ur+0j=DnrHkvGHOQH1"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhB6w-0004qX-Ft for bug-guix@gnu.org; Sun, 22 Jul 2018 05:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhB6s-00043Y-Hq for bug-guix@gnu.org; Sun, 22 Jul 2018 05:57:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:46541) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fhB6s-00043U-EN for bug-guix@gnu.org; Sun, 22 Jul 2018 05:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fhB6s-0006mF-7C for bug-guix@gnu.org; Sun, 22 Jul 2018 05:57:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhB6C-0004o8-1u for bug-guix@gnu.org; Sun, 22 Jul 2018 05:56:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fhB68-0003n3-5a for bug-guix@gnu.org; Sun, 22 Jul 2018 05:56:20 -0400 Received: from m4s11.vlinux.de ([83.151.27.109]:46870 helo=bjoernhoefling.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fhB67-0003lK-Ta for bug-guix@gnu.org; Sun, 22 Jul 2018 05:56:16 -0400 Received: from alma-ubu (p57B52973.dip0.t-ipconnect.de [87.181.41.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by bjoernhoefling.de (Postfix) with ESMTPSA id 2F4813F8CA for ; Sun, 22 Jul 2018 11:56:14 +0200 (CEST) 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: 32245@debbugs.gnu.org --Sig_/7Lp31ur+0j=DnrHkvGHOQH1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable [Note: This concrete package is nonfree/Yoghurt-ware, but it's just used here for showing the general problem, so I think it is OK to post it here]. I renamed a package definition from "eclipse-java" to "java-eclipse". Now upstream seams no longer be availabe: $> ./pre-inst-env guix build java-eclipse [..] @ build-started /gnu/store/lqfw971srfifgql68ibdgh58vi4d8fq3-java-eclipse-ox= ygen-3a-linux-gtk-x86_64.tar.gz.drv - x86_64-linux /var/log/guix/drvs/lq//f= w971srfifgql68ibdgh58vi4d8fq3-java-eclipse-oxygen-3a-linux-gtk-x86_64.tar.g= z.drv.bz2 guile: warning: failed to install locale warning: failed to install locale: Invalid argument Starting download of /gnu/store/dcjzplbvc27amcdgd9kffmyhskdw80d7-java-eclip= se-oxygen-3a-linux-gtk-x86_64.tar.gz =46rom https://www.eclipse.org/downloads/download.php?r=3D1&nf=3D1&file=3D/te= chnology/epp/downloads/release/oxygen/3a/java-eclipse-oxygen-3a-linux-gtk-x= 86_64.tar.gz... ERROR: download failed "https://www.eclipse.org/downloads/download.php?r=3D= 1&nf=3D1&file=3D/technology/epp/downloads/release/oxygen/3a/java-eclipse-ox= ygen-3a-linux-gtk-x86_64.tar.gz" 404 "Not Found" Starting download of /gnu/store/dcjzplbvc27amcdgd9kffmyhskdw80d7-java-eclip= se-oxygen-3a-linux-gtk-x86_64.tar.gz =46rom http://mirror.hydra.gnu.org/file/java-eclipse-oxygen-3a-linux-gtk-x86_= 64.tar.gz/sha256/0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim... ERROR: download failed "http://mirror.hydra.gnu.org/file/java-eclipse-oxyge= n-3a-linux-gtk-x86_64.tar.gz/sha256/0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf= 19fg2smxmwcim" 404 "Not Found" Starting download of /gnu/store/dcjzplbvc27amcdgd9kffmyhskdw80d7-java-eclip= se-oxygen-3a-linux-gtk-x86_64.tar.gz =46rom http://tarballs.nixos.org/sha256/0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabh= jf19fg2smxmwcim... ERROR: download failed "http://tarballs.nixos.org/sha256/0m7y7jfm059w01x9j5= b5qkinjjmhkyygpjabhjf19fg2smxmwcim" 404 "Not Found" [...] So, what you see here is that Guix is looking for the sources JUST by hash on remote sites (Hydra, Nix). But it does NOT search locally. Because I already have: guix hash /gnu/store/56h6snwcawpzk6rhcwgk442wsx6k86q2-eclipse-java-oxygen-3= a-linux-gtk-x86_64.tar.gz 0m7y7jfm059w01x9j5b5qkinjjmhkyygpjabhjf19fg2smxmwcim If Guix searches remotely by hash, I would find it obvious that Guix searches beforehand locally by hash. But it does not. Bj=C3=B6rn --Sig_/7Lp31ur+0j=DnrHkvGHOQH1 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAltUVLgACgkQvyhstlk+X/0dYQCgroEjR6RP1kmbRamCqM0a9m2G Z1YAnRBHop3opDYBA6gkIWHLxO1n4v9e =Ubjs -----END PGP SIGNATURE----- --Sig_/7Lp31ur+0j=DnrHkvGHOQH1--