Summary: | sys-apps/util-linux[abi_x86_32]: fails to build with glibc using libxcrypt[-abi_x86_32] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Reid Swanson <reid> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam, samuel.bauer, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
See Also: |
https://github.com/karelzak/util-linux/issues/933 https://bugs.gentoo.org/show_bug.cgi?id=809491 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 699422 | ||
Attachments: |
The output of emerge --info '=sys-apps/util-linux-2.36.2::gentoo'
The full build log config.log for abi_x86_64 config.log for abi_x86_32 fix definitions overrides |
Description
Reid Swanson
2021-07-09 22:32:04 UTC
Created attachment 723028 [details]
The full build log
Big thanks. Could you include config.log too? I'd be happy to, but I only saw the build log. Where is it located? (In reply to Reid Swanson from comment #3) > I'd be happy to, but I only saw the build log. Where is it located? Cheers! For me, it's in /var/tmp/portage/sys-apps/util-linux-2.36/work/util-linux-2.36-abi_x86_64.amd64/config.log, but it may be in /var/tmp/portage/sys-apps/util-linux-2.36/work/util-linux-2.36.2-abi_x86_32.x86/config.log for you because that's the variant which is failing. Created attachment 723031 [details]
config.log for abi_x86_64
Created attachment 723034 [details]
config.log for abi_x86_32
There were logs in both locations so I attached them both. Created attachment 723037 [details, diff]
fix definitions overrides
I was bitten by this issue and force compile to continue with this patch.
The patch should apply safe to systems were the bug doesn't hit as there is both case no need for those redefinitions. I didn't spend long time to really inspect the situation carefully so I hope some people will be interested in inspecting more carefully side effects.
Weird thing is that next day when trying to open the bug, I wasn't hit by the wrong behavior anymore.
This issue is already described on the upstream bugtracker: https://github.com/karelzak/util-linux/issues/933 The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97eb250b55904388c542a546ec048f239f89b5c commit f97eb250b55904388c542a546ec048f239f89b5c Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2021-07-10 21:24:33 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2021-07-10 21:31:41 +0000 sys-apps/util-linux: Attempt fix build with sys-libs/libxcrypt[-abi_x86_32] Bug: https://bugs.gentoo.org/801403 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> .../files/util-linux-2.37-avoid_autoreconf.patch | 136 +++++++++++++++++++++ .../files/util-linux-2.37-lcrypt_link_fix.patch | 50 ++++++++ .../files/util-linux-2.37-lcrypt_use_LIBS.patch | 91 ++++++++++++++ sys-apps/util-linux/util-linux-2.37.ebuild | 4 + 4 files changed, 281 insertions(+) This occurred when building util-linux[abi_x86_32] with libxcrypt[-abi_x86_32]. We only need libxcrypt for the native (64 bit) variant on amd64 because it's only used for sulogin (a binary, not a library -- which isn't compiled/installed on the non-native variant). For posterity, patches were: - https://github.com/karelzak/util-linux/commit/637cc045ee464909c261d6fa16c71ed15cd455e3 - https://github.com/karelzak/util-linux/commit/75cba8d5cdb2a0e84c23de26007feac977837a6f Mentioned this upstream too: https://github.com/karelzak/util-linux/issues/933#issuecomment-877913170. Fixes the issue for me and is included in 2.37 in Gentoo, please let us know if it still fails for any of you. it works for me (In reply to Alex Xu (Hello71) from comment #12) > it works for me Yep, and thanks to you after all! I think we can close this now. Fine here as well. |