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.
Please always attach the log in full.
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é.