#1098056 varnish: ftbfs with GCC-15

Package:
src:varnish
Source:
src:varnish
Submitter:
Matthias Klose
Date:
2025-08-14 00:09:32 UTC
Severity:
normal
Tags:
#1098056#5
Date:
2025-02-17 17:59:04 UTC
From:
To:
[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/varnish_7.6.1-2_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

[...]
      |                                 ^~~~
vcc_std_if.h:107:37: error: declaration does not declare anything [-Werror]
  107 |         VCL_BOOL                bool;
      |                                     ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1305: libvmod_std_la-vmod_std.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
In file included from vmod_std_conversions.c:47:
vcc_std_if.h:78:33: error: two or more data types in declaration specifiers
   78 |         VCL_BOOL                bool;
      |                                 ^~~~
vcc_std_if.h:78:37: error: declaration does not declare anything [-Werror]
   78 |         VCL_BOOL                bool;
      |                                     ^
vcc_std_if.h:107:33: error: two or more data types in declaration specifiers
  107 |         VCL_BOOL                bool;
      |                                 ^~~~
vcc_std_if.h:107:37: error: declaration does not declare anything [-Werror]
  107 |         VCL_BOOL                bool;
      |                                     ^
vmod_std_conversions.c: In function ‘vmod_integer’:
vmod_std_conversions.c:160:28: error: expected identifier before ‘bool’
  160 |                 return (a->bool ? 1 : 0);
      |                            ^~~~
vmod_std_conversions.c: In function ‘vmod_real’:
vmod_std_conversions.c:258:39: error: expected identifier before ‘bool’
  258 |                 return ((VCL_REAL)(a->bool ? 1 : 0));
      |                                       ^~~~
cc1: all warnings being treated as errors
In file included from vmod_std_fileread.c:51:
vcc_std_if.h:78:33: error: two or more data types in declaration specifiers
   78 |         VCL_BOOL                bool;
      |                                 ^~~~
vcc_std_if.h:78:37: error: declaration does not declare anything [-Werror]
   78 |         VCL_BOOL                bool;
      |                                     ^
vcc_std_if.h:107:33: error: two or more data types in declaration specifiers
  107 |         VCL_BOOL                bool;
      |                                 ^~~~
vcc_std_if.h:107:37: error: declaration does not declare anything [-Werror]
  107 |         VCL_BOOL                bool;
      |                                     ^
make[4]: *** [Makefile:1312: libvmod_std_la-vmod_std_conversions.lo] Error 1
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1319: libvmod_std_la-vmod_std_fileread.lo] Error 1
In file included from vmod_std_querysort.c:38:
vcc_std_if.h:78:33: error: two or more data types in declaration specifiers
   78 |         VCL_BOOL                bool;
      |                                 ^~~~
vcc_std_if.h:78:37: error: declaration does not declare anything [-Werror]
   78 |         VCL_BOOL                bool;
      |                                     ^
vcc_std_if.h:107:33: error: two or more data types in declaration specifiers
  107 |         VCL_BOOL                bool;
      |                                 ^~~~
vcc_std_if.h:107:37: error: declaration does not declare anything [-Werror]
  107 |         VCL_BOOL                bool;
      |                                     ^
cc1: all warnings being treated as errors
make[4]: *** [Makefile:1326: libvmod_std_la-vmod_std_querysort.lo] Error 1
make[4]: Leaving directory '/build/reproducible-path/varnish-7.6.1/vmod'
make[3]: *** [Makefile:924: all] Error 2
make[3]: Leaving directory '/build/reproducible-path/varnish-7.6.1/vmod'
make[2]: *** [Makefile:764: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/varnish-7.6.1'
make[1]: *** [Makefile:649: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/varnish-7.6.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:43: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1098056#22
Date:
2025-06-20 08:46:36 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
varnish, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098056@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated varnish package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Fri, 20 Jun 2025 05:16:33 +0200
Source: varnish
Architecture: source
Version: 7.7.1-1
Distribution: experimental
Urgency: medium
Maintainer: Varnish Package Maintainers <team+varnish-team@tracker.debian.org>
Changed-By: Marco d'Itri <md@linux.it>
Closes: 1098056
Changes:
 varnish (7.7.1-1) experimental; urgency=medium
 .
   * New upstream release. Fixes:
     - FTBFS with GCC-15. (Closes: #1098056)
Checksums-Sha1:
 843c6cc09e0df273c9965fb85f2730160baa3159 2713 varnish_7.7.1-1.dsc
 a614422db560d24f5dba344963d783ccc06ac81f 1547652 varnish_7.7.1.orig.tar.xz
 ce1210903986e78762772ad17c88758c9762ad96 26476 varnish_7.7.1-1.debian.tar.xz
 ab4fa76cd875ecd2d3bc1f64af7d8e76077a346f 3535248 varnish_7.7.1-1.git.tar.xz
 f09018176935a01024f6c3f22882b2d334d256f7 18036 varnish_7.7.1-1_source.buildinfo
Checksums-Sha256:
 42dbd520447fcd44f250d729b773b4c8c271690dc4a685531e7b53cc46cb176e 2713 varnish_7.7.1-1.dsc
 55445bca762a7177508b64685b1f82fb3666e2eb222144249cb2ebe567320a42 1547652 varnish_7.7.1.orig.tar.xz
 f214564f512e52d0ce28699ec78ac68f7dd56f7eafc5717540abb59ac4894565 26476 varnish_7.7.1-1.debian.tar.xz
 9a7f1fd0bf2d9476a3304c64c58ded68dbac7c303cf4fe3f2ff6d14c34b595a3 3535248 varnish_7.7.1-1.git.tar.xz
 1905bf8d110cbf5794ef55ee6569ed183b6e81cb9910faf08a909998342fb7eb 18036 varnish_7.7.1-1_source.buildinfo
Files:
 f3dca061495cbaaa7e7e9fbced401694 2713 web optional varnish_7.7.1-1.dsc
 f469a7e2ed8d4ac367e04f3554c8e204 1547652 web optional varnish_7.7.1.orig.tar.xz
 163d05a36cd042ab163d243c73bca133 26476 web optional varnish_7.7.1-1.debian.tar.xz
 f4bd84126202572d38599abd40a59231 3535248 web optional varnish_7.7.1-1.git.tar.xz
 76430ae8dd56184319233631eab0cacc 18036 web optional varnish_7.7.1-1_source.buildinfo
Git-Tag-Info: tag=608c18d27ebc44e47fe873f01a85eafda95dff38 fp=272945cd836d38dfb7427e86cb3ec33ae1ded781
Git-Tag-Tagger: Marco d'Itri <md@linux.it>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmhVGiIACgkQYG0ITkaD
wHnO1A/9HVP4aaNhBrBHo/82sTaf6qOVfwJApI6Vtddfhxu76sWPzRxoEacWU3Ht
bYaNGlo8zWkLJpIGQb66puZJu+1FSRiTCFRG1svccKoeEVL4rn1norrDyLP4zHke
x5B5hbBUYqB+3MeGl9aX5gvXytsg6VYD8c/59bXKagf5QIGZHbBtbIb4rpfK+ALn
QX3l/QhR5fYEyf/W1r+llY5NwX2CzLr4elDy/M8vsnqpwOd3oJ5qbgiRKwYZRQof
+nefAPL+K1jJ5Yswjj9Q2if+5X/fkidiQlox5HgDoiqG9m+LT9LK/LpatNqH9feO
4LjMZZJ0OFrWcyIQTAiobFBmIq0m+qBB8QfgLHOaadbQNNJ3eZdlppcbkcdP9XDO
Q4r2bhVF2zCOli3DI02PmrY4PHl/WkYk6SsEj1BCG5u96k3vS+9eqFJNzJuR8sqK
/8gxbxufn3RZvjmKgVdy+aZ6z1EgDz+xxjv8K3/zOmo8RQhoq+FMlAVIDl7nPMkb
EkIiD4X1g3KPQSoBTmmlKrNYgtKNEoyLub8Lq2viAWO85WxaZhYKcFePtmmHs/OH
c6zj8ot30gh/vW3ZztqLs0EYa3MJhHo9uR60IugEKZcn+TDqMTfcuASI3e6uHU5d
REDEGlSRNj8GBMIAEld+kH3bOeo7C0QixQZIYo7NxU0sZoGr2Lo=
=YuTq
-----END PGP SIGNATURE-----

#1098056#27
Date:
2025-08-14 00:07:33 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
varnish, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098056@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marco d'Itri <md@linux.it> (supplier of updated varnish package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 13 Aug 2025 22:49:24 +0200
Source: varnish
Architecture: source
Version: 7.7.2-1
Distribution: unstable
Urgency: medium
Maintainer: Varnish Package Maintainers <team+varnish-team@tracker.debian.org>
Changed-By: Marco d'Itri <md@linux.it>
Closes: 1098056 1108389
Changes:
 varnish (7.7.2-1) unstable; urgency=medium
 .
   * New upstream release. Fixes:
     - the VSV00017 denial of service vulnerability.
   * Skip most autopkgtests on riscv64 because they are unreliable.
     (Closes: #1108389)
 .
 varnish (7.7.1-1) experimental; urgency=medium
 .
   * New upstream release. Fixes:
     - FTBFS with GCC-15. (Closes: #1098056)
Checksums-Sha1:
 9e32fd77f149ed41b24c092402d9bf4203fa0abd 2713 varnish_7.7.2-1.dsc
 ff104e453ccc387bd86e0664aa568fa6ce42525f 1547216 varnish_7.7.2.orig.tar.xz
 0f79db8e6eee7278368b3fb880d9023b4bc60297 26596 varnish_7.7.2-1.debian.tar.xz
 c824fc3aeda3034ac3ba404e4f651c23e7ff989b 3444548 varnish_7.7.2-1.git.tar.xz
 39ddc28d65225c56e26ed9664fc6e7394e537205 18054 varnish_7.7.2-1_source.buildinfo
Checksums-Sha256:
 c4088b20faed645486041cca15139185fe1fc4e836d3e3f0a40c739cba34ba09 2713 varnish_7.7.2-1.dsc
 b3e085584a96fd0608ca40324afc18db5ef6a166ab993751c1b6bcd47ad9491b 1547216 varnish_7.7.2.orig.tar.xz
 68088ed5b7177d15b136c02df74373628f5e8aa9c119f2f7bd77a21f0804b9de 26596 varnish_7.7.2-1.debian.tar.xz
 7a94cdf38895cfad5aa876c210073e2087e9c07f34592145c57cae3c2f7bd4c4 3444548 varnish_7.7.2-1.git.tar.xz
 5b5e8dc4a9d9c9fb753777db78f0e69c969a37241c43d4cc0ae0e725f1959249 18054 varnish_7.7.2-1_source.buildinfo
Files:
 d4bf94ed1afda73c48ad24fa8e829c42 2713 web optional varnish_7.7.2-1.dsc
 aeacfbf153a5897fe0bc8a4a9d5d889f 1547216 web optional varnish_7.7.2.orig.tar.xz
 80893183a0097685924f77b90a3a3d13 26596 web optional varnish_7.7.2-1.debian.tar.xz
 e6e51e35963cd1f361c8c082f2f7cc22 3444548 web optional varnish_7.7.2-1.git.tar.xz
 66170942fa814221c0112643ddab2c89 18054 web optional varnish_7.7.2-1_source.buildinfo
Git-Tag-Info: tag=7d90221037aa25708f9a87c6c569e14ba71d3dc3 fp=272945cd836d38dfb7427e86cb3ec33ae1ded781
Git-Tag-Tagger: Marco d'Itri <md@linux.it>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmidEzgACgkQYG0ITkaD
wHkqmQ/+JRXJczpMaf4efSZ0YTkImX+sFMFR5MeaC8SkIXpZfSUBj6tcKtrzZ3ot
SNo2tDISowVCP7sQt8APj3Kqydy+izNeHrVDytayiaZPwbek2QGTUsx4d0BLrA8f
Qo80p2jrpkJFD7AIkePbdlNqD5brvCC7c4BhMqs0tGTqu5r0n/0HjpRY6PB3+1v2
k9o3UQPPmUMxrBOU9knk7u+X2fWbfvErB/rDaviIk6Afz6N/nkZLbtvOkCsaQusc
A7TSU8/C4I8JZJzBnUr3+G3/K+z2SzHhygrLCbZtJejhtPPdiVItcJrgMMR4ndem
Xcx/HRFBMSy25JzRoQ1FfQ/pqRruXGbHQCO8eNm2omAg2jMA4OXzJxKpBwVXLUyq
crG3NEaJyKzvI11+i3tfdRdr22Izfh+eCoH1oZg3VAou0fH76Dh8Xpa0rRzOuPF2
NDUiro6+Aci9pwJ+ueEIRgfOthvKHO9QUwZ4dld0Oa3qnYCCAKcowW5D4kEsGmtQ
Hw2ZyGHiFO1I5CWhd9VHOCJu90aaCWt9AeOBOYBa8MV7KP/RJqM9QHhQ2yp32TIx
OBJch7tZK7pP7L/U2iKje+TSRR16Y6tMaeRRDdl0OCVdS+X7qNXM/TEE13Tk3iZl
YfcF6wgCOMaSWfdWg8mJBLo86L+oq1n6OCPAStLPUd8V4sCf+KY=
=2RpF
-----END PGP SIGNATURE-----