All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash
@ 2025-02-10 19:18 Thomas Perale via buildroot
  2025-02-10 22:15 ` Romain Naour via buildroot
  2025-02-11  7:30 ` Peter Korsgaard
  0 siblings, 2 replies; 4+ messages in thread
From: Thomas Perale via buildroot @ 2025-02-10 19:18 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Perale, Christian Stewart

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

Signed-off-by: Thomas Perale <thomas.perale@mind.be>
---
 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

diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash
deleted file mode 100644
index 50d2be239f..0000000000
--- a/package/go/go-bin/go-bin.hash
+++ /dev/null
@@ -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
diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash
new file mode 120000
index 0000000000..0531a32c5c
--- /dev/null
+++ b/package/go/go-bin/go-bin.hash
@@ -0,0 +1 @@
+../go.hash
\ No newline at end of file
diff --git a/package/go/go-src/go-src.hash b/package/go/go-src/go-src.hash
deleted file mode 100644
index b60995fedc..0000000000
--- a/package/go/go-src/go-src.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# From https://go.dev/dl
-sha256  039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222  go1.23.6.src.tar.gz
-sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
diff --git a/package/go/go-src/go-src.hash b/package/go/go-src/go-src.hash
new file mode 120000
index 0000000000..0531a32c5c
--- /dev/null
+++ b/package/go/go-src/go-src.hash
@@ -0,0 +1 @@
+../go.hash
\ No newline at end of file
diff --git a/package/go/go.hash b/package/go/go.hash
new file mode 100644
index 0000000000..fd2cd71c59
--- /dev/null
+++ b/package/go/go.hash
@@ -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
-- 
2.39.5

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash
  2025-02-10 19:18 [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash Thomas Perale via buildroot
@ 2025-02-10 22:15 ` Romain Naour via buildroot
  2025-02-11  7:30 ` Peter Korsgaard
  1 sibling, 0 replies; 4+ messages in thread
From: Romain Naour via buildroot @ 2025-02-10 22:15 UTC (permalink / raw)
  To: Thomas Perale, buildroot; +Cc: Christian Stewart

Hello Thomas,

Le 10/02/2025 à 20:18, Thomas Perale via buildroot a écrit :
> 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!

> 
> Fixes:
> https://autobuild.buildroot.org/results/337/33763441a065ddb07e944e26ad8f1f6d43b68592
> 
> Signed-off-by: Thomas Perale <thomas.perale@mind.be>

Applied to master, thanks.

Best regards,
Romain


> ---
>  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
> 
> diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash
> deleted file mode 100644
> index 50d2be239f..0000000000
> --- a/package/go/go-bin/go-bin.hash
> +++ /dev/null
> @@ -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
> diff --git a/package/go/go-bin/go-bin.hash b/package/go/go-bin/go-bin.hash
> new file mode 120000
> index 0000000000..0531a32c5c
> --- /dev/null
> +++ b/package/go/go-bin/go-bin.hash
> @@ -0,0 +1 @@
> +../go.hash
> \ No newline at end of file
> diff --git a/package/go/go-src/go-src.hash b/package/go/go-src/go-src.hash
> deleted file mode 100644
> index b60995fedc..0000000000
> --- a/package/go/go-src/go-src.hash
> +++ /dev/null
> @@ -1,3 +0,0 @@
> -# From https://go.dev/dl
> -sha256  039c5b04e65279daceee8a6f71e70bd05cf5b801782b6f77c6e19e2ed0511222  go1.23.6.src.tar.gz
> -sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE
> diff --git a/package/go/go-src/go-src.hash b/package/go/go-src/go-src.hash
> new file mode 120000
> index 0000000000..0531a32c5c
> --- /dev/null
> +++ b/package/go/go-src/go-src.hash
> @@ -0,0 +1 @@
> +../go.hash
> \ No newline at end of file
> diff --git a/package/go/go.hash b/package/go/go.hash
> new file mode 100644
> index 0000000000..fd2cd71c59
> --- /dev/null
> +++ b/package/go/go.hash
> @@ -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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash
  2025-02-10 19:18 [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash Thomas Perale via buildroot
  2025-02-10 22:15 ` Romain Naour via buildroot
@ 2025-02-11  7:30 ` Peter Korsgaard
  2025-02-11 17:01   ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2025-02-11  7:30 UTC (permalink / raw)
  To: Thomas Perale; +Cc: buildroot, Christian Stewart

>>>>> "Thomas" == Thomas Perale <thomas.perale@mind.be> 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.

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

 > Signed-off-by: Thomas Perale <thomas.perale@mind.be>

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

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash
  2025-02-11  7:30 ` Peter Korsgaard
@ 2025-02-11 17:01   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2025-02-11 17:01 UTC (permalink / raw)
  To: Thomas Perale; +Cc: buildroot, Christian Stewart

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

>>>>> "Thomas" == Thomas Perale <thomas.perale@mind.be> 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.

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

 >> Signed-off-by: Thomas Perale <thomas.perale@mind.be>

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

Committed to 2024.11.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2025-02-11 17:01 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-10 19:18 [Buildroot] [PATCH 1/1] package/go/go-bin: re-introduce go-src hash Thomas Perale via buildroot
2025-02-10 22:15 ` Romain Naour via buildroot
2025-02-11  7:30 ` Peter Korsgaard
2025-02-11 17:01   ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.