Bug 63455 - automake14 hard-codes /usr/bin/perl5.00503
Summary: automake14 hard-codes /usr/bin/perl5.00503
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ade Lovett
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-27 16:30 UTC by Kostyuk Oleg
Modified: 2004-04-03 02:08 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kostyuk Oleg 2004-02-27 16:30:18 UTC
	Upgrading 'rpm-3.0.6_8' to 'rpm-3.0.6_9' failed

Fix: 

Unknown.
How-To-Repeat: 	# cd /usr/ports/archivers/rpm 
	# make clean
	....
	# make all
	===>  Vulnerability check disabled
	===>  Extracting for rpm-3.0.6_9
	>> Checksum OK for rpm-3.0.6.tar.gz.
	===>  Patching for rpm-3.0.6_9
	===>  Applying FreeBSD patches for rpm-3.0.6_9
	===>   rpm-3.0.6_9 depends on executable: gmake - found
	===>   rpm-3.0.6_9 depends on file: /usr/local/libexec/automake14/automake - found
	===>   rpm-3.0.6_9 depends on file: /usr/local/libexec/autoconf213/autoconf - found
	===>   rpm-3.0.6_9 depends on file: /usr/local/libexec/libtool13/libtool - found
	===>   rpm-3.0.6_9 depends on shared library: popt.0 - found
	===>   rpm-3.0.6_9 depends on shared library: intl.6 - found
	===>  Configuring for rpm-3.0.6_9
	env: /usr/local/libexec/automake14/automake: No such file or directory
	*** Error code 127

	Stop in /mnt/digma0/ports/archivers/rpm.
	
	
	
	Same result when using portupgrade:
	
	===>  Configuring for rpm-3.0.6_9
	env: /usr/local/libexec/automake14/automake: No such file or directory
	*** Error code 127

	Stop in /mnt/digma0/ports/archivers/rpm.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade932.0 make
	** Fix the problem and try again.
	** The following packages were not installed or upgraded (*:skipped / !:failed)
	        ! archivers/rpm (rpm-3.0.6_8)   (unknown build error)


	But, in fact, file exists:

	# ls -l /usr/local/libexec/automake14/automake
	lrwxrwxrwx  1 root  wheel  25 Apr 26  2003 /usr/local/libexec/automake14/automake -> /usr/local/bin/automake14
	# ls -l /usr/local/bin/automake14
	-r-xr-xr-x  1 root  wheel  199470 Apr 20  2003 /usr/local/bin/automake14

	

	Note: ports tree cvsup'ed daily and all installed ports fresh
Comment 1 Kris Kennaway 2004-03-06 12:51:01 UTC
On Fri, Feb 27, 2004 at 06:25:09PM +0200, Kostyuk Oleg wrote:

> 	# ls -l /usr/local/bin/automake14
> 	-r-xr-xr-x  1 root  wheel  199470 Apr 20  2003 /usr/local/bin/automake14

This is a perl script with hardcoded version:

> head -1 /usr/local/bin/automake14
#!/usr/bin/perl5.00503

It can probably just be repointed to /usr/bin/perl, but there may be
problems with using it with later versions.

Kris

P.S. Please don't CC freebsd-ports-bugs with your PR submission, it
can cause duplicate PRs when people respond to the mailing list mail,
since it will also be resubmitted to freebsd-gnats-submit.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2004-03-06 12:51:13 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

Assign to automake14 maintainer
Comment 3 Ade Lovett freebsd_committer freebsd_triage 2004-03-15 03:44:24 UTC
On Sat, 2004-03-06 at 04:52, Kris Kennaway wrote:
> Old Synopsis: [PORTS: archivers/rpm] Upgrading 'rpm-3.0.6_8' to 'rpm-3.0.6_9' failed
> New Synopsis: automake14 hard-codes /usr/bin/perl5.00503

Actually, it doesn't -- from my copy (on one of my 5.x boxes):

  #!/usr/bin/perl5.8.2
  # -*- perl -*-
  # Generated automatically from automake.in by configure.

So, it's being generated at compile time, along with the appropriate
build and runtime dependency on perl via the USE_PERL variables.

I really can't see a problem here.

-aDe


> 
> Responsible-Changed-From-To: freebsd-ports-bugs->ade
> Responsible-Changed-By: kris
> Responsible-Changed-When: Sat Mar 6 04:51:13 PST 2004
> Responsible-Changed-Why: 
> Assign to automake14 maintainer
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=63455
>
Comment 4 Kostyuk Oleg 2004-04-02 10:36:45 UTC
Close this PR, please.

I successfully update rpm from 3.0.6_8 to 3.0.6_9
around 15 Mar.

-- 
With best wishes, DIGMA sysadmin
Oleg Kostyuk aka Cub (OK5-UANIC)
[BSD registered user #BSD050664]
Comment 5 Ade Lovett freebsd_committer freebsd_triage 2004-04-03 02:08:08 UTC
State Changed
From-To: open->closed

Closed at submitters request.