Summary: | dev-python/backports-lzma fails to build with linker LLD | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | mgorny |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://github.com/peterjc/backports.lzma/issues/46 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 731004 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
![]() 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(+) |