tcnksm / ghr

Upload multiple artifacts to GitHub Release in parallel

Home Page:http://tcnksm.github.io/ghr/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v0.16.1 has build/link issues, does not run on Debian or Red Hat

Nuru opened this issue · comments

commented

v0.16.0 works on Debian and Red Hat, but v0.16.1 does not.

Debian

# uname -a
Linux 139569cf50c0 6.4.16-linuxkit #1 SMP PREEMPT_DYNAMIC Sat Sep 23 13:39:52 UTC 2023 x86_64 GNU/Linux
# cat /etc/os-release 
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
# ghr --version
ghr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ghr)
ghr: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ghr)

Red Hat

$ uname -a
Linux 5d205a9f1889 6.4.16-linuxkit #1 SMP PREEMPT_DYNAMIC Sat Sep 23 13:39:52 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/os-release 
NAME="Red Hat Enterprise Linux"
VERSION="8.7 (Ootpa)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="8.7"
PLATFORM_ID="platform:el8"
PRETTY_NAME="Red Hat Enterprise Linux 8.7 (Ootpa)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:8::baseos"
$ ghr --version
ghr: /lib64/libc.so.6: version `GLIBC_2.34' not found (required by ghr)
ghr: /lib64/libc.so.6: version `GLIBC_2.32' not found (required by ghr)

Looks like latest Debian Bullseye has for glibc is 2.31
Red Hat 8.7 has glibc 2.28.

I am aware that go v1.20 caused problems for Alpine but I have not seen this problem with other go binaries on Debian or Red Hat.

Please fix.