Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41350 - emerge lirc fails with libtool 1.5.2
Summary: emerge lirc fails with libtool 1.5.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-12 03:30 UTC by Rene Wieben
Modified: 2004-02-20 07:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rene Wieben 2004-02-12 03:30:44 UTC
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"
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-12 10:31:20 UTC
Please update to libtool-1.5.2-r3.
Comment 2 Rene Wieben 2004-02-12 16:21:28 UTC
sorry, my information was incomplete, it doesn't compile with libtool 1.5.2-r3 installed
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-14 05:43:50 UTC
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 ...)?
Comment 4 Rene Wieben 2004-02-14 09:52:57 UTC
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. 
Comment 5 Rene Wieben 2004-02-20 07:01:47 UTC
Everything is fine after installing gentoo-sources 2.4.22-r7.