-
Notifications
You must be signed in to change notification settings - Fork 100
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
Dereference symlinks #34
Conversation
This flag needs to be passed to tar in order for any symlinks added to the archive to be referenced correctly. Otherwise, the following output can occur: >>> glibc: Fetching https://github.com/sgerrand/docker-glibc-builder/releases/download/2.30-0/glibc-bin-2.30-0-x86_64.tar.gz >>> glibc: Checking sha512sums... glibc-bin-2.30-0-x86_64.tar.gz: OK nsswitch.conf: OK ld.so.conf: OK >>> glibc: Unpacking /var/cache/distfiles/glibc-bin-2.30-0-x86_64.tar.gz... tar: usr/glibc-compat/lib/libnss_compat.so.2: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libnss_dns.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libpthread.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libcrypt.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libnss_files.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libnss_db.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libmvec.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libdl.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libanl.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libthread_db.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libcrypt.so.1: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libc.so.6: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libresolv.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libutil.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libBrokenLocale.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libnss_files.so.2: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libmvec.so.1: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libdl.so.2: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libanl.so.1: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/librt.so: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libnsl.so.1: Cannot utime: No such file or directory tar: usr/glibc-compat/lib/libnss_db.so.2: Cannot utime: No such file or directory tar: Exiting with failure status due to previous errors >>> ERROR: glibc: unpack failed
Hi, I think the
|
@sgerrand ping |
The message about the non-symlinked (2/2) Installing glibc-bin (2.33-r0)
Executing glibc-bin-2.33-r0.trigger
/usr/glibc-compat/sbin/ldconfig: /usr/glibc-compat/lib/ld-linux-x86-64.so.2 is not a symbolic link
OK: 17 MiB in 17 packages The symlinks could be created after installing the glibc package as a workaround. |
💁 The
--dereference
flag needs to be passed to tar in order for any symlinks added to the archive to be referenced correctly. Otherwise, the following error can occur whenabuild
unpacks the tar archive: