Bug#1075169: libgda5: ftbfs with GCC-14
Matthias Klose
doko at debian.org
Wed Jul 3 13:33:15 BST 2024
Package: src:libgda5
Version: 5.2.10-4.1
Severity: important
Tags: sid trixie
User: debian-gcc at 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/libgda5_5.2.10-4.1_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
[...]
75 | (g_string_free) ((str), (free_segment)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gda-data-model.c:3010:17: note: in expansion of macro ‘g_string_free’
3010 | g_string_free (string, FALSE);
| ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of ‘g_string_free_and_steal’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
70 | (__builtin_constant_p (free_segment) ? \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | ((free_segment) ? \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | (g_string_free) ((str), (free_segment)) : \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | g_string_free_and_steal (str)) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74 | : \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75 | (g_string_free) ((str), (free_segment)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gda-data-model.c:3046:25: note: in expansion of macro ‘g_string_free’
3046 | g_string_free (ns, FALSE);
| ^~~~~~~~~~~~~
gda-data-model-import.c: In function ‘gda_data_model_import_set_property’:
gda-data-model-import.c:750:22: warning: unused variable ‘string’ [-Wunused-variable]
750 | const gchar *string;
| ^~~~~~
In file included from /usr/include/glib-2.0/glib/giochannel.h:36,
from /usr/include/glib-2.0/glib.h:56,
from /usr/include/glib-2.0/glib/gi18n-lib.h:23,
from gda-data-model-dir.c:25:
gda-data-model-dir.c: In function ‘update_file_md5sum’:
/usr/include/glib-2.0/glib/gstring.h:74:5: warning: ignoring return value of ‘g_string_free_and_steal’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
70 | (__builtin_constant_p (free_segment) ? \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
71 | ((free_segment) ? \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
72 | (g_string_free) ((str), (free_segment)) : \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
73 | g_string_free_and_steal (str)) \
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
74 | : \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
75 | (g_string_free) ((str), (free_segment)))
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gda-data-model-dir.c:547:9: note: in expansion of macro ‘g_string_free’
547 | g_string_free (md5str, FALSE);
| ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/glist.h:34,
from /usr/include/glib-2.0/glib/ghash.h:36,
from /usr/include/glib-2.0/glib.h:52:
gda-data-model.c: In function ‘gda_data_model_import_from_model’:
/usr/include/glib-2.0/glib/gmem.h:270:19: warning: argument 1 range [18446744071562067968, 18446744073709551615] exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
270 | __p = g_##func##_n (__n, __s); \
| ^~~~~~~~~~~~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gmem.h:332:57: note: in expansion of macro ‘_G_NEW’
332 | #define g_new0(struct_type, n_structs) _G_NEW (struct_type, n_structs, malloc0)
| ^~~~~~
gda-data-model.c:2180:24: note: in expansion of macro ‘g_new0’
2180 | append_types = g_new0 (GType, to_nb_cols);
| ^~~~~~
/usr/include/glib-2.0/glib/gmem.h:102:10: note: in a call to allocation function ‘g_malloc0_n’ declared here
102 | gpointer g_malloc0_n (gsize n_blocks,
| ^~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libgda'
make[2]: *** [Makefile:1275: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/libgda'
make[1]: *** [Makefile:742: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:8: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
More information about the pkg-gnome-maintainers
mailing list