Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 33141

Summary: lirc doesn't build up using development-sources
Product: Gentoo Linux Reporter: marchino <marchino>
Component: Current packagesAssignee: x86-kernel (DEPRECATED) <x86-kernel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mholzer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description marchino 2003-11-10 05:20:53 UTC
I'm using kernel  linux-2.6.0-test9-patchset-0.1 and I'm unable to build lirc.
I don't know if this can be called a bug, but I think the lirc.ebuild should
check for kernel version because it tries to include the file
/usr/src/linux//Rules.make which doesn't exist in the 2.6 kernel tree. 



Reproducible: Always
Steps to Reproduce:
1. emerge app-misc/lirc
2.
3.

Actual Results:  
make: Entering directory `/var/tmp/portage/lirc-0.6.6-r1/work/lirc-0.6.6/drivers'
Making all in lirc_dev
make[1]: Entering directory
`/var/tmp/portage/lirc-0.6.6-r1/work/lirc-0.6.6/drivers/lirc_dev'
Makefile:380: /usr/src/linux//Rules.make: No such file or directory
make[1]: *** No rule to make target `/usr/src/linux//Rules.make'.  Stop.
make[1]: Leaving directory
`/var/tmp/portage/lirc-0.6.6-r1/work/lirc-0.6.6/drivers/lirc_dev'
make: *** [all-recursive] Error 1
make: Leaving directory `/var/tmp/portage/lirc-0.6.6-r1/work/lirc-0.6.6/drivers' 
!!! ERROR: app-misc/lirc-0.6.6-r1 failed.
!!! Function src_compile, Line 105, Exitcode 2
!!! (no error message)
 

Expected Results:  
Check kernel version and exit if >2.4?

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.3.10p1
distcc 2.11.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg kde libg++ mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml
alsa gdbm berkdb slang readline arts bonobo svga ggi tcltk java guile X sdl gpm
tcpd pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl
mozilla cdr scanner acpi dvb dvd gtk2 imap maildir ppds sse tiff usb"
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2003-11-11 08:31:52 UTC

*** This bug has been marked as a duplicate of 28660 ***