Open thotypous opened 2 years ago
The same as #175 and #176.
@thotypous: Would you please provide a minimal example Dockerfile
which demonstrates the problem you're experiencing it. Without that I am unable to investigate this matter further.
Similar reprod Dockerfile
at https://github.com/sgerrand/alpine-pkg-glibc/issues/176#issuecomment-1507914131
@thotypous: Would you please provide a minimal example
Dockerfile
which demonstrates the problem you're experiencing it. Without that I am unable to investigate this matter further.
I'm not using Docker. I'm running Alpine on bare metal. This is the affected package: https://gist.github.com/thotypous/219170b3099c2694cfb4918f2e56fcb9
For others, if this helps, we have updated our Dockerfile to recreate the missing symlink after installing the glibc package:
RUN set -eux; \
version=2.35-r1; \
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub; \
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/${version}/glibc-${version}.apk; \
apk add glibc-${version}.apk; \
rm glibc-${version}.apk; \
if [ ! -e /lib64/ld-linux-x86-64.so.2 ]; then \
mkdir -p /lib64; \
ln -s /usr/glibc-compat/lib/ld-linux-x86-64.so.2 /lib64/ld-linux-x86-64.so.2; \
fi
Programs which used to run normally with the 2.34-r0 release are broken after ddfe092f3d91c19f6cf8cb9f2938e088db4bfa8f.
I'm not sure how this could be fixed, since
abuild
now fails if the package contains/lib64
(otherwise you would not have removed it in ddfe092f3d91c19f6cf8cb9f2938e088db4bfa8f, of course)but restoring the link from
/usr/glibc-compat/lib/ld-linux-x86-64.so.2
to/lib64/ld-linux-x86-64.so.2
fixes the issue.Please see some examples below:
and starting again from a fresh system in order to get more verbose error messages: