Bug 224663 - sysutils/rubygem-chef: fails stage-qa due to probable upstream change
Summary: sysutils/rubygem-chef: fails stage-qa due to probable upstream change
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-29 01:37 UTC by Phillip R. Jaenke
Modified: 2017-12-29 18:59 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (renchap)


Attachments
sysutils_rubygem-chef.Makefile.patch (696 bytes, text/plain)
2017-12-29 01:37 UTC, Phillip R. Jaenke
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Phillip R. Jaenke 2017-12-29 01:37:18 UTC
Created attachment 189191 [details]
sysutils_rubygem-chef.Makefile.patch

Port fails in stage-qa on poudriere due to debian tests looking for /usr/bin/make and requiring SHEBANGFIX, but SHEBANGFIX is already used for ksh. A patch which I have tested and confirmed as correcting the problem is attached, but requires more careful review for correctness.

====> Running Q/A tests (stage-qa)
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'lib/r
uby/gems/2.3/gems/chef-13.2.20/spec/data/apt/chef-integration-test2-1.0/debian/r
ules'
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'lib/r
uby/gems/2.3/gems/chef-13.2.20/spec/data/apt/chef-integration-test-1.0/debian/ru
les'
Error: '/usr/bin/make' is an invalid shebang you need USES=shebangfix for 'lib/r
uby/gems/2.3/gems/chef-13.2.20/spec/data/apt/chef-integration-test-1.1/debian/ru
les'
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/rubygem-chef
Comment 1 renchap 2017-12-29 16:29:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224698 updates rubygem-chef to the latest version and should also fix this.
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2017-12-29 18:59:10 UTC
Fixed in r457534. Thanks!