From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ff4gU-00022p-OZ for guix-patches@gnu.org; Mon, 16 Jul 2018 10:41:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ff4gQ-0000Ci-Pz for guix-patches@gnu.org; Mon, 16 Jul 2018 10:41:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:38884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ff4gQ-0000CO-Lj for guix-patches@gnu.org; Mon, 16 Jul 2018 10:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ff4gQ-0007XQ-CF for guix-patches@gnu.org; Mon, 16 Jul 2018 10:41:02 -0400 Subject: [bug#31531] [PATCH v2 3/9] gnu: monero: Update to 0.12.3.0. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87d0vxy6j1.fsf@foradis.org> <20180708173932.14807-1-theodoros@foradis.org> <20180708173932.14807-3-theodoros@foradis.org> <871sc7f8zs.fsf@gnu.org> <87bmb8ybp4.fsf@foradis.org> Date: Mon, 16 Jul 2018 16:40:12 +0200 In-Reply-To: <87bmb8ybp4.fsf@foradis.org> (Theodoros Foradis's message of "Sun, 15 Jul 2018 14:34:31 +0300") Message-ID: <87bmb7utv7.fsf@gnu.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Theodoros Foradis Cc: 31531@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Theodoros, Theodoros Foradis skribis: > Ludovic Court=C3=A8s writes: [...] >> I get a hash mismatch for this one: >> >> --8<---------------cut here---------------start------------->8--- >> Starting download of /gnu/store/38bbddhym990lywra0j53iggic53qndd-monero-= 0.12.3.0.tar.gz >> From https://github.com/monero-project/monero/archive/v0.12.3.0.tar.gz... >> following redirection to `https://codeload.github.com/monero-project/mon= ero/tar.gz/v0.12.3.0'... >> v0.12.3.0.tar.gz 5.2MiB/s 00:02 | 8.0MiB tra= nsferred >> sha256 hash mismatch for output path `/gnu/store/38bbddhym990lywra0j53ig= gic53qndd-monero-0.12.3.0.tar.gz' >> expected: 0wmz7g48cay0irmny5k87x4z834w07bpyvsbs9chygk9ch9kp8sw >> actual: 05a85k1vphizm111np86arpd0rnvr6qdwq37awsll24myr7s7aq6 >> @ build-failed /gnu/store/nm8hl473pvd0agrrwj2rj724wv7z66pf-monero-0.12.3= .0.tar.gz.drv - 1 sha256 hash mismatch for output path `/gnu/store/38bbddhy= m990lywra0j53iggic53qndd-monero-0.12.3.0.tar.gz' >> expected: 0wmz7g48cay0irmny5k87x4z834w07bpyvsbs9chygk9ch9kp8sw >> actual: 05a85k1vphizm111np86arpd0rnvr6qdwq37awsll24myr7s7aq6 >> cannot build derivation `/gnu/store/51pdrvrawv6ad41gw05q99pclnc1dnk8-mon= ero-0.12.3.0.tar.xz.drv': 1 dependencies couldn't be built >> --8<---------------cut here---------------end--------------->8--- >> >> Could you check if anything=E2=80=99s wrong? > > The auto-generated tarball changed, and this is why I added the later > patch to use git-fetch. I forgot to update the hash prior to using > git-fetch, because I only tested with all patches applied. > > So, the actual hash shown here is correct, we can either fix it in this > patch, or ignore it because it gets fixed in patch 7/9 anyway. Indeed. I sort-of merged both patches by applying this one: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm index 3d4185578..333fe6531 100644 --- a/gnu/packages/finance.scm +++ b/gnu/packages/finance.scm @@ -372,14 +372,15 @@ other machines/servers. Electroncash does not download the Bitcoin Cash blockch (version "0.12.3.0") (source (origin - (method url-fetch) - (uri (string-append "https://github.com/monero-project/monero/archive/v" - version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/monero-project/monero") + (commit (string-append "v" version)))) (file-name (string-append name "-" version ".tar.gz")) (patches (search-patches "monero-use-system-miniupnpc.patch")) (sha256 (base32 - "0wmz7g48cay0irmny5k87x4z834w07bpyvsbs9chygk9ch9kp8sw")))) + "14db9kgjm2ha93c2x5fjdw01xaqshn756qr3x2cnzyyjh7caz5qd")))) (build-system cmake-build-system) (native-inputs `(("doxygen" ,doxygen) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Note that in general we should arrange for each commit to produce a working state. Thanks, Ludo=E2=80=99. --=-=-=--