[Pkg-electronics-devel] Bug#1096862: irsim: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:20:45 GMT 2025


Package: src:irsim
Version: 9.7.104-1.1
Severity: important
Tags: sid forky
User: debian-gcc at 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/irsim_9.7.104-1.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

[...]
  117 | extern void AddHist( /*  node, value, inp, time, delay, rtime */ );
      |             ^~~~~~~
eval.c:498:14: error: too many arguments to function ‘model’; expected 0, have 1
  498 |             (*model)( n );
      |             ~^~~~~~~  ~
eval.c: In function ‘step’:
eval.c:510:12: warning: old-style function definition [-Wold-style-definition]
  510 | public int step( stop_time )
      |            ^~~~
eval.c:512:3: error: number of arguments doesn’t match prototype
  512 |   {
      |   ^
globals.h:93:12: error: prototype declaration
   93 | extern int step( /*  stop_time */ );
      |            ^~~~
eval.c:520:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2
  520 |     SetInputs( &hinputs, HIGH );        /* HIGH inputs */
      |     ^~~~~~~~~  ~~~~~~~~
eval.c:442:14: note: declared here
  442 | private void SetInputs( listp, val )
      |              ^~~~~~~~~
eval.c:521:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2
  521 |     SetInputs( &linputs, LOW );         /* LOW inputs */
      |     ^~~~~~~~~  ~~~~~~~~
eval.c:442:14: note: declared here
  442 | private void SetInputs( listp, val )
      |              ^~~~~~~~~
eval.c:522:5: error: too many arguments to function ‘SetInputs’; expected 0, have 2
  522 |     SetInputs( &uinputs, X );           /* X inputs */
      |     ^~~~~~~~~  ~~~~~~~~
eval.c:442:14: note: declared here
  442 | private void SetInputs( listp, val )
      |              ^~~~~~~~~
eval.c:535:22: error: too many arguments to function ‘get_next_event’; expected 0, have 1
  535 |     while( (evlist = get_next_event( stop_time )) != NULL )
      |                      ^~~~~~~~~~~~~~  ~~~~~~~~~
globals.h:287:14: note: declared here
  287 | extern evptr get_next_event( /*  stop_time */ );
      |              ^~~~~~~~~~~~~~
eval.c:549:17: error: too many arguments to function ‘disp_watch_vec’; expected 0, have 1
  549 |                 disp_watch_vec( brk_flag );
      |                 ^~~~~~~~~~~~~~  ~~~~~~~~
globals.h:258:13: note: declared here
  258 | extern void disp_watch_vec( /*  which */ );
      |             ^~~~~~~~~~~~~~
eval.c:567:9: error: too many arguments to function ‘UpdateWindow’; expected 0, have 1
  567 |         UpdateWindow( cur_delta );
      |         ^~~~~~~~~~~~  ~~~~~~~~~
globals.h:390:13: note: declared here
  390 | extern void UpdateWindow( /*  endT */ );
      |             ^~~~~~~~~~~~
eval.c: In function ‘ComputeTransState’:
eval.c:597:12: warning: old-style function definition [-Wold-style-definition]
  597 | public int ComputeTransState( t )
      |            ^~~~~~~~~~~~~~~~~
eval.c:599:3: error: number of arguments doesn’t match prototype
  599 |   {
      |   ^
globals.h:99:12: error: prototype declaration
   99 | extern int ComputeTransState( /*  t */ );
      |            ^~~~~~~~~~~~~~~~~
make[3]: *** [../rules.mak:13: eval.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/irsim-9.7.104/base'
make[2]: *** [Makefile:43: modules] Error 1
make[2]: Leaving directory '/build/reproducible-path/irsim-9.7.104'
make[1]: *** [Makefile:21: tcl] Error 2
make[1]: Leaving directory '/build/reproducible-path/irsim-9.7.104'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-electronics-devel mailing list