Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 506384 - dev-libs/apr-1.5.0-r2 with sys-devel/libtool-2.4-r1 - libtool: Version mismatch error. This is libtool 2.4, but the definition of this LT_INIT comes from libtool 2.4.2.
Summary: dev-libs/apr-1.5.0-r2 with sys-devel/libtool-2.4-r1 - libtool: Version mismat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-31 17:27 UTC by Maciej S. Szmigiero
Modified: 2014-04-03 16:26 UTC (History)
2 users (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 Maciej S. Szmigiero 2014-03-31 17:27:35 UTC
dev-libs/apr-1.5.0-r2 seems to need at least sys-devel/libtool-2.4.2 installed in order to build successfully.



Reproducible: Always

Steps to Reproduce:
1. Have sys-devel/libtool-2.4-r1 installed (probably any version < 2.4.2)
2. emerge =dev-libs/apr-1.5.0-r2

Actual Results:  
libs/apr-1.5.0-r2/work/apr-1.5.0/include/apr_version.h /var/tmp/portage/dev-libs/apr-1.5.0-r2/work/apr-1.5.0/include/apr_want.h > exports.c
libtool: Version mismatch error.  This is libtool 2.4, but the
libtool: definition of this LT_INIT comes from libtool 2.4.2.
libtool: You should recreate aclocal.m4 with macros from libtool 2.4
libtool: and run autoconf again.
/var/tmp/portage/dev-libs/apr-1.5.0-r2/work/apr-1.5.0/build/apr_rules.mk:206: recipe for target 'tools/gen_test_char.lo' failed
make[1]: *** [tools/gen_test_char.lo] Error 63
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/var/tmp/portage/dev-libs/apr-1.5.0-r2/work/apr-1.5.0'


Expected Results:  
Package should build.
Comment 1 ahudson.news 2014-04-01 11:38:02 UTC
I can confirm this issue, same problem here (on test-stable default/linux/amd64/13.0).

Root cause is a combination of:
- sys-devel/libtool-2.4.2 fails tests (#391305), therefore is masked locally
- dev-libs/apr-1.5.0-r2 is missing the required dependency on libtool-2.4.2
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-04-01 16:29:00 UTC
+  01 Apr 2014; Lars Wendler <polynomial-c@gentoo.org> apr-1.5.0-r2.ebuild:
+  Added dependency on libtool (bug #506384).
+
Did the same for dev-libs/apr-util
Comment 3 Maciej S. Szmigiero 2014-04-03 16:26:12 UTC
Thanks.