Skip to content

CI for testing GO compat 1.22.x failed to catch compat issue #2038

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
prestist opened this issue Mar 18, 2025 · 0 comments
Open

CI for testing GO compat 1.22.x failed to catch compat issue #2038

prestist opened this issue Mar 18, 2025 · 0 comments

Comments

@prestist
Copy link
Collaborator

During the 2.21.x release we encountered an incompatibility with f40 due to ignition requiring go 1.23 or higher even though ignition has CI which explicitly tests this.

You can see the failure here:

+ cd ignition-2.21.0
+ export 'LDFLAGS=-X github.com/coreos/ignition/v2/internal/version.Raw=2.21.0 -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true '
+ LDFLAGS='-X github.com/coreos/ignition/v2/internal/version.Raw=2.21.0 -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true '
+ export GOFLAGS=-mod=vendor
+ GOFLAGS=-mod=vendor
+ echo 'Building ignition...'
++ echo ignition-2.21.0-1.fc40-1741910400
++ sha1sum
++ cut -d ' ' -f1
+ GOPATH=/builddir/build/BUILD/ignition-2.21.0/_build:/usr/share/gocode
+ GO111MODULE=on
+ go build -buildmode pie -compiler gc '-tags=rpm_crashtraceback ' -a -v -x -ldflags '-X github.com/coreos/ignition/v2/internal/version.Raw=2.21.0 -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true  -X github.com/coreos/ignition/version=2.21.0 -B 0x720a533500b90469c56d2b0ce9989db20f9b343e -compressdwarf=false -linkmode=external -extldflags '\''-Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  '\''' -o ./ignition internal/main.go
WORK=/tmp/go-build4082094123
go: cloud.google.com/go/auth in vendor/modules.txt requires go >= 1.23.0 (running go 1.22.12; GOTOOLCHAIN=local)
error: Bad exit status from /var/tmp/rpm-tmp.u6YRtS (%build)

https://kojipkgs.fedoraproject.org//work/tasks/886/130440886/build.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant