Bug 226462 - security/rubygem-aes_key_wrap version 1.0.1 fails to build
Summary: security/rubygem-aes_key_wrap version 1.0.1 fails to build
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-08 21:21 UTC by Matthias Fechner
Modified: 2018-03-10 23:05 UTC (History)
0 users

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


Attachments
Fix shebang problem (395 bytes, patch)
2018-03-08 21:21 UTC, Matthias Fechner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Fechner freebsd_committer freebsd_triage 2018-03-08 21:21:17 UTC
Created attachment 191320 [details]
Fix shebang problem

Try to build version 1.0.1 fails with error message:
/bin/rmdir /wrkdirs/usr/ports/security/rubygem-aes_key_wrap/work/stage/usr/local/lib/ruby/gems/2.4/extensions 2> /dev/null || true
====> Compressing man pages (compress-man)
===========================================================================
====> Running Q/A tests (stage-qa)
Error: '/bin/bash' is an invalid shebang you need USES=shebangfix for 'lib/ruby/gems/2.4/gems/aes_key_wrap-1.0.1/bin/setup'
*** Error code 1

Stop.
make: stopped in /usr/ports/security/rubygem-aes_key_wrap
=>> Error: stage-qa failures detected
=>> Cleaning up wrkdir
===>  Cleaning for rubygem-aes_key_wrap-1.0.1
build of security/rubygem-aes_key_wrap | rubygem-aes_key_wrap-1.0.1 ended at Thu Mar  8 22:16:46 CET 2018
build time: 00:00:06
!!! build failure encountered !!!

The attached patch fixes the problem.
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-03-10 23:02:16 UTC
A commit references this bug:

Author: sunpoet
Date: Sat Mar 10 23:01:29 UTC 2018
New revision: 464114
URL: https://svnweb.freebsd.org/changeset/ports/464114

Log:
  Fix shebang

  - Bump PORTREVISION for package change

  PR:		226462
  Submitted by:	Matthias Fechner <idefix@fechner.net>

Changes:
  head/security/rubygem-aes_key_wrap/Makefile
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2018-03-10 23:05:32 UTC
Committed. Thanks!