Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 842456

Summary: sys-kernel/genkernel-4.0.10: Failed to create binpkg of busybox-1.31.1!
Product: Gentoo Linux Reporter: José Pekkarinen <koalinux>
Component: Current packagesAssignee: Gentoo Genkernel Maintainers <genkernel>
Status: RESOLVED OBSOLETE    
Severity: normal CC: marc_heimann
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=876873
Whiteboard:
Package list:
Runtime testing required: ---

Description José Pekkarinen 2022-05-03 16:13:13 UTC
I'm trying to build a new kernel using genkernel 4.0.10, on the process
of doing so the latest steps fails to generate a binary for busybox with
the following info in gnekernel.log:

==========
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lcrypt
collect2: error: ld returned 1 exit status
Note: if build needs additional libraries, put them in CONFIG_EXTRA_LDLIBS.
Example: CONFIG_EXTRA_LDLIBS="pthread dl tirpc audit pam"
make: *** [Makefile:718: busybox_unstripped] Error 1

Reproducible: Always

Steps to Reproduce:
1. $ genkernel --no-clean --install all
Actual Results:  
It exits with the following error:

* ERROR: Command 'nice -n10 make -j12 V=1' failed!
* ERROR: create_initramfs(): append_data(): append_busybox(): populate_binpkg(): gkbuild(): Failed to create binpkg of busybox-1.31.1!

Expected Results:  
Finish the kernel and initrd generation as it used to do.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-21 17:35:49 UTC
Please always attach the log in full.
Comment 2 José Pekkarinen 2022-10-21 19:36:44 UTC
This is currently out of date, since I'm in 4.2.6. Not far in
time I got a similar error building xz, but not anymore related
to busybox, so this can be closed.

Thanks!

José.