Bug#1075018: gmerlin-encoders: ftbfs with GCC-14
Package: src:gmerlin-encoders
Version: 2.0.0~svn6278-5
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/gmerlin-encoders_2.0.0~svn6278-5_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
[...]
libtool: link: gcc -shared -fPIC -DPIC .libs/e_speex_la-e_speex.o .libs/e_speex_la-speex.o .libs/e_speex_la-ogg_common.o -Wl,--whole-archive ../../lib/.libs/libgmerlin_encoders.a -Wl,--no-whole-archive -lspeex -L/usr/lib -logg -lgmerlin -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,e_speex.so -Wl,-version-script -Wl,.libs/e_speex.ver -o .libs/e_speex.so
libtool: link: ( cd ".libs" && rm -f "c_theoraenc.la" && ln -s "../c_theoraenc.la" "c_theoraenc.la" )
libtool: link: echo "{ global:" > .libs/c_speexenc.ver
libtool: link: cat /usr/share/gmerlin/plugin.sym | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/c_speexenc.ver
libtool: link: ( cd ".libs" && rm -f "e_speex.la" && ln -s "../e_speex.la" "e_speex.la" )
libtool: link: echo "local: *; };" >> .libs/c_speexenc.ver
libtool: link: gcc -shared -fPIC -DPIC .libs/c_speexenc_la-speex.o .libs/c_speexenc_la-c_speexenc.o .libs/c_speexenc_la-ogg_common.o -Wl,--whole-archive ../../lib/.libs/libgmerlin_encoders.a -Wl,--no-whole-archive -lspeex -L/usr/lib -logg -lgmerlin -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,c_speexenc.so -Wl,-version-script -Wl,.libs/c_speexenc.ver -o .libs/c_speexenc.so
libtool: link: echo "{ global:" > .libs/e_opus.ver
libtool: link: cat /usr/share/gmerlin/plugin.sym | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/e_opus.ver
libtool: link: echo "{ global:" > .libs/c_opusenc.ver
libtool: link: cat /usr/share/gmerlin/plugin.sym | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/c_opusenc.ver
libtool: link: echo "local: *; };" >> .libs/e_opus.ver
libtool: link: gcc -shared -fPIC -DPIC .libs/e_opus_la-e_opus.o .libs/e_opus_la-opus.o .libs/e_opus_la-ogg_common.o -Wl,--whole-archive ../../lib/.libs/libgmerlin_encoders.a -Wl,--no-whole-archive -lopus -L/usr/lib -logg -lgmerlin -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,e_opus.so -Wl,-version-script -Wl,.libs/e_opus.ver -o .libs/e_opus.so
libtool: link: ( cd ".libs" && rm -f "c_speexenc.la" && ln -s "../c_speexenc.la" "c_speexenc.la" )
libtool: link: echo "local: *; };" >> .libs/c_opusenc.ver
libtool: link: gcc -shared -fPIC -DPIC .libs/c_opusenc_la-opus.o .libs/c_opusenc_la-c_opusenc.o .libs/c_opusenc_la-ogg_common.o -Wl,--whole-archive ../../lib/.libs/libgmerlin_encoders.a -Wl,--no-whole-archive -lopus -L/usr/lib -logg -lgmerlin -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,c_opusenc.so -Wl,-version-script -Wl,.libs/c_opusenc.ver -o .libs/c_opusenc.so
/bin/bash ../../libtool --tag=CC --mode=link gcc -ltheoradec -logg -I/usr/include -I/usr/include/opus -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -export-symbols /usr/share/gmerlin/plugin.sym -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -avoid-version -module -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o b_ogg.la -rpath /usr/lib/x86_64-linux-gnu/gmerlin/plugins b_ogg_la-b_ogg.lo b_ogg_la-vorbis.lo b_ogg_la-speex.lo b_ogg_la-opus.lo b_ogg_la-theora.lo b_ogg_la-ogg_common.lo ../../lib/libgmerlin_encoders.la -lvorbisenc -L/usr/lib -lvorbis -lm -ltheoraenc -ltheoradec -logg -ltheoradec -logg -lspeex -lopus ../../lib/libbgshout.la -lshout -lgmerlin
libtool: link: ( cd ".libs" && rm -f "e_opus.la" && ln -s "../e_opus.la" "e_opus.la" )
libtool: link: ( cd ".libs" && rm -f "c_opusenc.la" && ln -s "../c_opusenc.la" "c_opusenc.la" )
libtool: link: echo "{ global:" > .libs/b_ogg.ver
libtool: link: cat /usr/share/gmerlin/plugin.sym | /usr/bin/sed -e "s/\(.*\)/\1;/" >> .libs/b_ogg.ver
libtool: link: echo "local: *; };" >> .libs/b_ogg.ver
libtool: link: gcc -shared -fPIC -DPIC .libs/b_ogg_la-b_ogg.o .libs/b_ogg_la-vorbis.o .libs/b_ogg_la-speex.o .libs/b_ogg_la-opus.o .libs/b_ogg_la-theora.o .libs/b_ogg_la-ogg_common.o -Wl,--whole-archive ../../lib/.libs/libgmerlin_encoders.a ../../lib/.libs/libbgshout.a -Wl,--no-whole-archive -lvorbisenc -L/usr/lib -lvorbis -lm -ltheoraenc -ltheoradec -logg -lspeex -lopus -lshout -lgmerlin -g -O2 -fstack-protector-strong -O3 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -Wl,-soname -Wl,b_ogg.so -Wl,-version-script -Wl,.libs/b_ogg.ver -o .libs/b_ogg.so
libtool: link: ( cd ".libs" && rm -f "b_ogg.la" && ln -s "../b_ogg.la" "b_ogg.la" )
make[3]: Leaving directory '/<<PKGBUILDDIR>>/plugins/ogg'
Making all in yuv4mpeg
make[3]: Entering directory '/<<PKGBUILDDIR>>/plugins/yuv4mpeg'
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o e_yuv4mpeg.lo e_yuv4mpeg.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o y4m_common.lo y4m_common.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o e_mpegvideo.lo e_mpegvideo.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o mpv_common.lo mpv_common.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o e_mpegaudio.lo e_mpegaudio.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o mpa_common.lo mpa_common.c
/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o e_mpeg.lo e_mpeg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c y4m_common.c -fPIC -DPIC -o .libs/y4m_common.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c e_mpegaudio.c -fPIC -DPIC -o .libs/e_mpegaudio.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c e_mpegvideo.c -fPIC -DPIC -o .libs/e_mpegvideo.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c mpa_common.c -fPIC -DPIC -o .libs/mpa_common.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c e_yuv4mpeg.c -fPIC -DPIC -o .libs/e_yuv4mpeg.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c mpv_common.c -fPIC -DPIC -o .libs/mpv_common.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../include -I../../include -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -DLOCALE_DIR=\"/usr/share/locale\" -g -O2 -Werror=implicit-function-declaration "-ffile-prefix-map=/<<PKGBUILDDIR>>=." -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_REENTRANT -D_FILE_OFFSET_BITS=64 -O3 -fomit-frame-pointer -ffast-math -I/usr/include/libxml2 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c e_mpeg.c -fPIC -DPIC -o .libs/e_mpeg.o
e_mpegaudio.c:211:28: error: initialization of ‘int (*)(void *, const char *, const gavl_dictionary_t *)’ from incompatible pointer type ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_chapter_list_t *)’ {aka ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_dictionary_t *)’} [-Wincompatible-pointer-types]
211 | .open = open_mpa,
| ^~~~~~~~
e_mpegaudio.c:211:28: note: (near initialization for ‘the_plugin.open’)
make[3]: *** [Makefile:547: e_mpegaudio.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
e_yuv4mpeg.c:273:29: error: initialization of ‘int (*)(void *, const char *, const gavl_dictionary_t *)’ from incompatible pointer type ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_chapter_list_t *)’ {aka ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_dictionary_t *)’} [-Wincompatible-pointer-types]
273 | .open = open_y4m,
| ^~~~~~~~
e_yuv4mpeg.c:273:29: note: (near initialization for ‘the_plugin.open’)
e_mpegvideo.c:214:29: error: initialization of ‘int (*)(void *, const char *, const gavl_dictionary_t *)’ from incompatible pointer type ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_chapter_list_t *)’ {aka ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_dictionary_t *)’} [-Wincompatible-pointer-types]
214 | .open = open_mpv,
| ^~~~~~~~
e_mpegvideo.c:214:29: note: (near initialization for ‘the_plugin.open’)
make[3]: *** [Makefile:547: e_yuv4mpeg.lo] Error 1
make[3]: *** [Makefile:547: e_mpegvideo.lo] Error 1
e_mpeg.c:834:29: error: initialization of ‘int (*)(void *, const char *, const gavl_dictionary_t *)’ from incompatible pointer type ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_chapter_list_t *)’ {aka ‘int (*)(void *, const char *, const gavl_dictionary_t *, const gavl_dictionary_t *)’} [-Wincompatible-pointer-types]
834 | .open = open_mpeg,
| ^~~~~~~~~
e_mpeg.c:834:29: note: (near initialization for ‘the_plugin.open’)
make[3]: *** [Makefile:547: e_mpeg.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/plugins/yuv4mpeg'
make[2]: *** [Makefile:444: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/plugins'
make[1]: *** [Makefile:462: all-recursive] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:22: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
Reply to: