Skip to content
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

Fails to build using go 1.22 #6

Open
DimStar77 opened this issue Jul 31, 2024 · 0 comments
Open

Fails to build using go 1.22 #6

DimStar77 opened this issue Jul 31, 2024 · 0 comments

Comments

@DimStar77
Copy link

openSUSE Tumbleweed is trying to change the default go version to 1.22 (or soon probably even 1.23)

transactional-update-notifier is amongst the few packages failing to build in this setup

https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:K/transactional-update-notifier/standard/i586 (limited to 32bit; on x86_64, it builds successful)

[    8s] mkdir -p build
[    8s] CGO_ENABLED=0 go build -mod=vendor -buildmode=pie -ldflags "-X main.Version=1.1.0" -o build/transactional-update-notifier
[    8s] -buildmode=pie requires external (cgo) linking, but cgo is not enabled
[    8s] make: *** [Makefile:23: transactional-update-notifier] Error 1
[    8s] error: Bad exit status from /var/tmp/rpm-tmp.DqR4Vl (%build)
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