Subject: pkg/24404: new libtool breaks automake14
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <dholland@eecs.harvard.edu>
List: netbsd-bugs
Date: 02/12/2004 17:13:05
>Number:         24404
>Category:       pkg
>Synopsis:       new libtool breaks automake14
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 12 22:14:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     David A. Holland <dholland@eecs.harvard.edu>
>Release:        NetBSD 1.6ZG (20031215)
>Organization:
   - David A. Holland / dholland@eecs.harvard.edu
>Environment:
System: NetBSD flurgle 1.6ZG NetBSD 1.6ZG (VINOLAB) #6: Mon Dec 15 20:30:08 EST 2003  dholland@flurgle:/usr/src/sys/arch/i386/compile/VINOLAB i386
Architecture: i386
Machine: i386

pkgsrc updated from anoncvs today (20040212).

>Description:

Yesterday I updated libtool (from yesterday's anoncvs) because
audit-packages said so, and now www/libwww won't compile, like this:

   cd /usr/pkgsrc/www/libwww/work/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

This appears to be because when aclocal-1.4 runs, it includes stuff
from /usr/pkg/share/aclocal/libtool.m4, which comes from the new
libtool, and this defines AC_LIBTOOL_SETUP like this:

	AC_DEFUN([AC_LIBTOOL_SETUP],
	[AC_PREREQ(2.50)dnl

This ends up in libwww's aclocal.m4, and then, of course,
autoconf-2.13 bombs out. (Needless to say, autoconf 2.59 doesn't work
with this package.)

I rebuilt automake14 and both autoconf213 and autoconf, just in case,
but, unsurprisingly, this didn't help. (I didn't rebuild libtool again
today, but cvs says it hasn't changed since yesterday.)

I imagine libwww isn't the only package affected, but who knows.

The libtool in question is 1.5.2nb2. pkg_info -b dumps follow:

Information for libtool-1.5.2nb2:

Build version:
devel/libtool/Makefile:# $NetBSD: Makefile,v 1.40 2004/02/05 20:14:06 skrll Exp $
devel/libtool/Makefile:# $NetBSD: Makefile,v 1.40 2004/02/05 20:14:06 skrll Exp $
devel/libtool/Makefile.common:# $NetBSD: Makefile.common,v 1.44 2004/02/08 11:21:58 skrll Exp $
devel/libtool/PLIST:@comment $NetBSD: PLIST,v 1.1 2001/11/01 01:24:46 zuntum Exp $
devel/libtool/buildlink2.mk:# $NetBSD: buildlink2.mk,v 1.4 2004/02/05 20:14:06 skrll Exp $
devel/libtool/buildlink3.mk:# $NetBSD: buildlink3.mk,v 1.2 2004/02/11 04:23:35 xtraeme Exp $
devel/libtool/distinfo:$NetBSD: distinfo,v 1.35 2004/02/08 11:21:58 skrll Exp $
devel/libtool/../libtool/patches/patch-aa:$NetBSD: patch-aa,v 1.33 2004/02/05 20:14:06 skrll Exp $
devel/libtool/../libtool/patches/patch-ab:$NetBSD: patch-ab,v 1.31 2004/02/08 11:21:58 skrll Exp $
devel/libtool/../libtool/patches/patch-ac:$NetBSD: patch-ac,v 1.10 2004/02/07 09:25:39 seb Exp $
devel/libtool/../libtool/patches/patch-ad:$NetBSD: patch-ad,v 1.7 2004/02/08 11:21:58 skrll Exp $


Information for libtool-base-1.5.2nb2:

Build version:
devel/libtool-base/Makefile:# $NetBSD: Makefile,v 1.25 2004/02/09 06:08:02 jlam Exp $
devel/libtool-base/Makefile:# $NetBSD: Makefile,v 1.25 2004/02/09 06:08:02 jlam Exp $
devel/libtool-base/PLIST:@comment $NetBSD: PLIST,v 1.6 2004/02/05 20:14:06 skrll Exp $
devel/libtool-base/../libtool/patches/patch-aa:$NetBSD: patch-aa,v 1.33 2004/02/05 20:14:06 skrll Exp $
devel/libtool-base/../libtool/patches/patch-ab:$NetBSD: patch-ab,v 1.31 2004/02/08 11:21:58 skrll Exp $
devel/libtool-base/../libtool/patches/patch-ac:$NetBSD: patch-ac,v 1.10 2004/02/07 09:25:39 seb Exp $
devel/libtool-base/../libtool/patches/patch-ad:$NetBSD: patch-ad,v 1.7 2004/02/08 11:21:58 skrll Exp $


Information for libtool-info-1.5.2nb2:

Build version:
devel/libtool-info/Makefile:# $NetBSD: Makefile,v 1.13 2004/02/05 20:14:06 skrll Exp $
devel/libtool-info/Makefile:# $NetBSD: Makefile,v 1.13 2004/02/05 20:14:06 skrll Exp $
devel/libtool-info/PLIST:@comment $NetBSD: PLIST,v 1.3 2003/06/23 11:29:28 seb Exp $
devel/libtool-info/../libtool/patches/patch-aa:$NetBSD: patch-aa,v 1.33 2004/02/05 20:14:06 skrll Exp $
devel/libtool-info/../libtool/patches/patch-ab:$NetBSD: patch-ab,v 1.31 2004/02/08 11:21:58 skrll Exp $
devel/libtool-info/../libtool/patches/patch-ac:$NetBSD: patch-ac,v 1.10 2004/02/07 09:25:39 seb Exp $
devel/libtool-info/../libtool/patches/patch-ad:$NetBSD: patch-ad,v 1.7 2004/02/08 11:21:58 skrll Exp $

>How-To-Repeat:

	cd /usr/pkgsrc/www/libwww && make update

>Fix:

I don't know enough about auto* tools to fix it (and I don't want to),
but it looks like it's time to branch libtool the way automake and
autoconf have been. :(
>Release-Note:
>Audit-Trail:
>Unformatted: