#1133642 taskflow: ftbfs with GCC-16

#1133642#5
Date:
2026-04-13 13:11:35 UTC
From:
To:
Hi,

taskflow fails to build in a test rebuild on at least amd64 and arm64 with
gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
report will be raised before the forky release.

The full build log can be found at:
https://people.debian.org/~ema/gcc-16-rebuilds/output-1/taskflow_arm64.build.xz

The last lines of the build log are at the end of this report.

To build with GCC 16, either set CC=gcc-16 CXX=g++-16 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++

Common build failures include unused (but set) variables, array subscripts
partly outside array bounds, and new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-16/porting_to.html

Please only close this issue after double-checking that the package can be
built correctly with GCC 16.

Please do not reassign this bug to another package. If a fix in another package
is required, then file a bug for the other package (or clone), and mark this
bug as blocked by the bug in the other package.

[...]


[doctest] test cases: 1 | 0 passed | 1 failed | 83 skipped
[doctest] assertions: 3 | 2 passed | 1 failed |
[doctest] Status: FAILURE!

    Start 954: InclusiveScan.string.4threads
4/6 Test #954: InclusiveScan.string.4threads ....***Failed    0.00 sec
[doctest] doctest version is "2.4.12"
[doctest] run with "--help" for options
===============================================================================
./unittests/test_scan.cpp:129:
TEST CASE:  InclusiveScan.string.4threads

./unittests/test_scan.cpp:61: FATAL ERROR: REQUIRE( input == golden ) is NOT correct!
  values: REQUIRE( {?} == {?} )

===============================================================================
[doctest] test cases: 1 | 0 passed | 1 failed | 83 skipped
[doctest] assertions: 3 | 2 passed | 1 failed |
[doctest] Status: FAILURE!

    Start 955: InclusiveScan.string.8threads
5/6 Test #955: InclusiveScan.string.8threads ....***Failed    0.01 sec
[doctest] doctest version is "2.4.12"
[doctest] run with "--help" for options
===============================================================================
./unittests/test_scan.cpp:133:
TEST CASE:  InclusiveScan.string.8threads

./unittests/test_scan.cpp:61: FATAL ERROR: REQUIRE( input == golden ) is NOT correct!
  values: REQUIRE( {?} == {?} )

===============================================================================
[doctest] test cases: 1 | 0 passed | 1 failed | 83 skipped
[doctest] assertions: 3 | 2 passed | 1 failed |
[doctest] Status: FAILURE!

    Start 956: InclusiveScan.string.12threads
6/6 Test #956: InclusiveScan.string.12threads ...***Failed    0.01 sec
[doctest] doctest version is "2.4.12"
[doctest] run with "--help" for options
===============================================================================
./unittests/test_scan.cpp:137:
TEST CASE:  InclusiveScan.string.12threads

./unittests/test_scan.cpp:61: FATAL ERROR: REQUIRE( input == golden ) is NOT correct!
  values: REQUIRE( {?} == {?} )

===============================================================================
[doctest] test cases: 1 | 0 passed | 1 failed | 83 skipped
[doctest] assertions: 3 | 2 passed | 1 failed |
[doctest] Status: FAILURE!


0% tests passed, 6 tests failed out of 6

Total Test time (real) =   0.07 sec

The following tests FAILED:
	951 - InclusiveScan.string.1thread (Failed)
	952 - InclusiveScan.string.2threads (Failed)
	953 - InclusiveScan.string.3threads (Failed)
	954 - InclusiveScan.string.4threads (Failed)
	955 - InclusiveScan.string.8threads (Failed)
	956 - InclusiveScan.string.12threads (Failed)
Errors while running CTest
make[2]: *** [Makefile:74: test] Error 8
make[2]: Leaving directory '/build/reproducible-path/taskflow-3.9.0+ds/buildtest'
make[1]: *** [debian/rules:67: override_dh_auto_test-arch] Error 2
make[1]: Leaving directory '/build/reproducible-path/taskflow-3.9.0+ds'
make: *** [debian/rules:15: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2