Bug 69097

Summary: portupgrade's portsdb can't run without Perl, but doesn't install it under FreeBSD 5.x.
Product: Ports & Packages Reporter: James Snow <snow>
Component: Individual Port(s)Assignee: Akinori MUSHA <knu>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description James Snow 2004-07-15 14:20:20 UTC
The 'portsdb' part of 'portupgrade' requires Perl (in a roundabout way) but the portupgrade port doesn't install it.

Fix: 

cd /usr/ports/lang/perl5 && make install
How-To-Repeat: On a freshly installed system, cd /usr/ports/sysutils/portupgrade && make install && rehash && portsdb -Uu

Or, move all instances of Perl out of your path and run portsdb:

laptop# portsdb -Uu
Updating the ports index ... Generating INDEX.tmp - please wait..perl: not found
===> arabic/ae_fonts_mono failed
*** Error code 1
perl: not found
===> accessibility/at-spi failed
*** Error code 1
2 errors

********************************************************************
Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection (INDEX builds are
not supported with partial or out-of-date ports collections).  If
so, then report the failure to ports@FreeBSD.org together with
relevant details of your ports configuration (including FreeBSD
version, environment and /etc/make.conf settings).
********************************************************************

*** Error code 1

Stop in /usr/ports.
*** Error code 1

Stop in /usr/ports.
failed to generate INDEX!
portsdb: index generation error
Comment 1 eivind freebsd_committer freebsd_triage 2004-07-15 14:56:46 UTC
Responsible Changed
From-To: freebsd-ports-bugs->knu

Assign to maintainer (knu)
Comment 2 Florent Thoumie freebsd_committer freebsd_triage 2005-06-06 00:50:12 UTC
State Changed
From-To: open->closed

I just added perl to the dependency list, thanks for your 
report.