lirc 0.7.0_pre2 fails to emerge with libtool 1.5.2 installed Reproducible: Always Steps to Reproduce: 1. LIRC_OPTS="--with-driver=hauppauge" emerge lirc 2. 3. Actual Results: gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O3 -pipe -Wall -c `test -f dump_config.c || echo './'`dump_config.c dump_config.c: In function `fprint_comment': dump_config.c:48: error: `VERSION' undeclared (first use in this function) dump_config.c:48: error: (Each undeclared identifier is reported only once dump_config.c:48: error: for each function it appears in.) dump_config.c:48: error: `LIRC_DRIVER' undeclared (first use in this function) distcc[1140] ERROR: compile on localhost failed make[2]: *** [dump_config.o] Error 1 make[2]: *** Waiting for unfinished jobs.... irrecord.c: In function `get_lead_length': irrecord.c:1856: warning: operation on `b' may be undefined irrecord.c: At top level: config_file.h:26: warning: `all_flags' defined but not used make[2]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2/daemons' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/lirc-0.7.0_pre2/work/lirc-0.7.0pre2' make: *** [all] Error 2 !!! ERROR: app-misc/lirc-0.7.0_pre2 failed. !!! Function src_compile, Line 99, Exitcode 2 !!! (no error message) Expected Results: when I go back to libtool 1.4.3-r3 lirc compiles fine Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.4.22-gentoo-r5) ================================================================= System uname: 2.4.22-gentoo-r5 i686 AMD Athlon(tm) XP 1600+ Gentoo Base System version 1.4.3.13 distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/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/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distcc sandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://ftp.gentoo.skynet.be/pub/gentoo/ http://gentoo.oregonstate.edu" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage" USE="3dnow X alsa apm arts avi berkdb crypt cups doc dvd encode foomaticdb gdbm gif gphoto2 gpm gtk gtk2 imlib jpeg kde libg++ libwww lirc mad mikmod mmx motif mpeg mysql ncurses nls nvidia oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba scanner sdl slang spell sse ssl svga tcpd tetex truetype v4l x86 xml2 xmms xv zlib zvbi"
Please update to libtool-1.5.2-r3.
sorry, my information was incomplete, it doesn't compile with libtool 1.5.2-r3 installed
Hmm, it looks more like VERSION in config.h is not defined, as that is where dump_config.c gets it from ... So not a libtool problem it seems. Are you sure /usr/src/linux points to a built kernel tree (not that I think this have anything to do with it ...)?
Very sure :) Anyway, for now I just have to do an 'emerge =libtool-1.4.3-rc3' before 'emerge lirc'. Not such a big deal.
Everything is fine after installing gentoo-sources 2.4.22-r7.