Closed git-bruh closed 3 years ago
I have also made these changes: https://github.com/kisslinux/kiss/commit/c22649263ec7e3efeee0db21586fb5f0e8aea5f7
Which will prevent issues like this from occurring again. Let me know if there are still any issues.
Also PS, the log file you sent is with stripping disabled?
Thanks, it works fine now. I'm pretty sure stripping was turned on, since the issue only happened when stripping was enabled (KISS_STRIP=0 worked around the issue), I guess there weren't many lines related to stripping in the log since there was nothing to strip in the package, only 1 dummy file.
Description
On rebuilding glibc (not installing), the pkg_strip function seems to make /usr/lib/libdl-2.33.so an empty file, it also breaks other files like libc.so if libdl is made read-only for testing. KISS shouldn't be touching already installed libs, and I'm not sure what is even happening here since KISS is just running
strip
on the libs (Running strip manually on them doesn't make them empty). I've no idea why this happens with glibc in specific, say i buildopenssl
and don't install it,/usr/lib/libcrypto*.so
is left intact. This will ofcourse only happen if the user is building as root. In my case im using a bubblewrap script to rootlessly test in chroots, so the chroot is full rw by regular users.If i replace the dummy libdl in the package with a real shared library, it is kept intact in the tarball aswell and not made empty.
� Log https://termbin.com/0yvjh