Gentoo Archives: gentoo-catalyst

From: lin pro <linforpros@×××××.com>
To: gentoo-catalyst@l.g.o
Subject: [gentoo-catalyst] kernel sources not found ? catalyst 2.0.15
Date: Tue, 31 Dec 2013 23:54:33
Message-Id: CACU8XWmR3n+7-Pfguy4mQdXqSW0hmht_S59ocyEQdBxSFiYUPw@mail.gmail.com
1 Hi,
2 Catalyst spits out a message that genkernel could not find /usr/src/linux.
3 The spec is set to rt-sources
4 boot/kernel/gentoo/sources: rt-sources
5
6 Why then those sources have not been downloaded and found?
7
8 Here is the final error
9
10 -- --- Running action sequence: build_kernel
11 Copying pre-kmerge.sh to ./tmp
12 copying pre-kmerge.sh to
13 /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
14 copying chroot-functions.sh to
15 /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
16 Ensure the file has the executable bit set
17 Running pre-kmerge.sh in chroot
18 /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/
19 tput: No value for $TERM and no -T specified
20 tput: No value for $TERM and no -T specified
21 tput: No value for $TERM and no -T specified
22 tput: No value for $TERM and no -T specified
23 tput: No value for $TERM and no -T specified
24 tput: No value for $TERM and no -T specified
25 >>> Regenerating /etc/ld.so.cache...
26 emerge --quiet --usepkg --buildpkg --newuse --oneshot genkernel
27 >>> Emerging binary (1 of 2) app-arch/cpio-2.11
28 >>> Installing (1 of 2) app-arch/cpio-2.11
29 >>> Emerging binary (2 of 2) sys-kernel/genkernel-3.4.45.1
30 >>> Installing (2 of 2) sys-kernel/genkernel-3.4.45.1
31
32 * Messages for package sys-kernel/genkernel-3.4.45.1:
33
34 * Documentation is available in the genkernel manual page
35 * as well as the following URL:
36 * http://www.gentoo.org/doc/en/genkernel.xml
37 * This package is known to not work with reiser4. If you are running
38 * reiser4 and have a problem, do not file a bug. We know it does not
39 * work and we don't plan on fixing it since reiser4 is the one that is
40 * broken in this regard. Try using a sane filesystem like ext3 or
41 * even reiser3.
42 * The LUKS support has changed from versions prior to 3.4.4. Now,
43 * you use crypt_root=/dev/blah instead of real_root=luks:/dev/blah.
44 * Local use flag 'crypt' has been renamed to 'cryptsetup' (bug #414523).
45 * Please set flag 'cryptsetup' for this very package if you would like
46 * to have genkernel create an initramfs with LUKS support.
47 * Sorry for the inconvenience.
48 removing /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp/pre-kmerge.sh
49 from the chroot
50 removing /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp/chroot-functions.sh
51 from the chroot
52 Copying kmerge.sh to ./tmp
53 copying kmerge.sh to /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
54 copying chroot-functions.sh to
55 /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/./tmp
56 Ensure the file has the executable bit set
57 Running kmerge.sh in chroot /var/tmp/catalyst/tmp/default/stage4-core2-2013.12/
58 tput: No value for $TERM and no -T specified
59 tput: No value for $TERM and no -T specified
60 tput: No value for $TERM and no -T specified
61 tput: No value for $TERM and no -T specified
62 tput: No value for $TERM and no -T specified
63 tput: No value for $TERM and no -T specified
64 >>> Regenerating /etc/ld.so.cache...
65 Genkernel version 3.4.45.1 found ... continuing
66 emerge --quiet --update --newuse rt-sources
67 * Gentoo Linux Genkernel; Version 3.4.45.1
68 * Running with options: --callback=emerge -qN -kb
69 x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics
70 x11-drivers/xf86-video-ati app-emulation/qemu
71 --cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12
72 --no-mountboot --kerneldir=/usr/src/linux
73 --modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2
74 --minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2
75 all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2
76
77 * Using genkernel.conf from /etc/genkernel.conf
78 * Sourcing arch-specific config.sh from
79 /usr/share/genkernel/arch/x86_64/config.sh ..
80 * Sourcing arch-specific modules_load from
81 /usr/share/genkernel/arch/x86_64/modules_load ..
82
83 * ERROR: kernel source directory "/usr/src/linux" was not found!
84 *
85 * -- Grepping log... --
86 *
87 * Running with options: --callback=emerge -qN -kb
88 x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics
89 x11-drivers/xf86-video-ati app-emulation/qemu
90 --cachedir=/tmp/kerncache/gentoo-genkernel_cache-2013.12
91 --no-mountboot --kerneldir=/usr/src/linux
92 --modulespackage=/tmp/kerncache/gentoo-modules-2013.12.tar.bz2
93 --minkernpackage=/tmp/kerncache/gentoo-kernel-initrd-2013.12.tar.bz2
94 all --kerncache=/tmp/kerncache/gentoo-kerncache-2013.12.tar.bz2
95 * Using genkernel.conf from /etc/genkernel.conf
96 * Sourcing arch-specific config.sh from
97 /usr/share/genkernel/arch/x86_64/config.sh ..
98 * Sourcing arch-specific modules_load from
99 /usr/share/genkernel/arch/x86_64/modules_load ..
100 *
101 * ERROR: kernel source directory "/usr/src/linux" was not found!
102 *
103 * -- End log... --
104 *
105 * Please consult /var/log/genkernel.log for more information and any
106 * errors that were reported above.
107 *
108 * Report any genkernel bugs to bugs.gentoo.org and
109 * assign your bug to genkernel@g.o. Please include
110 * as much information as you can in your bug report; attaching
111 * /var/log/genkernel.log so that your issue can be dealt with effectively.
112 *
113 * Please do *not* report compilation failures as genkernel bugs!
114 *
115
116 !!! catalyst: Runscript kernel build failed
117
118
119 Traceback (most recent call last):
120 File "modules/generic_stage_target.py", line 1419, in build_kernel
121 self._build_kernel(kname=kname)
122 File "modules/generic_stage_target.py", line 1463, in _build_kernel
123 "Runscript kernel build failed",env=self.env)
124 File "/usr/lib64/catalyst/modules/catalyst_support.py", line 539, in cmd
125 raise CatalystError,myexc
126 CatalystError
127 None
128
129 !!! catalyst: build aborting due to kernel build error.
130
131 Traceback (most recent call last):
132 File "/usr/lib64/catalyst/catalyst", line 218, in build_target
133 mytarget.run()
134 File "modules/generic_stage_target.py", line 1295, in run
135 apply(getattr(self,x))
136 File "modules/generic_stage_target.py", line 1424, in build_kernel
137 "build aborting due to kernel build error."
138 CatalystError
139 !!! catalyst: Error encountered during run of target stage4
140 Catalyst aborting....
141 lockfile does not exist
142 '/var/tmp/catalyst/tmp/default/stage4-core2-2013.12/.catalyst_lock'
143
144 best regards
145 linforpros

Replies

Subject Author
Re: [gentoo-catalyst] kernel sources not found ? catalyst 2.0.15 "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>