Bug 190561 - www/rubygem-passenger: Registering installation for rubygem-passenger-4.0.44 Error code 74
Summary: www/rubygem-passenger: Registering installation for rubygem-passenger-4.0.44 ...
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: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 10:15 UTC by ondra
Modified: 2015-04-27 17:40 UTC (History)
2 users (show)

See Also:


Attachments
patch for STAGEDIR fixes (1.31 KB, patch)
2014-06-11 10:30 UTC, Oleg Ginzburg
no flags Details | Diff
better version of patch, check for directory existance (1.40 KB, patch)
2014-06-11 11:08 UTC, Oleg Ginzburg
no flags Details | Diff
Create symlink in stage/ on "post-install:" Makefile target (742 bytes, patch)
2014-07-12 12:26 UTC, david.keller
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ondra 2014-06-03 10:15:53 UTC
===>  Installing for rubygem-passenger-4.0.44
===>  Checking if www/rubygem-passenger already installed
===>   Registering installation for rubygem-passenger-4.0.44
pkg-static: lstat(/usr/ports/www/rubygem-passenger/work/stage/usr/local/lib/ruby/gems/2.0/gems/passenger): No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/www/rubygem-passenger
*** Error code 1

Stop.
make: stopped in /usr/ports/www/rubygem-passenger

How-To-Repeat:
Options:
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_SET+=SYMLINK
OPTIONS_FILE_UNSET+=APACHE22
OPTIONS_FILE_SET+=NGINX

install www/rubygem-passenger with nginx
Comment 1 Oleg Ginzburg 2014-06-11 10:30:14 UTC
Created attachment 143666 [details]
patch for STAGEDIR fixes

Also fix for avoid 
--
.
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
/bin/ln -s lib/ruby/gems/1.9/gems/passenger-4.0.44 /usr/local/lib/ruby/gems/1.9/gems/passenger
ln: /usr/local/lib/ruby/gems/1.9/gems/passenger: File exists
*** Error code 1
--

error when previous attempt to install is failed.

And suggestion to rename APACHE22 options to APACHE due to ports have more than one version of Apache and when DEFAULT_VERSIONS+= apache=24 is sets, passenger also works well with Apache 2.4
Comment 2 Oleg Ginzburg 2014-06-11 11:08:33 UTC
Created attachment 143667 [details]
better version of patch, check for directory existance

+ check for directory existance
Comment 3 david.keller 2014-07-12 12:26:01 UTC
Created attachment 144612 [details]
Create symlink in stage/ on "post-install:" Makefile target

Creating symlink in "post-install:" instead of "post-build:" seems simpler.
Comment 4 Sergey A. Osokin freebsd_committer freebsd_triage 2015-04-27 17:40:38 UTC
Passenger has been upgraded to 5.0.6.