[Buildroot] [PATCH 1/1] package/go: bump to version 1.18

Christian Stewart christian at paral.in
Tue Mar 22 05:18:58 UTC 2022


Hi all,

On Mon, Mar 21, 2022 at 10:14 PM Christian Stewart <christian at paral.in> wrote:
>
> The latest Go release, version 1.18, is a significant release, including changes
> to the language, implementation of the toolchain, runtime, and libraries.
>
> https://go.dev/doc/go1.18
>

>  # From https://golang.org/dl/
> -sha256  2effcd898140da79a061f3784ca4f8d8b13d811fb2abe9dad2404442dabbdf7a  go1.17.8.src.tar.gz
> +sha256  38f423db4cc834883f2b52344282fa7a39fbb93650dc62a11fdf0be6409bdad6  go1.18.src.tar.gz
>  sha256  2d36597f7117c38b006835ae7f537487207d8ec407aa9d9980794b2030cbc067  LICENSE

I should note that this upgrade also will change a lot of the Go
package hashes...

Due to the way the "go mod vendor" step works, there's some
incompatibility with the go 1.17 vendor format:

go: inconsistent vendoring in /build/containerd-1.5.9:
        github.com/containerd/containerd: is marked as replaced in
vendor/modules.txt, but not replaced in go.mod

        To ignore the vendor directory, use -mod=readonly or -mod=mod.
        To sync the vendor directory, run:
                go mod vendor

We will need to update the hashes and the archives for these packages.

Unfortunately I don't know of any way to avoid this, other than
re-running "go mod vendor" if there's any conflict.

Thanks & best regards,
Christian Stewart



More information about the buildroot mailing list