Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89909 - media-video/qc-usb fails to emerge against 2.6-series kernel
Summary: media-video/qc-usb fails to emerge against 2.6-series kernel
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-21 04:49 UTC by Ian Perry
Modified: 2005-04-21 07:37 UTC (History)
0 users

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


Attachments
qc-usb-0.6.3.ebuild.patch (qc-usb-0.6.3.ebuild.patch,377 bytes, patch)
2005-04-21 04:51 UTC, Ian Perry
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Perry 2005-04-21 04:49:19 UTC
Emerging media-video/qc-usb 0.6.2 or 0.6.3 fails, due to a Makefile variable being incorrectly set.

Reproducible: Always
Steps to Reproduce:
1. emerge media-video/qc-usb
Actual Results:  
Emerge failed, got this error message:
awk: cmd. line:1: fatal: cannot open file
`/lib/modules/2.6.11-gentoo-r6/build/include/linux/version.h' for reading (No
such file or directory)

then stacks of errors.

Expected Results:  
Emerged cleanly

The problem is that the ebuild sets the variable KERNEL_DIR with the path to the
current kernel, but the Makefile is expecting the variable LINUX_DIR. Trivial to
fix; see patch in next response.
Comment 1 Ian Perry 2005-04-21 04:51:54 UTC
Created attachment 56823 [details, diff]
qc-usb-0.6.3.ebuild.patch

This patch will allow qc-usb to install on my system. I don't see how other
people can have it installed without this patch, but clearly they do.

Also, because I forgot the emerge info in the bugreport proper:

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.11
Python: 	     dev-lang/python-2.3.5 [2.3.5 (#1, Apr 17 2005, 10:25:02)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.5, 1.9.5, 1.6.3, 1.4_p6, 1.7.9-r1
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.pacific.net.au/linux/Gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage /usr/local/overlays/bmg-main"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac acl alsa apache2 audiofile avi bash-completion berkdb
caps cdparanoia cjk crypt cups curl curlwrappers divx4linux dv dvd dvdr dvdread
encode exif flac ftp gd gdbm geoip gif gnome gpm gstreamer gtk gtk2 iconv imap
imlib jack java javascript jpeg ladcca libg++ lzo mad mailwrapper matroska
mhash mikmod mime mmx mng mozilla mp3 mpeg ncurses nls nptl offensive ogg
oggvorbis opengl pam pcre perl pic png portaudio posix postgres python
quicktime readline samba sdl sharedext simplexml slang sockets speex spell spl
sqlite sse ssl symlink sysvipc tcpd tetex tga theora threads tidy tiff
tokenizer truetype unicode v4l vorbis wxwindows xml xml2 xpm xsl xv xvid zlib"
Unset:	ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2005-04-21 07:37:00 UTC
thanks for the patch. i (and others) have been able to merge this because we compile the module with the current running kernel verison. as long as the current running version and the one in /usr/src/linux is the same, then you shouldn't have any problems not defining LINUX_DIR.

with that said, the ebuild was wrong and i'm committing your changes to 0.6.2/3 :)