Package: src:cxxopts
Version: 3.2.1-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:cxxopts, so that this is still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean
   dh_clean
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
        cd obj-x86_64-linux-gnu && DEB_PYTHON_INSTALL_LAYOUT=deb 
PKG_CONFIG=/usr/bin/pkg-config cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON 
-DFETCHCONTENT_FULLY_DISCONNECTED=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
-DCMAKE_SKIP_INSTALL_ALL_DEPENDENCY=ON "-GUnix Makefiles" 
-DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu ..
-- The CXX compiler identification is GNU 15.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (0.2s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY
    CMAKE_FIND_USE_PACKAGE_REGISTRY
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu
   dh_auto_build
        cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1
make[1]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
/usr/bin/cmake -S/<<PKGBUILDDIR>> -B/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
--check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/CMakeFiles 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu//CMakeFiles/progress.marks
make  -f CMakeFiles/Makefile2 all
make[2]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/example.dir/build.make src/CMakeFiles/example.dir/depend
make  -f test/CMakeFiles/options_test.dir/build.make 
test/CMakeFiles/options_test.dir/depend
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/src 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/CMakeFiles/example.dir/DependInfo.cmake
 "--color="
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends 
"Unix Makefiles" /<<PKGBUILDDIR>> /<<PKGBUILDDIR>>/test 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test 
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test/CMakeFiles/options_test.dir/DependInfo.cmake
 "--color="
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f test/CMakeFiles/options_test.dir/build.make 
test/CMakeFiles/options_test.dir/build
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make  -f src/CMakeFiles/example.dir/build.make src/CMakeFiles/example.dir/build
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: Entering directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 12%] Building CXX object test/CMakeFiles/options_test.dir/main.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++  
-I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Werror -Wextra -Wshadow -Weffc++ -Wsign-compare -Wshadow -Wwrite-strings 
-Wpointer-arith -Winit-self -Wconversion -Wno-sign-conversion 
-Wsuggest-override -std=c++11 -MD -MT 
test/CMakeFiles/options_test.dir/main.cpp.o -MF 
CMakeFiles/options_test.dir/main.cpp.o.d -o 
CMakeFiles/options_test.dir/main.cpp.o -c /<<PKGBUILDDIR>>/test/main.cpp
[ 25%] Building CXX object src/CMakeFiles/example.dir/example.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src && /usr/bin/c++  
-I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Werror -Wextra -Wshadow -Weffc++ -Wsign-compare -Wshadow -Wwrite-strings 
-Wpointer-arith -Winit-self -Wconversion -Wno-sign-conversion 
-Wsuggest-override -std=c++17 -MD -MT src/CMakeFiles/example.dir/example.cpp.o 
-MF CMakeFiles/example.dir/example.cpp.o.d -o 
CMakeFiles/example.dir/example.cpp.o -c /<<PKGBUILDDIR>>/src/example.cpp
In file included from /<<PKGBUILDDIR>>/src/example.cpp:24:
/<<PKGBUILDDIR>>/include/cxxopts.hpp:123:3: error: ‘uint8_t’ does not name 
a type
  123 |   uint8_t major, minor, patch;
      |   ^~~~~~~
/<<PKGBUILDDIR>>/include/cxxopts.hpp:71:1: note: ‘uint8_t’ is defined in 
header ‘<cstdint>’; this is probably fixable by adding ‘#include 
<cstdint>’
   70 | #    include <optional>
  +++ |+#include <cstdint>
   71 | #    ifdef __cpp_lib_optional
/<<PKGBUILDDIR>>/include/cxxopts.hpp:128:1: error: too many initializers for 
‘const cxxopts::<unnamed struct>’
  128 | };
      | ^
/<<PKGBUILDDIR>>/include/cxxopts.hpp: In function ‘void 
cxxopts::values::integer_parser(const std::string&, T&)’:
/<<PKGBUILDDIR>>/include/cxxopts.hpp:950:9: error: ‘uint8_t’ does not name 
a type [-Wtemplate-body]
  950 |   const uint8_t       base        = int_desc.base.length() > 0 ? 16 : 
10;
      |         ^~~~~~~
/<<PKGBUILDDIR>>/include/cxxopts.hpp:950:9: note: ‘uint8_t’ is defined in 
header ‘<cstdint>’; this is probably fixable by adding ‘#include 
<cstdint>’
/<<PKGBUILDDIR>>/include/cxxopts.hpp:963:14: error: ‘base’ was not declared 
in this scope [-Wtemplate-body]
  963 |     else if (base == 16 && ch >= 'a' && ch <= 'f')
      |              ^~~~
/<<PKGBUILDDIR>>/include/cxxopts.hpp:979:52: error: ‘intmax_t’ does not 
name a type; did you mean ‘int8_t’? [-Wtemplate-body]
  979 |       limit = 
static_cast<US>(std::abs(static_cast<intmax_t>(std::numeric_limits<T>::min())));
      |                                                    ^~~~~~~~
      |                                                    int8_t
/<<PKGBUILDDIR>>/include/cxxopts.hpp:986:9: error: ‘base’ was not declared 
in this scope [-Wtemplate-body]
  986 |     if (base != 0 && result > limit / base)
      |         ^~~~
/<<PKGBUILDDIR>>/include/cxxopts.hpp:990:18: error: ‘base’ was not declared 
in this scope [-Wtemplate-body]
  990 |     if (result * base > limit - digit)
      |                  ^~~~
/<<PKGBUILDDIR>>/include/cxxopts.hpp:995:39: error: ‘base’ was not declared 
in this scope [-Wtemplate-body]
  995 |     result = static_cast<US>(result * base + digit);
      |                                       ^~~~
make[3]: *** [src/CMakeFiles/example.dir/build.make:82: 
src/CMakeFiles/example.dir/example.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:158: src/CMakeFiles/example.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 37%] Building CXX object test/CMakeFiles/options_test.dir/options.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/c++  
-I/<<PKGBUILDDIR>>/include -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Werror -Wextra -Wshadow -Weffc++ -Wsign-compare -Wshadow -Wwrite-strings 
-Wpointer-arith -Winit-self -Wconversion -Wno-sign-conversion 
-Wsuggest-override -std=c++11 -MD -MT 
test/CMakeFiles/options_test.dir/options.cpp.o -MF 
CMakeFiles/options_test.dir/options.cpp.o.d -o 
CMakeFiles/options_test.dir/options.cpp.o -c /<<PKGBUILDDIR>>/test/options.cpp
[ 50%] Linking CXX executable options_test
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/cmake -E 
cmake_link_script CMakeFiles/options_test.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wall 
-Werror -Wextra -Wshadow -Weffc++ -Wsign-compare -Wshadow -Wwrite-strings 
-Wpointer-arith -Winit-self -Wconversion -Wno-sign-conversion 
-Wsuggest-override -Wl,-z,relro -Wl,-z,now 
-Wl,--dependency-file=CMakeFiles/options_test.dir/link.d 
CMakeFiles/options_test.dir/main.cpp.o 
CMakeFiles/options_test.dir/options.cpp.o -o options_test
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
[ 50%] Built target options_test
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:16: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

Reply via email to