Skip to contentSkip to conversation

package/fcft: use release tarball instead of archive

PATCH Applied Raphaël Mélotte via buildroot 2 participants 9 messages Aug 20 – Oct 10

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 package/fcft: use release tarball instead of archive

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

This change affects tarballs generated by Codeberg, but not release artifacts.
fcft turns out to have a proper release available, so use it.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

---
 package/fcft/fcft.hash | 2 +-
 package/fcft/fcft.mk   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
package/fcft/fcft.hash +1 -1
index f5a499edcc..0a4c633f24 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  79e52aaafc0b57fa2b68ed6127de13e98318050399a939691b8ca30d44d48591  3.3.2.tar.gz
+sha256  8dffe750027618e01dd4e6bc9aa9c889033c7abe4a661e9294192b58b4556264  fcft-3.3.2.tar.gz
 sha256  d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a  LICENSE
package/fcft/fcft.mk +1 -2
index b9ce43b454..40b2d45a8f 100644
@@ -5,8 +5,7 @@
 ################################################################################
 
 FCFT_VERSION = 3.3.2
-FCFT_SOURCE = $(FCFT_VERSION).tar.gz
-FCFT_SITE = https://codeberg.org/dnkl/fcft/archive
+FCFT_SITE = https://codeberg.org/dnkl/fcft/releases/download/$(FCFT_VERSION)
 FCFT_LICENSE = MIT
 FCFT_LICENSE_FILES = LICENSE
 FCFT_INSTALL_STAGING = YES
Signature · 6 lines
2.54.0

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

PATCH 2/3 package/gumbo-parser: update hash following Codeberg changes

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

Since it only affects a small number of packages for us (3 on master) and the upstream discussion seems to consider it a "one time change", just update the hash to match the new one.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

---
 package/gumbo-parser/gumbo-parser.hash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gumbo-parser/gumbo-parser.hash +1 -1
index b8809d4db9..8e0dd91629 100644
@@ -1,5 +1,5 @@
 # Locally computed:
-sha256  dbdc159dc8e5c6f3f254e50bce689dd9e439064ff06c165d5653410a5714ab66  0.13.2.tar.gz
+sha256  90bea83283760339da194fb90112a532854c13cd1eabdabc7ef7a4dede1dbc9d  0.13.2.tar.gz
 
 # Hash for license files:
 sha256  c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4  doc/COPYING
Signature · 6 lines
2.54.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH 2/3] package/gumbo-parser: update hash following Codeberg changes

Hello,

Adding a number of other Buildroot maintainers in Cc.

Quoted 19 lines · Raphaël Mélotte via buildroot

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

Since it only affects a small number of packages for us (3 on master) and the upstream discussion seems to consider it a "one time change", just update the hash to match the new one.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

---
 package/gumbo-parser/gumbo-parser.hash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/gumbo-parser/gumbo-parser.hash +0 -0
index b8809d4db9..8e0dd91629 100644

package/gumbo-parser/gumbo-parser.hash line 2

Quoted 3 lines
package/gumbo-parser/gumbo-parser.hash +1 -1
@@ -1,5 +1,5 @@
 # Locally computed:
-sha256  dbdc159dc8e5c6f3f254e50bce689dd9e439064ff06c165d5653410a5714ab66  0.13.2.tar.gz
+sha256  90bea83283760339da194fb90112a532854c13cd1eabdabc7ef7a4dede1dbc9d  0.13.2.tar.gz

Unfortunately I don't think we can do that. sources.buildroot.net has most likely cached the previous version of the tarball.

Has this package published a new release so that we can do the bump + hash chance at the same time?

Otherwise, is there a trick we could use to generate a different filename?

Same applies to PATCH 3/3 in your series.

Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH 2/3] package/gumbo-parser: update hash following Codeberg changes

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Thomas" == Thomas Petazzoni <[email protected]> writes:

Hi,

Quoted 8 lines

package/gumbo-parser/gumbo-parser.hash line 2

Quoted 5 lines

+++ b/package/gumbo-parser/gumbo-parser.hash

package/gumbo-parser/gumbo-parser.hash +1 -1
@@ -1,5 +1,5 @@
 # Locally computed:
-sha256  dbdc159dc8e5c6f3f254e50bce689dd9e439064ff06c165d5653410a5714ab66  0.13.2.tar.gz
+sha256  90bea83283760339da194fb90112a532854c13cd1eabdabc7ef7a4dede1dbc9d  0.13.2.tar.gz

Unfortunately I don't think we can do that. sources.buildroot.net has most likely cached the previous version of the tarball.

Yes:

wget https://sources.buildroot.org/gumbo-parser/0.13.2.tar.gz
--2026-09-17 08:48:30-- https://sources.buildroot.org/gumbo-parser/0.13.2.tar.gz
Resolving sources.buildroot.org (sources.buildroot.org)... 138.201.205.61, 2a01:4f8:173:1526::2 Connecting to sources.buildroot.org (sources.buildroot.org)|138.201.205.61|:443... connected. HTTP request sent, awaiting response... 200 OK
Length: 2145403 (2.0M) [application/x-gtar-compressed]
Saving to: ‘0.13.2.tar.gz’

0.13.2.tar.gz 100%[==============================>] 2.05M 7.45MB/s in 0.3s

2026-09-17 08:48:31 (7.45 MB/s) - ‘0.13.2.tar.gz’ saved [2145403/2145403]

sha256sum 0.13.2.tar.gz dbdc159dc8e5c6f3f254e50bce689dd9e439064ff06c165d5653410a5714ab66 0.13.2.tar.gz

Did we report this issue to codeberg already?

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

Re: [Buildroot] [PATCH 2/3] package/gumbo-parser: update hash following Codeberg changes

Quoted 10 lines · Peter Korsgaard

wget https://sources.buildroot.org/gumbo-parser/0.13.2.tar.gz
--2026-09-17 08:48:30-- https://sources.buildroot.org/gumbo-parser/0.13.2.tar.gz
Resolving sources.buildroot.org (sources.buildroot.org)... 138.201.205.61, 2a01:4f8:173:1526::2 Connecting to sources.buildroot.org (sources.buildroot.org)|138.201.205.61|:443... connected. HTTP request sent, awaiting response... 200 OK
Length: 2145403 (2.0M) [application/x-gtar-compressed]
Saving to: ‘0.13.2.tar.gz’

0.13.2.tar.gz 100%[==============================>] 2.05M 7.45MB/s in 0.3s

Quoted 7 lines
2026-09-17 08:48:31 (7.45 MB/s) - ‘0.13.2.tar.gz’ saved [2145403/2145403]

sha256sum 0.13.2.tar.gz dbdc159dc8e5c6f3f254e50bce689dd9e439064ff06c165d5653410a5714ab66 0.13.2.tar.gz

Did we report this issue to codeberg already?

Well, see the original patch, which points to
https://codeberg.org/Codeberg/Community/issues/2861

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH 2/3] package/gumbo-parser: update hash following Codeberg changes

In reply to Raphaël Mélotte via buildroot

Hello Raphaël,

Quoted 10 lines · Raphaël Mélotte via buildroot

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

Since it only affects a small number of packages for us (3 on master) and the upstream discussion seems to consider it a "one time change", just update the hash to match the new one.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

Thanks for the patch. As discussed, the patch couldn't work as-is. However, Peter Korsgaard suggested that we switch this package (and wmenu) to a Git download. This way, the file name being generated in DL_DIR changes, and therefore it is fine to change the hash. I've changed both of your patches to implement this solution, and pushed to master.

Thanks a lot!

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

PATCH 3/3 package/wmenu: update hash following Codeberg changes

In reply to Raphaël Mélotte via buildroot

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

Since it only affects a small number of packages for us (3 on master) and the upstream discussion seems to consider it a "one time change", just update the hash to match the new one.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

---
 package/wmenu/wmenu.hash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/wmenu/wmenu.hash +1 -1
index c4941001f4..71b2ff9d37 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  4e6aea3f8975fec720f6eb87aad620d5297a8a5a137615e4cf047e95d2b9d308  0.2.0.tar.gz
+sha256  b1b593a80310085a90bd349d458ffbcfacf875d74468ae4428bdf5692a671ef9  0.2.0.tar.gz
 sha256  500f0a221b2f3667676f6a084fb4e92ba4f74d09f45bc492e55aec4dd296bff2  LICENSE
Signature · 6 lines
2.54.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#7 lore raw
In reply to Raphaël Mélotte via buildroot
Quoted 10 lines · Raphaël Mélotte via buildroot

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

This change affects tarballs generated by Codeberg, but not release artifacts.
fcft turns out to have a proper release available, so use it.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

Applied, after adding a Fixes: tag pointing to the autobuilder issue being fixed. Thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#8 lore raw
In reply to Raphaël Mélotte via buildroot

In reply of:

Quoted 10 lines

Codeberg has changed the way it generate hashes for at least some of the generated tarballs (see [1]).

This change affects tarballs generated by Codeberg, but not release artifacts.
fcft turns out to have a proper release available, so use it.

[1]: https://codeberg.org/Codeberg/Community/issues/2861

Applied to 2026.08.x. Thanks

Quoted 19 lines
---
 package/fcft/fcft.hash | 2 +-
 package/fcft/fcft.mk   | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)
package/fcft/fcft.hash +1 -1
index f5a499edcc..0a4c633f24 100644
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  79e52aaafc0b57fa2b68ed6127de13e98318050399a939691b8ca30d44d48591  3.3.2.tar.gz
+sha256  8dffe750027618e01dd4e6bc9aa9c889033c7abe4a661e9294192b58b4556264  fcft-3.3.2.tar.gz
 sha256  d534a23a31500a0ac958d9634b84f532bd73ff1aca1bb8f7debbcbebc16ff39a  LICENSE
package/fcft/fcft.mk +0 -0
index b9ce43b454..40b2d45a8f 100644

package/fcft/fcft.mk line 11

Quoted 9 lines
package/fcft/fcft.mk +1 -2
@@ -5,8 +5,7 @@
 ################################################################################
 
 FCFT_VERSION = 3.3.2
-FCFT_SOURCE = $(FCFT_VERSION).tar.gz
-FCFT_SITE = https://codeberg.org/dnkl/fcft/archive
+FCFT_SITE = https://codeberg.org/dnkl/fcft/releases/download/$(FCFT_VERSION)
 FCFT_LICENSE = MIT
 FCFT_LICENSE_FILES = LICENSE
 FCFT_INSTALL_STAGING = YES

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot