# emerge --info =app-misc/lirc-0.8.5 Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.31-gentoo-r6-i686-AMD_Athlon-tm-_XP_2700+-with-gentoo-1.12.13 Timestamp of tree: Thu, 01 Apr 2010 07:30:02 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.10 dev-lang/python: 2.4.6, 2.5.4-r4, 2.6.4-r1 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 3.3.6-r1, 3.4.6-r2, 4.1.2, 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/ap" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs un" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://adelie.polymtl.ca/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats -" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acl alsa apache2 avi bzip2 calendar cli cracklib cxx dbus dri dvd dvdr encode fortran gdbm gimpprint gpm gtk Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESSY # emerge -pqv =app-misc/lirc-0.8.5 [ebuild U ] app-misc/lirc-0.8.5 [0.8.4] USE="X -debug -doc -hardware-carrier -transmitter" LIRC_DEVICES="hauppauge Reproducible: Always Steps to Reproduce: 1. emerge lircd
Created attachment 226167 [details] build.log The complete build log is located at '/var/tmp/portage/app-misc/lirc-0.8.5/temp/build.log'.
Created attachment 226169 [details] environment file The ebuild environment file is located at '/var/tmp/portage/app-misc/lirc-0.8.5/temp/environment'.
Compiles fine with lirc-0.8.6-r2, which is in ~x86. Close if you like.
That happens when you try to compile app-misc/lirc-0.8.5 with any of lirc_devices_* USE flag activated. Same problem here with app-misc/lirc-0.8.5 and sys-kernel/gentoo-sources-2.6.34-r1. It works when I try to compile app-misc/lirc-0.8.5 without any lirc_devices_* USE flag activated.
same problem, different error message test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) mkdir -p /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/.tmp_versions ; rm -f /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/.tmp_versions/* make -f scripts/Makefile.build obj=/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include -I/usr/src/linux-2.6.34-gentoo-r1/arch/x86/include -Iinclude -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=core2 -mtune=generic -mtune=generic -Wa,-mtune=generic32 -ffreestanding -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=2048 -fno-stack-protector -fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I../.. -I/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/. -I/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/. -I/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/../.. -I/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/../.. -I/usr/src/linux//include/ -I/usr/src/linux//drivers/media/video/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.o /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:35:28: error: linux/autoconf.h: No such file or directory In file included from /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.c:72: /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h: In function ‘lirc_buffer_init’: /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h:88: warning: passing argument 1 of ‘kfifo_alloc’ makes pointer from integer without a cast include/linux/kfifo.h:108: note: expected ‘struct kfifo *’ but argument is of type ‘unsigned int’ /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h:88: warning: passing argument 3 of ‘kfifo_alloc’ makes integer from pointer without a cast include/linux/kfifo.h:108: note: expected ‘gfp_t’ but argument is of type ‘struct spinlock_t *’ /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h:88: warning: assignment makes pointer from integer without a cast /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h: In function ‘lirc_buffer_read’: /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h:185: error: implicit declaration of function ‘kfifo_get’ /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h: In function ‘lirc_buffer_write’: /var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.h:206: error: implicit declaration of function ‘kfifo_put’ make[5]: *** [/var/tmp/portage/app-misc/lirc-0.8.5/work/lirc-0.8.5/drivers/lirc_dev/lirc_dev.o] Error 1
same here : make[4]: Entering directory `/usr/src/linux-2.6.39-gentoo-r1' test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo; \ /bin/false) emerge --info: ortage 2.2.0_alpha40 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.39.1-zen-00003-g6d6d304 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.39.1-zen-00003-g6d6d304-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T6600_@_2.20GHz-with-gentoo-2.0.2 Timestamp of tree: Wed, 15 Jun 2011 16:00:01 +0000 ccache version 3.1.5 [enabled] app-shells/bash: 4.2_p10 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.2 dev-util/ccache: 3.1.5 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.38 (virtual/os-headers) sys-libs/glibc: 2.13-r2 Repositories: gentoo local Installed sets: @kde, @koffice ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ftree-vectorize -ftree-loop-linear" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ftree-vectorize -ftree-loop-linear -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy ccache distlocks ebuild-locks fail-clean fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://gentoo.osuosl.org http://mirrors.ludost.net/gentoo/ ftp://mirrors.ludost.net/gentoo/ http://gentoo.osuosl.org http://mirror.gentoo.no/ http://gentoo.ynet.sk/pub http://www.ibiblio.org/pub/Linux/distributions/gentoo http://distfiles.gentoo.bg/ http://ftp.gentoo.bg/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--enable-new-dtags" LINGUAS="en" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X accessibility acl acpi alsa amd64 bash-completion bitmap-fonts bluetooth branding cdr cli consolekit dbus device-mapper dri dvd dvdr dvdread gpm ipv6 kde kde4 lirc mmx mmxext mpeg mudflap multilib ncurses nls nptl nptlonly opengl oss pam plasma policykit pppd pulseaudio python qt4 reports semantic-desktop session spell spl sse sse2 sse3 ssl ssse3 threads truetype truetype-fonts tslib type1-fonts udev unicode vdpau xcomposite xine xvmc zeroconf" ALSA_CARDS="hda-nvidia hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" CAMERAS="ptp2" ELIBC="glibc" GPSD_PROTOCOLS="aivdm ashtech clientdebug earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 navcom nmea ntrip oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar timing tnt tripmate tsip ubx" INPUT_DEVICES="keyboard mouse ps2mouse evdev" KERNEL="linux" LINGUAS="en" LIRC_DEVICES="all" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-misc/lirc-0.9.0 was built with the following: USE="X (consolekit) hardware-carrier (multilib) (policykit) transmitter -debug -doc" LIRC_DEVICES="all -accent -act200l -act220l -adaptec -alsa_usb -animax -asusdh -atilibusb -atiusb -audio -audio_alsa -avermedia -avermedia98 -avermedia_vdomate -awlibusb -bestbuy -bestbuy2 -breakoutbox -bte -bw6130 -caraca -chronos -commandir -cph06x -creative -creative_infracd -devinput -digimatrix -dsp -dvico -ea65 -ene0100 -exaudio -flyvideo -ftdi -gvbctv5pci -hauppauge -hauppauge_dvb -hercules_smarttv_stereo -i2cuser -igorplugusb -iguanaIR -imon -imon_24g -imon_knob -imon_lcd -imon_pad -imon_rsc -inputlirc -irdeo -irdeo_remote -irlink -irman -irreal -it87 -ite8709 -knc_one -kworld -leadtek_0007 -leadtek_0010 -leadtek_pvr2000 -livedrive_midi -livedrive_seq -logitech -macmini -mediafocusI -mouseremote -mouseremote_ps2 -mp3anywhere -mplay -nslu2 -packard_bell -parallel -pcmak -pcmak_usb -pctv -pixelview_bt878 -pixelview_pak -pixelview_pro -provideo -realmagic -remote_wonder_plus -remotemaster -sa1100 -samsung -sasem -sb0540 -serial -serial_igor_cesko -silitek -sir -slinke -streamzap -tekram -tekram_bt829 -tira -ttusbir -tuxbox -tvbox -udp -uirt2 -uirt2_raw -usb_uirt_raw -usbirboy -usbx -userspace -wpc8769l -xboxusb"
Created attachment 277233 [details] buildlog/app-misc:lirc-0.9.0:20110616-114426.log
There seems to be three different bugs here, all of which are I believe resolved in newer versions: #1 - Mattnew Daubenspek's bug was due to incompatibilities between the kernel and the lirc_i2c driver, which as reported was resolved in >=lirc-1.8.6 #2 - I cannot report on the specifics of Vicente Olivert Riera or mikopp 's bugs but I believe both have been resolved in later versions. #3 - Kamen Dokov's bug is actually bug 369179 , which has been resolved in lirc-0.9.0-r1 Closing as RESO/Obsolete , please try lirc-0.9.0-r1 and open new bugs if you still have issues.