[FFmpeg-user] GCC 5.1: build errors

Reindl Harald h.reindl at thelounge.net
Thu Sep 10 22:55:54 CEST 2015



Am 10.09.2015 um 22:47 schrieb Moritz Barsnick:
> Hi Harald,
>
> On Thu, Sep 10, 2015 at 22:24:19 +0200, Reindl Harald wrote:
>> seems to affect 2.8.0 as well as 2.6.4
>>
>> that's on a virtual machine upgraded to Fedora 22
>> the same rpm-spec on F21 is fine
>
> Interestingly, rpmfusion for F22 delivers 2.6.4 built with 5.1.1:

that may all be true, but don't change the fact that the same src.rpm 
with the same params is fine on F21

> [barsnick at paradise ~]$ ffmpeg
> ffmpeg version 2.6.4 Copyright (c) 2000-2015 the FFmpeg developers
>    built with gcc 5.1.1 (GCC) 20150618 (Red Hat 5.1.1-4)
>    configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-frei0r --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopencv --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disab
le-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
>    libavutil      54. 20.100 / 54. 20.100
>    libavcodec     56. 26.100 / 56. 26.100
>    libavformat    56. 25.101 / 56. 25.101
>    libavdevice    56.  4.100 / 56.  4.100
>    libavfilter     5. 11.102 /  5. 11.102
>    libavresample   2.  1.  0 /  2.  1.  0
>    libswscale      3.  1.101 /  3.  1.101
>    libswresample   1.  1.100 /  1.  1.100
>    libpostproc    53.  3.100 / 53.  3.100
> Hyper fast Audio and Video encoder
> usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

completly other build options, starting with x264 not linked static

[root at buildserver:~]$ ffmpeg
ffmpeg version 2.8 Copyright (c) 2000-2015 the FFmpeg developers
   built with gcc 4.9.2 (GCC) 20150212 (Red Hat 4.9.2-6)
   configuration: --prefix=/usr/local --bindir=/usr/local/bin 
--mandir=/usr/local/man --arch=x86_64 --cpu=sandybridge 
--extra-cflags='-I/usr/local/x264 -m64 -O2 -march=sandybridge 
-mtune=sandybridge -fopenmp -mfpmath=sse -pipe -fno-strict-aliasing 
-fomit-frame-pointer -finline-functions -finline-limit=60 -fexceptions 
-fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 
-Wstack-protector -Wformat -Werror=format-security -Ofast -fno-PIC 
-fno-PIE -ffast-math -funsafe-math-optimizations -fomit-frame-pointer 
-floop-interchange -floop-block -ftree-loop-distribution -funroll-loops 
-funswitch-loops -minline-all-stringops' 
--extra-ldflags='-I/usr/local/x264 -L/usr/local/x264 -ldl -Wl,-z,now 
-Wl,-z,relro,-z,noexecstack' --enable-nonfree --enable-gpl 
--enable-version3 --enable-libmp3lame --enable-libtheora 
--enable-libx264 --enable-libvpx --enable-openssl --enable-static 
--enable-runtime-cpudetect --enable-bzlib --enable-zlib 
--disable-amd3dnow --disable-avdevice --disable-debug --disable-devices 
--disable-ffplay --disable-ffprobe --disable-ffserver 
--disable-htmlpages --disable-hwaccels --disable-iconv 
--disable-libdc1394 --disable-libfaac --disable-libfreetype 
--disable-libgsm --disable-libopencore-amrnb --disable-libopencore-amrwb 
--disable-libopencv --disable-libopenjpeg --disable-libopus 
--disable-librtmp --disable-libschroedinger --disable-libspeex 
--disable-libvorbis --disable-libxvid --disable-podpages 
--disable-postproc --disable-protocols --enable-protocol=cache 
--enable-protocol=concat --enable-protocol=crypto --enable-protocol=data 
--enable-protocol=file --enable-protocol=http --enable-protocol=https 
--enable-protocol=md5 --enable-protocol=mmsh --enable-protocol=mmst 
--enable-protocol=pipe --enable-protocol=rtp --enable-protocol=srtp 
--enable-protocol=rtmp --enable-protocol=rtmps --enable-protocol=tcp 
--enable-protocol=udp --enable-protocol=unix --enable-protocol=tls 
--disable-shared --disable-txtpages
   libavutil      54. 31.100 / 54. 31.100
   libavcodec     56. 60.100 / 56. 60.100
   libavformat    56. 40.101 / 56. 40.101
   libavfilter     5. 40.101 /  5. 40.101
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile 
options] outfile}...

>> In file included from
>> /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/internal.h:34:0,
>>                    from
>> /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_uspp.c:34:
>> /home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/avcodec.h:3024:35:
>> note: declared here
>>        attribute_deprecated AVFrame *coded_frame;
>>                                      ^
>
> I think this quote is missing the relevant lines (before) showing the
> actual error?
>
>> CC      libavfilter/video.o
>> Preprocessed source stored into /tmp/cczIKKt2.out file, please attach
>> this to your bugreport.
>
> Where does this message come from? gcc? So did it throw an internal error?

did you see the attachment i attached to my original post?


In file included from 
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_mcdeint.c:52:0:
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/avcodec.h:1729:30: 
note: declared here
      attribute_deprecated int me_method;
                               ^
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_mcdeint.c: 
In function 'filter_frame':
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_mcdeint.c:194:5: 
warning: 'coded_frame' is deprecated [-Wdeprecated-declarations]
      frame_dec = mcdeint->enc_ctx->coded_frame;
      ^
In file included from 
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_mcdeint.c:52:0:
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/avcodec.h:3024:35: 
note: declared here
      attribute_deprecated AVFrame *coded_frame;
                                    ^
CC      libavfilter/vf_neighbor.o
CC      libavfilter/vf_noise.o
CC      libavfilter/vf_null.o
CC      libavfilter/vf_overlay.o
CC      libavfilter/vf_owdenoise.o
CC      libavfilter/vf_pad.o
CC      libavfilter/vf_palettegen.o
CC      libavfilter/vf_paletteuse.o
CC      libavfilter/vf_perspective.o
CC      libavfilter/vf_phase.o
CC      libavfilter/vf_pixdesctest.o
CC      libavfilter/vf_pp7.o
CC      libavfilter/vf_psnr.o
CC      libavfilter/vf_pullup.o
CC      libavfilter/vf_qp.o
CC      libavfilter/vf_random.o
CC      libavfilter/vf_removegrain.o
CC      libavfilter/vf_removelogo.o
CC      libavfilter/vf_repeatfields.o
CC      libavfilter/vf_rotate.o
CC      libavfilter/vf_sab.o
CC      libavfilter/vf_scale.o
CC      libavfilter/vf_separatefields.o
CC      libavfilter/vf_setfield.o
CC      libavfilter/vf_showinfo.o
CC      libavfilter/vf_showpalette.o
CC      libavfilter/vf_shuffleplanes.o
CC      libavfilter/vf_signalstats.o
CC      libavfilter/vf_smartblur.o
CC      libavfilter/vf_spp.o
CC      libavfilter/vf_ssim.o
CC      libavfilter/vf_stack.o
CC      libavfilter/vf_stereo3d.o
CC      libavfilter/vf_super2xsai.o
CC      libavfilter/vf_swapuv.o
CC      libavfilter/vf_telecine.o
CC      libavfilter/vf_thumbnail.o
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_swapuv.c: 
In function 'query_formats':
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_swapuv.c:62:23: 
warning: array subscript is above array bounds [-Warray-bounds]
          if (desc->comp[i].offset_plus1 != 1 ||
                        ^
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_swapuv.c:63:23: 
warning: array subscript is above array bounds [-Warray-bounds]
              desc->comp[i].shift != 0 ||
                        ^
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_swapuv.c:64:23: 
warning: array subscript is above array bounds [-Warray-bounds]
              desc->comp[i].plane != i)
                        ^
CC      libavfilter/vf_tile.o
CC      libavfilter/vf_tinterlace.o
CC      libavfilter/vf_transpose.o
isl_constraint.c:625: expecting integer value
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_thumbnail.c: 
In function 'get_best_frame':
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_thumbnail.c:91:17: 
internal compiler error: Aborted
  static AVFrame *get_best_frame(AVFilterContext *ctx)
                  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
CC      libavfilter/vf_uspp.o
CC      libavfilter/vf_unsharp.o
CC      libavfilter/vf_vectorscope.o
CC      libavfilter/vf_vflip.o
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_uspp.c: In 
function 'filter':
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_uspp.c:253:9: 
warning: 'coded_frame' is deprecated [-Wdeprecated-declarations]
          p->frame_dec = p->avctx_enc[i]->coded_frame;
          ^
In file included from 
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/internal.h:34:0,
                  from 
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavfilter/vf_uspp.c:34:
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/libavcodec/avcodec.h:3024:35: 
note: declared here
      attribute_deprecated AVFrame *coded_frame;
                                    ^
CC      libavfilter/vf_vignette.o
CC      libavfilter/vf_w3fdif.o
CC      libavfilter/vf_waveform.o
CC      libavfilter/vf_xbr.o
CC      libavfilter/vf_yadif.o
Preprocessed source stored into /tmp/cc5G9I3Y.out file, please attach 
this to your bugreport.
/home/builduser/rpmbuild/BUILD/ffmpeg-20150910/common.mak:57: recipe for 
target 'libavfilter/vf_thumbnail.o' failed
make: *** [libavfilter/vf_thumbnail.o] Error 1
make: *** Waiting for unfinished jobs....
CC      libavfilter/vf_zoompan.o
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.y4g1vd (%build)


Fehler beim Bauen des RPM:
     Fehler-Status beim Beenden von /var/tmp/rpm-tmp.y4g1vd (%build)
[builduser at testserver:/rpmbuild/SPECS]$


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20150910/163dba24/attachment.sig>


More information about the ffmpeg-user mailing list