ldconfig complains about some files: >>> Regenerating /etc/ld.so.cache... /sbin/ldconfig: /usr/lib32/libkeyutils.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libcrack.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libuuid.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libpamc.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libpcre.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libattr.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libpam_misc.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libwrap.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libpwdb.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libncursesw.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libhistory.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libncurses.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libss.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libacl.so is not an ELF file - it has the wrong magic bytes at the start. /sbin/ldconfig: /usr/lib32/libbz2.so is not an ELF file - it has the wrong magic bytes at the start. checking those files I get: # file /usr/lib32/libbz2.so /usr/lib32/libbz2.so: data
Completely unable to reproduce (on three different amd64 machines). Please provide full build.log and emerge --info output In my case: $ file /usr/lib32/libbz2.so /usr/lib32/libbz2.so: ASCII C program text
New kernel messed with the filesystem which did lead to file corruption on releasing files from the sandbox.