Summary: | net-fs/nfs4-acl-tools-0.3.5: /usr/lib/libattr.so: error adding symbols: file in wrong format | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | OKUMURA N. Shin-ya <oku.ns> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | daniel |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/36683 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 506276 | ||
Attachments: |
build.log
emerge --info environment amd64 only workaround |
Description
OKUMURA N. Shin-ya
2019-04-29 05:47:23 UTC
Created attachment 574596 [details]
build.log
Created attachment 574598 [details]
emerge --info
Created attachment 574600 [details]
environment
Created attachment 578986 [details, diff]
amd64 only workaround
This is a quick, dirty and bad example for workaround.
If /usr/lib64/libattr.la exists, then refer "/usr/lib64/libattr.la".
Those autoconf macros are just plain broken, and should be thrown away. I had a similar issue like this but on a different library. /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: //usr/lib/libfreetype.so: error adding symbols: file in wrong format collect2: error: ld returned 1 exit status make[3]: *** [Makefile:624: libfontconfig.la] Error 1 make[2]: *** [Makefile:545: all] Error 2 make[1]: *** [Makefile:602: all-recursive] Error 1 make: *** [Makefile:486: all] Error 2 I found out that there are old orphaned files that should no longer exist and were causing compilation error: /usr/lib64/libfreetype.a /usr/lib64/libfreetype.la Removing them fixed it. This is one way to find orphaned files: find /usr/lib64 -name '*.la' -exec qfile -o '{}' '+' The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=299d056828c5e2dd5b70444a73c9148f1db8e8b0 commit 299d056828c5e2dd5b70444a73c9148f1db8e8b0 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-05-15 09:31:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-08-25 15:43:33 +0000 net-fs/nfs4-acl-tools: add 0.4.2, 0.4.3_rc1 Keyword 0.4.3_rc1 because it has tiny changes over 0.4.2 and is the last change since 2022-11-22. Closes: https://bugs.gentoo.org/684696 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36683 Signed-off-by: Sam James <sam@gentoo.org> net-fs/nfs4-acl-tools/Manifest | 2 + .../files/nfs4-acl-tools-0.4.2-libattr.patch | 34 +++++++++++++++ net-fs/nfs4-acl-tools/nfs4-acl-tools-0.4.2.ebuild | 43 +++++++++++++++++++ .../nfs4-acl-tools/nfs4-acl-tools-0.4.3_rc1.ebuild | 49 ++++++++++++++++++++++ 4 files changed, 128 insertions(+) |