Date: Sun, 7 Dec 2003 12:32:18 GMT From: Nik Clayton <nik@crf-consulting.co.uk> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/60005: mkhtmlindex has unsatisfied Perl dependency Message-ID: <200312071232.hB7CWIu3023219@catkin.nothing-going-on.org> Resent-Message-ID: <200312071240.hB7CeN90035754@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312071232.hB7CWIu3023219>