Package: src:cpp-httplib
Version: 0.18.7-1
Severity: serious
Tags: ftbfs forky sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build.

Below you will find how the build ends (probably the most relevant part,
but not necessarily). If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202509/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:cpp-httplib, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=meson --builddir=_build
   dh_auto_clean -O--buildsystem=meson -O--builddir=_build
   dh_autoreconf_clean -O--buildsystem=meson -O--builddir=_build
   dh_clean -O--buildsystem=meson -O--builddir=_build
 debian/rules binary
dh binary --buildsystem=meson --builddir=_build
   dh_update_autotools_config -O--buildsystem=meson -O--builddir=_build
   dh_autoreconf -O--buildsystem=meson -O--builddir=_build
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -- \
        -Db_lto=true \
        -Dcpp-httplib_compile=true \
        -Dcpp-httplib_test=true
        cd _build && DEB_PYTHON_INSTALL_LAYOUT=deb LC_ALL=C.UTF-8 meson setup 
.. --wrap-mode=nodownload --buildtype=plain --prefix=/usr --sysconfdir=/etc 
--localstatedir=/var --libdir=lib/x86_64-linux-gnu -Dpython.bytecompile=-1 
-Db_lto=true -Dcpp-httplib_compile=true -Dcpp-httplib_test=true
The Meson build system
Version: 1.9.0
Source dir: /<<PKGBUILDDIR>>
Build dir: /<<PKGBUILDDIR>>/_build
Build type: native build
Project name: cpp-httplib
Project version: undefined
C++ compiler for the host machine: c++ (gcc 15.2.0 "c++ (Debian 15.2.0-3) 
15.2.0")
C++ linker for the host machine: c++ ld.bfd 2.45
Host machine cpu family: x86_64
Host machine cpu: x86_64
Fetching value of define "CPPHTTPLIB_VERSION" : "0.18.7" 
Run-time dependency threads found: YES
Found pkg-config: YES (/usr/bin/pkg-config) 1.8.1
Run-time dependency openssl found: YES 3.5.2
Run-time dependency zlib found: YES 1.3.1
Run-time dependency libbrotlicommon found: YES 1.1.0
Run-time dependency libbrotlidec found: YES 1.1.0
Run-time dependency libbrotlienc found: YES 1.1.0
Program python3 found: YES (/usr/bin/python3)
Run-time dependency GTest found: YES 1.17.0
Run-time dependency libcurl found: YES 8.16.0-rc2
Program openssl found: YES (/usr/bin/openssl)
Build targets in project: 17

cpp-httplib undefined

  User defined options
    b_lto              : true
    buildtype          : plain
    cpp-httplib_compile: true
    cpp-httplib_test   : true
    libdir             : lib/x86_64-linux-gnu
    localstatedir      : /var
    prefix             : /usr
    python.bytecompile : -1
    sysconfdir         : /etc
    wrap_mode          : nodownload

Found ninja-1.12.1 at /usr/bin/ninja
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_build -O--buildsystem=meson -O--builddir=_build
        cd _build && LC_ALL=C.UTF-8 ninja -j2 -v
[1/6] /usr/bin/python3 ../split.py --out /<<PKGBUILDDIR>>/_build
Wrote /<<PKGBUILDDIR>>/_build/httplib.h and /<<PKGBUILDDIR>>/_build/httplib.cc
[2/6] c++ -Itest/main.p -Itest -I../test -I. -I/usr/include/x86_64-linux-gnu 
-I/usr/include/p11-kit-1 -flto=auto -fdiagnostics-color=always -DNDEBUG 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++14 -g -O2 
-Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var 
-D__DEB_CANARY_CXXFLAGS_d7fd118e6f226a71b5f1ffe10efd0a78__ 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D__DEB_CANARY_CPPFLAGS_d7fd118e6f226a71b5f1ffe10efd0a78__ -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCPPHTTPLIB_USE_POLL -isystem /usr/include/mit-krb5 
-DGTEST_HAS_PTHREAD=1 -pthread -DCPPHTTPLIB_OPENSSL_SUPPORT 
-DCPPHTTPLIB_ZLIB_SUPPORT -DCPPHTTPLIB_BROTLI_SUPPORT -MD -MQ 
test/main.p/test.cc.o -MF test/main.p/test.cc.o.d -o test/main.p/test.cc.o -c 
../test/test.cc
FAILED: test/main.p/test.cc.o 
c++ -Itest/main.p -Itest -I../test -I. -I/usr/include/x86_64-linux-gnu 
-I/usr/include/p11-kit-1 -flto=auto -fdiagnostics-color=always -DNDEBUG 
-D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++14 -g -O2 
-Werror=array-bounds -Werror=clobbered -Werror=volatile-register-var 
-D__DEB_CANARY_CXXFLAGS_d7fd118e6f226a71b5f1ffe10efd0a78__ 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D__DEB_CANARY_CPPFLAGS_d7fd118e6f226a71b5f1ffe10efd0a78__ -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCPPHTTPLIB_USE_POLL -isystem /usr/include/mit-krb5 
-DGTEST_HAS_PTHREAD=1 -pthread -DCPPHTTPLIB_OPENSSL_SUPPORT 
-DCPPHTTPLIB_ZLIB_SUPPORT -DCPPHTTPLIB_BROTLI_SUPPORT -MD -MQ 
test/main.p/test.cc.o -MF test/main.p/test.cc.o.d -o test/main.p/test.cc.o -c 
../test/test.cc
In file included from /usr/include/gtest/gtest-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:63,
                 from ../test/test.cc:8:
/usr/include/gtest/internal/gtest-port.h:273:2: error: #error C++ versions less 
than C++17 are not supported.
  273 | #error C++ versions less than C++17 are not supported.
      |  ^~~~~
In file included from /usr/include/gtest/gtest.h:67:
/usr/include/gtest/gtest-param-test.h:483:56: error: missing template arguments 
before ‘(’ token
  483 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
/usr/include/gtest/gtest-param-test.h:493:56: error: missing template arguments 
before ‘(’ token
  493 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
[3/6] c++ -Ilibcpp-httplib.so.0.18.7.p -I. -I.. -flto=auto 
-fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch 
-Wextra -Wpedantic -std=c++11 -g -O2 -Werror=array-bounds -Werror=clobbered 
-Werror=volatile-register-var 
-D__DEB_CANARY_CXXFLAGS_d7fd118e6f226a71b5f1ffe10efd0a78__ 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D__DEB_CANARY_CPPFLAGS_d7fd118e6f226a71b5f1ffe10efd0a78__ -Wdate-time 
-D_FORTIFY_SOURCE=2 -DCPPHTTPLIB_USE_POLL -fPIC -pthread 
-DCPPHTTPLIB_OPENSSL_SUPPORT -DCPPHTTPLIB_ZLIB_SUPPORT 
-DCPPHTTPLIB_BROTLI_SUPPORT -MD -MQ 
libcpp-httplib.so.0.18.7.p/meson-generated_.._httplib.cc.o -MF 
libcpp-httplib.so.0.18.7.p/meson-generated_.._httplib.cc.o.d -o 
libcpp-httplib.so.0.18.7.p/meson-generated_.._httplib.cc.o -c httplib.cc
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd _build && LC_ALL=C.UTF-8 ninja -j2 -v returned exit 
code 1
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to