Skip to contentSkip to conversation

package/libjpeg: switch to s.b.o. as source site

PATCH New Yann E. MORIN 2 participants 3 messages Mar 6, 2021 – Mar 16, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libjpeg: switch to s.b.o. as source site

The tarball for version 9d, released 2020-01-12, has been silently replaced upstream (a kinfd of BOM was removed from a few files), causing hash mismatch.

This means that all our versions since 2020.02 will fail the hash check, and fallback to using s.b.o. so we can't update the copy we have on s.b.o.

As a consequence, we can't update the hash in master (soon 2021.02) otherwise it would not match what we have on s.b.o.

This means that users will see hash mismatch by default, which is not very nice. Although we can't do anything for all previous releases, we can still try to paper over the problem for the future ones, like 2021.02, by switching the upstream to be s.b.o.

Sigh... :-(

---
 package/libjpeg/libjpeg.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
package/libjpeg/libjpeg.mk +5 -1
index 389ecb6299..bd463ad40a 100644
@@ -5,7 +5,11 @@
 ################################################################################
 
 LIBJPEG_VERSION = 9d
-LIBJPEG_SITE = http://www.ijg.org/files
+# 9d was released 2020-01-12, but the tarball was replaced upstream circa
+# 2021-03, causing hash mismatch. Until there is a new version released,
+# use our cached copy from s.b.o.
+#LIBJPEG_SITE = http://www.ijg.org/files
+LIBJPEG_SITE = http://sources.buildroot.org/libjpeg/
 LIBJPEG_SOURCE = jpegsrc.v$(LIBJPEG_VERSION).tar.gz
 LIBJPEG_LICENSE = IJG
 LIBJPEG_LICENSE_FILES = README
Signature · 1 line
2.25.1
#1 lore raw

PATCH 1/1 package/libjpeg: switch to s.b.o. as source site

Quoted 4 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

The tarball for version 9d, released 2020-01-12, has been silently replaced upstream (a kinfd of BOM was removed from a few files),

Ahh, the Windows-style unicode byte order mark:

https://en.wikipedia.org/wiki/Byte_order_mark

Committed after adding the bugzilla reference, thanks.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

PATCH 1/1 package/libjpeg: switch to s.b.o. as source site

Quoted 11 lines
Quoted 5 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

"Peter" == Peter Korsgaard <[email protected]> writes:

"Yann" == Yann E MORIN <[email protected]> writes:

The tarball for version 9d, released 2020-01-12, has been silently replaced upstream (a kinfd of BOM was removed from a few files),

Ahh, the Windows-style unicode byte order mark:

https://en.wikipedia.org/wiki/Byte_order_mark

Committed after adding the bugzilla reference, thanks.

Committed to 2020.02.x and 2020.11.x, thanks.

Signature · 1 line
Bye, Peter Korsgaard