Hello. I have a problem with installing lirc. Look below for the output and note that kernel-config is masked in /usr/portage/profile/package.mask. The simpliest way to fix is to change in app-misc/lirc-0.7.0-r1 ACCEPT_KEYWORDS to stable on x86 as it works for me. Reproducible: Always Steps to Reproduce: 1. emerge lirc Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) app-misc/lirc-0.7.0_pre7 to / >>> md5 src_uri ;-) lirc-0.7.0pre7.tar.bz2 >>> md5 src_uri ;-) 01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch >>> Unpacking source... >>> Unpacking lirc-0.7.0pre7.tar.bz2 to /var/tmp/portage/lirc-0.7.0_pre7/work >>> Unpacking 01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch to /var/tmp/portage/lirc-0.7.0_pre7/work unpack 01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch: file format not recognized. Ignoring. * Applying 01-add-2.6-devfs-and-sysfs-to-lirc_dev.patch ... [ ok ] * Applying lirc-0.7.0_pre7-configure.patch ... [ ok ] >>> Source unpacked. * econf: updating /var/tmp/portage/lirc-0.7.0_pre7/work/lirc-0.7.0pre7/config.guess with /usr/share/gnuconfig/config.guess * econf: updating /var/tmp/portage/lirc-0.7.0_pre7/work/lirc-0.7.0pre7/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-manage-devices --localstatedir=/var --with-syslog=LOG_DAEMON --enable-sandboxed --with-driver=serial --with-port=0x3f8 --with-irq=4 creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4 -Wall ) works... yes checking whether the C compiler (gcc -O2 -march=pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4 -Wall ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for a BSD compatible install... /bin/install -c checking whether make sets ${MAKE}... (cached) yes checking for mknod... /bin/mknod checking for mkfifo... /bin/mkfifo checking for depmod... /sbin/depmod checking whether ln -s works... yes checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependant libraries... pass_all checking for object suffix... o checking for executable suffix... no checking command to parse /usr/bin/nm -B output... ok checking for dlfcn.h... yes checking for ranlib... ranlib checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for fcntl.h... yes checking for limits.h... yes checking for sys/ioctl.h... yes checking for sys/time.h... yes checking for syslog.h... yes checking for unistd.h... yes checking for working const... yes checking for inline... inline checking for off_t... yes checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking return type of signal handlers... void checking for vprintf... yes checking for gethostname... yes checking for gettimeofday... yes checking for mkfifo... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtoul... yes checking for snprintf... yes checking for strsep... yes checking for vsyslog... yes checking for daemon... yes checking for forkpty... no checking for forkpty in -lutil... yes checking for vga.h... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for getopt_long... yes checking for mktemp... yes checking for Linux kernel sources... /usr/src/linux/ checking for which drivers can be installed on this system... checking for caraca_init in -lcaraca_client... no checking for ir_strerror in -lirman... no checking for ir_strerror in -lirman_sw... no checking for portaudio.h... no checking for alsa/asoundlib.h... yes checking for snd_pcm_open in -lasound... yes updating cache ./config.cache creating ./config.status creating Makefile creating drivers/Makefile creating drivers/lirc_serial/Makefile creating drivers/lirc_sir/Makefile creating drivers/lirc_parallel/Makefile creating drivers/lirc_i2c/Makefile creating drivers/lirc_gpio/Makefile creating drivers/lirc_dev/Makefile creating drivers/lirc_it87/Makefile creating drivers/lirc_bt829/Makefile creating drivers/lirc_atiusb/Makefile creating drivers/lirc_mceusb/Makefile creating drivers/lirc_sasem/Makefile creating daemons/Makefile creating tools/Makefile creating doc/Makefile creating doc/man/Makefile creating config.h You will have to use the lirc_serial kernel module. Now enter 'make' and 'make install' to compile and install the package. * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.6.9-gentoo-r8 found in /usr/src/linux * which outputs to /usr/src/linux * By not using the kernel's ability to output to an alternative * directory, some external module builds may fail. * See <insert link to user doc here> * Due to the 2.6 kernel build system, external module compilation * with a normal setup requires write access to //usr/src/linux * There are several ways to fix/prevent this. * Users can willingly let portage make this writable by doing * # config-kernel --allow-writable yes * However, this is considered a security risk! * * The prefered method is to enable Gentoo's new 'koutput' method * for kernel modules. See the doc * http://www.gentoo.org/doc/en/2.6-koutput-user.xml * To enable this, you'll need to run * # config-kernel --output-dir /var/tmp/kernel-output * and then install a new kernel Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r8 i686) ================================================================= System uname: 2.6.9-gentoo-r8 i686 Intel(R) Pentium(R) M processor 1700MHz Gentoo Base System version 1.6.7 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r7 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms" GENTOO_MIRRORS="http://ftp.citkit.ru/pub/Linux/gentoo/ ftp://mirror.gentoo.ru/pub/mirror/gentoo/ http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.pudas.net/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X acl alsa arts audiofile bluetooth cdparanoia crypt cups dga divx4linux dvd dvdread encode erandom extensions flac gif gimpprint gnokii gnome gtk gtk2 hal howl imlib irda java jce jpeg kde mad mikmod mmx mng mozilla mpeg mppe-mppc nls nptl oggvorbis opengl pam pic png povray python quicktime readline rtc samba sdl sms speex spell sse sse2 ssl svg tetex tiff truetype unicode wifi wmf xml xml2 xmms xprint xscreensaver xv zlib linguas_ru"
It seems to be solved in lirc-0.7.0, which is ~x86 ATM. At least it worked for me.
Yes. It is fixed. Closing.