From nobody@FreeBSD.org  Thu Jul 15 13:15:46 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B3E1A16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Jul 2004 13:15:46 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AE18343D2F
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Jul 2004 13:15:46 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i6FDFkGv048850
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 15 Jul 2004 13:15:46 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i6FDFkaq048849;
	Thu, 15 Jul 2004 13:15:46 GMT
	(envelope-from nobody)
Message-Id: <200407151315.i6FDFkaq048849@www.freebsd.org>
Date: Thu, 15 Jul 2004 13:15:46 GMT
From: James Snow <snow@teardrop.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: portupgrade's portsdb can't run without Perl, but doesn't install it under FreeBSD 5.x.
X-Send-Pr-Version: www-2.3

>Number:         69097
>Category:       ports
>Synopsis:       portupgrade's portsdb can't run without Perl, but doesn't install it under FreeBSD 5.x.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    knu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 15 13:20:20 GMT 2004
>Closed-Date:    Sun Jun 05 23:50:21 GMT 2005
>Last-Modified:  Sun Jun 05 23:50:21 GMT 2005
>Originator:     James Snow
>Release:        5.2.1-p9
>Organization:
>Environment:
FreeBSD laptop.teardrop.org 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #1: Thu Jul 15 01:12:40 EDT 2004     root@laptop.teardrop.org:/usr/obj/usr/src/sys/LAPTOP  i38
>Description:
The 'portsdb' part of 'portupgrade' requires Perl (in a roundabout way) but the portupgrade port doesn't install it.
>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

>Fix:
cd /usr/ports/lang/perl5 && make install

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->knu 
Responsible-Changed-By: eivind 
Responsible-Changed-When: Thu Jul 15 13:56:46 GMT 2004 
Responsible-Changed-Why:  
Assign to maintainer (knu) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=69097 
State-Changed-From-To: open->closed 
State-Changed-By: flz 
State-Changed-When: Sun Jun 5 23:50:12 GMT 2005 
State-Changed-Why:  
I just added perl to the dependency list, thanks for your 
report. 

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