From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Dec 7 04:40:26 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 03F6916A4CE for ; Sun, 7 Dec 2003 04:40:26 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D356943FE0 for ; Sun, 7 Dec 2003 04:40:23 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id hB7CeNFY035756 for ; Sun, 7 Dec 2003 04:40:23 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id hB7CeN90035754; Sun, 7 Dec 2003 04:40:23 -0800 (PST) (envelope-from gnats) Resent-Date: Sun, 7 Dec 2003 04:40:23 -0800 (PST) Resent-Message-Id: <200312071240.hB7CeN90035754@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nik Clayton Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF21B16A4CE for ; Sun, 7 Dec 2003 04:32:20 -0800 (PST) Received: from crf-consulting.co.uk (82-44-220-218.cable.ubr10.haye.blueyonder.co.uk [82.44.220.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8367043F93 for ; Sun, 7 Dec 2003 04:32:19 -0800 (PST) (envelope-from nik@crf-consulting.co.uk) Received: from catkin.nothing-going-on.org (nik@localhost.nothing-going-on.org [127.0.0.1])hB7CWIis023220 for ; Sun, 7 Dec 2003 12:32:18 GMT (envelope-from nik@catkin.nothing-going-on.org) Received: (from nik@localhost)hB7CWIu3023219; Sun, 7 Dec 2003 12:32:18 GMT Message-Id: <200312071232.hB7CWIu3023219@catkin.nothing-going-on.org> Date: Sun, 7 Dec 2003 12:32:18 GMT From: Nik Clayton To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/60005: mkhtmlindex has unsatisfied Perl dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nik Clayton List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2003 12:40:26 -0000 >Number: 60005 >Category: ports >Synopsis: mkhtmlindex has unsatisfied Perl dependency >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Dec 07 04:40:23 PST 2003 >Closed-Date: >Last-Modified: >Originator: Nik Clayton >Release: FreeBSD 5.2-BETA i386 >Organization: >Environment: System: FreeBSD catkin.nothing-going-on.org 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Fri Dec 5 16:21:20 GMT 2003 nik@catkin.nothing-going-on.org:/local/2/usr/src/sys/compile/CATKIN i386 5.2BETA, installed from the mini-iso image, with a custom install that did not include Perl. >Description: devel/imake-4 has a USE_PERL5 dependency, causing it to install Perl if it's not already present. It includes a script, mkhtmlindex, which is written in Perl, and starts: #!/usr/bin/perl This will fail if the following conditions are met: 1. The system was installed without selecting Perl in sysinstall. 2. Perl was subsequently installed from ports/packages (perhaps automatically by devel/imake-4 to satisfy its dependencies). 3. "use.perl port" hasn't been run. In this case, /usr/bin/perl doesn't exist, and mkhtmlindex fails. A lot of X11 ports then fail to completely install. However, enough if the installation completes that subsequent dependency checks often succeed, so there's no attempt to reinstall them. This leaves the package database in an inconsistent state. >How-To-Repeat: Do steps 1, 2, and 3 above. >Fix: Patch mkhtmlindex so the shebang line is either: #!/usr/local/bin/perl or #!/usr/bin/env perl >Release-Note: >Audit-Trail: >Unformatted: