Package: src:xmms2
Version: 0.8+dfsg-26
Severity: important
Tags: sid trixie
User: debian-...@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/xmms2_0.8+dfsg-26_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

[...]
00:03:04 runner ' podselect ../src/clients/lib/perl/XMMSClientCollection.xs > 
src/clients/lib/perl/Audio/XMMSClient/Collection.pod '
[ 20/311] Compiling src/clients/lib/perl/XMMSClientResult.xs
00:03:04 runner ' podselect ../src/clients/lib/perl/XMMSClientResult.xs > 
src/clients/lib/perl/Audio/XMMSClient/Result.pod '
[ 21/311] Compiling src/clients/medialib-updater/xmms2-mlib-updater.sh.in
[ 22/311] Compiling src/clients/nycli/xmms2.1
[ 23/311] Compiling src/clients/mdns/avahi/xmms2-mdns-launcher.sh.in
[ 24/311] Compiling src/clients/mdns/avahi/xmms2-mdns-avahi.1
[ 25/311] Compiling src/clients/launcher/xmms2-launcher.1
[ 26/311] Compiling xmms2.pc.in
[ 27/311] Compiling xmms2.pc.in
[ 28/311] Compiling xmms2.pc.in
[ 29/311] Compiling xmms2.pc.in
[ 30/311] Compiling xmms2.pc.in
[ 31/311] Compiling src/lib/xmmsutils/strlist.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmsutils', 
'-I../src/lib/xmmsutils', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'../src/lib/xmmsutils/strlist.c', '-c', 
'-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmsutils/strlist.c.1.o', '-Wdate-time', 
'-D_FORTIFY_SOURCE=2']
[ 32/311] Compiling src/lib/xmmsutils/utils.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmsutils', 
'-I../src/lib/xmmsutils', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'../src/lib/xmmsutils/utils.c', '-c', 
'-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmsutils/utils.c.1.o', '-Wdate-time', 
'-D_FORTIFY_SOURCE=2']
[ 33/311] Compiling src/lib/xmmsutils/utils_unix.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmsutils', 
'-I../src/lib/xmmsutils', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'../src/lib/xmmsutils/utils_unix.c', '-c', 
'-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmsutils/utils_unix.c.1.o', '-Wdate-time', 
'-D_FORTIFY_SOURCE=2']
[ 34/311] Compiling src/lib/xmmstypes/coll.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmstypes', 
'-I../src/lib/xmmstypes', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'-Isrc/includepriv', '-I../src/includepriv', '../src/lib/xmmstypes/coll.c', 
'-c', '-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmstypes/coll.c.1.o', '-Wdate-time', 
'-D_FORTIFY_SOURCE=2']
[ 35/311] Compiling src/lib/xmmstypes/xlist.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmstypes', 
'-I../src/lib/xmmstypes', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'-Isrc/includepriv', '-I../src/includepriv', '../src/lib/xmmstypes/xlist.c', 
'-c', '-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmstypes/xlist.c.1.o', 
'-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 36/311] Compiling src/lib/xmmstypes/value_serialize.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmstypes', 
'-I../src/lib/xmmstypes', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'-Isrc/includepriv', '-I../src/includepriv', 
'../src/lib/xmmstypes/value_serialize.c', '-c', 
'-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmstypes/value_serialize.c.1.o', 
'-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 37/311] Compiling src/lib/xmmstypes/value.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmstypes', 
'-I../src/lib/xmmstypes', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'-Isrc/includepriv', '-I../src/includepriv', '../src/lib/xmmstypes/value.c', 
'-c', '-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmstypes/value.c.1.o', 
'-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 38/311] Compiling src/lib/xmmssocket/socket_common.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmssocket', 
'-I../src/lib/xmmssocket', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'../src/lib/xmmssocket/socket_common.c', '-c', 
'-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmssocket/socket_common.c.1.o', 
'-Wdate-time', '-D_FORTIFY_SOURCE=2']
[ 39/311] Compiling src/lib/xmmssocket/socket_unix.c
00:03:04 runner ['/usr/bin/gcc', '-g', '-O2', 
'-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmssocket', 
'-I../src/lib/xmmssocket', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'../src/lib/xmmssocket/socket_unix.c', '-c', 
'-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmssocket/socket_unix.c.1.o', 
'-Wdate-time', '-D_FORTIFY_SOURCE=2']
../src/lib/xmmstypes/coll.c: In function ‘xmmsv_coll_attribute_get’:
../src/lib/xmmstypes/coll.c:500:65: error: passing argument 3 of 
‘xmmsv_dict_entry_get_string’ from incompatible pointer type 
[-Wincompatible-pointer-types]
  500 |         if (xmmsv_dict_entry_get_string (coll->attributes, key, value)) 
{
      |                                                                 ^~~~~
      |                                                                 |
      |                                                                 char **
In file included from ../src/include/xmmsc/xmmsv.h:23,
                 from ../src/lib/xmmstypes/coll.c:23:
../src/include/xmmsc/xmmsv_dict.h:41:78: note: expected ‘const char **’ but 
argument is of type ‘char **’
   41 | int xmmsv_dict_entry_get_string (xmmsv_t *val, const char *key, const 
char **r);
      |                                                                 
~~~~~~~~~~~~~^

In function ‘_internal_put_on_bb_value_dict’,
    inlined from ‘xmmsv_bitbuffer_serialize_value’ at 
../src/lib/xmmstypes/value_serialize.c:623:9:
../src/lib/xmmstypes/value_serialize.c:245:16: warning: ‘ret’ may be used 
uninitialized [-Wmaybe-uninitialized]
  245 |         return ret;
      |                ^~~
../src/lib/xmmstypes/value_serialize.c: In function 
‘xmmsv_bitbuffer_serialize_value’:
../src/lib/xmmstypes/value_serialize.c:223:18: note: ‘ret’ was declared here
  223 |         uint32_t ret, offset, count;
      |                  ^~~

../src/lib/xmmstypes/value.c: In function ‘xmmsv_dict_iter_find’:
../src/lib/xmmstypes/value.c:2084:12: warning: ‘cmp’ may be used uninitialized 
[-Wmaybe-uninitialized]
 2084 |         if (cmp < 0) {
      |            ^
../src/lib/xmmstypes/value.c:2032:27: note: ‘cmp’ was declared here
 2032 |         int s, dict_size, cmp, left, right;
      |                           ^~~

Waf: Leaving directory `/<<PKGBUILDDIR>>/_build_'
Build failed
 -> task in 'xmmstypes' failed with exit status 1: 
        {task 139650335340960: c coll.c -> coll.c.1.o}
['/usr/bin/gcc', '-g', '-O2', '-Werror=implicit-function-declaration', 
'-ffile-prefix-map=/<<PKGBUILDDIR>>=.', '-fstack-protector-strong', 
'-fstack-clash-protection', '-Wformat', '-Werror=format-security', 
'-fcf-protection', '-DHAVE_G_FILE_QUERY_FILE_TYPE', '-Wall', '-Wempty-body', 
'-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', 
'-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', 
'-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', 
'-Wno-format-zero-length', '-Wno-deprecated-declarations', 
'-fdiagnostics-show-option', '-fPIC', '-DPIC', '-Isrc/lib/xmmstypes', 
'-I../src/lib/xmmstypes', '-I.', '-I..', '-Isrc/include', '-I../src/include', 
'-Isrc/includepriv', '-I../src/includepriv', '../src/lib/xmmstypes/coll.c', 
'-c', '-o/<<PKGBUILDDIR>>/_build_/src/lib/xmmstypes/coll.c.1.o', '-Wdate-time', 
'-D_FORTIFY_SOURCE=2']
make[1]: *** [debian/rules:56: override_dh_auto_build] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:32: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Reply via email to