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

Bug#1075177: libkkc: ftbfs with GCC-14



Package: src:libkkc
Version: 0.3.5-9
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/libkkc_0.3.5-9_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

[...]
      |                         ^~~~~~
encoding.c:390:22: warning: variable ‘_tmp7__length1’ set but not used [-Wunused-but-set-variable]
  390 |                 gint _tmp7__length1;
      |                      ^~~~~~~~~~~~~~
encoding.c:385:25: warning: variable ‘_tmp6_’ set but not used [-Wunused-but-set-variable]
  385 |                 guint8* _tmp6_;
      |                         ^~~~~~
encoding.c:356:14: warning: variable ‘_outbuf_size_’ set but not used [-Wunused-but-set-variable]
  356 |         gint _outbuf_size_;
      |              ^~~~~~~~~~~~~
encoding.c:352:14: warning: variable ‘_inbuf_size_’ set but not used [-Wunused-but-set-variable]
  352 |         gint _inbuf_size_;
      |              ^~~~~~~~~~~~
encoding.c: In function ‘kkc_encoding_converter_set_encoding’:
encoding.c:529:19: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  529 |         old_value = kkc_encoding_converter_get_encoding (self);
      |                   ^
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 /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from encoding.c:22:
encoding.c: In function ‘kkc_encoding_converter_encoding_coding_system_entry_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
encoding.c:592:13: note: in expansion of macro ‘g_once_init_enter’
  592 |         if (g_once_init_enter (&kkc_encoding_converter_encoding_coding_system_entry_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
encoding.c: In function ‘kkc_encoding_converter_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
encoding.c:685:13: note: in expansion of macro ‘g_once_init_enter’
  685 |         if (g_once_init_enter (&kkc_encoding_converter_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
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 ../libkkc/libkkc.h:6,
                 from user-dictionary.c:22:
user-dictionary.c: In function ‘kkc_user_dictionary_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) &&                             \
      |       ^~~~~~~~~~~~~~~~~~~~
user-dictionary.c:494:13: note: in expansion of macro ‘g_once_init_enter’
  494 |         if (g_once_init_enter (&kkc_user_dictionary_type_id__once)) {
      |             ^~~~~~~~~~~~~~~~~
user-dictionary.c: At top level:
user-dictionary.c:42:20: warning: ‘kkc_user_dictionary_properties’ defined but not used [-Wunused-variable]
   42 | static GParamSpec* kkc_user_dictionary_properties[KKC_USER_DICTIONARY_NUM_PROPERTIES];
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/<<PKGBUILDDIR>>/libkkc'
make[2]: *** [Makefile:518: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:449: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:14: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


Reply to: