ports/82265: textproc/rfcdiff: refers to (normally) non-existent /bin/bash
Bengt Ahlgren
bengta at sics.se
Wed Jun 15 12:00:31 UTC 2005
>Number: 82265
>Category: ports
>Synopsis: textproc/rfcdiff: refers to (normally) non-existent /bin/bash
>Confidential: no
>Severity: critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Jun 15 12:00:30 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Bengt Ahlgren
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
SICS - Swedish Institute of Computer Science, Stockholm, Sweden
>Environment:
System: FreeBSD P142.sics.se 5.4-RELEASE FreeBSD 5.4-RELEASE #13: Mon May 9 13:18:22 CEST 2005 bengta at P142.sics.se:/usr/obj/usr/src/sys/P142 i386
>Description:
textproc/rfcdiff (port version rfcdiff-1.23) wants to execute
/bin/bash which is non-existing on a normal system. (Bash installs in
/usr/local/bin.)
There are also two non-critical issues with textproc/rfcdiff:
(1) May want to add dependency to textproc/wdiff
(2) FreeBSD awk does not support --version which results in rfcdiff
printing (but otherwise working properly):
awk: unknown option --version ignored
awk: no program given
>How-To-Repeat:
bengta at P142$ rfcdiff
bash: /usr/local/bin/rfcdiff: /bin/bash: bad interpreter: No such file or directory
>Fix:
Patch "#!/bin/bash" to "#!/bin/sh" (or possibly patch "#!/bin/bash" to
"#!/usr/local/bin/bash" and add a runtime dependency to shells/bash)
Add a runtime dependency on textproc/wdiff
Remove the line "awkver=$($AWK --version | head -n 1)" from rfcdiff
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list