Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 217312

Summary: libtool.m4 and ltmain.sh version mismatch prevent wxsvg from compiling
Product: Gentoo Linux Reporter: k_berbach
Component: New packagesAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED INVALID    
Severity: normal CC: vapier
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description k_berbach 2008-04-11 16:06:01 UTC
When trying to compile wxsvg from source (non ebuild), the configure script fails with following error:

<snip>
checking for correct ltmain.sh version... no
configure: error:

*** [Gentoo] sanity check failed! ***
*** libtool.m4 and ltmain.sh have a version mismatch! ***
*** (libtool.m4 = 1.5.24, ltmain.sh = 1.5.26) ***

Please run:

  libtoolize --copy --force

if appropriate, please contact the maintainer of this
package (or your distribution) for help.

--------------

running recommendend libtoolize does not help. Remerging libtool-1.5.26 did not help either.
 
While I am aware that compiling 3rd party software is not an issue for gentoo bugs, the error claims to be a gentoo sanity check and therefore not really related to the software to be compiled. 

Reproducible: Always

Steps to Reproduce:
1. tar zxf wxsvg-1.0b10.tar.gz && cd wxsvg-1.0b10
2. ./configure --prefix=/opt/wxsvg





emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23.16 x86_64)
=================================================================
System uname: 2.6.23.16 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Fri, 11 Apr 2008 12:04:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -pipe"
DISTDIR="/usr/src/gentoo/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
INSTALL_MASK="/usr/share/dvb/scan/dvb-t/fr*"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de nds en_GB"
MAKEOPTS="-j1"
PKGDIR="/usr/src/gentoo/packages"
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="/usr/src/gentoo/tmp"
PORTDIR="/usr/src/gentoo/portage"
PORTDIR_OVERLAY="/usr/src/gentoo/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi aiglx alsa amd64 arts asf audiofile bcmath berkdb bzip2 bzlib cairo caps cdparanoia cdr cpudetection cracklib crypt css cups curl curlwrappers dbus dga dri dts dv dvb dvd dvdr encode exif expat faac faad fam ffmpeg fftw flac freetds ftp gatos gd gif glitz gmp gpac gphoto2 gpm gs hal iconv icu ieee1394 imagemagick imlib ithreads jack joystick jpeg jpeg2k kde kdeenablefinal kipi lame lcms ldap libsamplerate libwww lirc live logrotate lzo mad matroska md5sum midi mmap mmx mmxext mng mp2 mp3 mp4 mpeg musepack nls no-old-linux no_wxgtk1 nonfsv4 nptl nptlonly offensive ogg oggvorbis openexr opengl pam pdf pdflib pic png ppds pwdb qt3 quicktime radio rdesktop readline rtc sasl scanner sdl sndfile sox speex spell sse sse2 ssl svg theora threads threadsafe tiff truetype unicode usb v4l v4l2 vcd vorbis wavpack wifi wma x264 xcomposite xine xml xml2 xorg xsl xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x       ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3       trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw copy dmix dshare dsnoop extplug file hooks iec958 ioplug lfloat linear meter mulaw multi null rate route share shm" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon fuji kodak" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de nds en_GB" LIRC_DEVICES="audio_alsa devinput" USERLAND="GNU" VIDEO_CARDS="radeon v4l vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2008-05-04 10:40:03 UTC
either you have local cruft in your pkg directory or you arent running autotools properly.  either way, the error is completely accurate.