Running genkernel-3.0.1_beta6 fails with the following error: * gen_die(): compile of modules_install failed Reproducible: Always Steps to Reproduce: 1. Run genkernel all 2. Wait Actual Results: genkernel stops with an error Expected Results: finish it's job A tail from /var/log/genkernel shows: COMMAND: make -j2 modules_install make -C kernel modules_install make[1]: Entering directory `/usr/src/linux-2.4.22-gentoo-r5/kernel' make[1]: Nothing to be done for `modules_install'. make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/kernel' make -C drivers modules_install make[1]: Entering directory `/usr/src/linux-2.4.22-gentoo-r5/drivers' make -C acpi modules_install make[2]: Entering directory `/usr/src/linux-2.4.22-gentoo-r5/drivers/acpi' mkdir -p /lib/modules/2.4.22-gentoo-r5/kernel/drivers/acpi/ cp ac.o battery.o button.o fan.o processor.o thermal.o toshiba_acpi.o /lib/modul es/2.4.22-gentoo-r5/kernel/drivers/acpi/ cp: `/lib/modules/2.4.22-gentoo-r5/kernel/drivers/acpi/': specified destination directory does not exist Try `cp --help' for more information. make[2]: *** [_modinst__] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/drivers/acpi' make[1]: *** [_modinst_acpi] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.22-gentoo-r5/drivers' make: *** [_modinst_drivers] Error 2 make: *** Waiting for unfinished jobs.... make: *** Waiting for unfinished jobs.... make: *** Waiting for unfinished jobs.... make: *** Waiting for unfinished jobs.... * gen_die(): compile of modules_install failed After I removed the ${MAKE_OPTS} from compile_generic() in gen_compile.sh, it works fine. So I guess the -j2 is causing the troubles (probably because one thread 'overtakes' the other one, and tries to create files in non-existant directories, that the other one was supposed to be creating first). Also, this -j2 is a bit strange, since my /etc/make.conf says "-j6".
The make options are coming from /usr/share/genkernel/{arch}/config.sh, /usr/share/genkernel/x86/config.sh in my case. I had the same results with MAKEOPTS="-j2", make modules_install failed. Without -j2, it runs fine.
I'm getting the same on genkernel 3.0.1_beta9
ok, fixed in CVS, expect the next release to be good.
Haven't seen problem anymore. Thanks for fixing.