Summary: | sys-libs/libxcrypt-4.4.25 distcc causes libxcrypt to build but fail in strange ways | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gentoo |
Component: | Current packages | Assignee: | Gentoo Toolchain Maintainers <toolchain> |
Status: | UNCONFIRMED --- | ||
Severity: | major | CC: | jstein, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://forums.gentoo.org/viewtopic-t-1144974.html | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=821496 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
libxcrypt build log with distcc enabled (broken version) pam errors pam build log after installing broken libxcrypt screen build log with broken libxcrypt python-3.8 build log after broken libxcrypt python-3.9 build log after broken libxcrypt libxcrypt build log with distcc disabled (good version) libxcrypt-4.4.26 build log with distcc enabled (broken version) pam build log after installing broken libxcrypt-4.4.26 |
Description
gentoo
2021-11-11 21:40:53 UTC
Created attachment 750471 [details]
emerge --info
Please provide builds logs for the failing packages. Created attachment 750474 [details]
libxcrypt build log with distcc enabled (broken version)
Created attachment 750477 [details]
pam errors
These are the messages generated by pam in syslog when libxcrypt is in its broken state by using distcc. Even though pam was previously built with a good libxcrypt, when I rebuilt libxcrypt, it immediately stopped working.
Created attachment 750480 [details]
pam build log after installing broken libxcrypt
Created attachment 750483 [details]
screen build log with broken libxcrypt
Created attachment 750486 [details]
python-3.8 build log after broken libxcrypt
Created attachment 750489 [details]
python-3.9 build log after broken libxcrypt
Created attachment 750492 [details]
libxcrypt build log with distcc disabled (good version)
(In reply to Mike Gilbert from comment #2) > Please provide builds logs for the failing packages. I'd give them a few minutes ;) Created attachment 750495 [details]
libxcrypt-4.4.26 build log with distcc enabled (broken version)
Created attachment 750498 [details]
pam build log after installing broken libxcrypt-4.4.26
It appears much of this was caused by using distcc on a docker image that was deprecated (gentoo/stage3-amd64:latest) causing it to have an ancient version of gcc (x86_64-pc-linux-gnu-9.3.0). libxcrypt and pam seem to compile and work just fine when using an up to date docker image with the latest stable gcc (x86_64-pc-linux-gnu-11.2.0). The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6396f527bae1a5d55bb63060713cd60b83cf323 commit a6396f527bae1a5d55bb63060713cd60b83cf323 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-02 01:16:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-02 01:16:40 +0000 sys-libs/libxcrypt: add warning re distcc and older GCCs (<10) Bug: https://bugs.gentoo.org/823179 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild | 11 +++++++++++ sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild | 11 +++++++++++ 2 files changed, 22 insertions(+) So what's the word if I've already upgraded libxcrypt a few weeks ago using gcc 9.3 and 9.4 on various machines, and it seems to work fine (until the newer libxcrypt ebuild complains about gcc<10 just now)? See the above forum thread for more details... (In reply to Matthew Ogilvie from comment #16) > So what's the word if I've already upgraded libxcrypt a few weeks ago using > gcc 9.3 and 9.4 on various machines, and it seems to work fine (until the > newer libxcrypt ebuild complains about gcc<10 just now)? See the above > forum thread for more details... I suppose I could keep the check just for distcc (I think the configure check only gets confused in that case). I'll reply to the rest on the forums. The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92b792402254e0ae4b269fbc48ba75815deb3f19 commit 92b792402254e0ae4b269fbc48ba75815deb3f19 Author: Sam James <sam@gentoo.org> AuthorDate: 2021-12-03 18:56:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-12-03 18:56:31 +0000 sys-libs/libxcrypt: only show < GCC 10 warning with distcc The issues should only occur if configure is confused which should only happen with a mismatch between the compiler used for configure and compilation (e.g. distcc). Bug: https://bugs.gentoo.org/823179 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/libxcrypt/libxcrypt-4.4.25-r1.ebuild | 8 ++++---- sys-libs/libxcrypt/libxcrypt-4.4.26-r1.ebuild | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) |