|Summary:||mkhtmlindex has unsatisfied Perl dependency|
|Product:||Ports & Packages||Reporter:||Nik Clayton <nik>|
|Component:||Individual Port(s)||Assignee:||Eric Anholt <anholt>|
|Severity:||Affects Only Me|
Description Nik Clayton 2003-12-07 12:40:23 UTC
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. Fix: Patch mkhtmlindex so the shebang line is either: #!/usr/local/bin/perl or #!/usr/bin/env perl How-To-Repeat: Do steps 1, 2, and 3 above.
Comment 1 Mark Linimon 2003-12-07 17:49:16 UTC
Responsible Changed From-To: freebsd-ports-bugs->anholt Over to maintainer (anholt: is this another one that should be pointed over to x11@?)
Comment 2 Eric Anholt 2003-12-12 22:55:44 UTC
State Changed From-To: open->closed Committed, thanks!