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

Static link puku? #129

Closed
manfredlift opened this issue Oct 29, 2024 · 2 comments · Fixed by #130
Closed

Static link puku? #129

manfredlift opened this issue Oct 29, 2024 · 2 comments · Fixed by #130

Comments

@manfredlift
Copy link

On RHEL 8 I am getting:

# ./pleasew puku
plz-out/bin/third_party/binary/puku-1.11.1-linux_amd64: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by plz-out/bin/third_party/binary/puku-1.11.1-linux_amd64)
plz-out/bin/third_party/binary/puku-1.11.1-linux_amd64: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by plz-out/bin/third_party/binary/puku-1.11.1-linux_amd64)

It's not trivial to upgrade libc in various environments, would it be possible to statically link puku?

@manfredlift
Copy link
Author

manfredlift commented Oct 29, 2024

Not much luck with "go get" either @toastwaffle :

$ go install github.com/please-build/puku/cmd/puku
no required module provides package github.com/please-build/puku/cmd/puku; to add it:
        go get github.com/please-build/puku/cmd/puku
$ go get github.com/please-build/puku/cmd/puku@latest
go: downloading github.com/please-build/puku v1.11.1
go: github.com/please-build/puku/cmd/puku@latest: create zip: version/BUILD: case-insensitive file name collision: "VERSION" and "version"
version/version.go: case-insensitive file name collision: "VERSION" and "version"

toastwaffle added a commit that referenced this issue Oct 29, 2024
Fixes #129

Not setting static = True as that won't work well for cross compilation.
@toastwaffle
Copy link
Contributor

Hopefully #132 will fix the case-insensitive filename conflict

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

Successfully merging a pull request may close this issue.

2 participants