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

Bug#1096700: marked as done (gftp: ftbfs with GCC-15)



Your message dated Fri, 26 Sep 2025 19:34:07 +0000
with message-id <E1v2ECl-001Mke-02@fasolo.debian.org>
and subject line Bug#1096700: fixed in gftp 2.9.1~beta-5
has caused the Debian Bug report #1096700,
regarding gftp: 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.)


-- 
1096700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096700
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:gftp
Version: 2.9.1~beta-4
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/gftp_2.9.1~beta-4_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

[...]
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o fsplib.o fsplib.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o ftp-dir-listing.o ftp-dir-listing.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o misc.o misc.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocols.o protocols.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_bookmark.o protocol_bookmark.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_fsp.o protocol_fsp.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_ftp.o protocol_ftp.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_ftps.o protocol_ftps.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_localfs.o protocol_localfs.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_http.o protocol_http.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o protocol_https.o protocol_https.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o pty.o pty.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sshv2.o sshv2.c
protocol_http.c: In function ‘http_chunked_read’:
protocol_http.c:772:38: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘long unsigned int’ [-Wsign-compare]
  772 |          if (httpdat->content_length == httpdat->read_bytes)
      |                                      ^~
protocol_http.c:778:47: warning: comparison of integer expressions of different signedness: ‘long unsigned int’ and ‘off_t’ {aka ‘long int’} [-Wsign-compare]
  778 |           if (read_size + httpdat->read_bytes > httpdat->content_length)
      |                                               ^
protocol_http.c:782:36: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  782 |                httpdat->chunk_size < read_size)
      |                                    ^
protocol_http.c:895:31: warning: comparison of integer expressions of different signedness: ‘off_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  895 |       if (httpdat->chunk_size < current_size)
      |                               ^
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o sslcommon.o sslcommon.c
gcc -DHAVE_CONFIG_H -I. -I..  -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DSHARE_DIR=\"/usr/share/gftp\" -DLOCALE_DIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers  -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/gftp-2.9.1~beta=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o socket-connect.o socket-connect.c
pty.c: In function ‘_gftp_ptym_open’:
pty.c:45:11: error: assignment to ‘void (*)(void)’ from incompatible pointer type ‘__sighandler_t’ {aka ‘void (*)(int)’} [-Wincompatible-pointer-types]
   45 |   savesig = signal (SIGCHLD, SIG_DFL);
      |           ^
In file included from /usr/include/x86_64-linux-gnu/sys/wait.h:36,
                 from gftp.h:58,
                 from pty.c:24:
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
pty.c:48:23: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
   48 |       signal(SIGCHLD, savesig);
      |                       ^~~~~~~
      |                       |
      |                       void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
pty.c:52:20: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
   52 |   signal (SIGCHLD, savesig);
      |                    ^~~~~~~
      |                    |
      |                    void (*)(void)
/usr/include/signal.h:88:57: note: expected ‘__sighandler_t’ {aka ‘void (*)(int)’} but argument is of type ‘void (*)(void)’
   88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
make[3]: *** [Makefile:445: pty.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/reproducible-path/gftp-2.9.1~beta/lib'
make[2]: *** [Makefile:422: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/gftp-2.9.1~beta'
make[1]: *** [Makefile:361: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/gftp-2.9.1~beta'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: gftp
Source-Version: 2.9.1~beta-5
Done: Adrian Bunk <bunk@debian.org>

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

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated gftp 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: Fri, 26 Sep 2025 19:18:43 +0300
Source: gftp
Architecture: source
Version: 2.9.1~beta-5
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1096700
Changes:
 gftp (2.9.1~beta-5) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTBFS with GCC 15. (Closes: #1096700)
Checksums-Sha1:
 a409d77f48b15f28318488a8d2eca1e901e9de68 1967 gftp_2.9.1~beta-5.dsc
 83c1784e052378c4638025997b6826b71f63f967 11584 gftp_2.9.1~beta-5.debian.tar.xz
Checksums-Sha256:
 5de9e37dd348f8ba79f2aeec8302109319160c5ab18106f4ec265f4f74bf4bfb 1967 gftp_2.9.1~beta-5.dsc
 fb63439f4ebbd6e6df76fcf0237a0935c806bd601babeb94d47dcf072fe934b6 11584 gftp_2.9.1~beta-5.debian.tar.xz
Files:
 78e79bacb25e42604ecdaddd72db9812 1967 net optional gftp_2.9.1~beta-5.dsc
 064b2daf348173ebde3a3a93b51170b1 11584 net optional gftp_2.9.1~beta-5.debian.tar.xz

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

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmjW5+AACgkQiNJCh6LY
mLGsihAAglL93xXyZow8CC5FX9xoFw58guGRFuxRcZh9IHhsuVIBE3AnFe/EJc38
AzA0aOaBpjEFROuo2zY6MB+3n0ck7IRewRJTbckwo3lZQ2VKC4rjmWRLmAo0IkQp
+S2R73SMMebZSO0g917nez9aA3Uj4AzceRBhnE5krsJNW/pifGs8uDbDboexljUd
hsBlJ++l69eJW8H7hBbx3XU5Ufm2ZagU4ITxtrkbEuwFcYBkduJsD0jHL38iXWa3
5ish1ANtiCIcoXfmQpn2GosAOz+RoDF3Gzj6SGvmADkn6LvIAiR5rpPUaTwMVQI4
L5mp/FmegL+cVmuO1pAIcGOab3GYOvzZPmeOXGpjCyuZECbLjfHgx40rjdWqYKJO
QTjIRzhRAZCnA7NkgMdDDbIVyim/9qfrYmiPgNz81CtYOm0OBNEeK2EHMMJqVlYm
z+BS1Xga0YZ4EDepHmejGmpW0+SCY0pJ8TcBMV9O43aw8B6dadVYHzh8a/5yeBMF
z2P2G8TQQwW6ECSbufqHtEOS1nA+WzOcZ5xM8mSFGqs4gHA4XBFLW1SPg0yIO0Cu
CSsj8uAzog+1d/ziGHPXYXHksplmlxtf1TpS6ZYS6a+NopdwBq8MKD8290JlOZeA
ma4buE2Wqu8RQXhLtvF1XHX0UVfCq6CgIQN+NrS5Rcy6ZNmC+8I=
=d14n
-----END PGP SIGNATURE-----

Attachment: pgpb9vL7aabEf.pgp
Description: PGP signature


--- End Message ---

Reply to: