Subject: pkg/24391: new libtool causes libwww to fail to build correctly
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 02/11/2004 11:38:09
>Number:         24391
>Category:       pkg
>Synopsis:       new libtool causes libwww to fail to build correctly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 11 19:39:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Using libtool-base-1.4.20010614nb18, www/libwww configured and built and
installed fine.
Then I installed libtool-base-1.5.2nb2.

And www/libwww failed with:

===> Configuring for libwww-5.4.0nb1
cd /usr/pkg/tmp/pkgsrc/www/libwww/work.rainier/w3c-libwww-5.4.0;  /usr/pkg/bin/aclocal-1.4 &&  /usr/pkg/bin/automake-1.4 -i &&  /usr/pkg/bin/autoconf-2.13
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
*** Error code 2

On another system that has new libtool, I forced it to use
newer autoconf, and it built but all the .so files were installed
without the ".so" part of filename. Also, then glibwww failed to build
due to problems with the shared libraries.

>How-To-Repeat:
Upgrade to new libtool and try to build and install and use libwww.
>Fix:
Nick Hudson suggested in an off-list email that someone should
regenerate whatever's needed with the right auto* tools and
libtool<1.5 and commit the diffs.

Gentoo uses these two patches:

http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-libs/libwww/files/libwww-config-liborder.patch?rev=1.1 
and

ftp://ibiblio.org/pub/Linux/distributions/gentoo/distfiles/libwww-5.4.0-debian-autoconf-2.5.patch.bz2 (or other mirror)

I haven't looked yet.
>Release-Note:
>Audit-Trail:
>Unformatted: