github / github/codeql-action-sync-tool
Linux amd64 release binary depends on glibc version 2.32
- 主要言語
- Go
- スター
- 52
- フォーク
- 28
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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!
コントリビューションガイド
調査の方向性
linux_amd64バイナリを生成するリリースCIビルドから始めて、CGOがどのように設定されているかを調査します。報告されたGLIBC_2.32依存関係を再現し、その後、再ビルドしたリリースバイナリが、そのglibcバージョンを必要とせずに古いLinuxディストリビューション上で実行できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- go, linux
- 領域
- build-system, operating-systems, release
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100