Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Apr 2014 11:46:22 GMT
From:      Matthias Fechner <idefix@fechner.net>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188551: www/rubygem-passenger fails to Upgrade/Build
Message-ID:  <201404131146.s3DBkMxb079744@cgiserv.freebsd.org>
Resent-Message-ID: <201404131150.s3DBo1KW025104@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188551
>Category:       ports
>Synopsis:       www/rubygem-passenger fails to Upgrade/Build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 13 11:50:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Fechner
>Release:        FreeBSD 9.2
>Organization:
>Environment:
FreeBSD freebus.org 9.2-STABLE FreeBSD 9.2-STABLE #10: Sat Oct 12 22:59:18 CEST 2013     root@freebus.org:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Upgrade of port /usr/ports/www/rubygem-passenger fails with error message (using portupgrade):
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
/bin/ln -s lib/ruby/gems/1.9/gems/passenger-4.0.41 /usr/local/lib/ruby/gems/1.9/gems/passenger
/usr/bin/find /usr/ports/www/rubygem-passenger/work/passenger-4.0.41 -name '*.o' -delete
/usr/bin/find /usr/ports/www/rubygem-passenger/work/passenger-4.0.41 -name '*.bak' -delete
===>  Staging for rubygem-passenger-4.0.41_2
===>   Generating temporary packing list
Building native extensions.  This could take a while...
Successfully installed passenger-4.0.41
1 gem installed
Installing RDoc documentation for passenger-4.0.41...
====> Compressing man pages (compress-man)
===>  Installing for rubygem-passenger-4.0.41_2
===>  Checking if www/rubygem-passenger already installed
===>   Registering installation for rubygem-passenger-4.0.41_2
pkg-static: lstat(/usr/ports/www/rubygem-passenger/work/stage/usr/local/lib/ruby/gems/1.9/gems/passenger): No such file or directory
*** [fake-pkg] Error code 74

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

Stop in /usr/ports/www/rubygem-passenger.

If you try to compile it manually you get the error message (just do a make in /usr/ports/www/rubygem-passenger):
And that's it! You may also want to check the Users Guide for security and
optimization tips, troubleshooting and other useful information:

  /usr/ports/www/rubygem-passenger/work/passenger-4.0.41/doc/Users guide Apache.html
  http://www.modrails.com/documentation/Users%20guide%20Apache.html

Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)
https://www.phusionpassenger.com

Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
/bin/ln -s lib/ruby/gems/1.9/gems/passenger-4.0.41 /usr/local/lib/ruby/gems/1.9/gems/passenger
ln: /usr/local/lib/ruby/gems/1.9/gems/passenger: File exists
*** [post-build] Error code 1

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

Stop in /usr/ports/www/rubygem-passenger.

Seems to be a bug related to the config option SYMLINK.
>How-To-Repeat:
Go to /usr/ports/www/rubygem-passenger and select in 'make config' the option SYMLINK and APACHE22.
Now build the port and try to install it or update an old version using a tool like portmaster.


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404131146.s3DBkMxb079744>