New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Passenger + Nginx agent build failure on FreeBSD #1537
Comments
Thanks for the report. I've scheduled this for 5.0.11. One of these days I'll spin up a FreeBSD box and investigate this. |
Cool. here's some resources that might make that easier when there's cycles: FreeBSD 10.1-RELEASE (10.1R)
* in |
I'm not able to reproduce your problem. |
TL;DR: Can no longer reproduce it on either a local or remote box, with Only a minor, non-blocking, separate issue which is #1548. Output FWIW
|
I think your original problem had something to do with not having sufficient RAM for the compiler to work. Maybe the compiler crashed due to out-of-RAM conditions without printing any error messages. I've improved the error reporting mechanism in |
I was monitoring with htop in another session during each and every compilation (optimizations: n in all cases), didn't hit swap at all, so maybe I'm just a bozo. Here's with
Doesn't prove the previous error wasn't this. It might be an unknowable unknown at this point if it's not reproducible, but the lack of It works now, much thanks and sorry for wasting your time. |
(Not addressed by #1402)
There seems to be an issue where
passenger-config install-agent
andpassenger-install-nginx-module
cannot find vendored ext/libev and ext/libuv, and also vendored libs fail to build (libev / libuv) (different error near the end before linking nginx (common_library.rb:131). (Looks like the compile cmd is missing-I ext/libev -I ext/libuv
, even thoughUSE_VENDORED_LIBEV
andUSE_VENDORED_LIBUV
should both betrue
)Steps to reproduce
devel/readline security/openssl ftp/curl devel/pcre textproc/libyaml devel/libffi lang/ruby-install
(passenger to use vendored libev & libuv, ports'devel/libev
includes a bad/usr/local/include/ev.h
, so don't bother with that.)ruby-install ruby 2.2.2 -r /usr/local/ruby --no-install-deps -- --enable-shared --disable-install-doc --with-openssl-dir=/usr/local --disable-libedit --with-readline-prefix=/usr/local --enable-pthread
/usr/local/ruby/ruby-2.2.2/bin/gem install passenger -v 5.0.10 --no-document
www/rubygem-passenger
, because it won't work and it uses a fossilized Ruby version)(cd /usr/ports/www/nginx && make install)
build/nginx.rb
at/usr/local/ruby/ruby-2.2.2/lib/ruby/gems/2.2.0/gems/passenger-5.0.10/build/nginx.rb
passenger-install-nginx-module
advanced mode and appendnginx -V
configure args from port's nginxFreeBSD's ports patch for nginx+passenger
/usr/ports/www/nginx/files/extra-patch-passenger-build-nginx.rb
-> build/nginx.rbFull log of compiling nginx
Full log of compiling passenger agent
Trivial rough-edge: pcre is not detected, but the port is installed
The text was updated successfully, but these errors were encountered: