Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225579 - dev-libs/libhome-0.10.1 - libtool.m4 and ltmain.sh version mismatch
Summary: dev-libs/libhome-0.10.1 - libtool.m4 and ltmain.sh version mismatch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Diego Elio Pettenò (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-09 13:45 UTC by hexa
Modified: 2008-06-10 10:29 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 hexa 2008-06-09 13:45:52 UTC
Emerge fails. Ebuild should be fixed.

Reproducible: Always

Steps to Reproduce:
emerge libhome

Actual Results:  
failed emerge

Expected Results:  
instalation of libhome
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-09 14:47:56 UTC
Please provide both a build log and your emerge --info.
Comment 2 hexa 2008-06-09 15:30:23 UTC
ibm1 etc # emerge --info
Portage 2.1.4.4 (hardened/linux/amd64/2008.0, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r12ISG x86_64)
=================================================================
System uname: 2.6.23-hardened-r12ISG x86_64 Intel(R) Xeon(R) CPU E5320 @ 1.86GHz
Timestamp of tree: Mon, 09 Jun 2008 14:34:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.10.1
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=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ ftp://mirror.ovh.net/gentoo-distfiles/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://de-mirror.org/distro/gentoo/ ftp://de-mirror.org/distro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ "
MAKEOPTS="-j5"
PKGDIR="/usr/portage/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="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups dri fam gdbm gpm hardened hpn iconv isdnlog justify midi mmx mudflap multilib ncurses nls nptl nptlonly pam pcre perl pic pppd python readline reflection session spl sse sse2 ssl tcpd threads unicode urandom xorg 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 asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="alias auth_basic auth_digest authn_alias authn_anon authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache filter deflate dir expires file_cache env headers include info log_config logio mime mime_magic negotiation rewrite setenvif status unique_id userdir vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 hexa 2008-06-09 15:40:11 UTC
>>> Emerging (1 of 3) dev-libs/libhome-0.10.1 to /
 * libhome-0.10.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                           [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                         [ ok ]
 * checking libhome-0.10.1.tar.gz ;-) ...                                                                                                      [ ok ]
>>> Unpacking source...
>>> Unpacking libhome-0.10.1.tar.gz to /var/tmp/portage/dev-libs/libhome-0.10.1/work
 * Applying libhome-0.10.1-Makefile.patch ...                                                                                                  [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-libs/libhome-0.10.1/work/libhome-0.10.1' ...
 * Running aclocal ...                                                                                                                         [ ok ]
 * Running libtoolize --copy --force ...                                                                                                       [ ok ]
 * Running aclocal ...                                                                                                                         [ ok ]
 * Running autoconf ...                                                                                                                        [ ok ]
 * Running autoheader ...                                                                                                                      [ ok ]
 * Running elibtoolize in: libhome-0.10.1
 *   Applying install-sh-1.5.patch ...
 *   Applying portage-1.5.10.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying uclibc-ltconf-1.3.0.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-libs/libhome-0.10.1/work/libhome-0.10.1 ...
 * Found db version 4.5
include version 4.5
 * econf: updating libhome-0.10.1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating libhome-0.10.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --without-db3 --with-db4=/usr/include/db4.5 --without-ldap --with-mysql --without-pam --without-pgsql --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 98304
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
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.26, ltmain.sh = ) ***

Please run:

  libtoolize --copy --force

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


!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-libs/libhome-0.10.1/work/libhome-0.10.1/config.log
 * 
 * ERROR: dev-libs/libhome-0.10.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2908:  Called econf 'src_compile' 'src_compile' '--without-db3' '--with-db4=/usr/include/db4.5' '--without-ldap' '--with-mysql'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/libhome-0.10.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libhome-0.10.1/temp/environment'.
 * 

 * Messages for package dev-libs/libhome-0.10.1:

 * 
 * ERROR: dev-libs/libhome-0.10.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2908:  Called econf 'src_compile' 'src_compile' '--without-db3' '--with-db4=/usr/include/db4.5' '--without-ldap' '--with-mysql'
 *               ebuild.sh, line  513:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/libhome-0.10.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libhome-0.10.1/temp/environment'.
Comment 4 hexa 2008-06-09 15:41:38 UTC
It;s a really simple fix.
See here:
http://thread.gmane.org/gmane.linux.gentoo.devel/23449
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 15:45:12 UTC
It's a valid bug, I'll see to tackle it, found the reason just now.
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 15:45:39 UTC
Nah not so simple fix, there's a stupid hack in the configure.in, I'll fix it in a second.
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-09 15:49:44 UTC
(In reply to comment #6)
> Nah not so simple fix, there's a stupid hack in the configure.in, I'll fix it
> in a second.

Great. I'll assign to you then.
Comment 8 hexa 2008-06-09 15:57:29 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Nah not so simple fix, there's a stupid hack in the configure.in, I'll fix it
> > in a second.
> 
> Great. I'll assign to you then.
> 

How long does it usually take for new/fixed ebuild to become available to all portage mirrors?
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 15:59:26 UTC
Fixed in CVS and should appear within a couple of hours I think. I didn't do a revbump anyway.
Comment 10 hexa 2008-06-09 19:03:23 UTC
Is it just me or the patch uses wrong file path?

ibm1 ~ # cat /var/tmp/portage/dev-libs/libhome-0.10.1/temp/libhome-0.10.1-fixlt.patch-15822.out
***** libhome-0.10.1-fixlt.patch *****

======================================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-libs/libhome/files/libhome-0.10.1-fixlt.patch

======================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libhome-0.10.1/configure.in
|===================================================================
|--- libhome-0.10.1.orig/configure.in
|+++ libhome-0.10.1/configure.in
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-libs/libhome/files/libhome-0.10.1-fixlt.patch

======================================
patching file configure.in
Hunk #1 FAILED at 21.
1 out of 1 hunk FAILED -- saving rejects to file configure.in.rej
======================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-libs/libhome/files/libhome-0.10.1-fixlt.patch

======================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libhome-0.10.1/configure.in
|===================================================================
|--- libhome-0.10.1.orig/configure.in
|+++ libhome-0.10.1/configure.in
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-libs/libhome/files/libhome-0.10.1-fixlt.patch

======================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libhome-0.10.1/configure.in
|===================================================================
|--- libhome-0.10.1.orig/configure.in
|+++ libhome-0.10.1/configure.in
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-libs/libhome/files/libhome-0.10.1-fixlt.patch

======================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: libhome-0.10.1/configure.in
|===================================================================
|--- libhome-0.10.1.orig/configure.in
|+++ libhome-0.10.1/configure.in
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Comment 11 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-09 19:28:21 UTC
Yep, there was a problem with the patch, should be fine now (damn CVS keywords).
Comment 12 hexa 2008-06-10 09:18:04 UTC
I hate to bother you again, but I waited whole night before i reopened it. It seems it's exactly the same.

This is what i did just to be sure i got new ebuild and all.

----
ibm1 ~ # rm -rf /usr/tmp/portage/*                       
ibm1 ~ # rm -rf /usr/portage/distfiles/*
ibm1 ~ # rm /usr/portage/dev-libs/libh
libhash/      libhome/      libhtmlparse/ 
ibm1 ~ # rm /usr/portage/dev-libs/libhome/*
rm: cannot remove `/usr/portage/dev-libs/libhome/files': Is a directory
ibm1 ~ # rm /usr/portage/dev-libs/libhome/* -rf
ibm1 ~ # emerge --sync
.....
dev-libs/libhome/files/
dev-libs/libhome/files/libhome-0.10.1-Makefile.patch
dev-libs/libhome/files/libhome-0.10.1-fixlt.patch

Number of files: 125903
Number of files transferred: 6
Total file size: 159705316 bytes
Total transferred file size: 7561 bytes
Literal data: 7561 bytes
Matched data: 0 bytes
File list size: 3078248
File list generation time: 190.696 seconds
File list transfer time: 0.000 seconds
Total bytes sent: 309
Total bytes received: 3086560

sent 309 bytes  received 3086560 bytes  15709.26 bytes/sec
total size is 159705316  speedup is 51.74

>>> Updating Portage cache:  100%
ibm1 ~ # emerge mod_vhs -av

>>> Unpacking source...
>>> Unpacking libhome-0.10.1.tar.gz to /var/tmp/portage/dev-libs/libhome-0.10.1/work
 * Applying libhome-0.10.1-Makefile.patch ...                                                                                                               [ ok ]
 * Applying libhome-0.10.1-fixlt.patch ...

 * Failed Patch: libhome-0.10.1-fixlt.patch !
 *  ( /usr/portage/dev-libs/libhome/files/libhome-0.10.1-fixlt.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-libs/libhome-0.10.1/temp/libhome-0.10.1-fixlt.patch-17651.out

 * 
 * ERROR: dev-libs/libhome-0.10.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2931:  Called epatch 'src_unpack'
 *             environment, line 1792:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: libhome-0.10.1-fixlt.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-libs/libhome-0.10.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libhome-0.10.1/temp/environment'.
 * 
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-10 09:23:37 UTC
Oh sh... they also use $Revision: $ -_-;
so of course it works on my end but once I commit the file is changed. Funny that it's not hit by Manifest changing first.

I'll see to make the change with sed if I can..
Comment 14 hexa 2008-06-10 09:35:31 UTC
(In reply to comment #13)
> Oh sh... they also use $Revision: $ -_-;
> so of course it works on my end but once I commit the file is changed. Funny
> that it's not hit by Manifest changing first.
> 
> I'll see to make the change with sed if I can..
> 

Please make it available to everyone a.s.a.p. My cluster install is being delayed by this for the second day. :-( This is not a critic, since this is the fastest response i ever got on on bugs.gentoo.org. Thank you. :-)

Comment 15 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-10 09:39:25 UTC
I committed a version of the ebuild using sed instead of patching configure.in. I _hope_ it works now but to avoid bad luck... I'll leave to you closing the bug ;)
Comment 16 hexa 2008-06-10 10:29:53 UTC
>>> dev-libs/libhome-0.10.1 merged.
Bug closed.
:-)