Skip to contentSkip to conversation

package/go/go-bin: re-introduce go-src hash

PATCH Applied Thomas Perale via buildroot 2 participants 4 messages Feb 10, 2025 – Feb 11, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/go/go-bin: re-introduce go-src hash

The commit b4006287f8 "package/go: security bump to version 1.23.6" removed the go source from the go-bin package .hash file. Since that commit, a number of autobuild errors for the host-go-bin package started spawning during the 'legal-info' step. Because the package 'go-bin' defines the '_ACTUAL_SOURCE_TARBALL' variable the source hash is still required for the legal-info.

Similarly to the 'nodejs' package, the hash files for both the go-bin and go-src package are shared in the package/go directory with the help of a symbolic link used to make the subdirectories point to that common .hash file.

Fixes:
https://autobuild.buildroot.org/results/337/33763441a065ddb07e944e26ad8f1f6d43b68592

---
 package/go/go-bin/go-bin.hash | 9 +--------
 package/go/go-src/go-src.hash | 4 +---
 package/go/go.hash            | 9 +++++++++
 3 files changed, 11 insertions(+), 11 deletions(-)
 mode change 100644 => 120000 package/go/go-bin/go-bin.hash
 mode change 100644 => 120000 package/go/go-src/go-src.hash
 create mode 100644 package/go/go.hash
package/go/go-bin/go-bin.hash deleted +0 -8
deleted file mode 100644
index 50d2be239f..0000000000
@@ -1,8 +0,0 @@
-# sha256 checksum from https://go.dev/dl/
-sha256  e61f87693169c0bbcc43363128f1e929b9dff0b7f448573f1bdd4e4a0b9687ba  go1.23.6.linux-386.tar.gz
-sha256  9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d  go1.23.6.linux-amd64.tar.gz
-sha256  561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202  go1.23.6.linux-arm64.tar.gz
-sha256  27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74  go1.23.6.linux-armv6l.tar.gz
-sha256  0f817201e83d78ddbfa27f5f78d9b72450b92cc21d5e045145efacd0d3244a99  go1.23.6.linux-ppc64le.tar.gz
-sha256  321e7ed0d5416f731479c52fa7610b52b8079a8061967bd48cec6d66f671a60e  go1.23.6.linux-s390x.tar.gz
-sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
package/go/go-bin/go-bin.hash new file +1 -0
new file mode 120000
index 0000000000..0531a32c5c
@@ -0,0 +1 @@
+../go.hash
\ No newline at end of file
package/go/go-src/go-src.hash deleted +0 -3
deleted file mode 100644
index b60995fedc..0000000000
@@ -1,3 +0,0 @@
-# From https://go.dev/dl
-sha256  039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222  go1.23.6.src.tar.gz
-sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
package/go/go-src/go-src.hash new file +1 -0
new file mode 120000
index 0000000000..0531a32c5c
@@ -0,0 +1 @@
+../go.hash
\ No newline at end of file
package/go/go.hash new file +9 -0
new file mode 100644
index 0000000000..fd2cd71c59
@@ -0,0 +1,9 @@
+# sha256 checksum from https://go.dev/dl/
+sha256  039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222  go1.23.6.src.tar.gz
+sha256  e61f87693169c0bbcc43363128f1e929b9dff0b7f448573f1bdd4e4a0b9687ba  go1.23.6.linux-386.tar.gz
+sha256  9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d  go1.23.6.linux-amd64.tar.gz
+sha256  561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202  go1.23.6.linux-arm64.tar.gz
+sha256  27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74  go1.23.6.linux-armv6l.tar.gz
+sha256  0f817201e83d78ddbfa27f5f78d9b72450b92cc21d5e045145efacd0d3244a99  go1.23.6.linux-ppc64le.tar.gz
+sha256  321e7ed0d5416f731479c52fa7610b52b8079a8061967bd48cec6d66f671a60e  go1.23.6.linux-s390x.tar.gz
+sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
Signature · 6 lines
2.39.5

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

Hello Thomas,

Le 10/02/2025 à 20:18, Thomas Perale via buildroot a écrit :

Quoted 11 lines

The commit b4006287f8 "package/go: security bump to version 1.23.6" removed the go source from the go-bin package .hash file. Since that commit, a number of autobuild errors for the host-go-bin package started spawning during the 'legal-info' step. Because the package 'go-bin' defines the '_ACTUAL_SOURCE_TARBALL' variable the source hash is still required for the legal-info.

Similarly to the 'nodejs' package, the hash files for both the go-bin and go-src package are shared in the package/go directory with the help of a symbolic link used to make the subdirectories point to that common .hash file.

Nice commit log!

Quoted 5 lines

Fixes:
https://autobuild.buildroot.org/results/337/33763441a065ddb07e944e26ad8f1f6d43b68592

Applied to master, thanks.

Best regards,
Romain

Quoted 54 lines
---
 package/go/go-bin/go-bin.hash | 9 +--------
 package/go/go-src/go-src.hash | 4 +---
 package/go/go.hash            | 9 +++++++++
 3 files changed, 11 insertions(+), 11 deletions(-)
 mode change 100644 => 120000 package/go/go-bin/go-bin.hash
 mode change 100644 => 120000 package/go/go-src/go-src.hash
 create mode 100644 package/go/go.hash
package/go/go-bin/go-bin.hash deleted +0 -8
deleted file mode 100644
index 50d2be239f..0000000000
@@ -1,8 +0,0 @@
-# sha256 checksum from https://go.dev/dl/
-sha256  e61f87693169c0bbcc43363128f1e929b9dff0b7f448573f1bdd4e4a0b9687ba  go1.23.6.linux-386.tar.gz
-sha256  9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d  go1.23.6.linux-amd64.tar.gz
-sha256  561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202  go1.23.6.linux-arm64.tar.gz
-sha256  27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74  go1.23.6.linux-armv6l.tar.gz
-sha256  0f817201e83d78ddbfa27f5f78d9b72450b92cc21d5e045145efacd0d3244a99  go1.23.6.linux-ppc64le.tar.gz
-sha256  321e7ed0d5416f731479c52fa7610b52b8079a8061967bd48cec6d66f671a60e  go1.23.6.linux-s390x.tar.gz
-sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
package/go/go-bin/go-bin.hash new file +1 -0
new file mode 120000
index 0000000000..0531a32c5c
@@ -0,0 +1 @@
+../go.hash
\ No newline at end of file
package/go/go-src/go-src.hash deleted +0 -3
deleted file mode 100644
index b60995fedc..0000000000
@@ -1,3 +0,0 @@
-# From https://go.dev/dl
-sha256  039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222  go1.23.6.src.tar.gz
-sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
package/go/go-src/go-src.hash new file +1 -0
new file mode 120000
index 0000000000..0531a32c5c
@@ -0,0 +1 @@
+../go.hash
\ No newline at end of file
package/go/go.hash new file +0 -0
new file mode 100644
index 0000000000..fd2cd71c59

package/go/go.hash line 9

Quoted 9 lines
package/go/go.hash new file +9 -0
@@ -0,0 +1,9 @@
+# sha256 checksum from https://go.dev/dl/
+sha256  039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222  go1.23.6.src.tar.gz
+sha256  e61f87693169c0bbcc43363128f1e929b9dff0b7f448573f1bdd4e4a0b9687ba  go1.23.6.linux-386.tar.gz
+sha256  9379441ea310de000f33a4dc767bd966e72ab2826270e038e78b2c53c2e7802d  go1.23.6.linux-amd64.tar.gz
+sha256  561c780e8f4a8955d32bf72e46af0b5ee5e0debe1e4633df9a03781878219202  go1.23.6.linux-arm64.tar.gz
+sha256  27a4611010c16b8c4f37ade3aada55bd5781998f02f348b164302fd5eea4eb74  go1.23.6.linux-armv6l.tar.gz
+sha256  0f817201e83d78ddbfa27f5f78d9b72450b92cc21d5e045145efacd0d3244a99  go1.23.6.linux-ppc64le.tar.gz
+sha256  321e7ed0d5416f731479c52fa7610b52b8079a8061967bd48cec6d66f671a60e  go1.23.6.linux-s390x.tar.gz
+sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE

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

#2 lore raw
In reply to Thomas Perale via buildroot
Quoted 14 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

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

The commit b4006287f8 "package/go: security bump to version 1.23.6" removed the go source from the go-bin package .hash file. Since that commit, a number of autobuild errors for the host-go-bin package started spawning during the 'legal-info' step. Because the package 'go-bin' defines the '_ACTUAL_SOURCE_TARBALL' variable the source hash is still required for the legal-info.

Similarly to the 'nodejs' package, the hash files for both the go-bin and go-src package are shared in the package/go directory with the help of a symbolic link used to make the subdirectories point to that common .hash file.

Quoted 4 lines

Fixes:
https://autobuild.buildroot.org/results/337/33763441a065ddb07e944e26ad8f1f6d43b68592

Crap, indeed - Sorry for breaking it. I see that Romain has already applied it.

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

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

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

The commit b4006287f8 "package/go: security bump to version 1.23.6" removed the go source from the go-bin package .hash file. Since that commit, a number of autobuild errors for the host-go-bin package started spawning during the 'legal-info' step. Because the package 'go-bin' defines the '_ACTUAL_SOURCE_TARBALL' variable the source hash is still required for the legal-info.

Similarly to the 'nodejs' package, the hash files for both the go-bin and go-src package are shared in the package/go directory with the help of a symbolic link used to make the subdirectories point to that common .hash file.

Quoted 7 lines
Quoted 4 lines

Fixes:
https://autobuild.buildroot.org/results/337/33763441a065ddb07e944e26ad8f1f6d43b68592

Crap, indeed - Sorry for breaking it. I see that Romain has already applied it.

Committed to 2024.11.x, thanks.

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