Bug#693159: FTBFS against libav 9

Reinhard Tartler siretart at tauware.de
Tue Nov 13 19:22:27 UTC 2012


Package: gpac
Severity: important

Hi,

gpac 0.5.0 FTBFS against libav 9, which can be currently found in
experimental:

gcc -O2  -Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden" -DGPAC_HAVE_CONFIG_H -I"/build/buildd/gpac-0.5.0~dfsg0" -Wno-deprecated-declarations -I"/build/buildd/gpac-0.5.0~dfsg0/include" -I/usr/include -g -c -o ffmpeg_decode.o ffmpeg_decode.c 
gcc -O2  -Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden" -DGPAC_HAVE_CONFIG_H -I"/build/buildd/gpac-0.5.0~dfsg0" -Wno-deprecated-declarations -I"/build/buildd/gpac-0.5.0~dfsg0/include" -I/usr/include -g -c -o ffmpeg_demux.o ffmpeg_demux.c 
ffmpeg_decode.c: In function 'FFDEC_AttachStream':
ffmpeg_decode.c:172:4: warning: implicit declaration of function 'avcodec_alloc_context' [-Wimplicit-function-declaration]
ffmpeg_decode.c:172:9: warning: assignment makes pointer from integer without a cast [enabled by default]
Function `avcodec_alloc_context' implicitly converted to pointer at ffmpeg_decode.c:172
ffmpeg_decode.c:320:3: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
ffmpeg_demux.c: In function 'FFD_CanHandleURL':
ffmpeg_demux.c:293:5: warning: implicit declaration of function 'av_find_stream_info' [-Wimplicit-function-declaration]
ffmpeg_demux.c: In function 'FFD_ConnectService':
ffmpeg_demux.c:620:4: warning: implicit declaration of function 'av_open_input_stream' [-Wimplicit-function-declaration]
gcc -O2  -Wall -fPIC -DPIC -I/usr/include/mozjs -DXP_UNIX -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -fvisibility="hidden" -DGPAC_HAVE_CONFIG_H -I"/build/buildd/gpac-0.5.0~dfsg0" -Wno-deprecated-declarations -I"/build/buildd/gpac-0.5.0~dfsg0/include" -I/usr/include -g -c -o ffmpeg_load.o ffmpeg_load.c 
gcc -shared -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--warn-common -Wl,-z,defs -g -o ../../bin/gcc/gm_ffmpeg_in.so ffmpeg_decode.o ffmpeg_demux.o ffmpeg_load.o -L../../bin/gcc  -lgpac -lz -L/usr/lib -lavcodec -lavformat -lswscale -lavutil   -lswscale -lm
ffmpeg_decode.o: In function `FFDEC_ProcessData':
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_decode.c:752: undefined reference to `avcodec_open'
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_decode.c:762: undefined reference to `avcodec_open'
ffmpeg_decode.o: In function `FFDEC_AttachStream':
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_decode.c:320: undefined reference to `avcodec_open'
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_decode.c:172: undefined reference to `avcodec_alloc_context'
ffmpeg_demux.o: In function `FFD_CanHandleURL':
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_demux.c:293: undefined reference to `av_find_stream_info'
ffmpeg_demux.o: In function `FFD_ConnectService':
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_demux.c:640: undefined reference to `av_find_stream_info'
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_demux.c:620: undefined reference to `av_open_input_stream'
/build/buildd/gpac-0.5.0~dfsg0/modules/ffmpeg_in/ffmpeg_demux.c:702: undefined reference to `av_find_stream_info'
collect2: error: ld returned 1 exit status
make[3]: *** [gm_ffmpeg_in.so] Error 1


Alessio, can you perhaps update the get-orig-upstream scripts to copy
with post 0.5 svn snapshots? I think upstream has fixed compilation
against newer libavcodec (cf. r3792, r3932, r3989, r3990, etc.). I'd
there suggest to upload a new svn snapshot to experimental now and test
it there.

What do you think?

Reinhard

-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 'precise-proposed'), (500, 'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-32-generic (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the pkg-multimedia-maintainers mailing list