#1097573 pgn2web: ftbfs with GCC-15

Package:
src:pgn2web
Source:
src:pgn2web
Submitter:
Matthias Klose
Date:
2025-09-04 22:09:49 UTC
Severity:
normal
Tags:
#1097573#5
Date:
2025-02-17 17:43:22 UTC
From:
To:
[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/pgn2web_0.4-3.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

[...]
pgn2web.xpm:188:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  188 | "  s t t t t t B k C ; ; ; D e ' ' ' ' ' ' ' ' ' ' ' E F - ; G   ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:189:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  189 | "  s t t t t t B k H ; ; I J ' ' ' ' ' ' ' ' ' ' ' ' x K ; ; G   ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:190:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  190 | "  s t t t t t B k L ; ; M N ' ' ' ' ' ' ' ' ' ' ' ' O P ; ; Q   ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:191:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  191 | "  s t t t t t B k R b ; < S ' ' ' ' ' ' ' ' ' ' ' 3 T 0 ; ; U   ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:192:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  192 | "  s V V V V W B k k X ; ; Y ' ' ' ' ' ' ' ' ' ' ' 3 Z I ; b `   ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:193:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  193 | "   ...........+.@.#.$.; ; %.&.' ' ' ' ' ' ' ' ' ' ' *.=.; -.;.  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:194:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  194 | "  k k k k k k k >.s ,.'.; : ).' ' ' ' ' ' ' ' ' ' ' e !.b ~.    ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:195:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  195 | "  k k k k k k k >.t W {.m b ]., ' ' ' ' ' ' ' ' ' ' 3 ^./.(.    ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:196:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  196 | "  k k k k k k k >.t t _.:.<.[., ' 3 3 ' ' ' 3 3 ' ' 3 }.|.      ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:197:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  197 | "  k k k k k k k >.t t t 1.2.3.' 4.5.6.7.8.9.0.a.b.e c.d.        ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:198:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  198 | "  k k k k k k k >.t t t t e.f.g.h.t t t t t V i.j.k.l.          ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:199:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  199 | "  k k k k k k k >.t t t t t m.#.n.o.p.q.r.s.t.u.v.w.            ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:200:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  200 | "  k k k k k k k x.m.m.m.m.m._.#.k k k k k k k                   ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:201:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  201 | "  y.z.z.z.z.z.A.B.w.w.w.w.w.w.C.z.z.z.z.z.z.D.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:202:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  202 | "  s t t t t t E.F.k k k k k k G.t t t t t V H.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:203:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  203 | "  s t t t t t E.F.k k k k k k G.t t t t t V H.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:204:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  204 | "  s t t t t t E.F.k k k k k k G.t t t t t V H.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:205:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  205 | "  s t t t t t E.F.k k k k k k G.t t t t t V H.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:206:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  206 | "  s t t t t t E.F.k k k k k k G.t t t t t V H.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:207:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  207 | "  V I.I.I.I.J.K.F.k k k k k k G.I.I.I.I.I.J.L.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:208:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  208 | "  M.N.N.N.N.N.O.F.F.F.F.F.F.F.P.N.N.N.N.N.N.Q.                  ",
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pgn2web.xpm:209:1: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
  209 | "                                                                "};
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/build/reproducible-path/pgn2web-0.4'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2