Skip to contentSkip to conversation

package/foot: change to git download to work around codeberg archive issue

PATCH In review Peter Korsgaard 1 participant 3 messages Dec 6, 2024 – Dec 8, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/foot: change to git download to work around codeberg archive issue

Fixes:
http://autobuild.buildroot.net/results/1959614f6ad63878c390a23770a6778830d6c698/

The tarball downloaded from codeberg has changed. Interesting enough, it is only the compression that has changed, the uncompressed data is still identical:

mkdir s.b.o codeberg
wget -P codeberg https://codeberg.org/dnkl/foot/archive/1.16.2.tar.gz
wget -P s.b.o http://sources.buildroot.org/foot/1.16.2.tar.gz

sha256sum */* 0e02af376e5f4a96eeb90470b7ad2e79a1d660db2a7d1aa772be43c7db00e475 codeberg/1.16.2.tar.gz 8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29 s.b.o/1.16.2.tar.gz

gunzip */*
sha256sum */* 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe codeberg/1.16.2.tar 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe s.b.o/1.16.2.tar

Looking at the autobuilder history, this seems to have changed in January/February, E.G. on January 20th the file hash was correct:

http://autobuild.buildroot.net/results/d4b90a505a035d9bab400ed65f94571854f74f24/

But on February 14th it wasn't:

http://autobuild.buildroot.net/results/2ff85fe3fba2d36c7f0358f2ce43e703aef5f4f0/

This was unfortunately only noticed once we started doing builds without the s.b.o fallback. To fix it, change to a git clone instead.

---
 package/foot/foot.hash | 2 +-
 package/foot/foot.mk   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/foot/foot.hash +1 -1
index f3bf0f6058..9a4335f2c6 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29  1.16.2.tar.gz
+sha256  ff81bca86178ef326588176f8bdf817bb3e0fbc891d026960144f69c8a74eb4d  foot-1.16.2-git4.tar.gz
 sha256  d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a  LICENSE
package/foot/foot.mk +2 -2
index 1595e2a718..e300d04d0a 100644
@@ -5,8 +5,8 @@
 ################################################################################
 
 FOOT_VERSION = 1.16.2
-FOOT_SOURCE = $(FOOT_VERSION).tar.gz
-FOOT_SITE = https://codeberg.org/dnkl/foot/archive
+FOOT_SITE = https://codeberg.org/dnkl/foot.git
+FOOT_SITE_METHOD = git
 FOOT_LICENSE = MIT
 FOOT_LICENSE_FILES = LICENSE
 FOOT_DEPENDENCIES = \
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 27 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

Fixes:
http://autobuild.buildroot.net/results/1959614f6ad63878c390a23770a6778830d6c698/

The tarball downloaded from codeberg has changed. Interesting enough, it is only the compression that has changed, the uncompressed data is still identical:

mkdir s.b.o codeberg
wget -P codeberg https://codeberg.org/dnkl/foot/archive/1.16.2.tar.gz
wget -P s.b.o http://sources.buildroot.org/foot/1.16.2.tar.gz

sha256sum */* 0e02af376e5f4a96eeb90470b7ad2e79a1d660db2a7d1aa772be43c7db00e475 codeberg/1.16.2.tar.gz 8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29 s.b.o/1.16.2.tar.gz

gunzip */*
sha256sum */* 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe codeberg/1.16.2.tar 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe s.b.o/1.16.2.tar

Looking at the autobuilder history, this seems to have changed in January/February, E.G. on January 20th the file hash was correct:

http://autobuild.buildroot.net/results/d4b90a505a035d9bab400ed65f94571854f74f24/

Quoted 8 lines

But on February 14th it wasn't:

http://autobuild.buildroot.net/results/2ff85fe3fba2d36c7f0358f2ce43e703aef5f4f0/

This was unfortunately only noticed once we started doing builds without the s.b.o fallback. To fix it, change to a git clone instead.

Committed, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw
Quoted 30 lines
Quoted 29 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

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

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

Fixes:
http://autobuild.buildroot.net/results/1959614f6ad63878c390a23770a6778830d6c698/

The tarball downloaded from codeberg has changed. Interesting enough, it is only the compression that has changed, the uncompressed data is still identical:

mkdir s.b.o codeberg
wget -P codeberg https://codeberg.org/dnkl/foot/archive/1.16.2.tar.gz
wget -P s.b.o http://sources.buildroot.org/foot/1.16.2.tar.gz

sha256sum */* 0e02af376e5f4a96eeb90470b7ad2e79a1d660db2a7d1aa772be43c7db00e475 codeberg/1.16.2.tar.gz 8060ec28cbf6e2e3d408665330da4bc48fd094d4f1265d7c58dc75c767463c29 s.b.o/1.16.2.tar.gz

gunzip */*
sha256sum */* 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe codeberg/1.16.2.tar 7b9fad0611c75d6ba8f53d12ad1366d53c8697240031a5b27334d173b76560fe s.b.o/1.16.2.tar

Looking at the autobuilder history, this seems to have changed in January/February, E.G. on January 20th the file hash was correct:

http://autobuild.buildroot.net/results/d4b90a505a035d9bab400ed65f94571854f74f24/

But on February 14th it wasn't:

Quoted 8 lines
Quoted 6 lines

http://autobuild.buildroot.net/results/2ff85fe3fba2d36c7f0358f2ce43e703aef5f4f0/

This was unfortunately only noticed once we started doing builds without the s.b.o fallback. To fix it, change to a git clone instead.

Committed, thanks.

Committed to 2024.02.x and 2024.08.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot