@@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
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 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:
The bug has been closed via the following commit(s):
Author: Michał Górny <firstname.lastname@example.org>
AuthorDate: 2020-07-04 15:14:35 +0000
Commit: Michał Górny <email@example.com>
CommitDate: 2020-07-04 15:15:05 +0000
dev-python/backports-lzma: Sed wrong -L/usr/lib out
Signed-off-by: Michał Górny <firstname.lastname@example.org>
dev-python/backports-lzma/backports-lzma-0.0.13.ebuild | 6 ++++++
1 file changed, 6 insertions(+)