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

Bug#1096643: marked as done (flip: ftbfs with GCC-15)



Your message dated Sat, 15 Nov 2025 17:04:36 +0000
with message-id <E1vKJhU-000cPc-35@fasolo.debian.org>
and subject line Bug#1096643: fixed in flip 1.20-7
has caused the Debian Bug report #1096643,
regarding flip: 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.)


-- 
1096643: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096643
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:flip
Version: 1.20-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/flip_1.20-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

[...]
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
flip.c:540:24: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
  540 |       signal (SIGTERM, cleanup);
      |                        ^~~~~~~
      |                        |
      |                        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)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
flip.c:35:6: note: ‘cleanup’ declared here
   35 | void cleanup PARMS ((int));
      |      ^~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
flip.c: In function ‘cleanup’:
flip.c:545:6: warning: old-style function definition [-Wold-style-definition]
  545 | void cleanup(sig)
      |      ^~~~~~~
flip.c:547:1: error: number of arguments doesn’t match prototype
  547 | {
      | ^
flip.c:35:6: error: prototype declaration
   35 | void cleanup PARMS ((int));
      |      ^~~~~~~
flip.c:550:17: error: passing argument 2 of ‘signal’ from incompatible pointer type [-Wincompatible-pointer-types]
  550 |    signal (sig, cleanup);     /* ditto */
      |                 ^~~~~~~
      |                 |
      |                 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)
      |                                          ~~~~~~~~~~~~~~~^~~~~~~~~
flip.c:545:6: note: ‘cleanup’ declared here
  545 | void cleanup(sig)
      |      ^~~~~~~
/usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here
   72 | typedef void (*__sighandler_t) (int);
      |                ^~~~~~~~~~~~~~
flip.c: In function ‘error’:
flip.c:557:6: warning: old-style function definition [-Wold-style-definition]
  557 | void error (msg1, msg2)
      |      ^~~~~
flip.c:559:1: error: number of arguments doesn’t match prototype
  559 | {
      | ^
flip.c:33:6: error: prototype declaration
   33 | void error PARMS ((char *, char *));
      |      ^~~~~
flip.c: In function ‘flip_exit’:
flip.c:612:6: warning: old-style function definition [-Wold-style-definition]
  612 | void flip_exit(stat)
      |      ^~~~~~~~~
flip.c:614:1: error: number of arguments doesn’t match prototype
  614 | {
      | ^
flip.c:26:6: error: prototype declaration
   26 | void flip_exit PARMS ((int));
      |      ^~~~~~~~~
flip.c: At top level:
flip.c:3:13: warning: ‘sccsid’ defined but not used [-Wunused-variable]
    3 | static char sccsid[]="::[[ @(#) flip.c 1.20 2008-07-26 ]]::";
      |             ^~~~~~
make[1]: *** [Makefile:72: flip.o] Error 1
make[1]: Leaving directory '/build/reproducible-path/flip-1.20'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: flip
Source-Version: 1.20-7
Done: Tobias Frost <tobi@debian.org>

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

Debian distribution maintenance software
pp.
Tobias Frost <tobi@debian.org> (supplier of updated flip 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: Sat, 15 Nov 2025 17:43:13 +0100
Source: flip
Architecture: source
Version: 1.20-7
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Tobias Frost <tobi@debian.org>
Closes: 883696 1096643
Changes:
 flip (1.20-7) unstable; urgency=medium
 .
   * QA upload.
   * Fixing diverged salsa repo - archive had different content for 1.20-5
     - cherry picking Janitor changes.
     - dropping 1.20-6 from d/changelog, as this version has not been based
       on a version ever in the archives.
   * Drop -pie from CFLAGS/LDFLAGS.
   * Bump S-V to 4.7.2 - no changes required.
 .
   [ Debian Janitor ]
   * Use correct machine-readable copyright file URI.
   * Fix day-of-week for changelog entry 1.18-1.
   * debian/rules: Drop --fail-missing argument to dh_missing, as this is the
     default with compat level 13.
   * Avoid explicitly specifying -Wl,--as-needed linker flag.
 .
   [ Syed Shahrukh Hussain ]
   * debian/rule: updated CFLAGS to fix gcc-15 build error (Closes: #1096643).
   * debian/copyright: Update packaging copyright information.
   * Added patch for getopt prototype fix gcc-15 build error.
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: Also override LD. (Closes: #883696)
Checksums-Sha1:
 c967eda32923e9ed1a075fe75cab97b24117eb38 1729 flip_1.20-7.dsc
 2d37d30f42051f2512aa381643cac4e54d7616df 7156 flip_1.20-7.debian.tar.xz
 b9c3eb062e124a62f6aa9bfadd1bcd0c648c01ce 5941 flip_1.20-7_source.buildinfo
Checksums-Sha256:
 be5ae19bcde9ee57c16f52c9532b1956206b8a9e676e6762f7432008f1dfbd9f 1729 flip_1.20-7.dsc
 176992316a53a38c702018df865b444c9dfdfabe9f9d75d898f458a556a0e237 7156 flip_1.20-7.debian.tar.xz
 d8d2135b0afb27766539a9f38bfd67509b7405f6e4c9217a62a9bef291b9c523 5941 flip_1.20-7_source.buildinfo
Files:
 739dbce2cfb441463650e83c8d0c4bd2 1729 text optional flip_1.20-7.dsc
 8e9762716807e9381409df3b3be69f69 7156 text optional flip_1.20-7.debian.tar.xz
 2e25c13fca5a3ddf91aba9fb7fd96158 5941 text optional flip_1.20-7_source.buildinfo

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

iQIzBAEBCgAdFiEE/d0M/zhkJ3YwohhskWT6HRe9XTYFAmkYrnkACgkQkWT6HRe9
XTaHQA//dhMIYZ7B+1x9HfudwQvi6cjeoNDJ4agYm/U+Rl04zvA1f15HKYtQJ4/z
+s9hib4f4yoQ/FRkZ4MsW7tl48DyJlcOJedjzio5FRaTDfOYDPg8dQFScMVjw/Mf
aEgQF1p6RqdlrHlvnbIB8QP4jBRfnxVxN9d0k1JfJ12HxdPSc86nsuk/RzkKbjut
6FGiXA7+ymYeDccwPZY4HZzuuKCQmb1LpgcxSgqHsMb6O8GzX5bict7VedD0l6Dv
a9U1f/0Jqtm/pJ6uiDPvTgYQL3Snd7+e4R/iB4q5zSQGyRQa0jMzTLYRLBbS9RA6
opoTFXJU9sGC0fQrBD8OL0WFUZvyA4H1bT0Gar4c33wqJRPFAx2Pk8JkvMQdMyce
YW5pEuoOQiwBRuc6R0dfxrzbu0vJ4jcLcTu6c8epeauU9n+5LTnvuVfTgW1ZWVps
WhGq+DxhQQ8qDsMCzSFQeQPHLheccu6a5xU5ddPA6QZep8rgxlJefU7nPULqKujS
XN8qvYf/ARdqeE5BbyLb9jIwhqLgCqLE9SWzfgzmKbh4iE7alU0LnqqxZ9fUX4xr
IhVnFF4jZGzPTkr7SQ07apLWT7h08h0s79r3N2qYBaS0YeUfCmlYizWRhmWsGOlQ
8xxUMBhxYw+VWtyqiFxOyWgSmwZc3xCMyBVYEv68XIDt8JvajOs=
=WCJT
-----END PGP SIGNATURE-----

Attachment: pgpbz3Rd60sG5.pgp
Description: PGP signature


--- End Message ---

Reply to: