Date: Fri, 8 Jul 2011 12:14:57 GMT From: Thomas Schweikle <tps@vr-web.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158732: byobu has shbang line "/usr/bin/python" Message-ID: <201107081214.p68CEvbB039057@red.freebsd.org> Resent-Message-ID: <201107081220.p68CK4Ev070619@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107081214.p68CEvbB039057>