1 |
Is there actually a .config file in /usr/src/linux? Or did you update |
2 |
your kernel sources and not recreate the symlink /usr/src/linux to the |
3 |
new source directory? |
4 |
|
5 |
-----Original Message----- |
6 |
From: Ted Kosan [mailto:tkosan@×××××.com] |
7 |
Sent: Tuesday, September 20, 2005 2:14 PM |
8 |
To: gentoo-catalyst@l.g.o |
9 |
Subject: [gentoo-catalyst] net-dialup/ppp-2.4.2-r15 build error |
10 |
|
11 |
Hello, |
12 |
|
13 |
I am in the process of adding packages to a LiveCD I am building and in |
14 |
stage 1 |
15 |
I am receiving the error included below from net-dialup/ppp-2.4.2-r15. |
16 |
It |
17 |
appears that it is havivng trouble locating a valid kernel .config file |
18 |
during |
19 |
its attempt to determine the kernel version. |
20 |
|
21 |
The example below uses mm-sources but I also received the error when I |
22 |
used |
23 |
gentoo-sources. |
24 |
|
25 |
Does anyone have any thoughts on what might be causing this error? |
26 |
|
27 |
Thanks in advance, |
28 |
|
29 |
Ted |
30 |
|
31 |
Catalyst version: 1.1.10.10 |
32 |
Portage snapshot version: 20050918 |
33 |
. |
34 |
. |
35 |
. |
36 |
>>> md5 files ;-) files/pppoe.html |
37 |
>>> md5 src_uri ;-) ppp-2.4.2.tar.gz |
38 |
>>> md5 src_uri ;-) ppp-2.4.2-patches-20050729.tar.gz |
39 |
* Determining the location of the kernel source code |
40 |
* Found kernel source directory: |
41 |
* /usr/src/linux |
42 |
* Found sources for kernel version: |
43 |
* 2.6.13-mm1 |
44 |
|
45 |
* getfilevar requires 2 variables, with the second a valid file. |
46 |
* getfilevar <VARIABLE> <CONFIGFILE> |
47 |
* Could not find a usable .config in the kernel source directory. |
48 |
* Please ensure that /usr/src/linux points to a configured set of Linux |
49 |
sources. |
50 |
* If you are using KBUILD_OUTPUT, please set the environment var so |
51 |
that |
52 |
* it points to the necessary object directory so that it might find |
53 |
.config. |
54 |
|
55 |
!!! ERROR: net-dialup/ppp-2.4.2-r15 failed. |
56 |
!!! Function linux-info_pkg_setup, Line 521, Exitcode 1 |
57 |
!!! Unable to calculate Linux Kernel version |
58 |
!!! If you need support, post the topmost build error, NOT this status |
59 |
message. |
60 |
|
61 |
|
62 |
Traceback (most recent call last): |
63 |
File "modules/livecd_stage1_target.py", line 21, in run_local |
64 |
cmd("/bin/bash "+self.settings["sharedir"]+\ |
65 |
File "/usr/lib/catalyst/modules/catalyst_support.py", line 102, in cmd |
66 |
raise CatalystError,myexc |
67 |
CatalystError: <unprintable instance object> |
68 |
None |
69 |
|
70 |
!!! catalyst: LiveCD stage1 build aborting due to error. |
71 |
|
72 |
|
73 |
======== |
74 |
#LiveCD stage1 .spec file. |
75 |
|
76 |
subarch: i686 |
77 |
version_stamp: 2005.jdos |
78 |
target: livecd-stage1 |
79 |
rel_type: default |
80 |
profile: default-linux/x86/2005.0 |
81 |
snapshot: 20050918 #20050712 |
82 |
source_subpath: default/stage3-i686-2005.0 |
83 |
portage_confdir: |
84 |
/home/tkosan/checkouts/jdos/lib/catalyst/jdos/portage_conf |
85 |
|
86 |
distcc_hosts: 206.21.94.161 206.21.94.66 |
87 |
|
88 |
livecd/use: |
89 |
-* |
90 |
X |
91 |
gtk |
92 |
gnome |
93 |
java |
94 |
ipv6 |
95 |
socks5 |
96 |
livecd |
97 |
fbcon |
98 |
minimal |
99 |
ncurses |
100 |
readline |
101 |
ssl |
102 |
|
103 |
livecd/packages: |
104 |
sun-jre-bin |
105 |
baselayout |
106 |
livecd-tools |
107 |
module-init-tools |
108 |
dhcpcd |
109 |
udev |
110 |
mm-sources |
111 |
kudzu-knoppix |
112 |
hotplug |
113 |
coldplug |
114 |
fxload |
115 |
# tsocks |
116 |
irssi |
117 |
gpm |
118 |
syslog-ng |
119 |
parted |
120 |
links |
121 |
raidtools |
122 |
nfs-utils |
123 |
jfsutils |
124 |
usbutils |
125 |
pciutils |
126 |
xfsprogs |
127 |
e2fsprogs |
128 |
reiserfsprogs |
129 |
# cryptsetup |
130 |
pwgen |
131 |
popt |
132 |
dialog |
133 |
rp-pppoe Can't determine kernel version so it kills the build. |
134 |
tk. |
135 |
screen |
136 |
mirrorselect |
137 |
penggy |
138 |
iputils |
139 |
hwdata-knoppix |
140 |
hwsetup |
141 |
device-mapper |
142 |
lvm2 |
143 |
evms |
144 |
vim |
145 |
pptpclient |
146 |
mdadm |
147 |
ethtool |
148 |
wireless-tools |
149 |
ntfsprogs |
150 |
dosfstools |
151 |
prism54-firmware |
152 |
wpa_supplicant |
153 |
genkernel |
154 |
xorg-x11 |
155 |
gnome |
156 |
# xfce4 |
157 |
|
158 |
|
159 |
|
160 |
|
161 |
-- |
162 |
gentoo-catalyst@g.o mailing list |
163 |
|
164 |
|
165 |
-- |
166 |
gentoo-catalyst@g.o mailing list |