unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#73313: Hash mismatch for jpegsrc
@ 2024-09-17 10:15 Marcel van der Boom
  2024-09-17 10:58 ` bug#73313: [PATCH] Correct mismatched hash Marcel van der Boom
  2024-09-17 12:53 ` bug#73313: Hash mismatch for jpegsrc Tobias Geerinckx-Rice via Bug reports for GNU Guix
  0 siblings, 2 replies; 3+ messages in thread
From: Marcel van der Boom @ 2024-09-17 10:15 UTC (permalink / raw)
  To: 73313

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)





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#73313: [PATCH] Correct mismatched hash
  2024-09-17 10:15 bug#73313: Hash mismatch for jpegsrc Marcel van der Boom
@ 2024-09-17 10:58 ` Marcel van der Boom
  2024-09-17 12:53 ` bug#73313: Hash mismatch for jpegsrc Tobias Geerinckx-Rice via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Marcel van der Boom @ 2024-09-17 10:58 UTC (permalink / raw)
  To: 73313; +Cc: Marcel van der Boom, Marcel van der Boom

---
 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#73313: Hash mismatch for jpegsrc
  2024-09-17 10:15 bug#73313: Hash mismatch for jpegsrc Marcel van der Boom
  2024-09-17 10:58 ` bug#73313: [PATCH] Correct mismatched hash Marcel van der Boom
@ 2024-09-17 12:53 ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
  1 sibling, 0 replies; 3+ messages in thread
From: Tobias Geerinckx-Rice via Bug reports for GNU Guix @ 2024-09-17 12:53 UTC (permalink / raw)
  To: Marcel van der Boom; +Cc: 73313-done

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.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-09-17 12:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-17 10:15 bug#73313: Hash mismatch for jpegsrc Marcel van der Boom
2024-09-17 10:58 ` bug#73313: [PATCH] Correct mismatched hash Marcel van der Boom
2024-09-17 12:53 ` bug#73313: Hash mismatch for jpegsrc Tobias Geerinckx-Rice via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).