| Summary: | dev-libs/gmetadom-0.2.2 emerge fails with libtool mismatch | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Yaakov S <yselkowitz> |
| Component: | [OLD] Library | Assignee: | MATSUU Takuto (RETIRED) <matsuu> |
| Status: | RESOLVED FIXED | ||
| Severity: | blocker | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
revised gmetadom-0.2.2.ebuild
gmetadom-0.2.2-gentoo.patch |
||
Created attachment 50975 [details]
revised gmetadom-0.2.2.ebuild
Created attachment 50976 [details, diff]
gmetadom-0.2.2-gentoo.patch
in cvs. thanks. |
The problem is caused by gmetadom-0.2.1-gentoo.patch. This patches configure, configure.in, and a Makefile.{am|in}, but autoreconf isn't run afterwards. So configure runs, then make sees the filetimes, runs aclocal, automake, and autoconf, but doesn't run libtool. Now that libtool-1.5.10 is stable in portage, this causes a version mismatch with the included ltmain.sh which is from libtool 1.5.6. [1] The fix is to append the following line to the end of src_unpack: WANT_AUTOCONF="2.5" WANT_AUTOMAKE="1.7" autoreconf --install --force || die in which case, only configure.in and Makefile.am need to be patched directly, as configure and the Makefile.in will be regenerated. In addition, there's an unnecessary line in src/gdome_cpp_smart/test/Makefile.am which causes make to fail if static libs are disabled (e.g. by EXTRA_ECONF=--disable-static). The reference to the libtool file is sufficient. I'll attach below a revised ebuild and patch which worked for me. I would imagine that other versions would be affected by this too, although I didn't try. [1] output from configure and the recheck >>> emerge (2 of 4) dev-libs/gmetadom-0.2.2 to / >>> md5 src_uri ;-) gmetadom-0.2.2.tar.gz >>> Unpacking source... >>> Unpacking gmetadom-0.2.2.tar.gz to /var/tmp/portage/gmetadom-0.2.2/work * Applying gmetadom-0.2.1-gentoo.patch ... [ ok ] >>> Source unpacked. * econf: updating gmetadom-0.2.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gmetadom-0.2.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --with-modules=gdome_cpp_smart gdome_caml configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc ... [snip] ... configure: creating ./config.status config.status: creating Makefile config.status: creating xml/Makefile ... [snip] ... config.status: creating gdome2-cpp-smart.pc config.status: creating libgdome2.spec config.status: creating config.h config.status: executing depfiles commands cd . && /bin/sh /var/tmp/portage/gmetadom-0.2.2/work/gmetadom-0.2.2/missing --run aclocal-1.7 cd . && \ /bin/sh /var/tmp/portage/gmetadom-0.2.2/work/gmetadom-0.2.2/missing --run automake-1.7 --gnu Makefile cd . && /bin/sh /var/tmp/portage/gmetadom-0.2.2/work/gmetadom-0.2.2/missing --run autoconf /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-static --with-modules=gdome_cpp_smart gdome_caml CFLAGS=-O2 -pipe -mcpu=i686 -fomit-frame-pointer -fPIC CXXFLAGS=-O2 -pipe -mcpu=i686 -fomit-frame-pointer -fPIC host_alias=i686-pc-linux-gnu --no-create --no-recursion configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes ... [snip] ... checking for objdir... .libs checking for i686-pc-linux-gnu-ar... no checking for ar... ar checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... strip checking for correct ltmain.sh version... no *** Gentoo sanity check failed! *** *** libtool.m4 and ltmain.sh have a version mismatch! *** *** (libtool.m4 = 1.5.10, ltmain.sh = 1.5.6) *** Please run: libtoolize --copy --force if appropriate, please contact the maintainer of this package (or your distribution) for help. make: *** [config.status] Error 1 [2] emerge info Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 AMD Athlon(TM) Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#2, Feb 7 2005, 23:23:05)] ccache version 2.3 [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.5, 1.7.9-r1, 1.4_p6, 1.9.4, 1.6.3, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -pipe -mcpu=i686 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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/terminfo /etc/env.d" CXXFLAGS="-O2 -pipe -mcpu=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg distlocks fixpackages sandbox sfperms" GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.acm.cs.rpi.edu/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 3dnow X Xaw3d aac aalib accessibility acl acpi aim alsa apache2 apm arts audiofile avi berkdb bidi bitmap-fonts bonobo bootsplash bzlib cdr clamav crypt cups curl dillo doc dvd dvdr eds emacs encode esd evo exif f77 fam fbcon fftw flac flash font-server foomaticdb fortran freetype ftp gcj gd gdbm ggi gif gimp ginac glade glut gmp gnome gnomedb gnuplot gnustep gnutls gphoto2 gpm graphviz gs gsl gsnd gstreamer gtk gtk2 gtkhtml guile hal icq imagemagick imlib iodbc ipv6 jabber jack java jikes jpeg jpeg2k junit kde kerberos koffice-plugin latex lcms ldap leim libcaca libg++ libgda libwww mad mailwrapper mbox mhash mikmod mime ming mixer mmap mmx mng mono motif mozcalendar mozdevelop mozilla mp3 mpeg mplayer msn mule mysql ncurses nls nntp objc ocaml odbc ofx oggvorbis openal opengl oscar oss pam pcre pda pdf pdflib perl php png postgres povray ppds python qt quicktime quotes readline real ruby sasl sdl shared silc slang smartcard sndfile soap sox speex spell sqlite ssl svg svga t1lib tcltk tcpd tetex tga tidy tiff timidity transcode truetype truetype-fonts type1-fonts unicode v4l wmf wxwindows xforms xine xml xml2 xmms xpm xprint xrandr xsl xv xvid yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS