Bug 169232 - app-mobilephone/obexftp-0.21 fails with libtool error
Bug#: 169232 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mrness@gentoo.org Reported By: mkay@gentoo.org
Component: Ebuilds
URL: 
Summary: app-mobilephone/obexftp-0.21 fails with libtool error
Keywords:  
Status Whiteboard: 
Opened: 2007-03-04 03:12 0000
Description:   Opened: 2007-03-04 03:12 0000
while merging obexftp, i've get:
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.23b, ltmain.sh = 1.5.22) ***

Please run:

  libtoolize --copy --force

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

make: *** [config.status] Error 1

!!! ERROR: app-mobilephone/obexftp-0.21 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4004:   Called src_compile
  obexftp-0.21.ebuild, line 50:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/log/portage/app-mobilephone:obexftp-0.21:20070304-030232.log'.

i've tried to reemerge libtool (v 1.5.23b), but that didn't fix the problem

my emerge info:
Portage 2.1.2-r12 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.5-r0,
2.6.20.1-suspend2 i686)
=================================================================
System uname: 2.6.20.1-suspend2 i686 Mobile AMD Sempron(tm) Processor 3200+
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 28 Feb 2007 17:20:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT
-fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -mfpmath=sse -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig confcache cvs digest distcc distlocks
fixpackages metadata-transfer parallel-fetch sandbox sfperms spinner strict"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl/ http://gentoo.prz.rzeszow.pl
http://src.gentoo.pl/distfiles"
LANG="en_US"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-* --prune-empty-dirs"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://gentoo.prz.rzeszow.pl/gentoo-portage"
USE="3dnow 3dnowext X aac acpi aiglx alsa amarok apache2 bash-completion
bitmap-fonts bluetooth bzip2 cairo canvas cli cracklib crypt cups divx
divx4linux dlloader dri dvd dvdr encode exscalibar extraicons extramodules
fbcon ffmpeg fla flac gd gif glitz glut gmedia gpgme gpm gtk gtk2 hal iconv
imlib2 isdnlog javascript jikes jpeg jpeg2k kde kdeenablefinal kdexdeltas lcms
ldap live mad mailwrapper memlimit midi mmx mmxext moznocompose moznoirc
moznomail mp3 musepack musicbrainz ncurses nls nocardbus nptl nptlonly nsplugin
nvidia ogg opengl pam pcre pda perl pmu png ppds pppd python rdesktop readline
real realmedia reflection samba sasl sdl serial session spl sql sqlite sse sse2
ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vcd
videos vidix vim vim-with-x vorbis win32codecs wmf wmp x264 x86 xorg xv xvid
zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare
dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw
multi null plug rate route share shm softvol" CAMERAS="kodak" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl"
USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Jakub Moc (RETIRED) 2007-03-04 08:16:18 0000 -------
Created an attachment (id=112024) [details]
obexftp-0.21.ebuild.diff

Fix for libtool-1.5.23b (yes, automake-1.9 is needed to prevent this bombing
out on config.rpath missing and I have better things to do than digging into
autotools incompatibilities).

------- Comment #2 From Marcin Kryczek (RETIRED) 2007-03-05 01:38:00 0000 -------
this patch works for me. thanks jakub

------- Comment #3 From Sebastian Szary 2007-03-05 02:14:59 0000 -------
(In reply to comment #1)
> Created an attachment (id=112024) [edit] [details]
> obexftp-0.21.ebuild.diff
> 
> Fix for libtool-1.5.23b (yes, automake-1.9 is needed to prevent this bombing
> out on config.rpath missing and I have better things to do than digging into
> autotools incompatibilities).
> 

This patch is truly working.
Thx Jakub

------- Comment #4 From Alin Năstac 2007-03-05 10:32:35 0000 -------
Fixed in 0.21.

Since it didn't worked with automake-1.10, I had to add WANT_AUTOMAKE=1.9 .