Bug 228874 - /usr/bin/make rejected as shebang by stage-qa
Summary: /usr/bin/make rejected as shebang by stage-qa
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
Depends on:
Reported: 2018-06-10 18:31 UTC by Jason W. Bacon
Modified: 2019-09-06 08:57 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer 2018-06-10 18:31:54 UTC
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'bin/abyss-pe'
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'bin/abyss-bloom-dist.mk'
*** Error code 1

make: stopped in /usr/ports/wip/abyss

It's an unusual use of make:

#!/usr/bin/make -rRf
# Run the ABySS assembler.
# Written by Shaun Jackman <sjackman@bcgsc.ca> and
# Anthony Raymond <traymond@bcgsc.ca>.

Simply adding /usr/bin/make to the whitelist in /usr/ports/Mk/Scripts/qa.sh eliminates the error.

Can this be added to ports, or should I hack around this in the abyss port?
Comment 1 commit-hook freebsd_committer 2019-09-06 08:57:48 UTC
A commit references this bug:

Author: bapt
Date: Fri Sep  6 08:57:13 UTC 2019
New revision: 511285
URL: https://svnweb.freebsd.org/changeset/ports/511285

  Add make to the list of allowed shebang

  PR:		228874
  Reported by:	jwb