Bug#1075016: gmerlin-avdecoder: ftbfs with GCC-14
Package: src:gmerlin-avdecoder
Version: 2.0.0~svn6298~dfsg0-4
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-avdecoder_2.0.0~svn6298~dfsg0-4_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
[...]
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o video_ffmpeg.lo video_ffmpeg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c parse_dca.c -fPIC -DPIC -o .libs/parse_dca.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c audio_ffmpeg.c -fPIC -DPIC -o .libs/audio_ffmpeg.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c video_ffmpeg.c -fPIC -DPIC -o .libs/video_ffmpeg.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o bsf_adts.lo bsf_adts.c
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o video_theora.lo video_theora.c
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o audio_speex.lo audio_speex.c
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o parse_speex.lo parse_speex.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c video_theora.c -fPIC -DPIC -o .libs/video_theora.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c audio_speex.c -fPIC -DPIC -o .libs/audio_speex.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c bsf_adts.c -fPIC -DPIC -o .libs/bsf_adts.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o dvb_channels.lo dvb_channels.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c parse_speex.c -fPIC -DPIC -o .libs/parse_speex.o
video_ffmpeg.c: In function ‘decode_picture’:
video_ffmpeg.c:574:7: warning: ‘interlaced_frame’ is deprecated [-Wdeprecated-declarations]
574 | if(priv->frame->interlaced_frame)
| ^~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:36,
from video_ffmpeg.c:34:
/usr/include/x86_64-linux-gnu/libavutil/frame.h:530:9: note: declared here
530 | int interlaced_frame;
| ^~~~~~~~~~~~~~~~
video_ffmpeg.c:576:9: warning: ‘top_field_first’ is deprecated [-Wdeprecated-declarations]
576 | if(priv->frame->top_field_first)
| ^~
/usr/include/x86_64-linux-gnu/libavutil/frame.h:538:9: note: declared here
538 | int top_field_first;
| ^~~~~~~~~~~~~~~
video_ffmpeg.c: In function ‘find_decoder’:
video_ffmpeg.c:659:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
659 | return avcodec_find_decoder(id);
| ^~~~~~~~~~~~~~~~~~~~~~~~
video_ffmpeg.c: In function ‘bgav_init_video_decoders_ffmpeg’:
video_ffmpeg.c:1620:11: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
1620 | if((c = avcodec_find_decoder(codec_infos[i].ffmpeg_id)))
| ^
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o video_v4l2_m2m.lo video_v4l2_m2m.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c dvb_channels.c -fPIC -DPIC -o .libs/dvb_channels.o
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o audio_gsm.lo audio_gsm.c
/bin/bash ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" "-I/usr/include" -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c -o RTjpeg.lo RTjpeg.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c video_v4l2_m2m.c -fPIC -DPIC -o .libs/video_v4l2_m2m.o
bsf_adts.c: In function ‘bgav_bsf_init_adts’:
bsf_adts.c:109:3: warning: ‘av_init_packet’ is deprecated [-Wdeprecated-declarations]
109 | av_init_packet(&pkt);
| ^~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:44,
from bsf_adts.c:32:
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:629:6: note: declared here
629 | void av_init_packet(AVPacket *pkt);
| ^~~~~~~~~~~~~~
bsf_adts.c:123:45: error: passing argument 3 of ‘av_packet_get_side_data’ from incompatible pointer type [-Wincompatible-pointer-types]
123 | &extradata_size)))
| ^~~~~~~~~~~~~~~
| |
| int *
/usr/include/x86_64-linux-gnu/libavcodec/packet.h:721:42: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘int *’
721 | size_t *size);
| ~~~~~~~~^~~~
make[3]: *** [Makefile:1594: bsf_adts.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c audio_gsm.c -fPIC -DPIC -o .libs/audio_gsm.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../include -I../include -Wdate-time -D_FORTIFY_SOURCE=2 -DLOCALE_DIR=\"/usr/share/locale\" -I/usr/include -D__BGAV__ -fvisibility=hidden -O3 -ffast-math -I/usr/include -I/usr/include/opus -I/usr/include -I/usr/include/x86_64-linux-gnu -I/usr/include/x86_64-linux-gnu -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 -Wall -Wmissing-declarations -Wdeclaration-after-statement -c RTjpeg.c -fPIC -DPIC -o .libs/RTjpeg.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[2]: *** [Makefile:1609: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/lib'
make[1]: *** [Makefile:574: 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: