Bug 42917

Summary: autoconf14 insists on a specific version of perl, doesn't check dependency correctly
Product: Ports & Packages Reporter: Greg Lehey <grog>
Component: Individual Port(s)Assignee: Alan Eldridge <alane>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Greg Lehey 2002-09-18 06:10:02 UTC
	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.

Fix: 

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).--TXSWujwxlzQSIaC03ntweedCHq0NKnKQQybhxTpwe2fqloKK
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- 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.
How-To-Repeat: 	Try to install mail/mutt, emulators/linux_base-6 or doubtless
	countless others.
Comment 1 Alan Eldridge freebsd_committer freebsd_triage 2002-09-18 09:03:07 UTC
Responsible Changed
From-To: freebsd-ports->	 alane

to maintainer.
Comment 2 Alan Eldridge 2002-09-18 09:05:38 UTC
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/)
Comment 3 Alan Eldridge freebsd_committer freebsd_triage 2002-09-18 10:36:10 UTC
State Changed
From-To: open->closed

Fixed, along with a few other bugs swatted.