[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1097451: marked as done (netkit-telnet-ssl: ftbfs with GCC-15)



Your message dated Mon, 20 Oct 2025 11:34:57 +0000
with message-id <E1vAoAD-005dsw-0o@fasolo.debian.org>
and subject line Bug#1097451: fixed in netkit-telnet-ssl 0.17.41+really0.17-7
has caused the Debian Bug report #1097451,
regarding netkit-telnet-ssl: ftbfs with GCC-15
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1097451: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097451
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:netkit-telnet-ssl
Version: 0.17.41+really0.17-5
Severity: important
Tags: sid forky
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-15

[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/netkit-telnet-ssl_0.17.41+really0.17-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

[...]
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:338:64: error: passing argument 3 of ‘SSL_set_verify’ from incompatible pointer type [-Wincompatible-pointer-types]
  338 |                         SSL_set_verify(ssl_con,ssl_verify_flag,server_verify_callback);
      |                                                                ^~~~~~~~~~~~~~~~~~~~~~
      |                                                                |
      |                                                                int (*)(void)
In file included from /build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:75:
/usr/include/openssl/ssl.h:1664:53: note: expected ‘SSL_verify_cb’ {aka ‘int (*)(int,  struct x509_store_ctx_st *)’} but argument is of type ‘int (*)(void)’
 1664 | void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback);
      |                                       ~~~~~~~~~~~~~~^~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:137:5: note: ‘server_verify_callback’ declared here
  137 | int server_verify_callback();
      |     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:343:15: note: ‘SSL_verify_cb’ declared here
  343 | typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
      |               ^~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘auth_ssl_reply’:
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:410:6: warning: old-style function definition [-Wold-style-definition]
  410 | void auth_ssl_reply(ap, data, cnt)
      |      ^~~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:438:49: error: passing argument 3 of ‘SSL_set_verify’ from incompatible pointer type [-Wincompatible-pointer-types]
  438 |                                                 client_verify_callback);
      |                                                 ^~~~~~~~~~~~~~~~~~~~~~
      |                                                 |
      |                                                 int (*)(void)
/usr/include/openssl/ssl.h:1664:53: note: expected ‘SSL_verify_cb’ {aka ‘int (*)(int,  struct x509_store_ctx_st *)’} but argument is of type ‘int (*)(void)’
 1664 | void SSL_set_verify(SSL *s, int mode, SSL_verify_cb callback);
      |                                       ~~~~~~~~~~~~~~^~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:138:5: note: ‘client_verify_callback’ declared here
  138 | int client_verify_callback();
      |     ^~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/ssl.h:343:15: note: ‘SSL_verify_cb’ declared here
  343 | typedef int (*SSL_verify_cb)(int preverify_ok, X509_STORE_CTX *x509_ctx);
      |               ^~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘auth_ssl_status’:
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:484:5: warning: old-style function definition [-Wold-style-definition]
  484 | int auth_ssl_status(ap, name, level)
      |     ^~~~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘auth_ssl_printsub’:
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:566:6: warning: old-style function definition [-Wold-style-definition]
  566 | void auth_ssl_printsub(data, cnt, buf, buflen)
      |      ^~~~~~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘server_verify_callback’:
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:617:1: warning: old-style function definition [-Wold-style-definition]
  617 | server_verify_callback(ok, ctx)
      | ^~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:626:1: error: number of arguments doesn’t match prototype
  626 | {
      | ^
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:137:5: error: prototype declaration
  137 | int server_verify_callback();
      |     ^~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c: In function ‘client_verify_callback’:
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:766:1: warning: old-style function definition [-Wold-style-definition]
  766 | client_verify_callback(ok, ctx)
      | ^~~~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:775:1: error: number of arguments doesn’t match prototype
  775 | {
      | ^
/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/libtelnet/ssl.c:138:5: error: prototype declaration
  138 | int client_verify_callback();
      |     ^~~~~~~~~~~~~~~~~~~~~~
make[3]: *** [libtelnet/CMakeFiles/libtelnet.dir/build.make:110: libtelnet/CMakeFiles/libtelnet.dir/ssl.c.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:274: libtelnet/CMakeFiles/libtelnet.dir/all] Error 2
make[2]: Leaving directory '/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/netkit-telnet-ssl-0.17.41+really0.17/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:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: netkit-telnet-ssl
Source-Version: 0.17.41+really0.17-7
Done: Santiago Vila <sanvila@debian.org>

We believe that the bug you reported is fixed in the latest version of
netkit-telnet-ssl, 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 1097451@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <sanvila@debian.org> (supplier of updated netkit-telnet-ssl 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)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 20 Oct 2025 12:40:00 +0200
Source: netkit-telnet-ssl
Architecture: source
Version: 0.17.41+really0.17-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Santiago Vila <sanvila@debian.org>
Closes: 1097451 1102458
Changes:
 netkit-telnet-ssl (0.17.41+really0.17-7) unstable; urgency=medium
 .
   * QA upload.
 .
   [ Santiago Vila ]
   * Refresh all patches to remove fuzzyness.
   * Use https in Bug-Debian fields.
   * Build using C17 standard with GNU extensions. Closes: #1097451.
   * Drop "Rules-Requires-Root: no" (default).
   * Update source lintian overrides.
   * Update standards-version.
 .
   [ Helmut Grohne ]
   * Do not link with -lcrypt. Closes: #1102458.
Checksums-Sha1:
 5dc75f68fa9927c3670f00331c09aba06cb869f8 1703 netkit-telnet-ssl_0.17.41+really0.17-7.dsc
 65adca6a63359011f5e876b32540e20810d9affd 87568 netkit-telnet-ssl_0.17.41+really0.17-7.debian.tar.xz
 17a2cd52d8e484b3f78e32420b00a1cc13c193fe 6403 netkit-telnet-ssl_0.17.41+really0.17-7_source.buildinfo
Checksums-Sha256:
 bdbfa0e007a793b0fbd33c17b4d9f960c11dac79c763ff8be0b7d4764a8f733b 1703 netkit-telnet-ssl_0.17.41+really0.17-7.dsc
 946f24cf19cdfb08ed0162581ae446a3c144a5f42d620c84e8031f5bea3196dc 87568 netkit-telnet-ssl_0.17.41+really0.17-7.debian.tar.xz
 06a91844849459ee85866638c77c0e90fe1dd53bba8d1a97de35b1a2f7f9560c 6403 netkit-telnet-ssl_0.17.41+really0.17-7_source.buildinfo
Files:
 8ddce0c332c0a2d6d2bbbd0aad6b472a 1703 net optional netkit-telnet-ssl_0.17.41+really0.17-7.dsc
 1602d777d7f74c154eb23385be996486 87568 net optional netkit-telnet-ssl_0.17.41+really0.17-7.debian.tar.xz
 187d03a015789627450142ad4737fc3f 6403 net optional netkit-telnet-ssl_0.17.41+really0.17-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEE1Uw7+v+wQt44LaXXQc5/C58bizIFAmj2GKwACgkQQc5/C58b
izLk2Af+Ir9HreRel8gkcL+6IPBnDpGNzzqa+pRbOJ6nJZb7LJrTfkHbBhbU7CUT
Am6md7GIr1BMQsOwc+L4jvaPwlGF5oBYbyAmUF4vMDPIJWW3az/WPqyzNohnU5VK
dpTikwZOwvyciUM4g6ZsIGlJdr432qrZEOYgcahoYXoVQg1qft88Oyjf4gkHMO7v
zMnEOmVTQwyAvpQjMpprVXfc+iDarJCcqR5+VljlDuMPyOeHgw0w9s82K3kBAvlS
ElP62NblzrsEs19EDM9rmKGgF3/G9761cWDXJhD/FI+r7rTq5eDfoOnLfnb+pIWm
MLgmOAgmXrdBaU+aO0JnfVwNr9AApg==
=Rdpj
-----END PGP SIGNATURE-----

Attachment: pgp8ZHK7W5LSf.pgp
Description: PGP signature


--- End Message ---

Reply to: