Summary: | sys-kernel/genkernel-4.3.3 fails on libxcrypt with Perl 5.38 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Søren Dalby Larsen <sdlarsen> |
Component: | Current packages | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | marek.duranik |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=908803 https://bugs.gentoo.org/show_bug.cgi?id=908802 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 910520 | ||
Bug Blocks: | 908724 | ||
Attachments: |
genkernel.log
emerge info truncated genkernel log for the initramfs |
Description
Søren Dalby Larsen
2023-07-04 20:51:32 UTC
Please include the genkernel log. Created attachment 865145 [details]
genkernel.log
Same error i got with two version of genkernel(4.3.3 and 4.3.2-r1) and three versions of kernel(6.3.8 6.4.1 6.4.1-r1) genkernel --oldconfig --lvm --mdadm all ... ... checking for Python 3.>=6 with Passlib... /usr/bin/python3 when is deprecated at /var/tmp/genkernel/gk_rLVnZvUR/libxcrypt/libxcrypt-4.4.26/build-aux/BuildCommon.pm line 522. Compilation failed in require at ./build-aux/expand-selected-hashes line 28. BEGIN failed--compilation aborted at ./build-aux/expand-selected-hashes line 28. configure: error: bad value 'all' for --enable-hashes * ERROR: Command './configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libxcrypt-4.4.26 --htmldir=/usr/share/doc/libxcrypt-4.4.26/html --with-sysroot='/var/tmp/genkernel/gk_rLVnZvUR/libxcrypt/buildroot/usr:/' --enable-shared --enable-static' failed! After bumping to fix bug 908803, we'll hit bug 908802 too. Need to backport the ::gentoo patch or wait for a new upstream release (I've asked them for one). I don't understand why in my case genkernel use libxcrypt-4.4.26, but in system is success compiled version 4.4.35 [ebuild R ] sys-libs/libxcrypt-4.4.35:0/1::gentoo USE="(compat) (split-usr) (system) -headers-only -static-libs -test" ABI_X86="32 (64) (-x32)" 0 KiB genkernel uses bundled copies of libraries. Created attachment 865162 [details]
emerge info
Created attachment 865163 [details]
truncated genkernel log for the initramfs
reason for the truncated log is I retried to build initramfs which o/write the original build log
ran perl-cleaner to bring the update to spec
added passlib +extras suggested in the original log
From /var/log/genkernel.log: Compilation failed in require at ./build-aux/expand-selected-hashes line 28. BEGIN failed--compilation aborted at ./build-aux/expand-selected-hashes line 28. configure: error: bad value 'all' for --enable-hashes * ERROR: Command './configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libxcrypt-4.4.26 --htmldir=/usr/share/doc/libxcrypt-4.4.26/html --with-sysroot='/var/tmp/genkernel/gk_8XzqzrNC/libxcrypt/buildroot/usr:/' --enable-shared --enable-static' failed! * ERROR: create_initramfs(): append_data(): append_busybox(): populate_binpkg(): populate_binpkg(): gkbuild(): Failed to create binpkg of libxcrypt-4.4.26! This is with the same point of failure ("appending busybox cpio data") and configuring "libxcrypt". I'll attach /var/log/genkernel.log in case it might help, but it seems like the problem is understood (but this bug is still "UNCONFIRMED"). We don't really use bug statuses much in that sense, but sure. I verified that my /var/log/genkernel.log is substantially the same as the existing attachment "truncated genkernel.log..." so I won't duplicate it. @Sam James Just confirming that upgrading to libxcrypt-4.4.35 and applying the patch from ::gentoo actualy works, so there's light :) (In reply to Søren Dalby Larsen from comment #12) > @Sam James > > Just confirming that upgrading to libxcrypt-4.4.35 and applying the patch > from ::gentoo actualy works, so there's light :) Thanks! I'm working on a bump now as upstream libxcrypt just cut 4.4.36 which makes life a bit easier too. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01ec132717e83208d78eb8b81e00ddb0ef91f7b commit e01ec132717e83208d78eb8b81e00ddb0ef91f7b Author: Sam James <sam@gentoo.org> AuthorDate: 2023-07-05 18:26:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-07-05 18:27:15 +0000 sys-kernel/genkernel: add 4.3.5 Closes: https://bugs.gentoo.org/909650 Bug: https://bugs.gentoo.org/909722 Signed-off-by: Sam James <sam@gentoo.org> sys-kernel/genkernel/Manifest | 2 + sys-kernel/genkernel/genkernel-4.3.5.ebuild | 322 ++++++++++++++++++++++++++++ sys-kernel/genkernel/genkernel-9999.ebuild | 6 +- 3 files changed, 327 insertions(+), 3 deletions(-) |