Is there actually a .config file in /usr/src/linux? Or did you update
your kernel sources and not recreate the symlink /usr/src/linux to the
new source directory?
-----Original Message-----
From: Ted Kosan [mailto:tkosan-/E1597aS9LQAvxtiuMwx3w@xxxxxxxxxxxxxxxx]
Sent: Tuesday, September 20, 2005 2:14 PM
To: gentoo-catalyst-cnFmAm88PdgLnqt3yJz4RQ@xxxxxxxxxxxxxxxx
Subject: [gentoo-catalyst] net-dialup/ppp-2.4.2-r15 build error
Hello,
I am in the process of adding packages to a LiveCD I am building and in
stage 1
I am receiving the error included below from net-dialup/ppp-2.4.2-r15.
It
appears that it is havivng trouble locating a valid kernel .config file
during
its attempt to determine the kernel version.
The example below uses mm-sources but I also received the error when I
used
gentoo-sources.
Does anyone have any thoughts on what might be causing this error?
Thanks in advance,
Ted
Catalyst version: 1.1.10.10
Portage snapshot version: 20050918
.
.
.
>>> md5 files ;-) files/pppoe.html
>>> md5 src_uri ;-) ppp-2.4.2.tar.gz
>>> md5 src_uri ;-) ppp-2.4.2-patches-20050729.tar.gz
* Determining the location of the kernel source code
* Found kernel source directory:
* /usr/src/linux
* Found sources for kernel version:
* 2.6.13-mm1
* getfilevar requires 2 variables, with the second a valid file.
* getfilevar <VARIABLE> <CONFIGFILE>
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux
sources.
* If you are using KBUILD_OUTPUT, please set the environment var so
that
* it points to the necessary object directory so that it might find
.config.
!!! ERROR: net-dialup/ppp-2.4.2-r15 failed.
!!! Function linux-info_pkg_setup, Line 521, Exitcode 1
!!! Unable to calculate Linux Kernel version
!!! If you need support, post the topmost build error, NOT this status
message.
Traceback (most recent call last):
File "modules/livecd_stage1_target.py", line 21, in run_local
cmd("/bin/bash "+self.settings["sharedir"]+\
File "/usr/lib/catalyst/modules/catalyst_support.py", line 102, in cmd
raise CatalystError,myexc
CatalystError: <unprintable instance object>
None
!!! catalyst: LiveCD stage1 build aborting due to error.
========
#LiveCD stage1 .spec file.
subarch: i686
version_stamp: 2005.jdos
target: livecd-stage1
rel_type: default
profile: default-linux/x86/2005.0
snapshot: 20050918 #20050712
source_subpath: default/stage3-i686-2005.0
portage_confdir:
/home/tkosan/checkouts/jdos/lib/catalyst/jdos/portage_conf
distcc_hosts: 206.21.94.161 206.21.94.66
livecd/use:
-*
X
gtk
gnome
java
ipv6
socks5
livecd
fbcon
minimal
ncurses
readline
ssl
livecd/packages:
sun-jre-bin
baselayout
livecd-tools
module-init-tools
dhcpcd
udev
mm-sources
kudzu-knoppix
hotplug
coldplug
fxload
# tsocks
irssi
gpm
syslog-ng
parted
links
raidtools
nfs-utils
jfsutils
usbutils
pciutils
xfsprogs
e2fsprogs
reiserfsprogs
# cryptsetup
pwgen
popt
dialog
rp-pppoe Can't determine kernel version so it kills the build.
tk.
screen
mirrorselect
penggy
iputils
hwdata-knoppix
hwsetup
device-mapper
lvm2
evms
vim
pptpclient
mdadm
ethtool
wireless-tools
ntfsprogs
dosfstools
prism54-firmware
wpa_supplicant
genkernel
xorg-x11
gnome
# xfce4
--
gentoo-catalyst-aBrp7R+bbdUdnm+yROfE0A@xxxxxxxxxxxxxxxx mailing list
|