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"
please use 0.7.0_pre2 for 2.6 kernels
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?