Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 842456 - sys-kernel/genkernel-4.0.10: Failed to create binpkg of busybox-1.31.1!
Summary: sys-kernel/genkernel-4.0.10: Failed to create binpkg of busybox-1.31.1!
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-03 16:13 UTC by José Pekkarinen
Modified: 2022-10-21 19:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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é.