[Bug 288831] net/kea fails to build with PGSQL backend

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Aug 2025 08:50:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288831

Matthias Fechner <mfechner@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mfechner@FreeBSD.org

--- Comment #5 from Matthias Fechner <mfechner@FreeBSD.org> ---
It also fails for me with error message:
===>  Configuring for kea-3.0.0_3
WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using
both is redundant since they override each other. See:
https://mesonbuild.com/Builtin-options.html#build-type-options
The Meson build system
Version: 1.7.0
Source dir: /wrkdirs/usr/ports/net/kea/work/kea-3.0.0
Build dir: /wrkdirs/usr/ports/net/kea/work/kea-3.0.0/_build
Build type: native build
Project name: kea
Project version: 3.0.0
C++ compiler for the host machine: c++ (clang 19.1.7 "FreeBSD clang version
19.1.7 (https://github.com/llvm/llvm-project.git
llvmorg-19.1.7-0-gcd708029e0b2)")
C++ linker for the host machine: c++ ld.lld 19.1.7
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program cppcheck found: NO
Program cppcheck-htmlreport found: NO
Program git found: NO
Program valgrind found: NO
Program awk found: YES (/usr/bin/awk)
Program bison found: NO
Program doxygen found: NO
Program flex found: YES 2.6.4 2.6.4 (/usr/bin/flex)
Program install found: YES (/usr/bin/install)
Program pdflatex found: NO
Program pip-compile found: NO
Program plantuml found: NO
Program python3 found: YES
Program sphinx-build sphinx-build-3 found: NO
Program sudo found: NO
Program xmllint found: NO
Program /wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/cd-and-run.sh found:
YES (/wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/cd-and-run.sh)
Program /wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/env.sh found: YES
(/wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/env.sh)
Program /wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/grabber.py found: YES
(/wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/grabber.py)
Message: Detected system "freebsd".
Found pkg-config: YES (/usr/local/bin/pkgconf) 2.4.3
Run-time dependency Boost (found: system) found: YES 1.88.0 (/usr/local)
Run-time dependency dl found: YES
Run-time dependency threads found: YES
Has header "boost/asio.hpp" with dependency boost: YES 
Has header "boost/asio/coroutine.hpp" with dependency boost: YES 
Has header "boost/asio/io_context.hpp" with dependency boost: YES 
Has header "boost/asio/ip/address.hpp" with dependency boost: YES 
Has header "boost/asio/signal_set.hpp" with dependency boost: YES 
Has header "boost/circular_buffer.hpp" with dependency boost: YES 
Has header "boost/date_time/posix_time/posix_time_types.hpp" with dependency
boost: YES 
Has header "boost/foreach.hpp" with dependency boost: YES 
Has header "boost/functional/hash.hpp" with dependency boost: YES 
Has header "boost/integer/common_factor.hpp" with dependency boost: YES 
Has header "boost/interprocess/sync/interprocess_upgradable_mutex.hpp" with
dependency boost: YES 
Has header "boost/multiprecision/cpp_int.hpp" with dependency boost: YES 
Has header "boost/shared_ptr.hpp" with dependency boost: YES 
Has header "boost/system/error_code.hpp" with dependency boost: YES 
Run-time dependency log4cplus found: YES 2.1.2
Found CMake: /usr/local/bin/cmake (3.31.7)
Run-time dependency botan-2 found: NO (tried pkgconfig and cmake)
Run-time dependency botan found: NO (tried pkgconfig and cmake)
Run-time dependency openssl found: YES 3.0.16
Dependency krb5-gssapi skipped: feature krb5 disabled
Dependency mariadb skipped: feature mysql disabled
Dependency libpq skipped: feature postgresql disabled
Run-time dependency GTest found: YES 1.16.0
Has header "boost/asio/ssl.hpp" with dependency boost: YES 
Message: Using OpenSSL.
Program python3 found: NO
Checking if "Get cpp standard" runs: YES
Message: Detected C++ standard (__cplusplus value) is 201703.
Checking if "BOOST_HAS_THREADS" with dependencies boost, threads runs: YES
Has header "boost/regex.h" with dependency boost: YES 
Checking if "GET_SYSTEM_VS_BOOST_REGEX_HEADER" with dependencies boost, threads
runs: YES
Checking if "CHRONO_SAME_DURATION" runs: NO (1)
Checking if "HAVE_GENERIC_TLS_METHOD" with dependencies boost, openssl, threads
runs: YES
Checking if "HAVE_STREAM_TRUNCATED_ERROR" with dependencies boost, openssl,
threads runs: YES
Checking if "HAVE_OPTRESET" runs: YES
Checking if "HAVE_SA_LEN" runs: YES
Checking if "LOG4CPLUS_INITIALIZER_H" with dependency log4cplus runs: YES
Checking if "FUZZING_WITH_CLUSTERFUZZLITE" runs: NO (1)
Checking if "HAVE_AFL" runs: DID NOT COMPILE
Checking if "HAVE_CREATE_UNIFIED_DIFF" with dependency gtest runs: YES
Has header "sys/filio.h" : YES 
Checking if "Get Boost version" with dependencies boost, threads runs: YES
Checking if "Get OpenSSL version" with dependency openssl runs: YES
Checking if "Get Log4cplus version" with dependency log4cplus runs: YES
Configuring config-report.sh using configuration
Configuring config.report with command
Configuring config.h using configuration
Configuring kea_version.h using configuration
Configuring extract_bnf.sh using configuration

src/share/api/meson.build:1:7: ERROR: Command
`/wrkdirs/usr/ports/net/kea/work/kea-3.0.0/scripts/grabber.py
/wrkdirs/usr/ports/net/kea/work/kea-3.0.0/src/share/api '[a-z]*.json'` failed
with status 127.

A full log can be found at
/wrkdirs/usr/ports/net/kea/work/kea-3.0.0/_build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup
[options]` is ambiguous and deprecated.

-- 
You are receiving this mail because:
You are the assignee for the bug.