Source: valijson
Version: 1.0.3+repack-2
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, valijson failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
/usr/bin/c++ -DPICOJSON_USE_INT64 -DQT_CORE_LIB -DQT_NO_DEBUG 
-DVALIJSON_BUILD_POCO_ADAPTER -DVALIJSON_BUILD_QT_ADAPTER 
-DVALIJSON_USE_EXCEPTIONS=1 
-I/build/reproducible-path/valijson-1.0.3+repack/include -isystem 
/usr/src/googletest/googletest/include/gtest -isystem /usr/include/jsoncpp 
-isystem /usr/include/rapidjson -isystem /usr/include/nlohmann -isystem 
/usr/include/yaml-cpp -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem 
/usr/include/aarch64-linux-gnu/qt5/QtCore -isystem 
/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -g -O2 
-ffile-prefix-map=/build/reproducible-path/valijson-1.0.3+repack=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -std=c++14 -Wall  
-pedantic -Werror -Wshadow -Wunused -fPIC -MD -MT 
CMakeFiles/test_suite.dir/tests/test_adapter_comparison.cpp.o -MF 
CMakeFiles/test_suite.dir/tests/test_adapter_comparison.cpp.o.d -o 
CMakeFiles/test_suite.dir/tests/test_adapter_comparison.cpp.o -c 
/build/reproducible-path/valijson-1.0.3+repack/tests/test_adapter_comparison.cpp
/usr/bin/c++ -DPICOJSON_USE_INT64 -DQT_CORE_LIB -DQT_NO_DEBUG 
-DVALIJSON_BUILD_POCO_ADAPTER -DVALIJSON_BUILD_QT_ADAPTER 
-DVALIJSON_USE_EXCEPTIONS=1 
-I/build/reproducible-path/valijson-1.0.3+repack/include -isystem 
/usr/src/googletest/googletest/include/gtest -isystem /usr/include/jsoncpp 
-isystem /usr/include/rapidjson -isystem /usr/include/nlohmann -isystem 
/usr/include/yaml-cpp -isystem /usr/include/aarch64-linux-gnu/qt5 -isystem 
/usr/include/aarch64-linux-gnu/qt5/QtCore -isystem 
/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -g -O2 
-ffile-prefix-map=/build/reproducible-path/valijson-1.0.3+repack=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DBOOST_BIND_GLOBAL_PLACEHOLDERS -std=c++14 -Wall  
-pedantic -Werror -Wshadow -Wunused -fPIC -MD -MT 
CMakeFiles/test_suite.dir/tests/test_fetch_absolute_uri_document_callback.cpp.o 
-MF 
CMakeFiles/test_suite.dir/tests/test_fetch_absolute_uri_document_callback.cpp.o.d
 -o 
CMakeFiles/test_suite.dir/tests/test_fetch_absolute_uri_document_callback.cpp.o 
-c 
/build/reproducible-path/valijson-1.0.3+repack/tests/test_fetch_absolute_uri_document_callback.cpp
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 
/build/reproducible-path/valijson-1.0.3+repack/tests/test_fetch_urn_document_callback.cpp:2:
/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-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:63,
                 from 
/build/reproducible-path/valijson-1.0.3+repack/tests/test_json_pointer.cpp:3:
/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-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:63,
                 from 
/build/reproducible-path/valijson-1.0.3+repack/tests/test_fetch_absolute_uri_document_callback.cpp:2:
/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-message.h:57,
                 from /usr/include/gtest/gtest-assertion-result.h:46,
                 from /usr/include/gtest/gtest.h:63,
                 from 
/build/reproducible-path/valijson-1.0.3+repack/tests/test_adapter_comparison.cpp:9:
/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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
make[3]: *** [CMakeFiles/test_suite.dir/build.make:124: 
CMakeFiles/test_suite.dir/tests/test_json_pointer.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/test_suite.dir/build.make:110: 
CMakeFiles/test_suite.dir/tests/test_fetch_urn_document_callback.cpp.o] Error 1
make[3]: *** [CMakeFiles/test_suite.dir/build.make:96: 
CMakeFiles/test_suite.dir/tests/test_fetch_absolute_uri_document_callback.cpp.o]
 Error 1
make[3]: *** [CMakeFiles/test_suite.dir/build.make:82: 
CMakeFiles/test_suite.dir/tests/test_adapter_comparison.cpp.o] Error 1
make[3]: Leaving directory 
'/build/reproducible-path/valijson-1.0.3+repack/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:90: CMakeFiles/test_suite.dir/all] Error 2
make[2]: Leaving directory 
'/build/reproducible-path/valijson-1.0.3+repack/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory 
'/build/reproducible-path/valijson-1.0.3+repack/obj-aarch64-linux-gnu'
dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j4 "INSTALL=install 
--strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T23:03:31Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2413255/

The most likely cause of build failures is the removed backwards compatibility 
for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/155109/

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

Thanks,
Timo

Reply via email to