Hi, Catalyst spits out a message that genkernel could not find /usr/src/linux. The spec is set to rt-sources boot/kernel/gentoo/sources: rt-sources
Why then those sources have not been downloaded and found? Here is the final error -- --- Running action sequence: build_kernel Copying pre-kmerge.sh to ./tmp copying pre-kmerge.sh to /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp copying chroot-functions.sh to /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp Ensure the file has the executable bit set Running pre-kmerge.sh in chroot /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/ tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified >>> Regenerating /etc/ld.so.cache... emerge --quiet --usepkg --buildpkg --newuse --oneshot genkernel >>> Emerging binary (1 of 2) app-arch/cpio-2.11 >>> Installing (1 of 2) app-arch/cpio-2.11 >>> Emerging binary (2 of 2) sys-kernel/genkernel-3.4.45.1 >>> Installing (2 of 2) sys-kernel/genkernel-3.4.45.1 * Messages for package sys-kernel/genkernel-3.4.45.1: * Documentation is available in the genkernel manual page * as well as the following URL: * http://www.gentoo.org/doc/en/genkernel.xml * This package is known to not work with reiser4. If you are running * reiser4 and have a problem, do not file a bug. We know it does not * work and we don't plan on fixing it since reiser4 is the one that is * broken in this regard. Try using a sane filesystem like ext3 or * even reiser3. * The LUKS support has changed from versions prior to 3.4.4. Now, * you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah. * Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523). * Please set flag 'cryptsetup' for this very package if you would like * to have genkernel create an initramfs with LUKS support. * Sorry for the inconvenience. removing /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp/pre-kmerge.sh from the chroot removing /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp/chroot-functions.sh from the chroot Copying kmerge.sh to ./tmp copying kmerge.sh to /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp copying chroot-functions.sh to /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp Ensure the file has the executable bit set Running kmerge.sh in chroot /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/ tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified tput: No value for $TERM and no -T specified >>> Regenerating /etc/ld.so.cache... Genkernel version 3.4.45.1 found ... continuing emerge --quiet --update --newuse rt-sources * Gentoo Linux Genkernel; Version 3.4.45.1 * Running with options: --callback=emerge -qN -kb x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics x11-drivers/xf86-video-ati app-emulation/qemu --cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12 --no-mountboot --kerneldir=/usr/src/linux --modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2 --minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2 all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2 * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * ERROR: kernel source directory "/usr/src/linux" was not found! * * -- Grepping log... -- * * Running with options: --callback=emerge -qN -kb x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics x11-drivers/xf86-video-ati app-emulation/qemu --cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12 --no-mountboot --kerneldir=/usr/src/linux --modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2 --minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2 all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2 * Using genkernel.conf from /etc/genkernel.conf * Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh .. * Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load .. * * ERROR: kernel source directory "/usr/src/linux" was not found! * * -- End log... -- * * Please consult /var/log/genkernel.log for more information and any * errors that were reported above. * * Report any genkernel bugs to bugs.gentoo.org and * assign your bug to [email protected]. Please include * as much information as you can in your bug report; attaching * /var/log/genkernel.log so that your issue can be dealt with effectively. * * Please do *not* report compilation failures as genkernel bugs! * !!! catalyst: Runscript kernel build failed Traceback (most recent call last): File "modules/generic_stage_target.py", line 1419, in build_kernel self._build_kernel(kname=kname) File "modules/generic_stage_target.py", line 1463, in _build_kernel "Runscript kernel build failed",env=self.env) File "/usr/lib64/catalyst/modules/catalyst_support.py", line 539, in cmd raise CatalystError,myexc CatalystError None !!! catalyst: build aborting due to kernel build error. Traceback (most recent call last): File "/usr/lib64/catalyst/catalyst", line 218, in build_target mytarget.run() File "modules/generic_stage_target.py", line 1295, in run apply(getattr(self,x)) File "modules/generic_stage_target.py", line 1424, in build_kernel "build aborting due to kernel build error." CatalystError !!! catalyst: Error encountered during run of target stage4 Catalyst aborting.... lockfile does not exist '/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/.catalyst_lock' best regards linforpros
