Bug#638247: Needs to be adapted for libav/0.7.1

Moritz Muehlenhoff jmm at debian.org
Wed Aug 17 20:07:10 UTC 2011


Package: gnash
Severity: important

Hi,
the transition from ffmpeg/0.6.2 to libav/0.7 is planned soonish.
(libav is a ffmpeg fork, to which Debian will switch, see
http://en.wikipedia.org/wiki/FFmpeg for more information)

Your package currently fails to build from source when built against
libav/0.7.2 and needs to be adapted. You can test this yourself by
building against the packages from experimental:

ibxml2    -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec       -DREGISTER_MEDIA_HANDLERS  -g -O2          -W     -Wall     -Wcast-align     -Wcast-qual     -Wpointer-arith     -Wreturn-type     -Wnon-virtual-dtor     -Wunused      -fvisibility-inlines-hidden -c -o libgnashmedia_la-VideoInputGst.lo `test -f 'gst/VideoInputGst.cpp' || echo '../../libmedia/'`gst/VideoInputGst.cpp
../../libmedia/gst/VideoInputGst.cpp: In member function 'void gnash::media::gst::VideoInputGst::getSelectedCaps(gint)':
../../libmedia/gst/VideoInputGst.cpp:652:17: warning: variable 'element' set but not used [-Wunused-but-set-variable]
../../libmedia/gst/VideoInputGst.cpp: In member function 'bool gnash::media::gst::VideoInputGst::play()':
../../libmedia/gst/VideoInputGst.cpp:1540:10: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
  CXX    libgnashmedia_la-AudioDecoderFfmpeg.lo
/bin/bash ../libtool --silent --tag=CXX   --mode=compile x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../libmedia -I..  -I../../libbase -pthread    -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2    -D__STDC_CONSTANT_MACROS -I/usr/include/libavcodec       -DREGISTER_MEDIA_HANDLERS  -g -O2          -W     -Wall     -Wcast-align     -Wcast-qual     -Wpointer-arith     -Wreturn-type     -Wnon-virtual-dtor     -Wunused      -fvisibility-inlines-hidden -c -o libgnashmedia_la-AudioDecoderFfmpeg.lo `test -f 'ffmpeg/AudioDecoderFfmpeg.cpp' || echo '../../libmedia/'`ffmpeg/AudioDecoderFfmpeg.cpp
In file included from ../../libmedia/ffmpeg/AudioDecoderFfmpeg.cpp:25:0:
../../libmedia/ffmpeg/MediaParserFfmpeg.h:152:16: warning: 'ByteIOContext' is deprecated (declared at /usr/include/libavformat/avio.h:217) [-Wdeprecated-declarations]
../../libmedia/ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'uint8_t* gnash::media::ffmpeg::AudioDecoderFfmpeg::decodeFrame(const uint8_t*, uint32_t, uint32_t&)':
../../libmedia/ffmpeg/AudioDecoderFfmpeg.cpp:553:52: error: 'avcodec_decode_audio2' was not declared in this scope
../../libmedia/ffmpeg/AudioDecoderFfmpeg.cpp: In member function 'int gnash::media::ffmpeg::AudioDecoderFfmpeg::parseInput(const uint8_t*, uint32_t, const uint8_t**, int*)':
../../libmedia/ffmpeg/AudioDecoderFfmpeg.cpp:667:25: error: 'av_parser_parse' was not declared in this scope
../../libmedia/ffmpeg/AudioDecoderFfmpeg.cpp:700:1: warning: control reaches end of non-void function [-Wreturn-type]
make[4]: *** [libgnashmedia_la-AudioDecoderFfmpeg.lo] Fehler 1
make[4]: Leaving directory `/home/jmm/deb/libav/gnash-0.8.10~git20110618/tmp.build/libmedia'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/jmm/deb/libav/gnash-0.8.10~git20110618/tmp.build'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/jmm/deb/libav/gnash-0.8.10~git20110618/tmp.build'
make[1]: *** [override_dh_auto_build] Fehler 2
make[1]: Leaving directory `/home/jmm/deb/libav/gnash-0.8.10~git20110618'
make: *** [build] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2

Cheers,
        Moritz


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

Kernel: Linux 3.0.0-1-amd64 (SMP w/2 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-flash-devel mailing list