[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1075378: marked as done (perl4caml: ftbfs with GCC-14)



Your message dated Mon, 05 Aug 2024 09:37:05 +0000
with message-id <E1sau9J-0016CX-Od@fasolo.debian.org>
and subject line Bug#1075378: fixed in perl4caml 0.9.5-8
has caused the Debian Bug report #1075378,
regarding perl4caml: ftbfs with GCC-14
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 owner@bugs.debian.org
immediately.)


-- 
1075378: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075378
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:perl4caml
Version: 0.9.5-7
Severity: important
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-14

[This bug is 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-14/g++-14, but succeeds to build with gcc-13/g++-13. The
severity of this report will be raised before the trixie release.

The full build log can be found at:
http://qa-logs.debian.net/2024/07/01/perl4caml_0.9.5-7_unstable_gccexp.log
The last lines of the build log are at the end of this report.

To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

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-14/porting_to.html

[...]
 5178 | #define HAS_STRTOD_L            /**/
      |         ^~~~~~~~~~~~
/usr/lib/ocaml/caml/s.h:230:9: note: this is the location of the previous definition
  230 | #define HAS_STRTOD_L 1
      |         ^~~~~~~~~~~~
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/config.h:5282:9: warning: "HAS_TIMES" redefined
 5282 | #define HAS_TIMES               /**/
      |         ^~~~~~~~~
/usr/lib/ocaml/caml/s.h:66:9: note: this is the location of the previous definition
   66 | #define HAS_TIMES 1
      |         ^~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:3453:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/unixish.h:30:9: warning: "HAS_UTIME" redefined
   30 | #define HAS_UTIME               /**/
      |         ^~~~~~~~~
/usr/lib/ocaml/caml/s.h:131:9: note: this is the location of the previous definition
  131 | #define HAS_UTIME 1
      |         ^~~~~~~~~
perl_c.c: In function ‘perl4caml_init’:
perl_c.c:97:25: error: passing argument 2 of ‘Perl_sys_init’ from incompatible pointer type [-Wincompatible-pointer-types]
   97 |   PERL_SYS_INIT (&argc, &argv);
      |                         ^~~~~
      |                         |
      |                         char * (*)[5]
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:3608:61: note: in definition of macro ‘PERL_SYS_INIT’
 3608 | #define PERL_SYS_INIT(argc, argv)       Perl_sys_init(argc, argv)
      |                                                             ^~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:6188:
/usr/lib/x86_64-linux-gnu/perl/5.38/CORE/proto.h:4992:34: note: expected ‘char ***’ but argument is of type ‘char * (*)[5]’
 4992 | Perl_sys_init(int *argc, char ***argv);
      |                          ~~~~~~~~^~~~
In file included from /usr/lib/ocaml/caml/alloc.h:24:
perl_c.c: In function ‘perl4caml_string_of_sv’:
/usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  290 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
perl_c.c:149:11: note: in expansion of macro ‘String_val’
  149 |   memcpy (String_val (strv), str, len);
      |           ^~~~~~~~~~
In file included from /usr/lib/x86_64-linux-gnu/perl/5.38/CORE/perl.h:1715:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
   43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
perl_c.c: In function ‘perl4caml_hv_iterkey’:
/usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  290 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
perl_c.c:625:11: note: in expansion of macro ‘String_val’
  625 |   memcpy (String_val (strv), str, len);
      |           ^~~~~~~~~~
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
   43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
perl_c.c: In function ‘perl4caml_hv_iternextsv’:
/usr/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  290 | #define String_val(x) ((const char *) Bp_val(x))
      |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
perl_c.c:654:11: note: in expansion of macro ‘String_val’
  654 |   memcpy (String_val (strv), str, len);
      |           ^~~~~~~~~~
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
   43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
      |                      ~~~~~~~~~~~~~~~~~^~~~~~
make[2]: *** [<builtin>: perl_c.o] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 "INSTALL=install --strip-program=true" returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:8: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: perl4caml
Source-Version: 0.9.5-8
Done: Stéphane Glondu <glondu@debian.org>

We believe that the bug you reported is fixed in the latest version of
perl4caml, 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 1075378@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stéphane Glondu <glondu@debian.org> (supplier of updated perl4caml 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Mon, 05 Aug 2024 10:55:34 +0200
Source: perl4caml
Architecture: source
Version: 0.9.5-8
Distribution: unstable
Urgency: medium
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Stéphane Glondu <glondu@debian.org>
Closes: 1075378
Changes:
 perl4caml (0.9.5-8) unstable; urgency=medium
 .
   [ Niko Tyni ]
   * Fix FTBFS with gcc-14 (Closes: #1075378)
Checksums-Sha1:
 f078b885bc024f44842fcd76a61ef518e25436b8 1915 perl4caml_0.9.5-8.dsc
 5bb8e74383d7412e64012e7ccaad1ce41976d2fd 7352 perl4caml_0.9.5-8.debian.tar.xz
Checksums-Sha256:
 06830f678a3c49a57034df1e9e25947f4d9c525ae34f7cb6b2b4848350f33ab6 1915 perl4caml_0.9.5-8.dsc
 658d0fb9c39cb4ddf24f833d208c0572421e48fb81993280e7a24c85bd8dd8d0 7352 perl4caml_0.9.5-8.debian.tar.xz
Files:
 552f9f39ff8159219ab7cabe93356e81 1915 ocaml optional perl4caml_0.9.5-8.dsc
 a103fcff1ebe4244904800456b396dff 7352 ocaml optional perl4caml_0.9.5-8.debian.tar.xz

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

iQFGBAEBCgAwFiEEbeJOl+yohsxW5iUOIbju8bGJMIEFAmawlGQSHGdsb25kdUBk
ZWJpYW4ub3JnAAoJECG47vGxiTCBjj0H+gK8/g7p4Sp8bN7fSwpcLgkQgDsaOaEg
gDfUflT1dNBmCrzg9lgpVyYRjpl6wbJjDCgFHLUsh0jjs+XYzxuwdbqt3/PUeQ5U
qMrVdquzLLlWqQTtz4A71qZXbGOiOT4dmxHEG5YTmiSZm9Y8ptQEfpNJ/E+p3Q2r
Vr5vqF+WcjZQrn6H3kNnn3ru3l5edDlQcf7n1cFcKD4mdgNWQ0KAHyHp7IFEzYCH
yGA6wHtBlkZmRr2NCGJVa2R/1sDNa0V2SevPtK4OzscgKZ+U+FyT5/FjSlMQA0r4
WLJS2gv0EgAxf2kiYNaRBw2WfOAwzX8f6ia0wnnyC4VoF1ind7jiYx4=
=pYkA
-----END PGP SIGNATURE-----

Attachment: pgpxffouO77iK.pgp
Description: PGP signature


--- End Message ---

Reply to: