From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: bug#31247: fetching an svn repository always results in a different hash Date: Tue, 24 Apr 2018 22:56:41 +0200 Message-ID: <20180424225641.3ce8e18f@scratchpost.org> References: <20180423184153.GB27672@jasmine.lan> <20180424224014.2f65d462@lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/Wx34L.zSuqNFqrPytgIWEPo"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50814) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fB4zq-000615-2m for bug-guix@gnu.org; Tue, 24 Apr 2018 16:57:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fB4zn-0003Gf-2Z for bug-guix@gnu.org; Tue, 24 Apr 2018 16:57:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:58845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fB4zm-0003G9-WD for bug-guix@gnu.org; Tue, 24 Apr 2018 16:57:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fB4zm-00029h-H4 for bug-guix@gnu.org; Tue, 24 Apr 2018 16:57:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20180424224014.2f65d462@lepiller.eu> 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: Julien Lepiller Cc: 31247@debbugs.gnu.org --Sig_/Wx34L.zSuqNFqrPytgIWEPo Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Julien, On Tue, 24 Apr 2018 22:40:21 +0200 Julien Lepiller wrote: > > > I'm trying to use svn-fetch in a new package, but I always get a > > > different hash when I try to download the sources. I think this is > > > due to fetching external resources. Here are two adresses that > > > trigger this bug: =20 > >=20 > > Can you try comparing the differences between the downloaded archives? > > The diffoscope program will be useful. =20 >=20 > There are differences in .svn/wc.db. The top .svn directory is removed, > but there are other .svn directories that are not removed and contain a > wc.db file. In my case, src/lib/kStuff/.svn is kept intact and differs > every time. I think we should change guix/build/svn.scm to also delete the other ".svn" directories. Those contain state that is not necessary for the build - and since it's causing trouble, we can just remove them. --Sig_/Wx34L.zSuqNFqrPytgIWEPo Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlrfmgkACgkQ5xo1VCww uqUAXAgAlRuIceVYXOF6lPe0zAmx0N2JLrA/aqLuWub0HXXtouGXRxyRu8KHJeNU JnERBjSbmUnQy9oQ15PApluukrKr209Y84EDLal3lt98aGxQJrUgKPm3i/Hu3iFC 22+Rpr2ykkAGSSDhGY4di/GeiQuQjmNPsAtMVRGCE9cqbyAxShLvo223KGGJe4Wr k+e1ZN73qOnXUEve7/9nwqYQ026NeJcOTrnxdzr9Q2LRPyYpOmDkf8jTv/CnI1SC HeFBV99v92Jt2X0n+M9CNvuVfl9VPnE9dL6xHSYojaoKOuDM/t2xzc05QMpxbjE8 cgQq7qb1/RlUq+rZMmzaLRAUxVUtrg== =+VoW -----END PGP SIGNATURE----- --Sig_/Wx34L.zSuqNFqrPytgIWEPo--