ports/158732: byobu has shbang line "/usr/bin/python"

Thomas Schweikle tps at vr-web.de
Fri Jul 8 12:20:06 UTC 2011


>Number:         158732
>Category:       ports
>Synopsis:       byobu has shbang line "/usr/bin/python"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 08 12:20:03 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Schweikle
>Release:        FreeBSD 9-CURRENT
>Organization:
n.a.
>Environment:
FreeBSD yum.fritz.box 9.0-CURRENT FreeBSD 9.0-CURRENT #16: Thu Jul  7 05:37:38 CEST 2011     screen at yum.fritz.box:/usr/obj/usr/src/sys/YUM  i386
>Description:
INstall byobu, try running byobu. You'll receive error "unknown command". Looking into "/usr/local/bin/byobu" you'll find "#!/usr/bin/python".

Change it to "#!/usr/local/bin/python"

After the change byobu will work (but prints other errors, since some python moduldes are missing).
>How-To-Repeat:
Install byobu, call any of the installed scripts or programs
>Fix:
change all shbang-lines to read "#!/usr/local/bin/python" where "#!/usr/bin/python"

or

add a link from /usr/local/bin/python to /usr/bin/python.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list