[Bug 193878] New: Mk/Scripts/qa.sh: accept /compat/linux/* as valid shebang

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 23 16:22:58 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193878

            Bug ID: 193878
           Summary: Mk/Scripts/qa.sh: accept /compat/linux/* as valid
                    shebang
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Infrastructure
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: jbeich at vfemail.net

Created attachment 147604
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=147604&action=edit
fix

linux-* port may not want native shebang. For one, linux-tor-browser uses linux
bash to avoid having handle cases like |getconf LONG_BIT|.

$ echo OVERRIDE_LINUX_BASE_PORT=c6 ${__MAKE_CONF:-/etc/make.conf}
$ echo OVERRIDE_LINUX_NONBASE_PORTS=c6 >>${__MAKE_CONF:-/etc/make.conf}
$ svn co
https://trillian.chruetertee.ch/svn/freebsd-gecko/trunk/www/linux-tor-browser
$ cd linux-tor-browser
$ fgrep bash Makefile
bash_CMD=       ${LINUXBASE}/bin/bash
$ DEVELOPER=1 make BATCH=
...
====> Running Q/A tests (stage-qa)
Error: '/compat/linux/bin/bash' is an invalid shebang you need USES=shebangfix
for 'lib/linux-tor-browser/Browser/start-tor-browser'
*** Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list