Hash mismatch for jpegsrc

  • Done
  • quality assurance status badge
Details
2 participants
  • Marcel van der Boom
  • Tobias Geerinckx-Rice
Owner
unassigned
Submitted by
Marcel van der Boom
Severity
normal

Debbugs page

Marcel van der Boom wrote 6 months ago
(address . bug-guix@gnu.org)
118b2e47-cb02-4f85-96ba-f43d53264ed7@van-der-boom.nl
On building jpegsrc:

building
/gnu/store/03w0f0wr4316dwjh226b3bnmikjbfny6-jpegsrc.v9d.tar.gz.drv...
-sha256 hash mismatch for
/gnu/store/53j9996hdgnmhgzswjjggdz9wnv29p5b-jpegsrc.v9d.tar.gz:
expected hash: 0clwys9lcqlxqgcw8s1gwfm5ix2zjlqpklmd3mbvqmj5ibj51jwr
actual hash: 0spshb0126m70xpgkqwxic8rw1z6ywlrv2kfx3h37ibczfnac0r3
hash mismatch for store item
'/gnu/store/53j9996hdgnmhgzswjjggdz9wnv29p5b-jpegsrc.v9d.tar.gz'
build of
/gnu/store/03w0f0wr4316dwjh226b3bnmikjbfny6-jpegsrc.v9d.tar.gz.drv failed
View build log at
'/var/log/guix/drvs/03/w0f0wr4316dwjh226b3bnmikjbfny6-jpegsrc.v9d.tar.gz.drv.gz'.
building /gnu/store/nsbzw88sd0zzmxl6ygiq7b31s9y9gx22-ld-wrapper-avr-0.drv...
cannot build derivation
`/gnu/store/plvvazx3ps2h5yscxb1wqjb78sdr7hmh-libjpeg-9d.drv': 1
dependencies couldn't be built
cannot build derivation
`/gnu/store/hdvcvrdwjywl5lzkg6kzcicallsjjcnc-profile.drv': 1
dependencies couldn't be built

this is on powerpc64le platform (talos II machine)
Marcel van der Boom wrote 6 months ago
[PATCH] Correct mismatched hash
(address . 73313@debbugs.gnu.org)(name . Marcel van der Boom)(address . marcel@van-der-boom.nl)
7db8784f1f23e9333db21b2ce3b8fd8cba1a951c.1726570690.git.marcel@van-der-boom.nl
---
gnu/packages/image.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Toggle diff (17 lines)
diff --git a/gnu/packages/image.scm b/gnu/packages/image.scm
index 91890452d4..f8fb162ae7 100644
--- a/gnu/packages/image.scm
+++ b/gnu/packages/image.scm
@@ -510,7 +510,7 @@ (define-public ijg-libjpeg
(uri (string-append "https://www.ijg.org/files/jpegsrc.v"
version ".tar.gz"))
(sha256 (base32
- "0clwys9lcqlxqgcw8s1gwfm5ix2zjlqpklmd3mbvqmj5ibj51jwr"))))
+ "0spshb0126m70xpgkqwxic8rw1z6ywlrv2kfx3h37ibczfnac0r3"))))
(build-system gnu-build-system)
(synopsis "Library for handling JPEG files")
(description

base-commit: 8dae6b47542b906682f83b06b0478fcbd0776fd6
--
2.45.2
Tobias Geerinckx-Rice wrote 6 months ago
Re: bug#73313: Hash mismatch for jpegsrc
(name . Marcel van der Boom)(address . marcel@van-der-boom.nl)(address . 73313-done@debbugs.gnu.org)
d4112e696a012e3f5e7a4e31190b9720@tobias.gr
Hi Marcel,

On 2024-09-17 12:15, Marcel van der Boom wrote:
Toggle quote (5 lines)
> -sha256 hash mismatch for
> /gnu/store/53j9996hdgnmhgzswjjggdz9wnv29p5b-jpegsrc.v9d.tar.gz:
> expected hash: 0clwys9lcqlxqgcw8s1gwfm5ix2zjlqpklmd3mbvqmj5ibj51jwr
> actual hash: 0spshb0126m70xpgkqwxic8rw1z6ywlrv2kfx3h37ibczfnac0r3

Thank you for reporting this! Fixed in commit b1a102d[0].

Also thanks for submitting a patch. However, would I have seen it in
the commit log I'd probably have raised a stink :-)

Upstream hash mismatches should be rare and treated with some suspicion.
The hash wasn't *incorrect* (hence, not a ‘fix’) when libjpeg was
packaged—it was *changed*.

I think it's our responsibility to log these changes in the commit log,
even though they are benign.

Well, obviously they are benign. We'd probably not commit them if they
weren't.

Probably.

Closing,

T G-R

[0]:

Sent from a Web browser. Excuse or enjoy my brevity.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 73313@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 73313
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help