Bug#1098055: vala: ftbfs with GCC-15

Matthias Klose doko at debian.org
Mon Feb 17 17:59:02 GMT 2025


Package: src:vala
Version: 0.56.17-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/vala_0.56.17-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

[...]
PRETTY_NAME="Debian GNU/Linux trixie/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=trixie
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

.. contents:: :depth: 2

FAIL: errors/bug778224
======================

/build/reproducible-path/vala-0.56.17/tests/_test.84214/errors_bug778224.c:37:22: error: expected identifier or ‘(’ before ‘true’
   37 | VALA_EXTERN gboolean true;
      |                      ^~~~
/build/reproducible-path/vala-0.56.17/tests/_test.84214/errors_bug778224.c:38:10: error: expected identifier or ‘(’ before ‘true’
   38 | gboolean true = TRUE;
      |          ^~~~
In file included from /usr/include/glib-2.0/glib/gthread.h:34,
                 from /usr/include/glib-2.0/glib/gasyncqueue.h:34,
                 from /usr/include/glib-2.0/glib.h:34,
                 from /build/reproducible-path/vala-0.56.17/tests/_test.84214/errors_bug778224.c:4:
/build/reproducible-path/vala-0.56.17/tests/_test.84214/errors_bug778224.c: In function ‘foo_error_get_type’:
/usr/include/glib-2.0/glib/gatomic.h:131:5: warning: argument 2 of ‘__atomic_load’ discards ‘volatile’ qualifier [-Wdiscarded-qualifiers]
  131 |     __atomic_load (gapg_temp_atomic, &gapg_temp_newval, __ATOMIC_SEQ_CST); \
      |     ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:274:7: note: in expansion of macro ‘g_atomic_pointer_get’
  274 |     (!g_atomic_pointer_get (location) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
/build/reproducible-path/vala-0.56.17/tests/_test.84214/errors_bug778224.c:64:13: note: in expansion of macro ‘g_once_init_enter’
   64 |         if (g_once_init_enter (&foo_error_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
FAIL errors/bug778224.vala (exit status: 1)

============================================================================
Testsuite summary for vala 0.56.17
============================================================================
# TOTAL: 1428
# PASS:  1427
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See tests/test-suite.log for debugging.
Some test(s) failed.  Please report this to https://gitlab.gnome.org/GNOME/vala/issues,
together with the test-suite.log file (gzipped) and your system
information.  Thanks.
============================================================================
make[7]: *** [Makefile:1856: test-suite.log] Error 1
make[7]: Leaving directory '/build/reproducible-path/vala-0.56.17/tests'
make[6]: *** [Makefile:1991: check-TESTS] Error 2
make[6]: Leaving directory '/build/reproducible-path/vala-0.56.17/tests'
make[5]: *** [Makefile:2122: check-am] Error 2
make[5]: Leaving directory '/build/reproducible-path/vala-0.56.17/tests'
make[4]: *** [Makefile:1749: check-recursive] Error 1
make[4]: Leaving directory '/build/reproducible-path/vala-0.56.17/tests'
make[3]: *** [Makefile:2124: check] Error 2
make[3]: Leaving directory '/build/reproducible-path/vala-0.56.17/tests'
make[2]: *** [Makefile:1000: test] Error 2
make[2]: Leaving directory '/build/reproducible-path/vala-0.56.17'
dh_auto_test: error: make -j8 test "TESTSUITEFLAGS=-j8 --verbose" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:57: override_dh_auto_test] Error 25
make[1]: Leaving directory '/build/reproducible-path/vala-0.56.17'
make: *** [debian/rules:18: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



More information about the pkg-gnome-maintainers mailing list