Bug#1098042: unshield: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:58:37 GMT 2025


Package: src:unshield
Version: 1.5.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/unshield_1.5.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

[...]
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:115:6: note: declared here
  115 | void MD5Update (context, input, inputLen)
      |      ^~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:174:3: error: too many arguments to function ‘MD5Update’; expected 0, have 3
  174 |   MD5Update (context, bits, 8);
      |   ^~~~~~~~~  ~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:115:6: note: declared here
  115 | void MD5Update (context, input, inputLen)
      |      ^~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:176:3: error: too many arguments to function ‘Encode’; expected 0, have 3
  176 |   Encode (digest, context->state, 16);
      |   ^~~~~~  ~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:49:13: note: declared here
   49 | static void Encode PROTO_LIST
      |             ^~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:180:3: error: too many arguments to function ‘MD5_memset’; expected 0, have 3
  180 |   MD5_memset ((POINTER)context, 0, sizeof (*context));
      |   ^~~~~~~~~~  ~~~~~~~~~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:54:13: note: declared here
   54 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int));
      |             ^~~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c: In function ‘MD5Transform’:
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:185:13: warning: old-style function definition [-Wold-style-definition]
  185 | static void MD5Transform (state, block)
      |             ^~~~~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:191:3: error: too many arguments to function ‘Decode’; expected 0, have 3
  191 |   Decode (x, block, 64);
      |   ^~~~~~  ~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:51:13: note: declared here
   51 | static void Decode PROTO_LIST
      |             ^~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:272:3: error: too many arguments to function ‘MD5_memset’; expected 0, have 3
  272 |   MD5_memset ((POINTER)x, 0, sizeof (x));
      |   ^~~~~~~~~~  ~~~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:54:13: note: declared here
   54 | static void MD5_memset PROTO_LIST ((POINTER, int, unsigned int));
      |             ^~~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c: In function ‘Encode’:
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:278:13: warning: old-style function definition [-Wold-style-definition]
  278 | static void Encode (output, input, len)
      |             ^~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c: In function ‘Decode’:
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:296:13: warning: old-style function definition [-Wold-style-definition]
  296 | static void Decode (output, input, len)
      |             ^~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c: In function ‘MD5_memcpy’:
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:311:13: warning: old-style function definition [-Wold-style-definition]
  311 | static void MD5_memcpy (output, input, len)
      |             ^~~~~~~~~~
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c: In function ‘MD5_memset’:
/build/reproducible-path/unshield-1.5.1/lib/md5/md5c.c:324:13: warning: old-style function definition [-Wold-style-definition]
  324 | static void MD5_memset (output, value, len)
      |             ^~~~~~~~~~
make[3]: *** [lib/md5/CMakeFiles/md5.dir/build.make:82: lib/md5/CMakeFiles/md5.dir/md5c.c.o] Error 1
make[3]: Leaving directory '/build/reproducible-path/unshield-1.5.1/obj-x86_64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:245: lib/md5/CMakeFiles/md5.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 17%] Linking C static library libconvert_utf.a
cd /build/reproducible-path/unshield-1.5.1/obj-x86_64-linux-gnu/lib/convert_utf && /usr/bin/cmake -P CMakeFiles/convert_utf.dir/cmake_clean_target.cmake
cd /build/reproducible-path/unshield-1.5.1/obj-x86_64-linux-gnu/lib/convert_utf && /usr/bin/cmake -E cmake_link_script CMakeFiles/convert_utf.dir/link.txt --verbose=1
/usr/bin/ar qc libconvert_utf.a CMakeFiles/convert_utf.dir/ConvertUTF.c.o
/usr/bin/ranlib libconvert_utf.a
make[3]: Leaving directory '/build/reproducible-path/unshield-1.5.1/obj-x86_64-linux-gnu'
[ 17%] Built target convert_utf
make[2]: Leaving directory '/build/reproducible-path/unshield-1.5.1/obj-x86_64-linux-gnu'
make[1]: *** [Makefile:139: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/unshield-1.5.1/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the Pkg-games-devel mailing list