Bug#811921: ffmpeg: FTBFS with GCC 6: misc errors
Martin Michlmayr
tbm at hpe.com
Wed Jan 20 03:44:00 UTC 2016
Package: ffmpeg
Version: 7:2.8.4-1
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6
This package fails to build with GCC 6. GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.
Note that only the first error is reported; there might be more. You
can find a snapshot of GCC 6 in experimental. To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.
You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html
> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> cc -I. -I/<<PKGBUILDDIR>>/ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-strict-overflow -fstack-protector-all -std=c99 -fomit-frame-pointer -fPIC -pthread -I/usr/include/p11-kit-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/bs2b -I/usr/include/freetype2 -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/opencv -I/usr/include/opus -D_REENTRANT -I/usr/include/p11-kit-1 -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -g -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes
> -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -c -o ffmpeg_opt.o /<<PKGBUILDDIR>>/ffmpeg_opt.c
> /<<PKGBUILDDIR>>/ffplay.c:3217:46: error: missing binary operator before token "("
> #if defined(__APPLE__) && SDL_VERSION_ATLEAST(1, 2, 14)
> ^
> cc -I. -I/<<PKGBUILDDIR>>/ -Wdate-time -D_FORTIFY_SOURCE=2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -MM /<<PKGBUILDDIR>>/libavfilter/avf_showvolume.c | sed -e "/^#.*/d" -e "s,^[[:space:]]*avf_showvolume\\.o,libavfilter/avf_showvolume.o," > libavfilter/avf_showvolume.d
> /<<PKGBUILDDIR>>/libavfilter/avf_showcqt.c:38:10: error: #include expects "FILENAME" or <FILENAME>
> #include FT_FREETYPE_H
> ^~~~~~~~~~~~~
...
> -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -O3 -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -c -o libavfilter/vf_drawbox.o /<<PKGBUILDDIR>>/libavfilter/vf_drawbox.c
> /<<PKGBUILDDIR>>/libavfilter/vf_drawtext.c:69:10: error: #include expects "FILENAME" or <FILENAME>
> #include FT_FREETYPE_H
> ^~~~~~~~~~~~~
>
> /<<PKGBUILDDIR>>/libavfilter/vf_drawtext.c:70:10: error: #include expects "FILENAME" or <FILENAME>
> #include FT_GLYPH_H
> ^~~~~~~~~~
>
> /<<PKGBUILDDIR>>/libavfilter/vf_drawtext.c:71:10: error: #include expects "FILENAME" or <FILENAME>
> #include FT_STROKER_H
> ^~~~~~~~~~~~
>
> /<<PKGBUILDDIR>>/libavfilter/vf_drawtext.c:275:10: error: #include expects "FILENAME" or <FILENAME>
> #include FT_ERRORS_H
> ^~~~~~~~~~~
More information about the pkg-multimedia-maintainers
mailing list