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

Bug#1097163: marked as done (libast: ftbfs with GCC-15)



Your message dated Sat, 27 Sep 2025 21:40:17 +0000
with message-id <E1v2ceP-006yn1-0z@fasolo.debian.org>
and subject line Bug#1097163: fixed in libast 0.7-12
has caused the Debian Bug report #1097163,
regarding libast: 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.)


-- 
1097163: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1097163
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:libast
Version: 0.7-11
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/libast_0.7-11_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

[...]
  717 |     spif_func_t comp;
      |                 ^~~~
../include/libast/types.h:239:42: error: too many arguments to function '((spif_const_class_t *)((spif_const_obj_t *)value)->cls)->dup'; expected 0, have 1
  239 | #define SPIF_CAST(type)                  (SPIF_TYPE(type))
../include/libast/obj.h:286:43: note: in expansion of macro 'SPIF_CAST'
  286 | #define SPIF_CLASS(cls)                  (SPIF_CAST(class) (cls))
      |                                           ^~~~~~~~~
../include/libast/obj.h:447:43: note: in expansion of macro 'SPIF_CLASS'
  447 | #define SPIF_OBJ_CLASS(obj)              (SPIF_CLASS(SPIF_OBJ(obj)->cls))
      |                                           ^~~~~~~~~~
../include/libast/obj.h:485:42: note: in expansion of macro 'SPIF_OBJ_CLASS'
  485 | #define SPIF_OBJ_CALL_METHOD(obj, meth)  SPIF_OBJ_CLASS(obj)->meth
      |                                          ^~~~~~~~~~~~~~
../include/libast/obj.h:579:58: note: in expansion of macro 'SPIF_OBJ_CALL_METHOD'
  579 | #define SPIF_OBJ_DUP(o)                  SPIF_CAST(obj) (SPIF_OBJ_CALL_METHOD((o), dup)(o))
      |                                                          ^~~~~~~~~~~~~~~~~~~~
array.c:812:62: note: in expansion of macro 'SPIF_OBJ_DUP'
  812 |         spif_objpair_set_value(SPIF_OBJPAIR(self->items[i]), SPIF_OBJ_DUP(value));
      |                                                              ^~~~~~~~~~~~
../include/libast/obj.h:718:17: note: declared here
  718 |     spif_func_t dup;
      |                 ^~~
array.c:813:16: error: 'TRUE' undeclared (first use in this function)
  813 |         return TRUE;
      |                ^~~~
array.c: In function 'spif_array_iterator_init':
array.c:847:46: error: 'FALSE' undeclared (first use in this function)
  847 |     ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE);
      |                                              ^~~~~
../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL'
  510 |                                                return (val);}} while (0)
      |                                                        ^~~
array.c:855:12: error: 'TRUE' undeclared (first use in this function)
  855 |     return TRUE;
      |            ^~~~
array.c: In function 'spif_array_iterator_done':
array.c:861:46: error: 'FALSE' undeclared (first use in this function)
  861 |     ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE);
      |                                              ^~~~~
../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL'
  510 |                                                return (val);}} while (0)
      |                                                        ^~~
array.c:864:12: error: 'TRUE' undeclared (first use in this function)
  864 |     return TRUE;
      |            ^~~~
array.c: In function 'spif_array_iterator_del':
array.c:872:46: error: 'FALSE' undeclared (first use in this function)
  872 |     ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE);
      |                                              ^~~~~
../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL'
  510 |                                                return (val);}} while (0)
      |                                                        ^~~
array.c: In function 'spif_array_iterator_has_next':
array.c:948:46: error: 'FALSE' undeclared (first use in this function)
  948 |     ASSERT_RVAL(!SPIF_ITERATOR_ISNULL(self), FALSE);
      |                                              ^~~~~
../include/libast.h:510:56: note: in definition of macro 'ASSERT_RVAL'
  510 |                                                return (val);}} while (0)
      |                                                        ^~~
array.c:954:16: error: 'TRUE' undeclared (first use in this function)
  954 |         return TRUE;
      |                ^~~~
make[3]: *** [Makefile:502: array.lo] Error 1
make[3]: Leaving directory '/build/reproducible-path/libast-0.7/src'
make[2]: *** [Makefile:508: all-recursive] Error 1
make[2]: Leaving directory '/build/reproducible-path/libast-0.7'
make[1]: *** [Makefile:403: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/libast-0.7'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

--- End Message ---
--- Begin Message ---
Source: libast
Source-Version: 0.7-12
Done: Alexandre Detiste <tchet@debian.org>

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

Debian distribution maintenance software
pp.
Alexandre Detiste <tchet@debian.org> (supplier of updated libast 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, 27 Sep 2025 22:43:29 +0200
Source: libast
Architecture: source
Version: 0.7-12
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Alexandre Detiste <tchet@debian.org>
Closes: 1097163 1115098
Changes:
 libast (0.7-12) unstable; urgency=medium
 .
   * QA upload.
   * Udate watch file to point to GitHub. A new version 0.8 is availaible.
   * Switch from CDBS to DH 13 (Closes: #1115098)
   * Mark the tests that never ran before as non-fatal
 .
   [ Tj ]
   * Fix C23 build issues (Closes: #1097163)
Checksums-Sha1:
 b028476583e3d33f03ce4816b751171665ce5a35 1908 libast_0.7-12.dsc
 e77a72bda76d88d42b503f354ad8d76977f51d75 6964 libast_0.7-12.debian.tar.xz
 797112795df57b2248b850b193e595512f84de1f 12216 libast_0.7-12_source.buildinfo
Checksums-Sha256:
 9dc6c6afbaf120973dcfc6a6d16f6bcfc88c864cf28e88e72143861026ad6563 1908 libast_0.7-12.dsc
 a41245365a053bd7822ff5389f97f0efdd3cddab4d8cc293f7d419ba1a00741f 6964 libast_0.7-12.debian.tar.xz
 920680186962e0fc1f61a4de8cecc93305b5705d735983705aed54e2870017ea 12216 libast_0.7-12_source.buildinfo
Files:
 12e74bcf3435a8f01fd407d17e4e48fd 1908 libs optional libast_0.7-12.dsc
 985a627e3e93e36c7f830cb6f2f58e63 6964 libs optional libast_0.7-12.debian.tar.xz
 f0c60f990c2da17d50bba1e6e3e73182 12216 libs optional libast_0.7-12_source.buildinfo

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

iQJFBAEBCgAvFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmjYUDcRHHRjaGV0QGRl
Ymlhbi5vcmcACgkQMfMURUShdBp9yxAAiIfM6kcsNAsd8g2giu0QG79oJzUlMg5u
EmKfX/V1FYvD1/UVpR7kPwFucm9AOW6V6TG8SMmgaNdGrFAkErG2+4Yr4Dmzrvh1
nMHK5eBxnzJJh0++uryBL7JDSYL0hjrp5zRUDSgBn2+GoIxGFyVbBGFLn/8KekWh
h0pM/ZtrMk5DxSL/jcfrvXSkyAitvXJ5lL0eiBmUcSNLpKrTYe+Zvx+p6ESvMaCj
x6COnl54weeKYGa2VYf4qHP7b0hrmTIOqeOgng/PEVbpuLoWsmi1YOoLQc461hfb
em1Nt3VcGhIBgJIM8zFC6xxnvpk6yBsOWYl6fNELQKUBykzVS1oTVa831Gs7QS/E
WCngk0z9E6cVDPQCcBcXiTIaaQtpn+iA8R8YtQLAkAMS8Mvim9mHrabsajCg3Qf9
zrGq0wn+YjxG1K0LO5uxI2c6S9SHkPKwRIuxEIcoQO0/C7Nv5Taocz4s+bwuYBJb
Mo5tQFGcq9LM3cNXdduUQ9Qm535hCN6pz3E9WSH2kayb0nCnhe2KNF8MLoXrs10+
l3nMiXCuo0bYpgSknQ1yPCJ3bdOJYH0ju3K+dID8LvKy0LqbOMVmMNLFElBaBlbY
p5/SjgmJzoQr9L1NQSTb5LeaE+h5SH4rswXJZKDiDCTZ2zROQFHvfrVGp5mdvMQu
ycqsdfz6AMs=
=a0EH
-----END PGP SIGNATURE-----

Attachment: pgpAmbU5Ks6Wu.pgp
Description: PGP signature


--- End Message ---

Reply to: