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
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-10 18:31 UTC by Jason W. Bacon
Modified: 2019-09-06 08:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jason W. Bacon freebsd_committer freebsd_triage 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

Stop.
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 freebsd_triage 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

Log:
  Add make to the list of allowed shebang

  PR:		228874
  Reported by:	jwb

Changes:
  head/Mk/Scripts/qa.sh