github / github/codeql-action-sync-tool

Linux amd64 release binary depends on glibc version 2.32

Aberta
#141 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
Go
Estrelas
52
Forks
28
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

Hello,

The latest release ([1.0.14](https://github.com/github/codeql-action-sync-tool/releases/tag/1.0.14)) binary for `linux_amd64` depends on `glibc` version `2.32`.
This prevents us from running it on Linux distributions older than Ubuntu 22.04, RHEL 9, etc.

When we try to run it, we get the following error: `codeql-action-sync: /lib64/libc.so.6: version 'GLIBC_2.32' not found (required by codeql-action-sync)`

I believe this is the same issue as [actions/actions-sync#95](https://github.com/actions/actions-sync/issues/95), and it may be related to [golang/go#58550](https://github.com/golang/go/issues/58550).
If so, you might be able to fix it by explicitly setting `CGO_ENABLED=0` in your CI build.

There are many production systems still running older LTS Linux distributions.
Could you please consider compiling the release binary in a way that is compatible with older systems?

Thanks!

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Start with the release CI build that produces the linux_amd64 binary and inspect how CGO is configured. Reproduce the reported GLIBC_2.32 dependency, then verify that a rebuilt release binary runs on older Linux distributions without requiring that glibc version.

Escrita pelo modelo de indexação a partir do texto da issue.

Avaliação

Stack de tecnologia
go, linux
Domínio
build-system, operating-systems, release
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Razoavelmente clara
Facilidade para iniciantes
45/100

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.