FTBFS against libav9

Bug #1082936 reported by Reinhard Tartler on 2012-11-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xmms2 (Debian)
Fix Released
Unknown
xmms2 (Ubuntu)
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/694347:

Package: xmms2
Version: 0.8+dfsg-4
Severity: important
Tags: patch

Dear Maintainer,

xmms2 currenty fails to build against libav9 as found in debian/experimental:

[ 68/319] c: src/plugins/null/null.c -> _build_/src/plugins/null/null.c.1.o
19:26:16 runner ['/usr/bin/gcc', '-g', '-O0', '-Wall', '-Wempty-body', '-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', '-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', '-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', '-Wno-format-zero-length', '-fdiagnostics-show-option', '-Werror=implicit-function-declaration', '-fPIC', '-I/«BUILDDIR»/xmms2-0.8+dfsg/_build_', '-I/«BUILDDIR»/xmms2-0.8+dfsg', '-I/«BUILDDIR»/xmms2-0.8+dfsg/_build_/src/include', '-I/«BUILDDIR»/xmms2-0.8+dfsg/src/include', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '../src/plugins/null/null.c', '-c', '-o', 'src/plugins/null/null.c.1.o']
[ 69/319] c: src/plugins/avcodec/avcodec.c -> _build_/src/plugins/avcodec/avcodec.c.1.o
19:26:16 runner ['/usr/bin/gcc', '-g', '-O0', '-Wall', '-Wempty-body', '-Wformat=2', '-Wformat-nonliteral', '-Wformat-security', '-Wignored-qualifiers', '-Wmissing-prototypes', '-Wstrict-prototypes', '-Wtype-limits', '-Wwrite-strings', '-Wno-format-extra-args', '-Wno-format-zero-length', '-fdiagnostics-show-option', '-Werror=implicit-function-declaration', '-fPIC', '-I/«BUILDDIR»/xmms2-0.8+dfsg/_build_', '-I/«BUILDDIR»/xmms2-0.8+dfsg', '-I/«BUILDDIR»/xmms2-0.8+dfsg/_build_/src/include', '-I/«BUILDDIR»/xmms2-0.8+dfsg/src/include', '-I/usr/include/glib-2.0', '-I/usr/lib/x86_64-linux-gnu/glib-2.0/include', '../src/plugins/avcodec/avcodec.c', '-c', '-o', 'src/plugins/avcodec/avcodec.c.1.o']
../src/plugins/avcodec/avcodec.c: In function 'xmms_avcodec_destroy':
../src/plugins/avcodec/avcodec.c:109:2: error: implicit declaration of function 'av_free' [-Werror=implicit-function-declaration]
../src/plugins/avcodec/avcodec.c: In function 'xmms_avcodec_init':
../src/plugins/avcodec/avcodec.c:137:2: error: implicit declaration of function 'avcodec_init' [-Werror=implicit-function-declaration]
../src/plugins/avcodec/avcodec.c:203:2: error: implicit declaration of function 'avcodec_alloc_context' [-Werror=implicit-function-declaration]
../src/plugins/avcodec/avcodec.c:203:17: warning: assignment makes pointer from integer without a cast [enabled by default]
../src/plugins/avcodec/avcodec.c:214:2: error: implicit declaration of function 'avcodec_open' [-Werror=implicit-function-declaration]
../src/plugins/avcodec/avcodec.c: In function 'xmms_avcodec_read':
../src/plugins/avcodec/avcodec.c:334:3: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3594) [-Wdeprecated-declarations]
../src/plugins/avcodec/avcodec.c: In function 'xmms_avcodec_seek':
../src/plugins/avcodec/avcodec.c:400:3: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3594) [-Wdeprecated-declarations]
cc1: some warnings being treated as errors
Waf: Leaving directory `/«BUILDDIR»/xmms2-0.8+dfsg/_build_'

Furtuntatly, upstream has already fixed this in the latest development
release. With the help of Diego Burrin, I have backported the patches
from http://git.vdust.net/cgit.cgi/xmms2-vdust/log/?h=DrO_o-avcodec to
the current version of the package and testbuilt it. Please find the
debdiff attached to this email.

Cheers,
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-34-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

Changed in xmms2 (Ubuntu):
importance: Undecided → High
tags: added: libav9-ftbfs
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xmms2 - 0.8+dfsg-4ubuntu1

---------------
xmms2 (0.8+dfsg-4ubuntu1) raring; urgency=low

  * Unbreak compilation against libav9 by backporting three patches from
    upstream: fix-avcodec-init.patch, fix-alloc-context.patch and
    fix-missing-include.patch (Closes: #694374, LP: #1082936)
 -- Reinhard Tartler <email address hidden> Sun, 25 Nov 2012 19:23:15 +0100

Changed in xmms2 (Ubuntu):
status: New → Fix Released
Changed in xmms2 (Debian):
importance: Undecided → Unknown
Changed in xmms2 (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.