Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286811 - net-libs/courier-authlib-0.62.2 and libtool-2.2.6a: version mismatch error
Summary: net-libs/courier-authlib-0.62.2 and libtool-2.2.6a: version mismatch error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 18:07 UTC by Christian Wilken
Modified: 2010-10-10 17:58 UTC (History)
0 users

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


Attachments
fixes config.status problem (fix-old-deps.patch,1.82 KB, patch)
2009-09-30 18:49 UTC, Rafał Mużyło
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Wilken 2009-09-28 18:07:41 UTC
Trying to emerge courier-authlib-0.62.2 I'm getting this:

[...]
./libtool: line 111: CDPATH: command not found
touch dummy
config.status: creating makeuserdb.html
libtool: Version mismatch error.  This is libtool 2.2.6, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6
libtool: and run autoconf again.
make[3]: *** [libuserdb.la] Error 63
make[3]: *** Waiting for unfinished jobs....
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: creating userdb.html
config.status: executing depfiles commands
config.status: creating userdbpw.html
config.status: executing libtool commands
config.status: executing depfiles commands
config.status: executing libtool commands
make[3]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.62.2/work/courier-authlib-0.62.2/userdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.62.2/work/courier-authlib-0.62.2/userdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-libs/courier-authlib-0.62.2/work/courier-authlib-0.62.2'
make: *** [all] Error 2
 * 
 * ERROR: net-libs/courier-authlib-0.62.2 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 3125:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   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/tmp/portage/net-libs/courier-authlib-0.62.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/courier-authlib-0.62.2/temp/environment'.
 * 

>>> Failed to emerge net-libs/courier-authlib-0.62.2, Log file:

>>>  '/var/tmp/portage/net-libs/courier-authlib-0.62.2/temp/build.log'


Reproducible: Always

Steps to Reproduce:
1. emerge courier-authlib

Actual Results:  
emerge courier-authlib failed with libtool error(s)

Expected Results:  
emerge courier-authlib successfully

mainframe / # emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/server, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.31-gentoo x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 27 Sep 2009 20:25:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p28
dev-lang/python:     2.4.4-r13, 2.5.4-r3, 2.6.2-r1
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -Os -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -Os -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://mirror.uni-c.dk/pub/gentoo/ http://ftp.klid.dk/ftp/gentoo/ "
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="da en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gif gpm iconv imagemagick imap ipv6 isdnlog jpeg maildir mmx modules mudflap multilib mysql ncurses nls nptl nptlonly openmp pam pcre perl png postfix pppd python readline reflection samba sasl session slang spl sse sse2 sse3 ssl sysfs tcpd truetype unicode vhosts virus-scan winbind xml 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 mmap_emul mulaw multi null plug rate route share shm softvol" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="da en" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Wilken 2009-09-28 18:17:32 UTC
Actually this looks pretty much like this bug -> http://bugs.gentoo.org/show_bug.cgi?id=285144

I'll try to use libtool 1.5.26 and emerge courier-authlib again like this:
emerge -av1 =sys-devel/libtool-1.5.26 courier-authlib
Comment 2 Christian Wilken 2009-09-28 18:30:58 UTC
The workaround mentioned in comment #9 in bug #285144 worked... :)

http://bugs.gentoo.org/show_bug.cgi?id=285144#c9
Comment 3 Rafał Mużyło 2009-09-30 18:49:15 UTC
Created attachment 205715 [details, diff]
fixes config.status problem

The simplest solution - keyword 0.62.4 (treat this as STABLEREQ).

More complicated: 
- change in the ebuild the block with eautoreconf
to simply 'eautoreconf'
- sed command for configure.in to
" -e 's:AC_LIBLTDL_INSTALLABLE:AC_LIB_LTDL:' \
-e '/AC_CONFIG_SUBDIRS/s:libltdl::' "
- finally add this patch (before eautoreconf, obviously)
(this patch, accidentally, is the same thing upstream did in
0.62.4)
This is (probably) incompatible with libtool 1.5, but as
libtool 2 is stable, I really don't care.
Comment 4 Christian Wilken 2009-09-30 21:14:31 UTC
(In reply to comment #3)
> Created an attachment (id=205715) [edit]
> fixes config.status problem
> 
> The simplest solution - keyword 0.62.4 (treat this as STABLEREQ).

I have updated to 0.62.4 and it emerged without problems... :)

Anyone else wanting to do this should do the following:

echo "=net-libs/courier-authlib-0.62.4" >> /etc/portage/package.keywords
emerge -u courier-authlib
Comment 5 Hanno Böck gentoo-dev 2010-10-10 17:58:57 UTC
Seems this only happens in old courier-authlib versions, 0.62.4 is stabilized on major archs, so closing.