Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142303 - emerge em8300-modules fails with xen-sources-2.6.16.26 installed
Summary: emerge em8300-modules fails with xen-sources-2.6.16.26 installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-31 11:06 UTC by Dieter Edinger
Modified: 2006-12-02 04:17 UTC (History)
1 user (show)

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 Dieter Edinger 2006-07-31 11:06:59 UTC
Emerge does not work, because Variable $XEN_GUEST ist not filled, but used.

emerge em8300-modules
Calculating dependencies... done!
>>> Emerging (1 of 1) media-video/em8300-modules-0.15.3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking em8300-0.15.3.tar.gz ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16.26-xen
>>> Unpacking source...
>>> Unpacking em8300-0.15.3.tar.gz to /var/tmp/portage/em8300-modules-0.15.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/em8300-modules-0.15.3/work/em8300-0.15.3/modules ...
gcc: /lib/modules/2.6.16.26/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
gcc: keine Eingabedateien
expr: fehlender Operand
Comment 1 Dieter Edinger 2006-07-31 11:06:59 UTC
Emerge does not work, because Variable $XEN_GUEST ist not filled, but used.

emerge em8300-modules
Calculating dependencies... done!
>>> Emerging (1 of 1) media-video/em8300-modules-0.15.3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking em8300-0.15.3.tar.gz ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16.26-xen
>>> Unpacking source...
>>> Unpacking em8300-0.15.3.tar.gz to /var/tmp/portage/em8300-modules-0.15.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/em8300-modules-0.15.3/work/em8300-0.15.3/modules ...
gcc: /lib/modules/2.6.16.26/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
gcc: keine Eingabedateien
expr: fehlender Operand
expr --help gibt weitere Informationen.
make -C /lib/modules/2.6.16.26/build SUBDIRS=/var/tmp/portage/em8300-modules-0.15.3/work/em8300-0.15.3/modules modules
make: *** /lib/modules/2.6.16.26/build: Datei oder Verzeichnis nicht gefunden.  Schluss.
make: *** [build] Fehler 2

!!! ERROR: media-video/em8300-modules-0.15.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  em8300-modules-0.15.3.ebuild, line 34:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r3, 2.6.16.26-xen i686)
=================================================================
System uname: 2.6.16.26-xen i686 Intel(R) Pentium(R) 4 CPU 3.40GHz
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fforce-addr -fomit-frame-pointer -mno-tls-direct-seg-refs"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -mtune=pentium3 -pipe -ffast-math -fforce-addr -fomit-frame-pointer -mno-tls-direct-seg-refs -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distcc distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mir.zyrianes.net/gentoo-distfiles/ http://mir.zyrianes.net/gentoo-distfiles/ http://gentoo.mirror.icd.hu/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentoo-de /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 alsa apache2 apm avi berkdb bigpatch bitmap-fonts child-protection cjk cli crypt cups directfb divx4linux dlloader dri dvb dvd dxr3 dxr3-audio-denoise eds emboss encode esd fame foomaticdb fortran freetype gdbm gif gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg jumpplay kde libg++ libwww lirc mad mikmod mjpeg mmx motif mp3 mpeg mplayer ncurses nls nptl nptlonly nvidia nvram ogg opengl oss pam pcre pdflib perl png pp_libavcodec ppds pppd python qt qt3 qt4 quicktime rdesktop readline reflection samba sdl session setup-plugin slang spell spl sse ssl submenu tcpd truetype truetype-fonts type1-fonts udev unicode usb userlocales v4l v4l2 vdr vdr-net vdrkeys vfat vorbis xml xmms xorg xv xvid yaepg zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU video_cards_nvidia video_cards_i810 video_cards_i830 video_cards_fbdev video_cards_nv video_cards_v4l video_cards_vga video_cards_vmware"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
-----------------------------------------------------------
As workaround I create 2 links and then the emerge worked.
cd /lib/modules
ln -s 2.6.16.26-xen 2.6.16.26\$\(XENGUEST\)
ln -s 2.6.16.26-xen 2.6.16.26
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 11:17:19 UTC
Set your locales to C when reporting bugs, please.
Comment 3 Dieter Edinger 2006-07-31 11:36:32 UTC
Sorry,

also when I set the locale to C I get some german error messages.
What else can I do.

localhost src # locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

localhost src # locale -a
C
POSIX
de_DE
de_DE.utf8
de_DE@euro
en_US
en_US.utf8

-----------
localhost src # emerge em8300-modules
Calculating dependencies... done!
>>> Emerging (1 of 1) media-video/em8300-modules-0.15.3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking em8300-0.15.3.tar.gz ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16.26-xen
>>> Unpacking source...
>>> Unpacking em8300-0.15.3.tar.gz to /var/tmp/portage/em8300-modules-0.15.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/em8300-modules-0.15.3/work/em8300-0.15.3/modules ...
gcc: /lib/modules/2.6.16.26/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
gcc: keine Eingabedateien
expr: fehlender Operand
Comment 4 Dieter Edinger 2006-07-31 11:36:32 UTC
Sorry,

also when I set the locale to C I get some german error messages.
What else can I do.

localhost src # locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C

localhost src # locale -a
C
POSIX
de_DE
de_DE.utf8
de_DE@euro
en_US
en_US.utf8

-----------
localhost src # emerge em8300-modules
Calculating dependencies... done!
>>> Emerging (1 of 1) media-video/em8300-modules-0.15.3 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking em8300-0.15.3.tar.gz ;-)
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.16.26-xen
>>> Unpacking source...
>>> Unpacking em8300-0.15.3.tar.gz to /var/tmp/portage/em8300-modules-0.15.3/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/em8300-modules-0.15.3/work/em8300-0.15.3/modules ...
gcc: /lib/modules/2.6.16.26/build/include/linux/version.h: Datei oder Verzeichnis nicht gefunden
gcc: keine Eingabedateien
expr: fehlender Operand
expr --help gibt weitere Informationen.
make -C /lib/modules/2.6.16.26/build SUBDIRS=/var/tmp/portage/em8300-modules-0.15.3/work/em8300-0.15.3/modules modules
make: *** /lib/modules/2.6.16.26/build: Datei oder Verzeichnis nicht gefunden.  Schluss.
make: *** [build] Fehler 2

!!! ERROR: media-video/em8300-modules-0.15.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  em8300-modules-0.15.3.ebuild, line 34:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 5 Anders Rune Jensen (RETIRED) gentoo-dev 2006-08-01 11:20:14 UTC
Did you do a make modules_install when you installed that xen-kernel?
Comment 6 Dieter Edinger 2006-08-01 13:13:04 UTC
Yes, I can boot and work with that kernel without any problems.
When I creat only one directory by "ln -s 2.6.16.26-xen 2.6.16.26" in /lib/modules
the emerge will work, but the modules will be written in directory /lib/modules/2.6.16.26$(XENGUEST).
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2006-12-02 04:17:41 UTC
Try new version 0.16.0.

Installation method has been changed, it is using /usr/portage/eclass/linux-mod.eclass now.

Reopen if it still happens.