Package: libsox-fmt-ffmpeg
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:

=2 -Wall -W -Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp 
-avoid-version -module -Wl,-z,defs -o libsox_fmt_ao.la -rpath /usr/lib/sox 
ao.lo libsox.la  -lao -lm
/bin/bash ../libtool --silent --tag=CC  --silent --mode=compile gcc 
-DHAVE_CONFIG_H -I.  -DLADSPA_PATH="\"/usr/lib/ladspa\"" 
-DPKGLIBDIR="\"/usr/lib/sox\""  -DDISTRO="\"Debian\"" -I/usr/include/ffmpeg   
-Wtraditional-conversion  -g -O2 -g -O2 -Wall -D_FORTIFY_SOURCE=2 -Wall -W 
-Wmissing-prototypes -Wstrict-prototypes -pedantic -fopenmp -c -o ffmpeg.lo 
ffmpeg.c
ffmpeg.c: In function 'stream_component_open':
ffmpeg.c:94:26: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this 
function)
ffmpeg.c:94:26: note: each undeclared identifier is reported only once for each 
function it appears in
ffmpeg.c: In function 'startread':
ffmpeg.c:168:3: warning: 'av_open_input_file' is deprecated (declared at 
/usr/include/libavformat/avformat.h:1050) [-Wdeprecated-declarations]
ffmpeg.c:185:28: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this 
function)
ffmpeg.c: In function 'read_samples':
ffmpeg.c:227:4: warning: 'url_ferror' is deprecated (declared at 
/usr/include/libavformat/avio.h:305) [-Wdeprecated-declarations]
ffmpeg.c: In function 'add_audio_stream':
ffmpeg.c:276:19: error: 'CODEC_TYPE_AUDIO' undeclared (first use in this 
function)
ffmpeg.c: In function 'startwrite':
ffmpeg.c:371:3: warning: 'av_set_parameters' is deprecated (declared at 
/usr/include/libavformat/avformat.h:1336) [-Wdeprecated-declarations]
ffmpeg.c:387:5: warning: 'url_fopen' is deprecated (declared at 
/usr/include/libavformat/avio.h:278) [-Wdeprecated-declarations]ffmpeg.c:394:3: 
warning: 'av_write_header' is deprecated (declared at 
/usr/include/libavformat/avformat.h:1394) [-Wdeprecated-declarations]
ffmpeg.c: In function 'write_samples':
ffmpeg.c:426:20: error: 'PKT_FLAG_KEY' undeclared (first use in this function)
ffmpeg.c: In function 'stopwrite':
ffmpeg.c:474:5: warning: 'url_fclose' is deprecated (declared at 
/usr/include/libavformat/avio.h:279) [-Wdeprecated-declarations]
make[3]: *** [ffmpeg.lo] Fehler 1
make[3]: Leaving directory 
`/home/jmm/deb/libav/sox-14.3.2/build-tree/sox-14.3.2/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory 
`/home/jmm/deb/libav/sox-14.3.2/build-tree/sox-14.3.2/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory 
`/home/jmm/deb/libav/sox-14.3.2/build-tree/sox-14.3.2'
make: *** [debian/stamp-makefile-build] Fehler 2
dpkg-buildpackage: Fehler: Fehler-Exitstatus von debian/rules build war 2

This appears to be already addressed in Ubuntu:
http://patches.ubuntu.com/s/sox/sox_14.3.2-1ubuntu1.patch

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



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to