#1098059 vdetelweb: ftbfs with GCC-15

#1098059#5
Date:
2025-02-17 17:59:09 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/vdetelweb_1.2.3-1_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

[...]
make[3]: *** [CMakeFiles/vdetelweb.dir/build.make:110: CMakeFiles/vdetelweb.dir/telnet.c.o] Error 1
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:379:16: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, struct netif *, int)’ [-Wincompatible-pointer-types]
  379 |         {"ip4",readip,PF_INET},
      |                ^~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:379:16: note: (near initialization for ‘cft[0].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:284:13: note: ‘readip’ declared here
  284 | static void readip(char *arg,struct netif *nif,int af)
      |             ^~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:380:16: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, struct netif *, int)’ [-Wincompatible-pointer-types]
  380 |         {"ip6",readip,PF_INET6},
      |                ^~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:380:16: note: (near initialization for ‘cft[1].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:284:13: note: ‘readip’ declared here
  284 | static void readip(char *arg,struct netif *nif,int af)
      |             ^~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:381:15: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, struct netif *, int)’ [-Wincompatible-pointer-types]
  381 |         {"ip",readip,0},
      |               ^~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:381:15: note: (near initialization for ‘cft[2].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:284:13: note: ‘readip’ declared here
  284 | static void readip(char *arg,struct netif *nif,int af)
      |             ^~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:382:22: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, struct netif *, int)’ [-Wincompatible-pointer-types]
  382 |         {"defroute4",readdefroute,PF_INET},
      |                      ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:382:22: note: (near initialization for ‘cft[3].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:332:13: note: ‘readdefroute’ declared here
  332 | static void readdefroute(char *arg,struct netif *nif,int af)
      |             ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:383:22: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, struct netif *, int)’ [-Wincompatible-pointer-types]
  383 |         {"defroute6",readdefroute,PF_INET6},
      |                      ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:383:22: note: (near initialization for ‘cft[4].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:332:13: note: ‘readdefroute’ declared here
  332 | static void readdefroute(char *arg,struct netif *nif,int af)
      |             ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:384:21: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, struct netif *, int)’ [-Wincompatible-pointer-types]
  384 |         {"defroute",readdefroute,0},
      |                     ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:384:21: note: (near initialization for ‘cft[5].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:332:13: note: ‘readdefroute’ declared here
  332 | static void readdefroute(char *arg,struct netif *nif,int af)
      |             ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:385:21: error: initialization of ‘void (*)(void)’ from incompatible pointer type ‘void (*)(char *, int)’ [-Wincompatible-pointer-types]
  385 |         {"password",readpassword,0},
      |                     ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:385:21: note: (near initialization for ‘cft[6].f’)
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:368:13: note: ‘readpassword’ declared here
  368 | static void readpassword(char *arg,int unused)
      |             ^~~~~~~~~~~~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c: In function ‘readconffile’:
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:418:41: error: too many arguments to function ‘scf->f’; expected 0, have 3
  418 |                                         scf->f(s,nif,scf->arg);
      |                                         ^~~    ~
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:376:16: note: declared here
  376 |         void (*f)();
      |                ^
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c: In function ‘main’:
/build/reproducible-path/vdetelweb-1.2.3/vdetelweb.c:697:33: error: too many arguments to function ‘fpfd[i]’; expected 0, have 3
  697 |                                 fpfd[i](i,pfd[i].fd,vdefd);
      |                                 ^~~~    ~
make[3]: *** [CMakeFiles/vdetelweb.dir/build.make:82: CMakeFiles/vdetelweb.dir/vdetelweb.c.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/vdetelweb-1.2.3/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:91: CMakeFiles/vdetelweb.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/vdetelweb-1.2.3/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/vdetelweb-1.2.3/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

#1098059#14
Date:
2025-09-18 16:36:51 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
vdetelweb, 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 1098059@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andrea Capriotti <capriott@debian.org> (supplier of updated vdetelweb 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: Thu, 18 Sep 2025 17:58:53 +0200
Source: vdetelweb
Binary: vdetelweb vdetelweb-dbgsym
Architecture: source amd64
Version: 1.2.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian VSquare Team <virtualsquare@cs.unibo.it>
Changed-By: Andrea Capriotti <capriott@debian.org>
Description:
 vdetelweb  - Telnet and Web interface for VDE 2.x
Closes: 1098059
Changes:
 vdetelweb (1.2.4-1) unstable; urgency=medium
 .
   * New upstream release (Closes: #1098059)
   * Bump Standard version to 4.7.2
   * Add new Uploader Andrea Capriotti
   * Update cmake Build-Depends
Checksums-Sha1:
 ca900ab94a3e889749e6b410eeb1f9f42af87854 2166 vdetelweb_1.2.4-1.dsc
 ed15edcd802fd677ac45726dd431968902dc5ea4 21035 vdetelweb_1.2.4.orig.tar.gz
 2ccb9436054f71c0fa0aa949ce0ff9849ef9def8 2880 vdetelweb_1.2.4-1.debian.tar.xz
 afac31f9387e193af489a405fba49fb2f51fb075 34392 vdetelweb-dbgsym_1.2.4-1_amd64.deb
 1dd66799da545fc6a3a24104655a1abfd5d91061 7640 vdetelweb_1.2.4-1_amd64.buildinfo
 55f6ba38c7fd361a25cc9355f452ebc051eb2746 17284 vdetelweb_1.2.4-1_amd64.deb
Checksums-Sha256:
 d9406937575d93852b7613682d5660c2111b20211e35594d7ccd3460d5005a7f 2166 vdetelweb_1.2.4-1.dsc
 c6e35d93271059589afb55819ca0cbcfc3387aa4c848808a8f07edd420e1f8be 21035 vdetelweb_1.2.4.orig.tar.gz
 0d381ce0676c5ae282e85d442d9b89347f1c39a7bccc884fd60ac0ad8f2af6c4 2880 vdetelweb_1.2.4-1.debian.tar.xz
 229462640097ccd3876aff44c1557bdc2614c794c683eacdc011a00252bc9908 34392 vdetelweb-dbgsym_1.2.4-1_amd64.deb
 a2aa1be5dd4259d55028abcc61ad9ce3a704b846826fb0c55ad34ba30e9249da 7640 vdetelweb_1.2.4-1_amd64.buildinfo
 d41ecbdabfd6f7ee8cdec55aeb8e6752a491e560fb468f01d40e0d3f3df67126 17284 vdetelweb_1.2.4-1_amd64.deb
Files:
 5fc3e42bc0c953a5123799856deed4c9 2166 net optional vdetelweb_1.2.4-1.dsc
 64c0c275f460d8b53d5f35b52a1796f3 21035 net optional vdetelweb_1.2.4.orig.tar.gz
 00731069592e400e280a98a9617e39b4 2880 net optional vdetelweb_1.2.4-1.debian.tar.xz
 526df9b864c2d9083a677832939d8386 34392 debug optional vdetelweb-dbgsym_1.2.4-1_amd64.deb
 fc0431bac41193cf277bbe9e2f157145 7640 net optional vdetelweb_1.2.4-1_amd64.buildinfo
 01f8164fe70f4be82c16f2f32106ab98 17284 net optional vdetelweb_1.2.4-1_amd64.deb
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEGvhvgTlGG2tOSvezC6/u7+lpvVQFAmjMLYEACgkQC6/u7+lp
vVQ4FQ//aah6fifmK3YGHM6WpBOq6FS8fU9IwU023hS6ugpyUwZmV1FBNW/BhBJI
KCfi2f5eCRuv3r/rQ9DwKjQJp1iyKC1v1k2Y5Qjbsmx3Ga2zNGtvuu4hw2UoQFoH
5H3LBNFolkUR8mHNE6jH0hJaXTmeRYHDztjz1qn9GXlHt7jj3coCMDD9kLOIls4I
OyVd+qYZ7inYswYktyItfuMr/oAtlZybwMiM6nXHTHhdJY2AP5MFqjJ4bQ5IIujo
MIwuGDX2/DXKS9RAkZh7MUp3UIvltvzNpqXbrjoD4utYvdCmMK8210guLaP8LPwS
o9mzrsYo0X+kzyQ8WZlFRQ4S83FVe40yiTqmEbACpG8PX2tODrs0YsXgUuDDyCBF
k5hwiDOP7V7L3Jtmc/C4DSbU1dYNFXrm0VjRtwHl94kxOMqoGRzKXz+S+ErlzedT
qyj1BRnxfytFSzXwuQmPICL/bD0Zbr4N4GhsEBGiAjF09PvqfzWIVWsgu0x8CF/f
1XzPDjt5xo56loeuXk8VXhFHqzdFdYqVu9g0h9A/nFLDaNAIsS/XIgqPnZLZcnwU
VQCOI1iVGfCGC4h3EA+3T9kVuuA75NEIT47g1dzDKZiVVpTaNr8Har2fC8i3a7Fz
UTfBw0hJ+b1NdCbrrPFVAlUlj4C6DHTY/Dk4sTnlN56SEkXSqFY=
=RGaC
-----END PGP SIGNATURE-----