Log output.
```
Welcome to the Phusion Passenger Nginx module installer, v6.0.2.
This installer will guide you through the entire installation process. It
shouldn't take more than 5 minutes in total.
Here's what you can expect from the installation process:
1. This installer will compile and install Nginx with Passenger support.
2. You'll learn how to configure Passenger in Nginx.
3. You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
--------------------------------------------
Which languages are you interested in?
Override selection with --languages.
‣ ⬢ Ruby
⬢ Python
⬢ Node.js
⬡ Meteor
--------------------------------------------
Checking for required software...
* Checking for C compiler...
Found: yes
Location: /usr/bin/cc
* Checking for C++ compiler...
Found: yes
Location: /usr/bin/c++
* Checking for A download tool like 'wget' or 'curl'...
Found: yes
Location: /usr/local/bin/wget
* Checking for Curl development headers with SSL support...
Found: yes
curl-config location: /usr/local/opt/curl/bin/curl-config
Header location: /usr/local/Cellar/curl/7.64.1/include/curl/curl.h
Version: libcurl 7.64.1
Usable: yes
Supports SSL: yes
* Checking for OpenSSL development headers...
Found: yes
Location: /usr/local/opt/openssl/include/openssl/ssl.h
* Checking for Zlib development headers...
Found: yes
Location: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/zlib.h
* Checking for Rake (associated with /usr/local/rvm/gems/ruby-2.6.0@global/wrappers/ruby)...
Found: yes
Location: /usr/local/rvm/gems/ruby-2.6.0@global/wrappers/rake
* Checking for OpenSSL support for Ruby...
Found: yes
* Checking for RubyGems...
Found: yes
* Checking for Ruby development headers...
Found: yes
Location: /usr/local/rvm/rubies/ruby-2.6.0/include/ruby-2.6.0/ruby.h
* Checking for rack...
Found: yes
--------------------------------------------
Automatically download and install Nginx?
Nginx doesn't support loadable modules such as some other web servers do,
so in order to install Nginx with Passenger support, it must be recompiled.
Do you want this installer to download, compile and install Nginx for you?
1. Yes: download, compile and install Nginx for me. (recommended)
The easiest way to get started. A stock Nginx 1.15.8 with Passenger
support, but with no other additional third party modules, will be
installed for you to a directory of your choice.
2. No: I want to customize my Nginx installation. (for advanced users)
Choose this if you want to compile Nginx with more third party modules
besides Passenger, or if you need to pass additional options to Nginx's
'configure' script. This installer will 1) ask you for the location of
the Nginx source code, 2) run the 'configure' script according to your
instructions, and 3) run 'make install'.
Whichever you choose, if you already have an existing Nginx configuration file,
then it will be preserved.
=> Proceeding with choice 2.
--------------------------------------------
Where is your Nginx source code located?
=> /tmp/nginx-1.16.0
--------------------------------------------
Where do you want to install Nginx to?
=> /tmp
--------------------------------------------
Extra Nginx configure options
If you want to pass extra arguments to the Nginx 'configure' script, then
please specify them. If not, then specify nothing and press Enter.
If you specify nothing then the 'configure' script will be run as follows:
sh ./configure --prefix='/tmp' --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_addition_module --with-cc-opt=-Wno-error\ -I/usr/local/opt/openssl/include --with-ld-opt=-L/usr/local/opt/openssl/lib --add-module='/usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/passenger-6.0.2/src/nginx_module'
=> --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/etc/nginx/nginx.conf --error-log-path=/var/log/nginx.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --user=root --group=wheel --with-threads --http-log-path=/var/log/nginx.log --with-pcre --with-pcre-jit --user=root --group=wheel --with-http_ssl_module --with-http_v2_module
--------------------------------------------
Compiling Passenger support files...
# env NOEXEC_DISABLE=1 /usr/local/rvm/gems/ruby-2.6.0@global/wrappers/rake nginx:clean nginx RELEASE=yes
rm -rf buildout/cache
rm -rf buildout/common/libboost_oxt.a buildout/common/libboost_oxt
rm -f buildout/common/libpassenger_common/LoggingKit.o buildout/common/libpassenger_common/Exceptions.o buildout/common/libpassenger_common/FileTools/PathManip.o buildout/common/libpassenger_common/FileTools/FileManip.o buildout/common/libpassenger_common/FileTools/PathSecurityCheck.o buildout/common/libpassenger_common/ProcessManagement/Spawn.o buildout/common/libpassenger_common/ProcessManagement/Utils.o buildout/common/libpassenger_common/SystemTools/UserDatabase.o buildout/common/libpassenger_common/Utils/SystemTime.o buildout/common/libpassenger_common/StrIntTools/StrIntUtils.o buildout/common/libpassenger_common/StrIntTools/StrIntUtilsNoStrictAliasing.o buildout/common/libpassenger_common/IOTools/IOUtils.o buildout/common/libpassenger_common/Algorithms/Hasher.o buildout/common/libpassenger_common/Utils.o buildout/common/libpassenger_common/jsoncpp.o
rm -f buildout/common/libpassenger_common/SecurityKit/Crypto.o buildout/common/libpassenger_common/Utils/CachedFileStat.o buildout/common/libpassenger_common/WatchdogLauncher.o buildout/common/libpassenger_common/MemoryKit/mbuf.o buildout/common/libpassenger_common/MemoryKit/palloc.o buildout/common/libpassenger_common/ServerKit/http_parser.o buildout/common/libpassenger_common/ServerKit/Implementation.o buildout/common/libpassenger_common/DataStructures/LString.o buildout/common/libpassenger_common/AppTypeDetector/CBindings.o buildout/common/libpassenger_common/WrapperRegistry/CBindings.o
rm -f buildout/common/libpassenger_common/vendor-modified/modp_b64.o buildout/common/libpassenger_common/vendor-modified/modp_b64_strict_aliasing.o
rm -f buildout/common/libpassenger_common/JsonTools/CBindings.o
rm -f buildout/common/libpassenger_common/FileTools/LargeFiles.o
rm -f buildout/common/libpassenger_common/FileTools/PathManipCBindings.o
rm -f buildout/common/libpassenger_common/ProcessManagement/Ruby.o
rm -rf buildout/common/libpassenger_common
rm -rf buildout/support-binaries/PassengerAgent buildout/support-binaries/AgentMain.o buildout/support-binaries/AgentFundamentals.o buildout/support-binaries/WatchdogMain.o buildout/support-binaries/CoreMain.o buildout/support-binaries/CoreApplicationPool.o buildout/support-binaries/CoreController.o buildout/support-binaries/SystemMetricsMain.o buildout/support-binaries/TempDirToucherMain.o buildout/support-binaries/SpawnEnvSetupper.o buildout/support-binaries/ExecHelperMain.o buildout/support-binaries/FileReadHelperMain.o
rm -rf buildout/nginx_dynamic/libboost_oxt.a buildout/nginx_dynamic/libboost_oxt
rm -f buildout/nginx_dynamic/module_libpassenger_common/LoggingKit.o buildout/nginx_dynamic/module_libpassenger_common/Exceptions.o buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathManip.o buildout/nginx_dynamic/module_libpassenger_common/FileTools/FileManip.o buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathSecurityCheck.o buildout/nginx_dynamic/module_libpassenger_common/ProcessManagement/Spawn.o buildout/nginx_dynamic/module_libpassenger_common/ProcessManagement/Utils.o buildout/nginx_dynamic/module_libpassenger_common/SystemTools/UserDatabase.o buildout/nginx_dynamic/module_libpassenger_common/Utils/SystemTime.o buildout/nginx_dynamic/module_libpassenger_common/StrIntTools/StrIntUtils.o buildout/nginx_dynamic/module_libpassenger_common/StrIntTools/StrIntUtilsNoStrictAliasing.o buildout/nginx_dynamic/module_libpassenger_common/IOTools/IOUtils.o buildout/nginx_dynamic/module_libpassenger_common/Algorithms/Hasher.o buildout/nginx_dynamic/module_libpassenger_common/Utils.o buildout/nginx_dynamic/module_libpassenger_common/jsoncpp.o
rm -f buildout/nginx_dynamic/module_libpassenger_common/SecurityKit/Crypto.o buildout/nginx_dynamic/module_libpassenger_common/Utils/CachedFileStat.o buildout/nginx_dynamic/module_libpassenger_common/WatchdogLauncher.o buildout/nginx_dynamic/module_libpassenger_common/MemoryKit/mbuf.o buildout/nginx_dynamic/module_libpassenger_common/MemoryKit/palloc.o buildout/nginx_dynamic/module_libpassenger_common/ServerKit/http_parser.o buildout/nginx_dynamic/module_libpassenger_common/ServerKit/Implementation.o buildout/nginx_dynamic/module_libpassenger_common/DataStructures/LString.o buildout/nginx_dynamic/module_libpassenger_common/AppTypeDetector/CBindings.o buildout/nginx_dynamic/module_libpassenger_common/WrapperRegistry/CBindings.o
rm -f buildout/nginx_dynamic/module_libpassenger_common/vendor-modified/modp_b64.o buildout/nginx_dynamic/module_libpassenger_common/vendor-modified/modp_b64_strict_aliasing.o
rm -f buildout/nginx_dynamic/module_libpassenger_common/JsonTools/CBindings.o
rm -f buildout/nginx_dynamic/module_libpassenger_common/FileTools/LargeFiles.o
rm -f buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathManipCBindings.o
rm -f buildout/nginx_dynamic/module_libpassenger_common/ProcessManagement/Ruby.o
rm -rf buildout/nginx_dynamic/module_libpassenger_common
Creating src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c
Creating src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c
Creating src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c
Creating src/nginx_module/MainConfig/AutoGeneratedStruct.h
Creating src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c
Creating src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c
Creating src/nginx_module/LocationConfig/AutoGeneratedStruct.h
Creating src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c
Creating src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c
Creating src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c
Creating src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c
Creating src/cxx_supportlib/Constants.h
mkdir -p buildout/support-binaries
c++ -o buildout/support-binaries/AgentMain.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/Cellar/curl/7.64.1/include -DHAS_CURL_EASY_RESET -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/AgentMain.cpp
c++ -o buildout/support-binaries/AgentFundamentals.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/Cellar/curl/7.64.1/include -DHAS_CURL_EASY_RESET -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Shared/Fundamentals/Implementation.cpp
In file included from src/agent/Shared/Fundamentals/Implementation.cpp:5:
In file included from src/agent/Shared/Fundamentals/Initialization.cpp:50:
In file included from src/cxx_supportlib/ResourceLocator.h:40:
In file included from src/cxx_supportlib/Utils.h:31:
In file included from src/cxx_supportlib/vendor-modified/boost/thread.hpp:17:
In file included from src/cxx_supportlib/vendor-modified/boost/thread/once.hpp:26:
In file included from src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic.hpp:12:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp:21:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp:17:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp:21:
In file included from src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp:24:
src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp:408:16: error: address argument to
atomic builtin cannot be const-qualified ('const volatile
boost::atomics::detail::gcc_dcas_x86_64::storage_type *' (aka 'const volatile unsigned __int128 *')
invalid)
return __sync_val_compare_and_swap(&storage, value, value);
^ ~~~~~~~~
1 error generated.
rake aborted!
Command failed with status (1): [c++ -o buildout/support-binaries/AgentFundamentals.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/Cellar/curl/7.64.1/include -DHAS_CURL_EASY_RESET -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Shared/Fundamentals/Implementation.cpp]
/usr/local/rvm/rubies/ruby-2.6.0/bin/ruby_executable_hooks:24:in `eval'
/usr/local/rvm/rubies/ruby-2.6.0/bin/ruby_executable_hooks:24:in `'
Tasks: TOP => nginx => nginx_without_native_support => buildout/support-binaries/PassengerAgent => buildout/support-binaries/AgentFundamentals.o
(See full trace by running task with --trace)
--------------------------------------------
It looks like something went wrong
Please read our documentation for troubleshooting tips:
https://www.phusionpassenger.com/library/install/nginx/
https://www.phusionpassenger.com/library/admin/nginx/troubleshooting/
If that doesn't help, please use our support facilities. We'll do our best to help you.
https://www.phusionpassenger.com/support
```
How can we reproduce it? Please try to provide a sample application (or Virtual Machine) demonstrating the issue. Otherwise, if we can't reproduce it, we might have to ask you a number of followup questions or run certain commands to try and figure out the problem.
With Xcode >=v10.2 installed and xcode-selected, run passenger-install-nginx-module.
Question 2: Passenger version and integration mode:
OSS v6.0.2.
Question 3: OS or Linux distro, platform (including version):
macOS v10.14.4 (18E226)
Question 4: Passenger installation method:
RubyGems, no Gemfile
Question 5: Your app's programming language (including any version managers) and framework (including versions):
Ruby 2.6.0, installed through RVM 1.29.7.
Question 6: Are you using a PaaS and/or containerization? If so which one?
Nope.
Question 7: Anything else about your setup that we should know?
Thanks for looking into it! :sparkles:
Thanks for this report, we're aware of the issue and a patch which fixes this has been committed, which will be included in the next Passenger release.
Issue report
Are you sure this is a bug in Passenger? Yes.
Question 1: What is the problem?
What is the expected behavior?
The nginx Passenger module should compile successfully with the latest version of Xcode installed (v10.2.1).
What is the actual behavior?
Compilation succeeds with Xcode <v10.2, but >=v10.2 fails with the following incantation:
...yielding the following logs:
Log output.
``` Welcome to the Phusion Passenger Nginx module installer, v6.0.2. This installer will guide you through the entire installation process. It shouldn't take more than 5 minutes in total. Here's what you can expect from the installation process: 1. This installer will compile and install Nginx with Passenger support. 2. You'll learn how to configure Passenger in Nginx. 3. You'll learn how to deploy a Ruby on Rails application. Don't worry if anything goes wrong. This installer will advise you on how to solve any problems. Press Enter to continue, or Ctrl-C to abort. -------------------------------------------- Which languages are you interested in? Override selection with --languages. ‣ ⬢ Ruby ⬢ Python ⬢ Node.js ⬡ Meteor -------------------------------------------- Checking for required software... * Checking for C compiler... Found: yes Location: /usr/bin/cc * Checking for C++ compiler... Found: yes Location: /usr/bin/c++ * Checking for A download tool like 'wget' or 'curl'... Found: yes Location: /usr/local/bin/wget * Checking for Curl development headers with SSL support... Found: yes curl-config location: /usr/local/opt/curl/bin/curl-config Header location: /usr/local/Cellar/curl/7.64.1/include/curl/curl.h Version: libcurl 7.64.1 Usable: yes Supports SSL: yes * Checking for OpenSSL development headers... Found: yes Location: /usr/local/opt/openssl/include/openssl/ssl.h * Checking for Zlib development headers... Found: yes Location: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/zlib.h * Checking for Rake (associated with /usr/local/rvm/gems/ruby-2.6.0@global/wrappers/ruby)... Found: yes Location: /usr/local/rvm/gems/ruby-2.6.0@global/wrappers/rake * Checking for OpenSSL support for Ruby... Found: yes * Checking for RubyGems... Found: yes * Checking for Ruby development headers... Found: yes Location: /usr/local/rvm/rubies/ruby-2.6.0/include/ruby-2.6.0/ruby.h * Checking for rack... Found: yes -------------------------------------------- Automatically download and install Nginx? Nginx doesn't support loadable modules such as some other web servers do, so in order to install Nginx with Passenger support, it must be recompiled. Do you want this installer to download, compile and install Nginx for you? 1. Yes: download, compile and install Nginx for me. (recommended) The easiest way to get started. A stock Nginx 1.15.8 with Passenger support, but with no other additional third party modules, will be installed for you to a directory of your choice. 2. No: I want to customize my Nginx installation. (for advanced users) Choose this if you want to compile Nginx with more third party modules besides Passenger, or if you need to pass additional options to Nginx's 'configure' script. This installer will 1) ask you for the location of the Nginx source code, 2) run the 'configure' script according to your instructions, and 3) run 'make install'. Whichever you choose, if you already have an existing Nginx configuration file, then it will be preserved. => Proceeding with choice 2. -------------------------------------------- Where is your Nginx source code located? => /tmp/nginx-1.16.0 -------------------------------------------- Where do you want to install Nginx to? => /tmp -------------------------------------------- Extra Nginx configure options If you want to pass extra arguments to the Nginx 'configure' script, then please specify them. If not, then specify nothing and press Enter. If you specify nothing then the 'configure' script will be run as follows: sh ./configure --prefix='/tmp' --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_addition_module --with-cc-opt=-Wno-error\ -I/usr/local/opt/openssl/include --with-ld-opt=-L/usr/local/opt/openssl/lib --add-module='/usr/local/rvm/rubies/ruby-2.6.0/lib/ruby/gems/2.6.0/gems/passenger-6.0.2/src/nginx_module' => --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/etc/nginx/nginx.conf --error-log-path=/var/log/nginx.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --user=root --group=wheel --with-threads --http-log-path=/var/log/nginx.log --with-pcre --with-pcre-jit --user=root --group=wheel --with-http_ssl_module --with-http_v2_module -------------------------------------------- Compiling Passenger support files... # env NOEXEC_DISABLE=1 /usr/local/rvm/gems/ruby-2.6.0@global/wrappers/rake nginx:clean nginx RELEASE=yes rm -rf buildout/cache rm -rf buildout/common/libboost_oxt.a buildout/common/libboost_oxt rm -f buildout/common/libpassenger_common/LoggingKit.o buildout/common/libpassenger_common/Exceptions.o buildout/common/libpassenger_common/FileTools/PathManip.o buildout/common/libpassenger_common/FileTools/FileManip.o buildout/common/libpassenger_common/FileTools/PathSecurityCheck.o buildout/common/libpassenger_common/ProcessManagement/Spawn.o buildout/common/libpassenger_common/ProcessManagement/Utils.o buildout/common/libpassenger_common/SystemTools/UserDatabase.o buildout/common/libpassenger_common/Utils/SystemTime.o buildout/common/libpassenger_common/StrIntTools/StrIntUtils.o buildout/common/libpassenger_common/StrIntTools/StrIntUtilsNoStrictAliasing.o buildout/common/libpassenger_common/IOTools/IOUtils.o buildout/common/libpassenger_common/Algorithms/Hasher.o buildout/common/libpassenger_common/Utils.o buildout/common/libpassenger_common/jsoncpp.o rm -f buildout/common/libpassenger_common/SecurityKit/Crypto.o buildout/common/libpassenger_common/Utils/CachedFileStat.o buildout/common/libpassenger_common/WatchdogLauncher.o buildout/common/libpassenger_common/MemoryKit/mbuf.o buildout/common/libpassenger_common/MemoryKit/palloc.o buildout/common/libpassenger_common/ServerKit/http_parser.o buildout/common/libpassenger_common/ServerKit/Implementation.o buildout/common/libpassenger_common/DataStructures/LString.o buildout/common/libpassenger_common/AppTypeDetector/CBindings.o buildout/common/libpassenger_common/WrapperRegistry/CBindings.o rm -f buildout/common/libpassenger_common/vendor-modified/modp_b64.o buildout/common/libpassenger_common/vendor-modified/modp_b64_strict_aliasing.o rm -f buildout/common/libpassenger_common/JsonTools/CBindings.o rm -f buildout/common/libpassenger_common/FileTools/LargeFiles.o rm -f buildout/common/libpassenger_common/FileTools/PathManipCBindings.o rm -f buildout/common/libpassenger_common/ProcessManagement/Ruby.o rm -rf buildout/common/libpassenger_common rm -rf buildout/support-binaries/PassengerAgent buildout/support-binaries/AgentMain.o buildout/support-binaries/AgentFundamentals.o buildout/support-binaries/WatchdogMain.o buildout/support-binaries/CoreMain.o buildout/support-binaries/CoreApplicationPool.o buildout/support-binaries/CoreController.o buildout/support-binaries/SystemMetricsMain.o buildout/support-binaries/TempDirToucherMain.o buildout/support-binaries/SpawnEnvSetupper.o buildout/support-binaries/ExecHelperMain.o buildout/support-binaries/FileReadHelperMain.o rm -rf buildout/nginx_dynamic/libboost_oxt.a buildout/nginx_dynamic/libboost_oxt rm -f buildout/nginx_dynamic/module_libpassenger_common/LoggingKit.o buildout/nginx_dynamic/module_libpassenger_common/Exceptions.o buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathManip.o buildout/nginx_dynamic/module_libpassenger_common/FileTools/FileManip.o buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathSecurityCheck.o buildout/nginx_dynamic/module_libpassenger_common/ProcessManagement/Spawn.o buildout/nginx_dynamic/module_libpassenger_common/ProcessManagement/Utils.o buildout/nginx_dynamic/module_libpassenger_common/SystemTools/UserDatabase.o buildout/nginx_dynamic/module_libpassenger_common/Utils/SystemTime.o buildout/nginx_dynamic/module_libpassenger_common/StrIntTools/StrIntUtils.o buildout/nginx_dynamic/module_libpassenger_common/StrIntTools/StrIntUtilsNoStrictAliasing.o buildout/nginx_dynamic/module_libpassenger_common/IOTools/IOUtils.o buildout/nginx_dynamic/module_libpassenger_common/Algorithms/Hasher.o buildout/nginx_dynamic/module_libpassenger_common/Utils.o buildout/nginx_dynamic/module_libpassenger_common/jsoncpp.o rm -f buildout/nginx_dynamic/module_libpassenger_common/SecurityKit/Crypto.o buildout/nginx_dynamic/module_libpassenger_common/Utils/CachedFileStat.o buildout/nginx_dynamic/module_libpassenger_common/WatchdogLauncher.o buildout/nginx_dynamic/module_libpassenger_common/MemoryKit/mbuf.o buildout/nginx_dynamic/module_libpassenger_common/MemoryKit/palloc.o buildout/nginx_dynamic/module_libpassenger_common/ServerKit/http_parser.o buildout/nginx_dynamic/module_libpassenger_common/ServerKit/Implementation.o buildout/nginx_dynamic/module_libpassenger_common/DataStructures/LString.o buildout/nginx_dynamic/module_libpassenger_common/AppTypeDetector/CBindings.o buildout/nginx_dynamic/module_libpassenger_common/WrapperRegistry/CBindings.o rm -f buildout/nginx_dynamic/module_libpassenger_common/vendor-modified/modp_b64.o buildout/nginx_dynamic/module_libpassenger_common/vendor-modified/modp_b64_strict_aliasing.o rm -f buildout/nginx_dynamic/module_libpassenger_common/JsonTools/CBindings.o rm -f buildout/nginx_dynamic/module_libpassenger_common/FileTools/LargeFiles.o rm -f buildout/nginx_dynamic/module_libpassenger_common/FileTools/PathManipCBindings.o rm -f buildout/nginx_dynamic/module_libpassenger_common/ProcessManagement/Ruby.o rm -rf buildout/nginx_dynamic/module_libpassenger_common Creating src/nginx_module/ConfigGeneral/AutoGeneratedDefinitions.c Creating src/nginx_module/ConfigGeneral/AutoGeneratedSetterFuncs.c Creating src/nginx_module/ConfigGeneral/AutoGeneratedManifestDefaultsInitialization.c Creating src/nginx_module/MainConfig/AutoGeneratedStruct.h Creating src/nginx_module/MainConfig/AutoGeneratedCreateFunction.c Creating src/nginx_module/MainConfig/AutoGeneratedManifestGeneration.c Creating src/nginx_module/LocationConfig/AutoGeneratedStruct.h Creating src/nginx_module/LocationConfig/AutoGeneratedCreateFunction.c Creating src/nginx_module/LocationConfig/AutoGeneratedMergeFunction.c Creating src/nginx_module/LocationConfig/AutoGeneratedHeaderSerialization.c Creating src/nginx_module/LocationConfig/AutoGeneratedManifestGeneration.c Creating src/cxx_supportlib/Constants.h mkdir -p buildout/support-binaries c++ -o buildout/support-binaries/AgentMain.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/Cellar/curl/7.64.1/include -DHAS_CURL_EASY_RESET -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/AgentMain.cpp c++ -o buildout/support-binaries/AgentFundamentals.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/Cellar/curl/7.64.1/include -DHAS_CURL_EASY_RESET -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Shared/Fundamentals/Implementation.cpp In file included from src/agent/Shared/Fundamentals/Implementation.cpp:5: In file included from src/agent/Shared/Fundamentals/Initialization.cpp:50: In file included from src/cxx_supportlib/ResourceLocator.h:40: In file included from src/cxx_supportlib/Utils.h:31: In file included from src/cxx_supportlib/vendor-modified/boost/thread.hpp:17: In file included from src/cxx_supportlib/vendor-modified/boost/thread/once.hpp:26: In file included from src/cxx_supportlib/vendor-modified/boost/thread/pthread/once_atomic.hpp:20: In file included from src/cxx_supportlib/vendor-modified/boost/atomic.hpp:12: In file included from src/cxx_supportlib/vendor-modified/boost/atomic/atomic.hpp:20: In file included from src/cxx_supportlib/vendor-modified/boost/atomic/fences.hpp:21: In file included from src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations.hpp:17: In file included from src/cxx_supportlib/vendor-modified/boost/atomic/detail/operations_lockfree.hpp:21: In file included from src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_atomic.hpp:24: src/cxx_supportlib/vendor-modified/boost/atomic/detail/ops_gcc_x86_dcas.hpp:408:16: error: address argument to atomic builtin cannot be const-qualified ('const volatile boost::atomics::detail::gcc_dcas_x86_64::storage_type *' (aka 'const volatile unsigned __int128 *') invalid) return __sync_val_compare_and_swap(&storage, value, value); ^ ~~~~~~~~ 1 error generated. rake aborted! Command failed with status (1): [c++ -o buildout/support-binaries/AgentFundamentals.o -Isrc/agent -Isrc/cxx_supportlib -Isrc/cxx_supportlib/vendor-copy -Isrc/cxx_supportlib/vendor-modified -Isrc/cxx_supportlib/vendor-modified/libev -Wno-ambiguous-member-template -Isrc/cxx_supportlib/vendor-copy/libuv/include -Isrc/cxx_supportlib/vendor-copy/websocketpp -I/usr/local/Cellar/curl/7.64.1/include -DHAS_CURL_EASY_RESET -I/usr/local/opt/openssl/include -D_REENTRANT -I/usr/local/include -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-long-long -Wno-missing-field-initializers -Wno-ambiguous-member-template -fvisibility=hidden -DVISIBILITY_ATTRIBUTE_SUPPORTED -DHAS_ALLOCA_H -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -std=gnu++11 -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Shared/Fundamentals/Implementation.cpp] /usr/local/rvm/rubies/ruby-2.6.0/bin/ruby_executable_hooks:24:in `eval' /usr/local/rvm/rubies/ruby-2.6.0/bin/ruby_executable_hooks:24:in `How can we reproduce it? Please try to provide a sample application (or Virtual Machine) demonstrating the issue. Otherwise, if we can't reproduce it, we might have to ask you a number of followup questions or run certain commands to try and figure out the problem.
With Xcode >=v10.2 installed and
xcode-select
ed, runpassenger-install-nginx-module
.Question 2: Passenger version and integration mode: OSS v6.0.2.
Question 3: OS or Linux distro, platform (including version): macOS v10.14.4 (18E226)
Question 4: Passenger installation method: RubyGems, no Gemfile
Question 5: Your app's programming language (including any version managers) and framework (including versions): Ruby 2.6.0, installed through RVM 1.29.7.
Question 6: Are you using a PaaS and/or containerization? If so which one? Nope.
Question 7: Anything else about your setup that we should know? Thanks for looking into it! :sparkles: