From grog@lemis.com  Tue Sep 17 22:01:41 2002
Return-Path: <grog@lemis.com>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A983937B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Sep 2002 22:01:41 -0700 (PDT)
Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1F23D43E7B
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 17 Sep 2002 22:01:40 -0700 (PDT)
	(envelope-from grog@lemis.com)
Received: by wantadilla.lemis.com (Postfix, from userid 1004)
	id E93DB81461; Wed, 18 Sep 2002 14:31:35 +0930 (CST)
Message-Id: <20020918050135.E93DB81461@wantadilla.lemis.com>
Date: Wed, 18 Sep 2002 14:31:35 +0930 (CST)
From: Greg 'groggy' Lehey <grog@lemis.com>
Reply-To: Greg 'groggy' Lehey <grog@lemis.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: autoconf14 insists on a specific version of perl, doesn't check dependency correctly
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         42917
>Category:       ports
>Synopsis:       autoconf14 insists on a specific version of perl, doesn't check dependency correctly
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    alane
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 17 22:10:02 PDT 2002
>Closed-Date:    Wed Sep 18 02:37:00 PDT 2002
>Last-Modified:  Wed Sep 18 02:37:00 PDT 2002
>Originator:     Greg 'groggy' Lehey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
LEMIS (SA) Pty Ltd
>Environment:
System: FreeBSD nameless 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Tue Sep 17 01:28:02 GMT 2002     root@:/src/FreeBSD/5-CURRENT-WANTADILLA/src/sys/i386/compile/GENERIC  i386

	Base install after upgrading from virgin 4.6.2.
	perl5.8 installed (see PR 42863)

>Description:

	When installing ports which depend on automake14, you get the
	following messages:

	===>  Extracting for mutt-1.4
	>> Checksum OK for mutt/mutt-1.4i.tar.gz.
	>> Checksum OK for mutt/patch-1.4.rr.compressed.1.gz.
	>> Checksum OK for mutt/patch-1.4.vvv.initials.gz.
	===>   mutt-1.4 depends on executable: automake14 - found
	===>   mutt-1.4 depends on executable: autoconf213 - found
	===>   mutt-1.4 depends on shared library: intl.4 - found
	===>  Patching for mutt-1.4
	===>  Applying distribution patches for mutt-1.4
	===>  Applying FreeBSD patches for mutt-1.4
	===>  Configuring for mutt-1.4
	env: automake14: No such file or directory
	*** Error code 127

	This is particularly frustrating because it's not obvious
	what's wrong: /usr/local/bin/automake is there and should be
	in the PATH.  For some reason, ktrace also doesn't trace the
	process that runs into the problem.

>How-To-Repeat:
	Try to install mail/mutt, emulators/linux_base-6 or doubtless
	countless others.

>Fix:

	--- automake14~ Wed Sep 18 11:27:46 2002
	+++ automake14  Wed Sep 18 14:18:34 2002
	@@ -1,4 +1,4 @@
	-#!/usr/local/bin/perl5.6.1
	+#!/usr/local/bin/perl
	 # -*- perl -*-
	 # Generated automatically from automake.in by configure.

	 This seems to work for me, anyway.  It's possible that the
	 wrong version of perl might still cause it to crash, but it
	 works for mutt (another bug causes linux_base-6 not to
	 build).
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->	 alane 
Responsible-Changed-By: alane 
Responsible-Changed-When: Wed Sep 18 01:03:07 PDT 2002 
Responsible-Changed-Why:  
to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42917 

From: AlanE <alane@geeksrus.net>
To: "Greg 'groggy' Lehey" <grog@lemis.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/42917: autoconf14 insists on a specific version of perl, doesn't check dependency correctly
Date: Wed, 18 Sep 2002 04:05:38 -0400

 On Wed, Sep 18, 2002 at 02:31:35PM +0930, Greg 'groggy' Lehey wrote:
 >
 >>Number:         42917
 >>Category:       ports
 >>Synopsis:       autoconf14 insists on a specific version of perl, doesn't check dependency correctly
 
 >	--- automake14~ Wed Sep 18 11:27:46 2002
 >	+++ automake14  Wed Sep 18 14:18:34 2002
 >	@@ -1,4 +1,4 @@
 >	-#!/usr/local/bin/perl5.6.1
 >	+#!/usr/local/bin/perl
 >	 # -*- perl -*-
 >	 # Generated automatically from automake.in by configure.
 >
 >	 This seems to work for me, anyway.  It's possible that the
 >	 wrong version of perl might still cause it to crash, but it
 >	 works for mutt (another bug causes linux_base-6 not to
 >	 build).
 
 Nope. Notice two lines lower: Generated automatically ... by configure.
 So whatever it has to be patched upstream in automake.in or in
 configure.in itself. I'll sort it out.
 -- 
 Alan Eldridge
 Unix/C(++) IT Pro, 20 yrs, seeking new employment.
 (http://wwweasel.geeksrus.net/~alane/resume.txt)
 KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/)
State-Changed-From-To: open->closed 
State-Changed-By: alane 
State-Changed-When: Wed Sep 18 02:36:10 PDT 2002 
State-Changed-Why:  
Fixed, along with a few other bugs swatted. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=42917 
>Unformatted:
