Skip to content

6.0.12 fails to compile on FreeBSD 13 #2402

@bravecrayon

Description

@bravecrayon

Issue report

Question 1: What is the problem?

  • What is the expected behavior?
    Passenger apache module fully compiles

  • What is the actual behavior?
    Compilation fails with this message:

In file included from src/agent/Watchdog/WatchdogMain.cpp:68:
In file included from src/agent/Watchdog/Config.h:32:
In file included from src/agent/Core/Config.h:49:
In file included from src/agent/Core/AdminPanelConnector.h:43:
In file included from src/cxx_supportlib/WebSocketCommandReverseServer.h:29:
In file included from src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/config/asio_no_tls_client.hpp:32:
In file included from src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/endpoint.hpp:32:
In file included from src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/connection.hpp:31:
In file included from src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/transport/asio/base.hpp:31:
In file included from src/cxx_supportlib/vendor-modified/websocketpp/websocketpp/common/asio.hpp:61:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/steady_timer.hpp:22:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/basic_waitable_timer.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/any_io_executor.hpp:22:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/execution.hpp:18:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/execution/allocator.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/execution/executor.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/execution/execute.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/execution/detail/as_invocable.hpp:20:
In file included from src/cxx_supportlib/vendor-modified/boost/asio/detail/memory.hpp:38:
src/cxx_supportlib/vendor-modified/boost/align/aligned_alloc.hpp:44:10: fatal error: 'boost/align/detail/aligned_alloc.hpp' file not found
#include <boost/align/detail/aligned_alloc.hpp>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
rake aborted!
Command failed with status (1): [c++ -o buildout/support-binaries/WatchdogMain.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-modified/websocketpp -I/usr/local/include -DHAS_CURL_EASY_RESET -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 -DHAVE_ACCEPT4 -DHAS_SFENCE -DHAS_LFENCE -DPASSENGER_DEBUG -DBOOST_DISABLE_ASSERTS -g -fno-limit-debug-info -Wno-unused-local-typedefs -Wno-format-nonliteral -DHAS_UNORDERED_MAP -c src/agent/Watchdog/WatchdogMain.cpp]

Tasks: TOP => apache2 => buildout/support-binaries/PassengerAgent => buildout/support-binaries/WatchdogMain.o
(See full trace by running task with --trace)

  • How can we reproduce it?
  1. Launch a new EC2 c4.large instance with AMI ami-00e91cb82b335d15f (FreeBSD 13.0-RELEASE).
  2. Install packages pkg install ruby ruby-gems apache24
  3. Install passenger gem gem install passenger --version=6.0.12
  4. Compile passenger with Ruby selected passenger-install-apache2-module

Question 2: Passenger version and integration mode:

Open source, 6.0.12, Apache module

Question 3: OS or Linux distro, platform (including version):

Freebsd 13.0-RELEASE-p5

Question 4: Passenger installation method:

Your answer:
[ ] RubyGems + Gemfile
[x ] RubyGems, no Gemfile
[ ] Phusion APT repo
[ ] Phusion YUM repo
[ ] OS X Homebrew
[ ] source tarball
[ ] Other, please specify:

Question 5: Your app's programming language (including any version managers) and framework (including versions):

Ruby 2.7.4p191, Apache 2.4.51

Question 6: Are you using a PaaS and/or containerization? If so which one?

No containerization

Question 7: Anything else about your setup that we should know?

This server is running in AWS. Stock FreeBSD 13.0 RELEASE (ami-00e91cb82b335d15f) running on c4.large instance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions