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

GitHub Action fails because of libc version #153

Open
p1ass opened this issue May 12, 2023 · 2 comments
Open

GitHub Action fails because of libc version #153

p1ass opened this issue May 12, 2023 · 2 comments

Comments

@p1ass
Copy link

p1ass commented May 12, 2023

What is the problem?

Thank you for releasing a great product!

However, we found that errors occurred in some environments when we tried to run tagpr with self-hosted GitHub Actions.
It seems to be caused by a difference in the libc version between the built environment and the executed environment.
(Please see the following log for reference)

Solution

One of solutions is to upgrade libc version of our self-hosted runner.
But, it is a better solution to set CGO_ENABLED=0 when building tagpr binaries because it doesn't need cgo.

GitHub Actions Log

Run Songmu/tagpr@v1
Run cd "${GITHUB_WORKSPACE}" || exit 1
Songmu/tagpr info checking GitHub for tag 'v1.1.2'
Songmu/tagpr info found version: v1.1.2 for v1.1.2/linux/amd64
Songmu/tagpr info installed /tmp/tmp.RDFd1gAQ3Q/tagpr
tagpr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by tagpr)
tagpr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by tagpr)
Error: Process completed with exit code 1.
@p1ass p1ass changed the title GitHub Action fails because of libc GitHub Action fails because of libc version May 12, 2023
@shunk031
Copy link

How can I solve this problem? I have tried the method mentioned in the following link but could not solve it:

@vvakame
Copy link
Contributor

vvakame commented Sep 11, 2024

my problem was solved by #179 (v1.4.1) thanks to merge @Songmu san 👍

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

3 participants