From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 9 13:50:17 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 26F2116A41F for ; Sun, 9 Oct 2005 13:50:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E3D443D4C for ; Sun, 9 Oct 2005 13:50:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j99DoGSx062175 for ; Sun, 9 Oct 2005 13:50:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j99DoG4L062174; Sun, 9 Oct 2005 13:50:16 GMT (envelope-from gnats) Resent-Date: Sun, 9 Oct 2005 13:50:16 GMT Resent-Message-Id: <200510091350.j99DoG4L062174@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Brian Candler Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE93716A41F for ; Sun, 9 Oct 2005 13:46:39 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn.pobox.com (thorn.pobox.com [208.210.124.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5ED2943D45 for ; Sun, 9 Oct 2005 13:46:39 +0000 (GMT) (envelope-from b.candler@pobox.com) Received: from thorn (localhost [127.0.0.1]) by thorn.pobox.com (Postfix) with ESMTP id 2959AB0 for ; Sun, 9 Oct 2005 09:27:27 -0400 (EDT) Received: from billdog.local.linnet.org (dsl-212-74-113-66.access.uk.tiscali.com [212.74.113.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by thorn.sasl.smtp.pobox.com (Postfix) with ESMTP id E53DA5324 for ; Sun, 9 Oct 2005 09:27:26 -0400 (EDT) Received: from brian by billdog.local.linnet.org with local (Exim 4.50 (FreeBSD)) id 1EOYBH-0002nH-Vy for FreeBSD-gnats-submit@freebsd.org; Sun, 09 Oct 2005 11:13:23 +0100 Message-Id: Date: Sun, 09 Oct 2005 11:13:23 +0100 From: Brian Candler To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/87162: devel/libtool15 installs aclocal files in wrong place? X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Brian Candler List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 13:50:17 -0000 >Number: 87162 >Category: ports >Synopsis: devel/libtool15 installs aclocal files in wrong place? >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Oct 09 13:50:16 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Brian Candler >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD XXXX 5.4-STABLE FreeBSD 5.4-STABLE #3: Fri May 13 10:01:59 BST 2005 root@XXXX:/usr/obj/usr/src/sys/BILLDOG i386 >Description: devel/libtool15 installs its aclocal files under /usr/local/share/aclocal instead of /usr/local/share/aclocal19 As a result, they can't be found when they're needed. >How-To-Repeat: # cd /usr/ports/devel/autoconf259 # make all install # cd /usr/ports/devel/automake19 # make all install # cd /usr/ports/devel/libtool15 # make all install # pkg_info -L libtool-1.5\* ... notice: /usr/local/share/aclocal/libtool15.m4 /usr/local/share/aclocal/ltdl15.m4 Now try to build a package which requires libtool (this example is the 'bdbobj' subdirectory of the 'courier-imap' package) [brian@billdog bdbobj]$ libtoolize15 --force You should add the contents of `/usr/local/share/aclocal/libtool15.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `..'. [brian@billdog bdbobj]$ aclocal19 /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK [brian@billdog bdbobj]$ autoheader259 [brian@billdog bdbobj]$ autoconf259 configure.in:19: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. [brian@billdog bdbobj]$ automake19 --foreign --add-missing Makefile.am:14: Libtool library used but `LIBTOOL' is undefined Makefile.am:14: Makefile.am:14: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' Makefile.am:14: to `configure.in' and run `aclocal' and `autoconf' again. [brian@billdog bdbobj]$ Note the warning from configure.in:19 (the AC_PROG_LIBTOOL macro remains in the 'configure' output, unexpanded), and that automake fails, returning with a non-zero exit code. >Fix: Workaround: # cd /usr/local/share/aclocal19 # ln -s ../aclocal/libtool15.m4 . # ln -s ../aclocal/ltdl15.m4 . Running the same test as above then gives: [brian@billdog bdbobj]$ libtoolize15 --force You should add the contents of `/usr/local/share/aclocal/libtool15.m4' to `aclocal.m4'. Putting files in AC_CONFIG_AUX_DIR, `..'. [brian@billdog bdbobj]$ aclocal19 /usr/X11R6/share/aclocal/xmms.m4:17: warning: underquoted definition of XMMS_TEST_VERSION run info '(automake)Extending aclocal' or see http://sources.redhat.com/automake/automake.html#Extending-aclocal /usr/X11R6/share/aclocal/xmms.m4:62: warning: underquoted definition of AM_PATH_XMMS /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GTK [brian@billdog bdbobj]$ autoheader259 [brian@billdog bdbobj]$ autoconf259 [brian@billdog bdbobj]$ automake19 --foreign --add-missing [brian@billdog bdbobj]$ I don't know enough about the autoconf tools to suggest the right solution; maybe libtool15 could install its files under /usr/local/share/aclocal19, but then libtool15 would be tied to this particular version of automake. >Release-Note: >Audit-Trail: >Unformatted: