Bug 169927 - dev-libs/apr-util-0.9.12-r1 multilib strict failure (ignores ./configure --libdir parameter)
Bug#: 169927 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: apache-bugs@gentoo.org Reported By: aballier@gentoo.org
Component: Applications
URL: 
Summary: dev-libs/apr-util-0.9.12-r1 multilib strict failure (ignores ./configure --libdir parameter)
Keywords:  
Status Whiteboard: 
Opened: 2007-03-08 12:09 0000
Description:   Opened: 2007-03-08 12:09 0000
when autoconf 2.61 is used to regenerate ./configure script, it ignores the
--libdir parameter, whatever you give him it sets it to $exec_prefix/lib what
causes multilib scrict failures.



its configure.in contains : AC_PREREQ(2.13)

what fixed it for me was to force using autoconf 2.1 (& automake 1.8 for
aclocal, newer versions will cause an aclocal error about autom4te).

snippet : 

WANT_AUTOMAKE=1.8
WANT_AUTOCONF=2.1

------- Comment #1 From Christian Heim (RETIRED) 2007-03-08 13:44:58 0000 -------
(In reply to comment #0)
> when autoconf 2.61 is used to regenerate ./configure script, it ignores the
> --libdir parameter, whatever you give him it sets it to $exec_prefix/lib what
> causes multilib scrict failures.
> 
> 
> 
> its configure.in contains : AC_PREREQ(2.13)
> 
> what fixed it for me was to force using autoconf 2.1 (& automake 1.8 for
> aclocal, newer versions will cause an aclocal error about autom4te).
> 
> snippet : 
> 
> WANT_AUTOMAKE=1.8
> WANT_AUTOCONF=2.1

Fixed now, hopefully won't break again :S

------- Comment #2 From Marcus D. Hanwell 2007-03-08 16:55:33 0000 -------
Now I am getting the error * Failed Running aclocal ! This is on a fresh
install I am building using ~amd64. The relevant line of the .out file seems to
be

ac-wrapper: Autoconf 2.13 doesn't contain autom4te.
            Either unset WANT_AUTOCONF or don't execute anything
            that would use autom4te.
aclocal-1.8: autom4te failed with exit status: 1

Removing the WANT_* allows it to build but as Alexis points out I get
multilib-strict failures. Can anyone else reproduce the failure I am seeing or
is it some problem with my new install possibly?

------- Comment #3 From Marcus D. Hanwell 2007-03-08 17:00:55 0000 -------
Should have thought of this before posting, setting WANT_AUTOMAKE=1.7 fixes it
for me and I don't get the multilib-strict failure. Can anyone else confirm
this? This is on a fresh ~amd64 (started updating/compiling yesterday).

------- Comment #4 From Christian Heim (RETIRED) 2007-03-08 18:13:27 0000 -------
*** Bug 169975 has been marked as a duplicate of this bug. ***

------- Comment #5 From Christian Heim (RETIRED) 2007-03-08 18:20:01 0000 -------
(In reply to comment #3)
> Should have thought of this before posting, setting WANT_AUTOMAKE=1.7 fixes it
> for me and I don't get the multilib-strict failure. Can anyone else confirm
> this? This is on a fresh ~amd64 (started updating/compiling yesterday).

Fixed now, finally.

------- Comment #6 From Jakub Moc (RETIRED) 2007-03-08 20:20:30 0000 -------
*** Bug 169983 has been marked as a duplicate of this bug. ***