Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42635 - lirc-0.6.6-r1 emerge results in an error (due to missing /usr/src/linux/Rules.make?)
Summary: lirc-0.6.6-r1 emerge results in an error (due to missing /usr/src/linux/Rules...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-23 10:59 UTC by Collin Starkweather
Modified: 2004-02-24 09:20 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 Collin Starkweather 2004-02-23 10:59:22 UTC
When I try to emerge lirc (I am trying to build gxine and lirc is a dependency) I get the following error:

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)

I noticed that bug 42270 concerns the lirc ebuild as well but they appear to be unrelated to my untrained eye.

Reproducible: Always
Steps to Reproduce:
1. emerge lirc
2. receive error message
3. file bug

Actual Results:  
The emerge failed with error.

Expected Results:  
Lirc should have been emerged without an error.

Gentoo Base System version 1.4.3.13
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.20GHz
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ http://gentoo.ccccom.com
ftp://gentoo.agsn.ca/ ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups doc dvd emacs encode esd ethereal
foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml imagemagick imlib jpeg
libg++ libwww lirc mad mikmod motif mozilla mpeg mysql ncurses nls odbc
oggvorbis opengl oss pam pcmcia pdflib perl plotutils png pnp python quicktime
readline samba sdl slang spell ssl svga tcpd tetex truetype unicode usb x86 xml2
xmms xv zlib"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-24 02:41:12 UTC
please use 0.7.0_pre2 for 2.6 kernels
Comment 2 Collin Starkweather 2004-02-24 09:20:46 UTC
Thanks.  I did an `emerge sync` and lirc-0.7.0_pre2 is now the latest and greatest and merged just fine.  During the merge, it told me that I needed to get a patch per

  http://lwn.net/Articles/42217

for the 2.6.x kernel but it seemed to build just fine without.  I'm running 2.6.3-gentoo-r1 ... has the patch been incorporated into the kernel?