Summary: | net-fs/nfs4-acl-tools-0.3.7 relies on system libtool which breaks when using a different toolchain than libtool was built against (e.g. gcc-vs-clang or cross-compiling) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | orbea, sam, toralf |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/25943 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 779364 | ||
Attachments: |
build.log
other.tar.bz2 |
Description
Agostino Sarubbo
![]() Created attachment 648094 [details]
build.log
build log and emerge --info
Created attachment 648096 [details]
other.tar.bz2
other logs
tinderbox has reproduced this issue with version 0.3.7 - Updating summary. the "libtool: error: specify a tag with '--tag'" error pretty reliably means the package is executing /usr/bin/libtool instead of bundling & generating its own copy, and the toolchain you're currently trying to build with does not match the toolchain that /usr/bin/libtool was built against. you can see this with gcc upgrades and internal changes (which is why we tell people to re-emerge libtool), and you can see this when libtool is using gcc but you're switching on the fly to something else (like clang, or a cross-compiler). so sure, it's a bug, but short of doing detailed surgery on the package, "that's just how it is" unfortunately. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa46307e10bbe5d57c52c1b74cd32bf2865d1ddc commit aa46307e10bbe5d57c52c1b74cd32bf2865d1ddc Author: orbea <orbea@riseup.net> AuthorDate: 2022-06-17 20:31:08 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-17 21:06:13 +0000 net-fs/nfs4-acl-tools: Fix libtool build issues When building with a different toolchain than what was used to compile the system libtool the build will fail. To fix this autoconf needs to generate libtool instead of using the system libtool. Additionally rlibtool depends on libtool being generated to work correctly. Closes: https://bugs.gentoo.org/731162 Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25943 Signed-off-by: Sam James <sam@gentoo.org> .../files/nfs4-acl-tools-0.3.7-libtool.patch | 86 ++++++++++++++++++++++ 1 file changed, 86 insertions(+) *** Bug 778512 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dab861a0e0f33ba400fa937b2b1f368081a589da commit dab861a0e0f33ba400fa937b2b1f368081a589da Author: Sam James <sam@gentoo.org> AuthorDate: 2022-06-17 23:40:19 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-17 23:44:54 +0000 net-fs/nfs4-acl-tools: strip patch; add new revision (Was mangling it to do the changes in a revbump and didn't actually add the new version!) Bug: https://bugs.gentoo.org/731162 Signed-off-by: Sam James <sam@gentoo.org> .../files/nfs4-acl-tools-0.3.7-libtool.patch | 16 ++----------- .../nfs4-acl-tools/nfs4-acl-tools-0.3.7-r1.ebuild | 27 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 14 deletions(-) |