[This bug is NOT targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.
The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/libvmod-selector_2.6.0-5_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.
To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other Common build failures are new warnings resulting in build failures
with -Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-15/porting_to.html
[...]
**** v1 CLI TX|\t\tcall s.subroutine(element="quux");
**** v1 CLI TX|\t\tcall s.subroutine(element="foobar");
**** v1 CLI TX|\t\tif (req.http.Element) {
**** v1 CLI TX|\t\t\tset resp.http.Check-Element
**** v1 CLI TX|\t\t\t = s.check_call(element=req.http.Element);
**** v1 CLI TX|\t\t\tcall s.subroutine(element=req.http.Element);
**** v1 CLI TX|\t\t}
**** v1 CLI TX|
**** v1 CLI TX|\t\treturn (deliver);
**** v1 CLI TX|\t}
**** v1 CLI TX|
**** v1 CLI TX|%XJEIFLH|)Xspa8P
**** dT 0.193
*** v1 CLI RX 106
**** v1 CLI RX|Message from C-compiler:
**** v1 CLI RX|vgc.c:2267:33: error: two or more data types in declaration specifiers
**** v1 CLI RX| 2267 | VCL_BOOL bool;
**** v1 CLI RX| | ^~~~
**** v1 CLI RX|vgc.c:2267:37: error: declaration does not declare anything [-Werror]
**** v1 CLI RX| 2267 | VCL_BOOL bool;
**** v1 CLI RX| | ^
**** v1 CLI RX|cc1: all warnings being treated as errors
**** v1 CLI RX|Running C-compiler failed, exited with 1
**** v1 CLI RX|VCL compilation failed
**** dT 0.203
---- v1 VCL compilation failed expected success
* top RESETTING after ./tests/subroutine.vtc
** v1 Wait
**** v1 CLI TX|panic.show
**** dT 0.215
*** v1 vsl|No VSL chunk found (child not started ?)
**** dT 0.246
*** v1 CLI RX 300
**** v1 CLI RX|Child has not panicked or panic has been cleared
*** v1 debug|Info: manager stopping child
*** v1 debug|Info: manager dies
**** dT 0.249
**** v1 STDOUT EOF
** v1 WAIT4 pid=3159 status=0x0000 (user 0.065998 sys 0.025077)
* top TEST ./tests/subroutine.vtc FAILED
# top TEST ./tests/subroutine.vtc FAILED (0.250) exit=2
FAIL tests/subroutine.vtc (exit status: 2)
============================================================================
Testsuite summary for libvmod-selector 2.6.0
============================================================================
# TOTAL: 17
# PASS: 1
# SKIP: 0
# XFAIL: 0
# FAIL: 16
# XPASS: 0
# ERROR: 0
============================================================================
See src/test-suite.log for debugging.
Some test(s) failed. Please report this to varnish-support@uplex.de,
together with the test-suite.log file (gzipped) and your system
information. Thanks.
============================================================================
make[4]: *** [Makefile:890: test-suite.log] Error 1
make[4]: Leaving directory '/build/reproducible-path/libvmod-selector-2.6.0/src'
make[3]: *** [Makefile:1025: check-TESTS] Error 2
make[3]: Leaving directory '/build/reproducible-path/libvmod-selector-2.6.0/src'
make[2]: *** [Makefile:1097: check-am] Error 2
make[2]: Leaving directory '/build/reproducible-path/libvmod-selector-2.6.0/src'
make[1]: *** [Makefile:517: check-recursive] Error 1
make[1]: Leaving directory '/build/reproducible-path/libvmod-selector-2.6.0'
dh_auto_test: error: make -j1 check "TESTSUITEFLAGS=-j1 --verbose" VERBOSE=1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2