Compilation with Passenger support hangs on "adding module"

Maxim Dounin mdounin at
Tue May 26 12:13:58 UTC 2020


On Tue, May 26, 2020 at 06:33:35AM -0400, svoop wrote:

> I'm using Nginx on a Gentoo Linux box to serve Ruby apps with Passenger for
> years now and up to this point, never any real trouble compiling Nginx.
> Today, however, trying to upgrade Nginx from 1.16.1 to 1.17.10, the
> compilation hangs early when adding the Passenger module. The version of
> Passenger (6.0.4) hasn't changed in a longer while, however, I've recently
> updated from gcc-9.2 to gcc-9.3.


> Here's the build output:
> >>> Configuring source in
> /var/tmp/portage/www-servers/nginx-1.17.10-r1/work/nginx-1.17.10 ...
> checking for OS
>  + Linux 5.4.38-gentoo x86_64
> checking for C compiler ... found
>  + using GNU C compiler


> checking for getaddrinfo() ... found
> configuring additional modules
> adding module in
> /usr/local/lib/ruby/gems/2.6.0/gems/passenger-6.0.4/src/nginx_module
> Before diving into the whole toolchain, environment, logs dance: Anything I
> can do to get more output than just "adding module"? 

Following the "adding module ..." line, nginx configure calls the 
"config" script from the module directory.  And since there is no 
further output, it hangs somewhere in the config script of the 
passenger module.

As such, there is nothing to be done on nginx side here, you 
should dig into passenger's config.  Or you may want to upgrade 
passenger instead, to see if it helps.

Maxim Dounin

More information about the nginx mailing list