Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Jun 2005 13:52:34 +0200 (CEST)
From:      Bengt Ahlgren <bengta@sics.se>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        lars.eggert@gmx.net
Subject:   ports/82265: textproc/rfcdiff: refers to (normally) non-existent /bin/bash
Message-ID:  <200506151152.j5FBqYPH074451@P142.sics.se>
Resent-Message-ID: <200506151200.j5FC0Usn037589@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506151152.j5FBqYPH074451>