GNU bug report logs - #73313
Hash mismatch for jpegsrc

Previous Next

Package: guix;

Reported by: Marcel van der Boom <marcel <at> van-der-boom.nl>

Date: Tue, 17 Sep 2024 10:17:02 UTC

Severity: normal

Done: Tobias Geerinckx-Rice <me <at> tobias.gr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73313 in the body.
You can then email your comments to 73313 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#73313; Package guix. (Tue, 17 Sep 2024 10:17:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Marcel van der Boom <marcel <at> van-der-boom.nl>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 17 Sep 2024 10:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: bug-guix <at> gnu.org
Subject: Hash mismatch for jpegsrc
Date: Tue, 17 Sep 2024 12:15:50 +0200
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)





Information forwarded to marcel <at> van-der-boom.nl, bug-guix <at> gnu.org:
bug#73313; Package guix. (Tue, 17 Sep 2024 11:00:02 GMT) Full text and rfc822 format available.

Message #8 received at 73313 <at> debbugs.gnu.org (full text, mbox):

From: Marcel van der Boom <marcel <at> van-der-boom.nl>
To: 73313 <at> debbugs.gnu.org
Cc: Marcel van der Boom <marcel <at> van-der-boom.nl>
Subject: [PATCH] Correct mismatched hash
Date: Tue, 17 Sep 2024 12:58:51 +0200
---
 gnu/packages/image.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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





Reply sent to Tobias Geerinckx-Rice <me <at> tobias.gr>:
You have taken responsibility. (Tue, 17 Sep 2024 12:55:02 GMT) Full text and rfc822 format available.

Notification sent to Marcel van der Boom <marcel <at> van-der-boom.nl>:
bug acknowledged by developer. (Tue, 17 Sep 2024 12:55:02 GMT) Full text and rfc822 format available.

Message #13 received at 73313-done <at> debbugs.gnu.org (full text, mbox):

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: Marcel van der Boom <marcel <at> van-der-boom.nl>
Cc: 73313-done <at> debbugs.gnu.org
Subject: Re: bug#73313: Hash mismatch for jpegsrc
Date: Tue, 17 Sep 2024 14:53:51 +0200
Hi Marcel,

On 2024-09-17 12:15, Marcel van der Boom wrote:
> -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]: 
https://git.savannah.gnu.org/cgit/guix.git/commit/?id=b1a102d3a5b26d13f81b7102fa492fbab8f111ce

Sent from a Web browser.  Excuse or enjoy my brevity.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 16 Oct 2024 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 245 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.