Lirc build fails. Tried lirc-0.7.0_pre7 and lirc-0.7.0_pre7-r1, same problem. Reproducible: Always # LIRC_OPTS="--with-driver=serial --with-port=0x3f8 --with-irq=4" emerge lirc [...] include/linux/fs.h:432: error: storage size of `i_mtime' isn't known include/linux/fs.h:433: error: storage size of `i_ctime' isn't known include/linux/fs.h:440: error: storage size of `i_sem' isn't known include/linux/fs.h:441: error: storage size of `i_alloc_sem' isn't known include/linux/fs.h:447: error: storage size of `i_data' isn't known include/linux/fs.h:574: error: storage size of `f_owner' isn't known include/linux/fs.h:745: error: storage size of `s_umount' isn't known include/linux/fs.h:746: error: storage size of `s_lock' isn't known include/linux/fs.h:773: error: storage size of `s_vfs_rename_sem' isn't known /var/tmp/portage/lirc-0.7.0_pre7-r1/work/lirc-0.7.0pre7/drivers/lirc_dev/lirc_dev.c:773: error: storage size of `fops' isn't known make[5]: *** [/var/tmp/portage/lirc-0.7.0_pre7-r1/work/lirc-0.7.0pre7/drivers/lirc_dev/lirc_dev.o] Error 1 make[4]: *** [_module_/var/tmp/portage/lirc-0.7.0_pre7-r1/work/lirc-0.7.0pre7/drivers/lirc_dev] Error 2 make[4]: Leaving directory `/usr/src/linux-2.6.8-gentoo-r4' make[3]: *** [lirc_dev.o] Error 2 make[3]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre7-r1/work/lirc-0.7.0pre7/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre7-r1/work/lirc-0.7.0pre7/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre7-r1/work/lirc-0.7.0pre7' make: *** [all] Error 2 !!! ERROR: app-misc/lirc-0.7.0_pre7-r1 failed. !!! Function src_compile, Line 87, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. # emerge info Portage 2.0.51_rc1 (default-x86-1.4, gcc-3.3.4, glibc-2.3.3.20040420-r1, 2.6.8-gentoo-r4 i686) ================================================================= System uname: 2.6.8-gentoo-r4 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.16 distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.19-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-tbird -mcpu=athlon-tbird -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow S3TC X aalib acpi acpi4linux alsa apache2 avi berkdb bitmap-fonts cdr crypt cups dga directfb dvd encode evo fbcon foomaticdb gdbm geoip gif gnome gstreamer gtk gtk2 gtkhtml guile imlib java jpeg justify ldap libg++ libwww lirc mad maildir mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg mysql ncurses nls oggvorbis opengl pam parse-clocks pda pdflib perl png python qt quicktime readline samba sdl slang slp spell ssl svga tcltk tcpd tiff truetype unicode usb v4l videos wmf x86 xine xml2 xmms xprint xv zlib linguas_de"
*confused* Now, there's no problem any more. I succesfully built lirc-0.7.0_pre7-r1.