From: ludo@gnu.org (Ludovic Courtès)
To: Theodoros Foradis <theodoros@foradis.org>
Cc: 31531@debbugs.gnu.org
Subject: [bug#31531] [PATCH v2 3/9] gnu: monero: Update to 0.12.3.0.
Date: Mon, 16 Jul 2018 16:40:12 +0200 [thread overview]
Message-ID: <87bmb7utv7.fsf@gnu.org> (raw)
In-Reply-To: <87bmb8ybp4.fsf@foradis.org> (Theodoros Foradis's message of "Sun, 15 Jul 2018 14:34:31 +0300")
[-- Attachment #1: Type: text/plain, Size: 1839 bytes --]
Hello Theodoros,
Theodoros Foradis <theodoros@foradis.org> skribis:
> Ludovic Courtès 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/monero/tar.gz/v0.12.3.0'...
>> v0.12.3.0.tar.gz 5.2MiB/s 00:02 | 8.0MiB transferred
>> sha256 hash mismatch for output path `/gnu/store/38bbddhym990lywra0j53iggic53qndd-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/38bbddhym990lywra0j53iggic53qndd-monero-0.12.3.0.tar.gz'
>> expected: 0wmz7g48cay0irmny5k87x4z834w07bpyvsbs9chygk9ch9kp8sw
>> actual: 05a85k1vphizm111np86arpd0rnvr6qdwq37awsll24myr7s7aq6
>> cannot build derivation `/gnu/store/51pdrvrawv6ad41gw05q99pclnc1dnk8-monero-0.12.3.0.tar.xz.drv': 1 dependencies couldn't be built
>> --8<---------------cut here---------------end--------------->8---
>>
>> Could you check if anything’s 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:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1037 bytes --]
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)
[-- Attachment #3: Type: text/plain, Size: 108 bytes --]
Note that in general we should arrange for each commit to produce a
working state.
Thanks,
Ludo’.
next prev parent reply other threads:[~2018-07-16 14:41 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-19 18:50 [bug#31531] Update monero to 0.12.0.0 Theodoros Foradis
2018-05-19 18:54 ` [bug#31531] [PATCH 1/3] gnu: Add cppzmq Theodoros Foradis
2018-05-19 18:54 ` [bug#31531] [PATCH 2/3] gnu: monero: Update to 0.12.0.0 Theodoros Foradis
2018-05-21 20:35 ` Ricardo Wurmus
2018-05-19 18:54 ` [bug#31531] [PATCH 3/3] gnu: monero-core: " Theodoros Foradis
2018-05-21 20:36 ` Ricardo Wurmus
2018-05-21 20:31 ` [bug#31531] [PATCH 1/3] gnu: Add cppzmq Ricardo Wurmus
2018-07-08 17:35 ` Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 1/9] " Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 2/9] gnu: Add monero-miniupnpc Theodoros Foradis
2018-07-13 15:30 ` Ludovic Courtès
2018-07-08 17:39 ` [bug#31531] [PATCH v2 3/9] gnu: monero: Update to 0.12.3.0 Theodoros Foradis
2018-07-13 15:31 ` Ludovic Courtès
2018-07-15 11:34 ` Theodoros Foradis
2018-07-16 14:40 ` Ludovic Courtès [this message]
2018-07-08 17:39 ` [bug#31531] [PATCH v2 4/9] gnu: monero: Return #t from phases Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 5/9] gnu: monero-core: Update to 0.12.2.0 Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 6/9] gnu: monero-core: Return #t from phases Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 7/9] gnu: monero: Use git-fetch Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 8/9] gnu: monero-core: " Theodoros Foradis
2018-07-08 17:39 ` [bug#31531] [PATCH v2 9/9] gnu: monero-core: Rename package to "monero-gui" Theodoros Foradis
2018-07-16 14:52 ` bug#31531: " Ludovic Courtès
2018-07-13 15:29 ` [bug#31531] [PATCH v2 1/9] gnu: Add cppzmq Ludovic Courtès
2018-06-14 20:21 ` [bug#31531] Update monero to 0.12.0.0 Ludovic Courtès
2018-07-04 16:36 ` Theodoros Foradis
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bmb7utv7.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=31531@debbugs.gnu.org \
--cc=theodoros@foradis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.