Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 May 2014 13:23:27 GMT
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/189419: rubygem-passenger-4.0.41_2 does not include mod_passenger.so any more
Message-ID:  <201405071323.s47DNRJc056847@cgiserv.freebsd.org>
Resent-Message-ID: <201405071330.s47DU0qL028681@freefall.freebsd.org>

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

>Number:         189419
>Category:       ports
>Synopsis:       rubygem-passenger-4.0.41_2 does not include mod_passenger.so any more
>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:   Wed May 07 13:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Paul Mather
>Release:        FreeBSD/amd64 RELENG_10
>Organization:
Virginia Tech
>Environment:
FreeBSD gromit.dlib.vt.edu 10.0-STABLE FreeBSD 10.0-STABLE #0 r265149: Wed Apr 30 14:43:24 EDT 2014     pmather@gromit.dlib.vt.edu:/usr/obj/usr/src/sys/GROMIT_CBSD  amd64
>Description:
The www/rubygem-passenger port no longer bundles the binaries that allow passenger to function with the Web server selected via the configuration options (Apache or Nginx).  Not only does this mean Passenger does not function, but if you add the lines suggested by the package install message then Apache will no longer start up.

The www/rubygem-passenger port as of 4.0.35 works but the current version does not.

It appears that the Apache module is built as part of building the port (i.e., there exists a /usr/ports/www/rubygem-passenger/work/passenger-4.0.41/buildout/apache2 directory with a mod_passenger.so after building the port) but not installed, unlike previous versions of the port.

Currently, this is what happens when I try to start apache22 after adding the configuration lines suggested by the package install message:

root@gromit:~ # service apache22 start
Performing sanity check on apache22 configuration:
httpd: Syntax error on line 475 of /usr/local/etc/apache22/httpd.conf: Syntax error on line 1 of /usr/local/etc/apache22/Includes/passenger.conf: Cannot load /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so into server: Cannot open "/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so"
Starting apache22.
httpd: Syntax error on line 475 of /usr/local/etc/apache22/httpd.conf: Syntax error on line 1 of /usr/local/etc/apache22/Includes/passenger.conf: Cannot load /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so into server: Cannot open "/usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/buildout/apache2/mod_passenger.so"
/usr/local/etc/rc.d/apache22: WARNING: failed to start apache22
root@gromit:~ # ls -al /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/buildout
ls: /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41/buildout: No such file or directory
root@gromit:~ # ls -al /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.41
total 286
drwxr-xr-x  16 root  wheel     27  3 May 14:45 .
drwxr-xr-x  75 root  wheel     75  3 May 14:45 ..
-rw-r--r--   1 root  wheel   1058  3 May 14:45 .gitignore
-rw-r--r--   1 root  wheel    443  3 May 14:45 .travis.yml
-rw-r--r--   1 root  wheel  76006  3 May 14:45 CHANGELOG
-rw-r--r--   1 root  wheel  14692  3 May 14:45 CONTRIBUTING.md
-rw-r--r--   1 root  wheel    983  3 May 14:45 CONTRIBUTORS
-rw-r--r--   1 root  wheel    363  3 May 14:45 INSTALL.md
-rw-r--r--   1 root  wheel   1056  3 May 14:45 LICENSE
-rw-r--r--   1 root  wheel   2867  3 May 14:45 README.md
-rw-r--r--   1 root  wheel   1814  3 May 14:45 Rakefile
drwxr-xr-x   2 root  wheel      8  3 May 14:45 bin
drwxr-xr-x   2 root  wheel     22  3 May 14:45 build
-rwxr-xr-x   1 root  wheel    287  3 May 14:45 configure
drwxr-xr-x   4 root  wheel     21  3 May 14:45 debian.template
drwxr-xr-x   2 root  wheel     10  3 May 14:45 dev
drwxr-xr-x   5 root  wheel     26  3 May 14:45 doc
drwxr-xr-x   2 root  wheel      2  3 May 14:45 download_cache
drwxr-xr-x  10 root  wheel     10  3 May 14:45 ext
drwxr-xr-x   3 root  wheel     14  3 May 14:45 helper-scripts
drwxr-xr-x   3 root  wheel      4  3 May 14:45 lib
drwxr-xr-x   2 root  wheel      6  3 May 14:45 man
drwxr-xr-x   3 root  wheel      3  3 May 14:45 node_lib
-rw-r--r--   1 root  wheel   1243  3 May 14:45 passenger.gemspec
drwxr-xr-x   4 root  wheel      8  3 May 14:45 resources
drwxr-xr-x   2 root  wheel     12  3 May 14:45 rpm
drwxr-xr-x  10 root  wheel     16  3 May 14:45 test
>How-To-Repeat:
cd /usr/ports/www/rubygem-passenger
make config
[[Select APACHE22 option.]]
make install
[[Add Apache configuration directives listed in package install message.]]
service apache22 restart
>Fix:


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



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