Bug#1075204: libskk: ftbfs with GCC-14
Package: src:libskk
Version: 1.0.5-2
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/libskk_1.0.5-2_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
[...]
| ^~~~~~~~~~~~~
/usr/include/glib-2.0/glib/gthread.h:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
dict.c:791:13: note: in expansion of macro ‘g_once_init_enter’
791 | if (g_once_init_enter (&skk_dict_type_id__once)) {
| ^~~~~~~~~~~~~~~~~
dict.c: In function ‘skk_empty_dict_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:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
dict.c:938:13: note: in expansion of macro ‘g_once_init_enter’
938 | if (g_once_init_enter (&skk_empty_dict_type_id__once)) {
| ^~~~~~~~~~~~~~~~~
dict.c: In function ‘skk_skk_dict_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:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
dict.c:983:13: note: in expansion of macro ‘g_once_init_enter’
983 | if (g_once_init_enter (&skk_skk_dict_error_type_id__once)) {
| ^~~~~~~~~~~~~~~~~
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -DPKGDATADIR=\"/usr/share/libskk\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c -o libskk_la-file-dict.lo `test -f 'file-dict.c' || echo './'`file-dict.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -include ../config.h -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/gee-0.8 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -DPKGDATADIR=\"/usr/share/libskk\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -c file-dict.c -fPIC -DPIC -o .libs/libskk_la-file-dict.o
In file included from /usr/include/glib-2.0/glib.h:64,
from /usr/include/glib-2.0/gobject/gbinding.h:30,
from /usr/include/glib-2.0/glib-object.h:24,
from ../libskk/libskk.h:6,
from file-dict.c:22:
file-dict.c: In function ‘skk_file_dict_read_until’:
/usr/include/glib-2.0/glib/gmessages.h:671:16: error: returning ‘void *’ from a function with return type ‘gboolean’ {aka ‘int’} makes integer from pointer without a cast [-Wint-conversion]
671 | return (val); \
| ^
file-dict.c:339:9: note: in expansion of macro ‘g_return_val_if_fail’
339 | g_return_val_if_fail (((gsize) (*offset)) < _tmp2_, NULL);
| ^~~~~~~~~~~~~~~~~~~~
file-dict.c: In function ‘skk_file_dict_real_complete’:
file-dict.c:1145:25: warning: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
1145 | _tmp18_ = _tmp17_;
| ^
file-dict.c:1378:17: warning: assignment to ‘gchar **’ {aka ‘char **’} from incompatible pointer type ‘void **’ [-Wincompatible-pointer-types]
1378 | _tmp71_ = _tmp70_;
| ^
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:
file-dict.c: In function ‘skk_file_dict_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:272:7: note: in expansion of macro ‘g_atomic_pointer_get’
272 | (!g_atomic_pointer_get (location) && \
| ^~~~~~~~~~~~~~~~~~~~
file-dict.c:1521:13: note: in expansion of macro ‘g_once_init_enter’
1521 | if (g_once_init_enter (&skk_file_dict_type_id__once)) {
| ^~~~~~~~~~~~~~~~~
make[3]: *** [Makefile:700: libskk_la-file-dict.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libskk'
make[2]: *** [Makefile:523: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:454: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: