Your message dated Thu, 16 Oct 2025 17:50:48 +0000
with message-id <[email protected]>
and subject line Bug#1097185: fixed in libfile-mmagic-xs-perl 0.09008-5
has caused the Debian Bug report #1097185,
regarding libfile-mmagic-xs-perl: 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 [email protected]
immediately.)


-- 
1097185: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097185
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:libfile-mmagic-xs-perl
Version: 0.09008-4
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/libfile-mmagic-xs-perl_0.09008-4_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

[...]
      |                                       ~^~~~~~~~~~~~~~~~~~~~~~ ~~~
src/MMagicST.c:456:36: note: in expansion of macro ‘EQUAL’
  456 |         if ((ptr->key != never) && EQUAL(table, ptr->key, *key)) {
      |                                    ^~~~~
src/MMagicST.h:15:11: note: declared here
   15 |     int (*compare)();
      |           ^~~~~~~
src/MMagicST.c: In function ‘delete_never’:
src/MMagicST.c:469:1: warning: old-style function definition 
[-Wold-style-definition]
  469 | delete_never(key, value, never)
      | ^~~~~~~~~~~~
src/MMagicST.c:470:15: warning: unused parameter ‘key’ [-Wunused-parameter]
  470 |     st_data_t key, value, never;
      |               ^~~
src/MMagicST.c: In function ‘st_cleanup_safe’:
src/MMagicST.c:477:1: warning: old-style function definition 
[-Wold-style-definition]
  477 | st_cleanup_safe(table, never)
      | ^~~~~~~~~~~~~~~
src/MMagicST.c: In function ‘st_foreach’:
src/MMagicST.c:488:1: warning: old-style function definition 
[-Wold-style-definition]
  488 | st_foreach(table, func, arg)
      | ^~~~~~~~~~
src/MMagicST.c:500:23: error: too many arguments to function ‘func’; expected 
0, have 4
  500 |             retval = (*func)(ptr->key, ptr->record, arg, 0);
      |                      ~^~~~~~ ~~~~~~~~
src/MMagicST.c:511:31: error: too many arguments to function ‘func’; expected 
0, have 4
  511 |                     retval = (*func)(0, 0, arg, 1);
      |                              ~^~~~~~ ~
src/MMagicST.c: In function ‘strhash’:
src/MMagicST.c:538:1: warning: old-style function definition 
[-Wold-style-definition]
  538 | strhash(string)
      | ^~~~~~~
src/MMagicST.c: In function ‘numcmp’:
src/MMagicST.c:577:1: warning: old-style function definition 
[-Wold-style-definition]
  577 | numcmp(x, y)
      | ^~~~~~
src/MMagicST.c: In function ‘numhash’:
src/MMagicST.c:584:1: warning: old-style function definition 
[-Wold-style-definition]
  584 | numhash(n)
      | ^~~~~~~
make[1]: *** [Makefile:354: src/MMagicST.o] Error 1
make[1]: *** Waiting for unfinished jobs....
mv src/MMagic.xsc src/MMagic.c
src/perl-mmagic-xs.c: In function ‘PerlFMM_ascmagic’:
src/perl-mmagic-xs.c:1645:36: warning: pointer targets in passing argument 1 of 
‘strlen’ differ in signedness [-Wpointer-sign]
 1645 |     rc = fmm_ascmagic(data, strlen(data), &type);
      |                                    ^~~~
      |                                    |
      |                                    unsigned char *
In file included from /usr/lib/x86_64-linux-gnu/perl/5.40/CORE/perl.h:1711,
                 from src/perl-mmagic-xs.h:5,
                 from src/perl-mmagic-xs.c:105:
/usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of 
type ‘unsigned char *’
  407 | extern size_t strlen (const char *__s)
      |                       ~~~~~~~~~~~~^~~
src/perl-mmagic-xs.c: In function ‘fmm_append_buf’:
src/perl-mmagic-xs.c:375:5: warning: ‘__builtin_strncat’ specified bound 
depends on the length of the source argument [-Wstringop-overflow=]
  375 |     strncat(*dst, buf, strlen(buf));
      |     ^
src/perl-mmagic-xs.c:367:9: note: length computed here
  367 |     if (strlen(buf) + 1 > MAXMIMESTRING - strlen(*dst)) {
      |         ^~~~~~~~~~~
src/perl-mmagic-xs.c: In function ‘fmm_ext_magic’:
src/perl-mmagic-xs.c:1457:5: warning: ‘__builtin_strncpy’ specified bound 8192 
equals destination size [-Wstringop-truncation]
 1457 |     strncpy(ext, dot + 1, BUFSIZ);
      |     ^
make[1]: Leaving directory 
'/build/reproducible-path/libfile-mmagic-xs-perl-0.09008'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libfile-mmagic-xs-perl
Source-Version: 0.09008-5
Done: gregor herrmann <[email protected]>

We believe that the bug you reported is fixed in the latest version of
libfile-mmagic-xs-perl, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libfile-mmagic-xs-perl 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 16 Oct 2025 19:24:29 +0200
Source: libfile-mmagic-xs-perl
Architecture: source
Version: 0.09008-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 1097185
Changes:
 libfile-mmagic-xs-perl (0.09008-5) unstable; urgency=medium
 .
   * Build with -std=gnu17. (Closes: #1097185)
   * Update years of packaging copyright.
   * Declare compliance with Debian Policy 4.7.2.
   * Remove «Rules-Requires-Root: no», which is the current default.
   * Remove «Priority: optional», which is the current default.
Checksums-Sha1:
 a4259ff4f6e8ec06a5dc13c9fd50341297223a92 2558 
libfile-mmagic-xs-perl_0.09008-5.dsc
 80da5c190becfcb5c36dd59c61a157223d081f3d 7136 
libfile-mmagic-xs-perl_0.09008-5.debian.tar.xz
Checksums-Sha256:
 9c5a2377f4ddc60e3f4ad3d4c8d81e39e2a08d73e0d5b7903f60c6bab6abc1f9 2558 
libfile-mmagic-xs-perl_0.09008-5.dsc
 42cc579e44c7278ed2adc8e6e589a48c5f4114e213024d57d8cb2de57504d3ac 7136 
libfile-mmagic-xs-perl_0.09008-5.debian.tar.xz
Files:
 5ab6436422740d4ed113975737232cc8 2558 perl optional 
libfile-mmagic-xs-perl_0.09008-5.dsc
 21f6b619a451c7836803c796ba9be1c5 7136 perl optional 
libfile-mmagic-xs-perl_0.09008-5.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAmjxK1tfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgYJVw//fcx9VgpKrORaZpWpdD7iEYalCszLlJ6mNPbfAK4kNksh5VuUvrurDReq
tj4L4f5uoyiKsRjtynUO4bnCEvpAAMadzZXpAJK4XiX5ZHkN5e2iYlja5W6pqenG
AAvN4y5sr164iaoDFKUXCHkO+/v8JXWRj5SOvx4xy7fmAf/GpwVPxh1R5QjtybjK
RrbtOMqjrzyu+3AexiTFskeNIMsA6Zw3wvZzWE/KdKf/KXrpJFnkO29nreIv6N8l
mGU2n2Toef9Bl588BOkjA89qC2H6OIG4JNrVISu8e3e9T5n61gPI03PbJajfRECV
bfFeofkzllXxKTmTkZBLmh7nrrKAsR26bxtmxGoAH+d0HtcYOo1/wfqwI9G8fU8G
hNw4Less4Ov/3SxCYf4GWOxFJVh5noV9Jw0z+rQzOufTiORerbVgU/MeV2ysOjn6
QxQbfac3mWd+DjFHBnEoFGxMJdbjQfK0PlKWwXcTpB4dngh9r3NBtZPAh/5i/kkF
qG5BDLiWiH+wUc90xJwH49LU+toSokOf969bfLwF1tbPfF/hm4OTp8sca40Rp2yj
AdxvcrcGSKLeOgiGpAQRIvyD6Qa6jyyp963Hy/tE6d+GcV5Rb1jrNNCTenr50ed0
O/Vbqc8/ejZuxqFzOfSdMqNfBQDloVAZTOklOA69HEii/6ZdeaY=
=eo3M
-----END PGP SIGNATURE-----

Attachment: pgpDxzkrI8b4v.pgp
Description: PGP signature


--- End Message ---

Reply via email to