[Buildroot] [PATCH] package/util-linux: bump version to 2.39.1

Romain Naour romain.naour at smile.fr
Fri Jul 28 08:37:44 UTC 2023


Hello Christian,

Le 28/07/2023 à 06:24, Christian Stewart a écrit :
> Romain,
> 
> On Thu, Jul 27, 2023 at 2:33 PM Christian Stewart <christian at aperture.us> wrote:
>> On Thu, Jul 27, 2023 at 2:20 PM Christian Stewart <christian at aperture.us> wrote:
>>> On Thu, Jul 27, 2023 at 1:47 PM Romain Naour <romain.naour at smile.fr> wrote:
>>>> It seems the go bootstrap doesn't work even after Go 1.20.x merge,
>>>> see [1]
> 
>>> Will check into why this CI job failed right away.
> 
>>>
>>>>>>> host-go 1.20.6 Building
>>>> ...
>>>> Building Go toolchain1 using [...]test-output/TestMender/host/lib/go-1.19.10.
>>>> error obtaining VCS status: exit status 128
>>>>         Use -buildvcs=false to disable VCS stamping.
>>>>
>>>> [1] https://gitlab.com/buildroot.org/buildroot/-/jobs/4725186525
> 
> It took me a long time to find a reproduction for this issue,

Maybe just run utils/docker-run with support/testing/run-tests to reproduce the
issue with the same environment as the gitlab-ci job ?

> 
> I finally traced it: if there is an invalid .git in any parent
> directory of the GOROOT_BOOTSTRAP, the build will fail. Reproduction:
> 
> ```
> # This reproduction sets up a directory structure that breaks Go make.bash.
> # make.bash should not break due to .git files outside of the Go sources.
> #
> # The error specifically occurs when an invalid .git is present in a parent git
> # directory of the GOROOT_BOOTSTRAP. Go issue #61620
> mkdir go-issue-61620
> cd ./go-issue-61620
> wget https://go.dev/dl/go1.19.11.src.tar.gz
> mkdir go-bootstrap
> tar -xf go1.19.11.src.tar.gz -C ./go-bootstrap --strip-components=1
> cd ./go-bootstrap/src/
> bash make.bash
> cd ../../
> wget https://go.dev/dl/go1.20.6.src.tar.gz
> mkdir go
> tar -xf go1.20.6.src.tar.gz -C ./go/ --strip-components=1
> printf "gitdir: ../../does/not/exist/.git" > ./.git
> cd ./go/src/
> GOROOT_BOOTSTRAP=$(pwd)/../../go-bootstrap/ bash make.bash
> # Build fails using -buildvcs=false errors.
> ```
> 
> Submitted to the go issue tracker: https://github.com/golang/go/issues/61620

Nice!

Best regards,
Romain


> 
> Best regards,
> Christian Stewart




More information about the buildroot mailing list