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

Bug#1096366: marked as done (bibtool: ftbfs with GCC-15)



Your message dated Sat, 12 Apr 2025 23:49:17 +0000
with message-id <E1u3kb7-00CjbL-77@fasolo.debian.org>
and subject line Bug#1096366: fixed in bibtool 2.68+ds-2
has caused the Debian Bug report #1096366,
regarding bibtool: 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 owner@bugs.debian.org
immediately.)


-- 
1096366: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096366
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:bibtool
Version: 2.68+ds-1
Severity: important
Tags: sid forky
User: debian-gcc@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/bibtool_2.68+ds-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

[...]
main.c:569:33: error: assignment to ‘int (*)(void)’ from incompatible pointer type ‘int (*)(struct rECORD *, struct rECORD *)’ [-Wincompatible-pointer-types]
  569 |       else                  fct = rec_gt;          /*                        */
      |                                 ^
main.c:90:13: note: ‘rec_gt’ declared here
   90 |  static int rec_gt _ARG((Record r1,Record r2));    /* main.c                 */
      |             ^~~~~~
main.c:571:21: error: passing argument 2 of ‘db_sort’ from incompatible pointer type [-Wincompatible-pointer-types]
  571 |     db_sort(the_db, fct);                          /*                        */
      |                     ^~~
      |                     |
      |                     int (*)(void)
In file included from include/bibtool/expand.h:32,
                 from include/bibtool/bibtool.h:46,
                 from main.c:64:
include/bibtool/database.h:173:33: note: expected ‘int (*)(struct rECORD *, struct rECORD *)’ but argument is of type ‘int (*)(void)’
  173 |  void db_sort _ARG((DB db,int (*less)_ARG((Record, Record))));/*             */
      |                                 ^
include/bibtool/database.h:158:17: note: in definition of macro ‘_ARG’
  158 | #define _ARG(A) A
      |                 ^
main.c: In function ‘rec_gt’:
main.c:624:12: warning: old-style function definition [-Wold-style-definition]
  624 | static int rec_gt(r1, r2)                          /*                        */
      |            ^~~~~~
main.c: In function ‘rec_lt’:
main.c:641:12: warning: old-style function definition [-Wold-style-definition]
  641 | static int rec_lt(r1, r2)                          /*                        */
      |            ^~~~~~
main.c: In function ‘rec_gt_cased’:
main.c:658:12: warning: old-style function definition [-Wold-style-definition]
  658 | static int rec_gt_cased(r1, r2)                    /*                        */
      |            ^~~~~~~~~~~~
main.c: In function ‘rec_lt_cased’:
main.c:675:12: warning: old-style function definition [-Wold-style-definition]
  675 | static int rec_lt_cased(r1, r2)                    /*                        */
      |            ^~~~~~~~~~~~
main.c: In function ‘do_keys’:
main.c:689:13: warning: old-style function definition [-Wold-style-definition]
  689 | static bool do_keys(db, rec)                       /*                        */
      |             ^~~~~~~
main.c: In function ‘do_no_keys’:
main.c:709:13: warning: old-style function definition [-Wold-style-definition]
  709 | static bool do_no_keys(db, rec)                    /*                        */
      |             ^~~~~~~~~~
main.c: In function ‘update_crossref’:
main.c:731:13: warning: old-style function definition [-Wold-style-definition]
  731 | static bool update_crossref(db, rec)               /*                        */
      |             ^~~~~~~~~~~~~~~
make[1]: *** [makefile:492: main.o] Error 1
make[1]: *** Waiting for unfinished jobs....
io.c: In function ‘save_input_file’:
io.c:79:6: warning: old-style function definition [-Wold-style-definition]
   79 | void save_input_file(file)                         /*                        */
      |      ^~~~~~~~~~~~~~~
io.c: In function ‘get_input_file’:
io.c:129:8: warning: old-style function definition [-Wold-style-definition]
  129 | Symbol get_input_file(i)                           /*                        */
      |        ^~~~~~~~~~~~~~
io.c: In function ‘save_output_file’:
io.c:151:6: warning: old-style function definition [-Wold-style-definition]
  151 | void save_output_file(file)                        /*                        */
      |      ^~~~~~~~~~~~~~~~
io.c: In function ‘save_macro_file’:
io.c:187:6: warning: old-style function definition [-Wold-style-definition]
  187 | void save_macro_file(file)                         /*                        */
      |      ^~~~~~~~~~~~~~~
make[1]: Leaving directory '/build/reproducible-path/bibtool-2.68+ds'
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: bibtool
Source-Version: 2.68+ds-2
Done: Jerome Benoit <calculus@rezozer.net>

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

Debian distribution maintenance software
pp.
Jerome Benoit <calculus@rezozer.net> (supplier of updated bibtool 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: Sat, 12 Apr 2025 23:17:04 +0000
Source: bibtool
Architecture: source
Version: 2.68+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Tex Task Force <debian-tex-maint@lists.debian.org>
Changed-By: Jerome Benoit <calculus@rezozer.net>
Closes: 1096366
Changes:
 bibtool (2.68+ds-2) unstable; urgency=medium
 .
   [ Jerome Benoit ]
   * Introduce d/p/fix-upstream-migration_to_C23.patch (Closes: 1096366).
   * Add to Build-Depends list autoconf-archive (see previous patch).
   * Refresh copyright year-tuples.
   * Bump standards version to 4.7.2, (no change).
   * Discard d/s/lintian-overrides .
   * Introduce d/bibtool.lintian-overrides .
   * Minor janitorial works.
 .
   [ Hilmar Preusse ]
   * d/watch points to github.
 .
   [ Debian Janitor ]
   * Bump debhelper from old 12 to 13.
   * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
   * Set upstream metadata fields: Repository.
Checksums-Sha1:
 795ce6435b325cae317b345534b8b7d54db7f95e 2933 bibtool_2.68+ds-2.dsc
 4431bff75fe065c27e5c6417c7e8a7d7a1336a25 21844 bibtool_2.68+ds-2.debian.tar.xz
 30fe0839967206f8ed3014e510f283cef0af0180 9414 bibtool_2.68+ds-2_source.buildinfo
Checksums-Sha256:
 7af1d5263e7a50138809b93e0b0185f2311c2c24badc290c0d344cb4009b83cd 2933 bibtool_2.68+ds-2.dsc
 68491f48f741beb6e552f5d82e10835af9bc5ce5add4be8e67eec62bac4de3f9 21844 bibtool_2.68+ds-2.debian.tar.xz
 b4f3fdc4742b92dd3d8aa2958126ab398db4b23fd48067ee7b0c8ee2acc8a5e4 9414 bibtool_2.68+ds-2_source.buildinfo
Files:
 2f0be991e0d083ea085a8d4110497367 2933 tex optional bibtool_2.68+ds-2.dsc
 caaf3b67204b82f20a7b7c2ead7c14f7 21844 tex optional bibtool_2.68+ds-2.debian.tar.xz
 645311ee7663a826f6e4f382c884e01c 9414 tex optional bibtool_2.68+ds-2_source.buildinfo

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

iQRJBAEBCgAzFiEEriiuFXEN/x2H5adiP5IZpn82xosFAmf69uEVHGNhbGN1bHVz
QHJlem96ZXIubmV0AAoJED+SGaZ/NsaL5g4f/2lBufd5dRDvgQ1IPT52o49iaCUt
JPpCd/9gTGXfzQ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fNZyh5E/p9/mlK
LLB7VjfYGZHi4XLkEtjglk3//Znn55VjXvSEpHiPd6GlD11fgvv6/x0P5QjO5+fz
yFPcvdlqFwUQ4uOqbrCy22qAEWzkTv0BGP4LCjgmnccZjTnmApw+ZzXTyrSYaD5Z
cBmGvxnlU6408xaWROm/MqJ1LZVRE9A9aP8eCFWi++6Qap4aYGPxhw2jB2oXy3aa
A777CyKXKx4zsluG4hAMke7F6mSsi8WkHkhCmgDCEpZLiYdo/0b/miroUU0=
=ZzvM
-----END PGP SIGNATURE-----

Attachment: pgp8GAdLqftq8.pgp
Description: PGP signature


--- End Message ---

Reply to: