Debian Bug report logs - #1097892
skktools: ftbfs with GCC-15

version graph

Package: src:skktools; Maintainer for src:skktools is Tatsuya Kinoshita <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:55:18 UTC

Severity: important

Tags: forky, sid

Found in version skktools/1.3.4+0.20210220-1

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Tatsuya Kinoshita <[email protected]>:
Bug#1097892; Package src:skktools. (Mon, 17 Feb 2025 17:55:18 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Tatsuya Kinoshita <[email protected]>. (Mon, 17 Feb 2025 17:55:18 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: skktools: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:53:47 +0000
Package: src:skktools
Version: 1.3.4+0.20210220-1
Severity: important
Tags: sid forky
User: [email protected]
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/skktools_1.3.4+0.20210220-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

[...]
./skkdic-expr.c:460:5: error: too many arguments to function ‘add_content_line’; expected 0, have 3
  460 |     add_content_line(kanji, buffer+key_len+1, key);
      |     ^~~~~~~~~~~~~~~~ ~~~~~
./skkdic-expr.c:397:12: note: declared here
  397 | static int add_content_line(base, new, key)
      |            ^~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘add_file’:
./skkdic-expr.c:467:13: warning: old-style function definition [-Wold-style-definition]
  467 | static void add_file(srcname)
      |             ^~~~~~~~
./skkdic-expr.c:502:21: error: too many arguments to function ‘add_content_line’; expected 0, have 3
  502 |                 if (add_content_line(new, kanji, NULL))
      |                     ^~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:397:12: note: declared here
  397 | static int add_content_line(base, new, key)
      |            ^~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘delete_item’:
./skkdic-expr.c:511:1: warning: old-style function definition [-Wold-style-definition]
  511 | delete_item(base, s, e)
      | ^~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_okuri_item’:
./skkdic-expr.c:536:6: warning: old-style function definition [-Wold-style-definition]
  536 | void subtract_okuri_item(key, s)
      |      ^~~~~~~~~~~~~~~~~~~
./skkdic-expr.c:576:9: error: too many arguments to function ‘subtract_content_line’; expected 0, have 3
  576 |         subtract_content_line(new, content, NULL);
      |         ^~~~~~~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:116:13: note: declared here
  116 | static void subtract_content_line();
      |             ^~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_okuri_tail_line’:
./skkdic-expr.c:586:6: warning: old-style function definition [-Wold-style-definition]
  586 | void subtract_okuri_tail_line(tails, line)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_content_line’:
./skkdic-expr.c:610:1: warning: old-style function definition [-Wold-style-definition]
  610 | subtract_content_line(base, new, key)
      | ^~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘subtract_file’:
./skkdic-expr.c:641:13: warning: old-style function definition [-Wold-style-definition]
  641 | static void subtract_file(srcname)
      |             ^~~~~~~~~~~~~
./skkdic-expr.c:678:17: error: too many arguments to function ‘subtract_content_line’; expected 0, have 3
  678 |                 subtract_content_line(new, kanji, &key);
      |                 ^~~~~~~~~~~~~~~~~~~~~ ~~~
./skkdic-expr.c:610:1: note: declared here
  610 | subtract_content_line(base, new, key)
      | ^~~~~~~~~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘okuri_type_out’:
./skkdic-expr.c:689:6: warning: old-style function definition [-Wold-style-definition]
  689 | void okuri_type_out(key, output)
      |      ^~~~~~~~~~~~~~
./skkdic-expr.c: In function ‘type_out’:
./skkdic-expr.c:743:13: warning: old-style function definition [-Wold-style-definition]
  743 | static void type_out(output)
      |             ^~~~~~~~
./skkdic-expr.c: In function ‘print_usage’:
./skkdic-expr.c:781:13: warning: old-style function definition [-Wold-style-definition]
  781 | static void print_usage(argc, argv)
      |             ^~~~~~~~~~~
./skkdic-expr.c: In function ‘main’:
./skkdic-expr.c:791:5: warning: old-style function definition [-Wold-style-definition]
  791 | int main(argc, argv)
      |     ^~~~
make[1]: *** [Makefile:66: skkdic-expr] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/build/reproducible-path/skktools-1.3.4+0.20210220'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:14: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 13:41:34 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.