@@This is an auto-filed bug@@ Feel free to change the summary at your convenience. Issue: dev-python/backports-lzma fails to compile. Discovered on: amd64 NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please mention it in the summary and block bug 408963. If you need further logs, feel free to ask.
Created attachment 647190 [details] build.log build log and emerge --info
The errors don't make much sense. Are you sure that system libs in lib64 aren't 32-bit somehow?
(In reply to Michał Górny from comment #2) > The errors don't make much sense. Are you sure that system libs in lib64 > aren't 32-bit somehow? Does something like this clarify? $ file /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/10.1.0/../../../../lib64/crti.o: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped $ file /usr/lib64/libpython2.7.so /usr/lib64/libpython2.7.so: symbolic link to libpython2.7.so.1.0 $ file /usr/lib64/libpython2.7.so.1.0 /usr/lib64/libpython2.7.so.1.0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, stripped
Probably some bug in clang/lld then. I'll try debugging when I get home.
It looks like "-L/usr/lib" breaks the link command, see for example: https://github.com/PhotoFlare/photoflare/issues/249 https://github.com/PhotoFlare/photoflare/pull/248/files
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2b235e52c03958802f964e953f9b111ab905235b commit 2b235e52c03958802f964e953f9b111ab905235b Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-07-04 15:14:35 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-07-04 15:15:05 +0000 dev-python/backports-lzma: Sed wrong -L/usr/lib out Closes: https://bugs.gentoo.org/730232 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/backports-lzma/backports-lzma-0.0.13.ebuild | 6 ++++++ 1 file changed, 6 insertions(+)