Your message dated Sat, 25 Oct 2014 00:06:57 +0000
with message-id <[email protected]>
and subject line Bug#766680: fixed in xbmc 2:13.2+dfsg1-3
has caused the Debian Bug report #766680,
regarding xbmc: link failure: undefined reference to `av_vdpau_alloc_context()'
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
766680: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766680
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: xbmc
Version: 2:13.2+dfsg1-2
Dear Maintainer,
the recent vdpau changes [1], precisely the use of
av_vdpau_alloc_context, make xbmc fail to link, when compiled against
ffmpeg.
The problem is that libavcodec is a C library, while xbmc is a C++
program and therefore the function symbols differ.
Thus the include of any C library has to be guarded by 'extern "C"'.
Attached patch fixes this.
(This change is already made in the libav_hacks.h header and thus
building against libav works.)
Best regards,
Andreas
1:
https://anonscm.debian.org/cgit/pkg-multimedia/xbmc.git/tree/debian/patches/0008-Setup-AVVDPAUContext-with-API-calls-instead-of-using.patch
diff --git a/debian/patches/11-fix-vdpau-include.patch b/debian/patches/11-fix-vdpau-include.patch
new file mode 100644
index 0000000..8b624a2
--- /dev/null
+++ b/debian/patches/11-fix-vdpau-include.patch
@@ -0,0 +1,39 @@
+Description: Include libavcodec/vdpau.h as C library
+ This fixes a linking failure with av_vdpau_alloc_context.
+
+Author: Andreas Cadhalpun <[email protected]>
+Last-Update: <2014-10-24>
+
+--- xbmc-13.2+dfsg1.orig/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h
++++ xbmc-13.2+dfsg1/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.h
+@@ -43,7 +43,6 @@
+ #include "DllAvUtil.h"
+ #include "DVDVideoCodec.h"
+ #include "DVDVideoCodecFFmpeg.h"
+-#include "libavcodec/vdpau.h"
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #define GLX_GLXEXT_PROTOTYPES
+@@ -52,7 +51,6 @@
+ #include "DllAvUtil.h"
+ #include "DVDVideoCodec.h"
+ #include "DVDVideoCodecFFmpeg.h"
+-#include "libavcodec/vdpau.h"
+ #include "threads/CriticalSection.h"
+ #include "threads/SharedSection.h"
+ #include "settings/VideoSettings.h"
+@@ -62,6 +60,14 @@
+ #include "utils/ActorProtocol.h"
+ #include <list>
+
++#ifdef __cplusplus
++extern "C" {
++#endif
++#include "libavcodec/vdpau.h"
++#ifdef __cplusplus
++}
++#endif
++
+ using namespace Actor;
+
+
diff --git a/debian/patches/series b/debian/patches/series
index 42bb414..ac4eef8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,4 +13,4 @@
08-armel.patch
09-use-correct-ftgl.h
10-configure-all-arches.patch
-
+11-fix-vdpau-include.patch
--- End Message ---
--- Begin Message ---
Source: xbmc
Source-Version: 2:13.2+dfsg1-3
We believe that the bug you reported is fixed in the latest version of
xbmc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Balint Reczey <[email protected]> (supplier of updated xbmc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 08 Oct 2014 15:17:35 +0200
Source: xbmc
Binary: xbmc xbmc-bin xbmc-dbg xbmc-eventclients-common xbmc-eventclients-dev
xbmc-eventclients-wiiremote xbmc-eventclients-j2me xbmc-eventclients-ps3
xbmc-eventclients-xbmc-send xbmc-addons-dev
Architecture: source all amd64
Version: 2:13.2+dfsg1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers
<[email protected]>
Changed-By: Balint Reczey <[email protected]>
Description:
xbmc - XBMC Media Center (arch-independent data package)
xbmc-addons-dev - XBMC Media Center (Addons Dev package)
xbmc-bin - XBMC Media Center (binary data package)
xbmc-dbg - XBMC Media Center - debug symbols
xbmc-eventclients-common - XBMC Media Center (Event Client Common package)
xbmc-eventclients-dev - XBMC Media Center (Event Client Dev package)
xbmc-eventclients-j2me - XBMC Media Center (Event Client J2ME package)
xbmc-eventclients-ps3 - XBMC Media Center (Event Client PS3 package)
xbmc-eventclients-wiiremote - XBMC Media Center (Event Client WII Remote
support package)
xbmc-eventclients-xbmc-send - XBMC Media Center (Event Client XBMC-SEND
package)
Closes: 766190 766680
Changes:
xbmc (2:13.2+dfsg1-3) unstable; urgency=medium
.
[ Balint Reczey ]
* Use VDPAU in Libav hacks only when VDPAU support is enabled.
Fixes FTBFS on arches without VDPAU. (Closes: #766190)
* Ship xbmc-dbg package only on amd64 and i386 architectures.
This saves place on mirrors and those two architectures are the most
popular ones among bug submitters.
* Use OpenGL and Bellagio OpenMAX Integration Layer on MIPS
* Patch upstream to support MIPS
* Refresh patches after adding MIPS support
* Enable using SDL in configure
* Use X11 and SDL on MIPS
* Let configure fail on unknown architectures
.
[ Andreas Cadhalpun ]
* Fix FTBFS with packaged FFmpeg (Closes: #766680)
Checksums-Sha1:
ecfc107eca4762193ffbe4d242169f8e8e36649e 4318 xbmc_13.2+dfsg1-3.dsc
9e877607512e61795e44d907ca0d068a6f3bef62 79320 xbmc_13.2+dfsg1-3.debian.tar.xz
1d8ea6528f415ce6e56ff65de151335b984c881a 16908228 xbmc_13.2+dfsg1-3_all.deb
8001a4c5f26341e694deddc8cd0ade144919d961 7104358
xbmc-bin_13.2+dfsg1-3_amd64.deb
e7e9b76064f01f7279688aca13dd9d30aafd0cf1 76951956
xbmc-dbg_13.2+dfsg1-3_amd64.deb
00edff59ec04f5e063448debde6cf0e2d11b1993 54024
xbmc-eventclients-common_13.2+dfsg1-3_all.deb
517b8381edb864b3971d5996262cd4862e91d1af 40198
xbmc-eventclients-dev_13.2+dfsg1-3_all.deb
bb03e715bf09401865e382d9f225ca5f1c2e3672 52844
xbmc-eventclients-wiiremote_13.2+dfsg1-3_amd64.deb
89c7e01fe64278af1d31ecaa34b0a3f4f935fc2c 33976
xbmc-eventclients-j2me_13.2+dfsg1-3_all.deb
a5bb5ce08b66416099795c7f72692ece8e024bda 34396
xbmc-eventclients-ps3_13.2+dfsg1-3_all.deb
8c3a5297224a7537ed98fc9fc5cb2749636e7724 33236
xbmc-eventclients-xbmc-send_13.2+dfsg1-3_all.deb
780d914cf0e5b11c7500df406edfd0012cb8ae36 52668
xbmc-addons-dev_13.2+dfsg1-3_all.deb
Checksums-Sha256:
eac94c4920f955de87e64d1e9968456265fe24ea3bdc5b8c961d006a4aa80b96 4318
xbmc_13.2+dfsg1-3.dsc
1aab287f961f0f713f69e7bfc779ab3493784408646e6bbaba380924af72ff2b 79320
xbmc_13.2+dfsg1-3.debian.tar.xz
2cdd8581e835491864c2ac604401e4eabad2eed4c7185922526017de1f99d562 16908228
xbmc_13.2+dfsg1-3_all.deb
4e4ff7469065c4561285150fcaea43db924ca8f1764437f3775fa752bcb4596d 7104358
xbmc-bin_13.2+dfsg1-3_amd64.deb
3761d1def8fc3fb264251e748dd6b3a5fad7ca5f9b082ad1bbbbb2f890c95e5b 76951956
xbmc-dbg_13.2+dfsg1-3_amd64.deb
62f1928796f93dd0ab730c5f2f8b711f0bb5955f6f7b6e3da1ccb41e173add62 54024
xbmc-eventclients-common_13.2+dfsg1-3_all.deb
596323a038f461055081984e2cf6860f0dd485734bab72fb79b0e34d9dba0246 40198
xbmc-eventclients-dev_13.2+dfsg1-3_all.deb
4f05dc5eca66c0ffdf2639a33c49a7e8b7687d061dd05875c91aac3c45139d06 52844
xbmc-eventclients-wiiremote_13.2+dfsg1-3_amd64.deb
6640fb90d2e80caee37f621c218b6681dc0f60a9532c40150393585ce76aa2fe 33976
xbmc-eventclients-j2me_13.2+dfsg1-3_all.deb
5c226b7b0116a42e8e5f5052123ceeb55fb69bdccd67a1c15d13bc3c185054f9 34396
xbmc-eventclients-ps3_13.2+dfsg1-3_all.deb
aad28a2d2ce8ce2a416f2ef15cbd97f45b5ff55b80ad85249ee294832a674a0a 33236
xbmc-eventclients-xbmc-send_13.2+dfsg1-3_all.deb
05ab53e2afb0514558e56c399909746f8322b525872cf7a9f972c7f606fdd03f 52668
xbmc-addons-dev_13.2+dfsg1-3_all.deb
Files:
b327377fd61746d7788f8a05db4eb4e6 4318 video optional xbmc_13.2+dfsg1-3.dsc
28695439e791473dcb9b5566ee0ca7a4 79320 video optional
xbmc_13.2+dfsg1-3.debian.tar.xz
94b19dbca18e9e1058069d9d61873313 16908228 video optional
xbmc_13.2+dfsg1-3_all.deb
21941571b3fd290c4f9604ef0505d20b 7104358 video optional
xbmc-bin_13.2+dfsg1-3_amd64.deb
d2b55aa468b09f50245f9d968d2bf3c6 76951956 debug extra
xbmc-dbg_13.2+dfsg1-3_amd64.deb
8c042ae505fd3f664de1620d39b467cc 54024 video optional
xbmc-eventclients-common_13.2+dfsg1-3_all.deb
fb870e698348bdbbb9c2a076d7486538 40198 libdevel optional
xbmc-eventclients-dev_13.2+dfsg1-3_all.deb
15eed57dc7d322f2a5c5781ccc898c91 52844 video optional
xbmc-eventclients-wiiremote_13.2+dfsg1-3_amd64.deb
697697ba5a19f7d29f91a5754bfbc515 33976 video optional
xbmc-eventclients-j2me_13.2+dfsg1-3_all.deb
5da35f98e3f44bae935fd56aa7563425 34396 video optional
xbmc-eventclients-ps3_13.2+dfsg1-3_all.deb
03c1a72e6f4a1ce573e4e4fa85f3f97b 33236 video optional
xbmc-eventclients-xbmc-send_13.2+dfsg1-3_all.deb
b4d0c53769d1057d7c50c9a41958b755 52668 libdevel optional
xbmc-addons-dev_13.2+dfsg1-3_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJUSuDRAAoJEPZk0la0aRp9gisP+wYG/uWpWTiwVpaBRne6RH7S
WPM4Ve/t+bzKhu9w07ChooHCORglT8ieurOmET1gsJ/JnrWCL8t6x9fgc32H1+TD
qzOX7Q0YqSr3CDazxcBe9gUYZJCJ1ZxtJcbjtAnQRLYS+iiyAgGOxeVeNsYuLMjo
Rosqrh7p96kNaGHEfAtlUWIkZmhDS0db4zrmtmZdIEjDAD6Ar2cvCeAQBj8QLc8f
dV/W0Ert0SL7WrwlaYiTNbhS7Nd97XJDYmOt52arcTkDmH8WX36cXpZ8MGuICjuJ
aGAz3MFq+wCmftbMrTkAPybCVxkiTIxdzhzXD2xHfgl64FJubjcEvx/V8Yf4NcJl
m3j9dexZaXTyyJ64BS11K8nYFE5fNzKeVo0g8wkvzGcxYDBJOAdx4CD4xCa68xY+
B2mOeBXladcAc5NILtokeNCSfFtOA34hySrcxEZNocVysxjm4ag4z2MgBpDY0Xyk
s+vHGu3Q1EU3OoQu7UGqLkaNqm23ktwjYr6nM8N/XahPhRbksB4FTgHN9if7zQj3
0a1spnB1BRmu20ftgMpYP/kvv+U9MWcxcjwJQD8miK1tXoaSMEU/8pR+uuvYblX3
g2CV246DycIGJ21j42/cs1YWnkXZkcEdjEzB2qBRn0XdVdhQ9rUBrFm2Cz6wY4ze
yGSYhp02HwEnR3k5yzKq
=wrnI
-----END PGP SIGNATURE-----
--- End Message ---