rbash88 / pyffmpeg

Automatically exported from code.google.com/p/pyffmpeg
0 stars 0 forks source link

Fails to build in Fedora15 #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
sudo python setup.py install

What is the expected output? What do you see instead?
running install
running build
running build_ext
skipping 'pyffmpeg.c' Cython extension (up-to-date)
building 'pyffmpeg' extension
C compiler: gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
-DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE 
-fPIC -fwrapv -fPIC

compile options: '-I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include 
-I/usr/lib64/python2.7/site-packages/numpy/core/include 
-I/usr/include/python2.7 -c'
gcc: pyffmpeg.c
In file included from pyffmpeg.c:279:0:
/usr/include/ffmpeg/libavformat/avformat.h:158:1: warning: ‘AVMetadata’ is 
deprecated (declared at /usr/include/ffmpeg/libavutil/dict.h:41) 
[-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_5Track_12init’:
pyffmpeg.c:3355:5: warning: ‘hurry_up’ is deprecated (declared at 
/usr/include/ffmpeg/libavcodec/avcodec.h:1389) [-Wdeprecated-declarations]
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_18AudioPacketDecoder_audio_decode_frame’:
pyffmpeg.c:5089:5: warning: ‘avcodec_decode_audio2’ is deprecated (declared 
at /usr/include/ffmpeg/libavcodec/avcodec.h:3868) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_10VideoTrack_process_packet’:
pyffmpeg.c:8687:3: warning: ‘avcodec_decode_video’ is deprecated (declared 
at /usr/include/ffmpeg/libavcodec/avcodec.h:3930) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_10VideoTrack_36set_hurry’:
pyffmpeg.c:10444:5: warning: ‘hurry_up’ is deprecated (declared at 
/usr/include/ffmpeg/libavcodec/avcodec.h:1389) [-Wdeprecated-declarations]
pyffmpeg.c:10483:5: warning: ‘hurry_up’ is deprecated (declared at 
/usr/include/ffmpeg/libavcodec/avcodec.h:1389) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_10VideoTrack__convert_to’:
pyffmpeg.c:10646:3: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
/usr/include/ffmpeg/libswscale/swscale.h:236:5: note: expected ‘const uint8_t 
* const*’ but argument is of type ‘uint8_t **’
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_10VideoTrack__convert_withbuf’:
pyffmpeg.c:10820:3: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
/usr/include/ffmpeg/libswscale/swscale.h:236:5: note: expected ‘const uint8_t 
* const*’ but argument is of type ‘uint8_t **’
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_12FFMpegReader_6dump’:
pyffmpeg.c:12010:3: warning: ‘dump_format’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avformat.h:1645) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_12FFMpegReader_8open’:
pyffmpeg.c:12286:5: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c:12346:7: warning: ‘url_setbufsize’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:289) [-Wdeprecated-declarations]
pyffmpeg.c:12428:7: warning: ‘get_buffer’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:244) [-Wdeprecated-declarations]
pyffmpeg.c:12452:7: warning: ‘url_fseek’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:283) [-Wdeprecated-declarations]
pyffmpeg.c:12462:9: warning: ‘url_fclose’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:282) [-Wdeprecated-declarations]
pyffmpeg.c:12471:9: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c:12590:5: warning: ‘av_open_input_stream’ is deprecated (declared 
at /usr/include/ffmpeg/libavformat/avformat.h:1152) [-Wdeprecated-declarations]
pyffmpeg.c:12668:5: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c: In function 
‘__pyx_pf_8pyffmpeg_12FFMpegReader_10__finalize_open_write’:
pyffmpeg.c:12854:3: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_12FFMpegReader_38seek_bytes’:
pyffmpeg.c:16855:5: warning: ‘url_fseek’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:283) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_import_star_set’:
pyffmpeg.c:19981:5: warning: implicit declaration of function 
‘__pyx_convert__from_py_AVRational’ [-Wimplicit-function-declaration]
pyffmpeg.c:19981:38: error: incompatible types when assigning to type ‘struct 
AVRational’ from type ‘int’
In file included from pyffmpeg.c:279:0:
/usr/include/ffmpeg/libavformat/avformat.h:158:1: warning: ‘AVMetadata’ is 
deprecated (declared at /usr/include/ffmpeg/libavutil/dict.h:41) 
[-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_5Track_12init’:
pyffmpeg.c:3355:5: warning: ‘hurry_up’ is deprecated (declared at 
/usr/include/ffmpeg/libavcodec/avcodec.h:1389) [-Wdeprecated-declarations]
pyffmpeg.c: In function 
‘__pyx_f_8pyffmpeg_18AudioPacketDecoder_audio_decode_frame’:
pyffmpeg.c:5089:5: warning: ‘avcodec_decode_audio2’ is deprecated (declared 
at /usr/include/ffmpeg/libavcodec/avcodec.h:3868) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_10VideoTrack_process_packet’:
pyffmpeg.c:8687:3: warning: ‘avcodec_decode_video’ is deprecated (declared 
at /usr/include/ffmpeg/libavcodec/avcodec.h:3930) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_10VideoTrack_36set_hurry’:
pyffmpeg.c:10444:5: warning: ‘hurry_up’ is deprecated (declared at 
/usr/include/ffmpeg/libavcodec/avcodec.h:1389) [-Wdeprecated-declarations]
pyffmpeg.c:10483:5: warning: ‘hurry_up’ is deprecated (declared at 
/usr/include/ffmpeg/libavcodec/avcodec.h:1389) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_10VideoTrack__convert_to’:
pyffmpeg.c:10646:3: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
/usr/include/ffmpeg/libswscale/swscale.h:236:5: note: expected ‘const uint8_t 
* const*’ but argument is of type ‘uint8_t **’
pyffmpeg.c: In function ‘__pyx_f_8pyffmpeg_10VideoTrack__convert_withbuf’:
pyffmpeg.c:10820:3: warning: passing argument 2 of ‘sws_scale’ from 
incompatible pointer type [enabled by default]
/usr/include/ffmpeg/libswscale/swscale.h:236:5: note: expected ‘const uint8_t 
* const*’ but argument is of type ‘uint8_t **’
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_12FFMpegReader_6dump’:
pyffmpeg.c:12010:3: warning: ‘dump_format’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avformat.h:1645) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_12FFMpegReader_8open’:
pyffmpeg.c:12286:5: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c:12346:7: warning: ‘url_setbufsize’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:289) [-Wdeprecated-declarations]
pyffmpeg.c:12428:7: warning: ‘get_buffer’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:244) [-Wdeprecated-declarations]
pyffmpeg.c:12452:7: warning: ‘url_fseek’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:283) [-Wdeprecated-declarations]
pyffmpeg.c:12462:9: warning: ‘url_fclose’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:282) [-Wdeprecated-declarations]
pyffmpeg.c:12471:9: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c:12590:5: warning: ‘av_open_input_stream’ is deprecated (declared 
at /usr/include/ffmpeg/libavformat/avformat.h:1152) [-Wdeprecated-declarations]
pyffmpeg.c:12668:5: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c: In function 
‘__pyx_pf_8pyffmpeg_12FFMpegReader_10__finalize_open_write’:
pyffmpeg.c:12854:3: warning: ‘url_fopen’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:281) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_pf_8pyffmpeg_12FFMpegReader_38seek_bytes’:
pyffmpeg.c:16855:5: warning: ‘url_fseek’ is deprecated (declared at 
/usr/include/ffmpeg/libavformat/avio.h:283) [-Wdeprecated-declarations]
pyffmpeg.c: In function ‘__pyx_import_star_set’:
pyffmpeg.c:19981:5: warning: implicit declaration of function 
‘__pyx_convert__from_py_AVRational’ [-Wimplicit-function-declaration]
pyffmpeg.c:19981:38: error: incompatible types when assigning to type ‘struct 
AVRational’ from type ‘int’
error: Command "gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv 
-DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -D_GNU_SOURCE 
-fPIC -fwrapv -fPIC -I/opt/ffmpeg/include -I/usr/include/ffmpeg -I./include 
-I/usr/lib64/python2.7/site-packages/numpy/core/include 
-I/usr/include/python2.7 -c pyffmpeg.c -o 
build/temp.linux-x86_64-2.7/pyffmpeg.o" failed with exit status 1

What version of the product are you using? On what operating system?
ffmpeg-2.0; Linux fedora15

Please provide any additional information below.

Original issue reported on code.google.com by mani.bak...@gmail.com on 17 Sep 2012 at 6:52

GoogleCodeExporter commented 8 years ago
This happens on multiple platforms due to the fact the main developer has not 
work on this for awhile due to other commitments.

Original comment by jhramb...@gmail.com on 24 Jul 2013 at 2:10