Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84737 - Zaptel 1.0.6 ebuild fails to compile
Summary: Zaptel 1.0.6 ebuild fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: voip herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-10 04:08 UTC by Dominik Westner
Modified: 2005-08-20 21:53 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Westner 2005-03-10 04:08:46 UTC
Zaptel compile fails with the following message:

You do not appear to have the kernel sources for your current kernel installed.
make: *** [linux26] Error 1

But I have the correct kernel installed. 

Here is what the build process shows:
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.10-dw

It seems to me that the following line in the Makefile does not get evaluated correctly when called from the portage system, also the if clause is valid. (the KERNEL_SOURCE variable points to an existing directory (link to kernel source).

@if ! [ -d $(KERNEL_SOURCE) ]; then echo "You do not appear to have the kernel sources for your current kernel installed."; exit 1 ; fi
        make -C $(KERNEL_SOURCE) SUBDIRS=$(PWD) modules

I don't get the message when I cd into the working directory and type make linux26 by hand.

Greetings

NikWest

PS: Many thanks to the developer for providing the most recent version and also including the bri patches. I have tried to create an ebuild myself, but stumbled upon exactly the same error I get now from this ebuild.



Reproducible: Always
Steps to Reproduce:
1.
2.
3.




System uname: 2.6.10-dw i686 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5,dev-lang/python-2.2.3-r5 [2.3.5 (#1,
Feb 26 2005, 18:48:49)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.2.3-r5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.9.5, 1.5, 1.6.3, 1.4_p6, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r5
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -O3 -mfpmath=sse -msse2 -funroll-all-loops -Wall -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O3 -mfpmath=sse -msse2 -funroll-all-loops -Wall -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg candy ccache distcc distlocks sandbox
sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/var/tmp/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acpi alsa apache2 avi berkdb bitmap-fonts bri bzlib crypt
cscope curl dba dvd emboss encode esd ethereal evms2 fam fbcon festival flac
florz font-server foomaticdb fortran gd ggi gif gnome gstreamer gtk gtk2 guile
ieee1394 imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad
mozilla mp3 mpeg mpeg4 mysql mythtv nas ncurses oggvorbis opengl oss pam pdflib
perl pic png pri python qt quicktime readline resperl ruby samba sasl sdl server
session slang slp snmp spell sse ssl svga tcltk tcpd tetex tiff truetype
truetype-fonts type1-fonts usb v4l v4l2 vhosts xfs xml xml2 xmms xv zaptel
zeroconf zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Stefan Knoblich (RETIRED) gentoo-dev 2005-03-12 03:58:50 UTC
please run emerge sync and try again, that should be fixed in the current version
Comment 2 Nathan Sullivan 2005-03-18 15:50:01 UTC
Dominik: resolved?
Comment 3 Dominik Westner 2005-03-21 01:34:15 UTC
sorry for the late reply, I have been on vacation.

Yes, I just emerged the 1.0.7 zaptel ebuild and it compiles without a clinch.

Thank you.

Dominik
Comment 4 Daniel Black (RETIRED) gentoo-dev 2005-08-20 21:53:32 UTC
thanks Dominik