Bug#766245: libvlccore-dev: Unable to compile HTSP plugin due to header errors
André Schramm
debian at andreschramm.de
Tue Oct 21 18:03:19 UTC 2014
Package: libvlccore-dev
Version: 2.2.0~pre4-1+b1
Severity: normal
Tags: upstream
Dear Maintainer,
I am unable to compile the HTSP plugin [1] due to 2 bugs in the headers, that
already have been fixed in upstream: [2] and [3]
After manually applying these fixes, I end up with more errors in
/usr/include/vlc/plugins/vlc_atomic.h and /usr/include/c++/4.9/atomic
Other users are affected by this as well as can be seen under [4]
[1] https://github.com/BtbN/vlc-htsp-plugin
[2] https://trac.videolan.org/vlc/ticket/12354
[3] https://trac.videolan.org/vlc/ticket/12355
[4] https://github.com/BtbN/vlc-htsp-plugin/issues/12
vlc-htsp-plugin$ make clean && make -k
rm -f -- libhtsp_plugin.{dll,so} *.o
gcc -pipe -O2 -Wall -Wextra -std=gnu99 -I. -g -DMODULE_STRING=\"htsp\"
-DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c sha1.c
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\"
-DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c vlc-
htsp-plugin.cpp
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\"
-DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c
htsmessage.cpp
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\"
-DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c
helper.cpp
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\"
-DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c
access.cpp
In file included from access.cpp:33:0:
/usr/include/c++/4.9/atomic:864:25: error: macro
"atomic_compare_exchange_weak_explicit" passed 5 arguments, but takes just 4
memory_order __m2) noexcept
^
/usr/include/c++/4.9/atomic:872:25: error: macro
"atomic_compare_exchange_weak_explicit" passed 5 arguments, but takes just 4
memory_order __m2) noexcept
^
/usr/include/c++/4.9/atomic:880:27: error: macro
"atomic_compare_exchange_strong_explicit" passed 5 arguments, but takes just 4
memory_order __m2) noexcept
^
/usr/include/c++/4.9/atomic:888:27: error: macro
"atomic_compare_exchange_strong_explicit" passed 5 arguments, but takes just 4
memory_order __m2) noexcept
^
/usr/include/c++/4.9/atomic:929:30: error: macro
"atomic_compare_exchange_weak_explicit" passed 5 arguments, but takes just 4
memory_order_seq_cst);
^
/usr/include/c++/4.9/atomic:939:30: error: macro
"atomic_compare_exchange_weak_explicit" passed 5 arguments, but takes just 4
memory_order_seq_cst);
^
/usr/include/c++/4.9/atomic:949:32: error: macro
"atomic_compare_exchange_strong_explicit" passed 5 arguments, but takes just 4
memory_order_seq_cst);
^
/usr/include/c++/4.9/atomic:959:32: error: macro
"atomic_compare_exchange_strong_explicit" passed 5 arguments, but takes just 4
memory_order_seq_cst);
^
In file included from /usr/include/c++/4.9/atomic:41:0,
from access.cpp:33:
/usr/include/c++/4.9/bits/atomic_base.h: In function ‘void
std::__sync_synchronize()’:
/usr/include/c++/4.9/bits/atomic_base.h:103:27: error: ‘__m’ was not
declared in this scope
{ __atomic_thread_fence(__m); }
^
In file included from /usr/include/vlc/plugins/vlc_picture.h:35:0,
from /usr/include/vlc/plugins/vlc_subpicture.h:34,
from /usr/include/vlc/plugins/vlc_spu.h:29,
from /usr/include/vlc/plugins/vlc_vout_osd.h:29,
from /usr/include/vlc/plugins/vlc_input.h:39,
from access.cpp:28:
/usr/include/c++/4.9/bits/atomic_base.h: At global scope:
/usr/include/vlc/plugins/vlc_atomic.h:51:7: error: expected unqualified-id
before ‘void’
((void)0)
^
/usr/include/vlc/plugins/vlc_atomic.h:51:7: error: expected ‘)’ before
‘void’
/usr/include/vlc/plugins/vlc_atomic.h:51:7: error: expected ‘)’ before
‘void’
/usr/include/vlc/plugins/vlc_atomic.h:45:7: error: expected unqualified-id
before ‘void’
((void)0)
^
/usr/include/vlc/plugins/vlc_atomic.h:45:7: error: expected ‘)’ before
‘void’
/usr/include/vlc/plugins/vlc_atomic.h:45:7: error: expected ‘)’ before
‘void’
/usr/include/vlc/plugins/vlc_atomic.h:132:2: error: expected unqualified-id
before ‘{’ token
({ \
^
/usr/include/vlc/plugins/vlc_atomic.h:132:2: error: expected ‘)’ before
‘{’ token
/usr/include/vlc/plugins/vlc_atomic.h:139:2: error: expected unqualified-id
before ‘)’ token
})
^
/usr/include/vlc/plugins/vlc_atomic.h:132:2: error: expected unqualified-id
before ‘{’ token
({ \
^
/usr/include/vlc/plugins/vlc_atomic.h:132:2: error: expected ‘)’ before
‘{’ token
/usr/include/vlc/plugins/vlc_atomic.h:139:2: error: expected unqualified-id
before ‘)’ token
})
^
/usr/include/vlc/plugins/vlc_atomic.h:117:5: error: expected unqualified-id
before ‘do’
do { \
^
/usr/include/vlc/plugins/vlc_atomic.h:120:7: error: expected unqualified-id
before ‘while’
} while (0)
^
/usr/include/vlc/plugins/vlc_atomic.h:117:5: error: expected unqualified-id
before ‘do’
do { \
^
/usr/include/vlc/plugins/vlc_atomic.h:120:7: error: expected unqualified-id
before ‘while’
} while (0)
^
/usr/include/vlc/plugins/vlc_atomic.h:132:2: error: expected unqualified-id
before ‘{’ token
({ \
^
/usr/include/vlc/plugins/vlc_atomic.h:132:2: error: expected ‘)’ before
‘{’ token
/usr/include/vlc/plugins/vlc_atomic.h:139:2: error: expected unqualified-id
before ‘)’ token
})
^
In file included from /usr/include/c++/4.9/bits/ostream_insert.h:36:0,
from /usr/include/c++/4.9/string:44,
from helper.h:23,
from access.cpp:36:
/usr/include/c++/4.9/bits/cxxabi_forced.h:36:37: error: expected ‘}’ before
end of line
#pragma GCC visibility push(default)
^
/usr/include/c++/4.9/bits/cxxabi_forced.h:36:37: error: expected declaration
before end of line
Makefile:50: recipe for target 'access.o' failed
make: *** [access.o] Error 1
g++ -pipe -O2 -Wall -Wextra -std=gnu++0x -I. -g -DMODULE_STRING=\"htsp\"
-DVLC_PLUGIN_MAJOR=2 -DVLC_PLUGIN_MINOR=2 -D__PLUGIN__ -D_FILE_OFFSET_BITS=64
-D_REENTRANT -D_THREAD_SAFE -I/usr/include/vlc/plugins -DPIC -fPIC -c
discovery.cpp
make: Target 'all' not remade because of errors.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.14-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libvlccore-dev depends on:
ii libvlccore8 2.2.0~pre4-1+b1
ii pkg-config 0.28-1
libvlccore-dev recommends no packages.
libvlccore-dev suggests no packages.
Versions of packages vlc depends on:
ii fonts-freefont-ttf 20120503-4
ii libaa1 1.4p5-43
ii libavcodec56 6:11-1
ii libavutil54 6:11-1
ii libc6 2.19-11
ii libcaca0 0.99.beta19-2
ii libegl1-mesa [libegl1-x11] 10.2.8-1
ii libfreetype6 2.5.2-2
ii libfribidi0 0.19.6-2
ii libgcc1 1:4.9.1-16
ii libgl1-mesa-glx [libgl1] 10.2.8-1
ii libgles1-mesa [libgles1] 10.2.8-1
ii libgles2-mesa [libgles2] 10.2.8-1
ii libice6 2:1.0.9-1
ii libpulse0 5.0-6+b1
ii libqtcore4 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii libqtgui4 4:4.8.6+git64-g5dc8b2b+dfsg-2+b1
ii libsdl-image1.2 1.2.12-5+b4
ii libsdl1.2debian 1.2.15-10
ii libsm6 2:1.2.2-1
ii libstdc++6 4.9.1-16
ii libva-drm1 1.4.0-3
ii libva-x11-1 1.4.0-3
ii libva1 1.4.0-3
ii libvlccore8 2.2.0~pre4-1+b1
ii libvncclient0 0.9.9+dfsg-6+b2
ii libx11-6 2:1.6.2-3
ii libxcb-composite0 1.10-3
ii libxcb-keysyms1 0.4.0-1
ii libxcb-randr0 1.10-3
ii libxcb-render0 1.10-3
ii libxcb-shape0 1.10-3
ii libxcb-shm0 1.10-3
ii libxcb-xfixes0 1.10-3
ii libxcb-xv0 1.10-3
ii libxcb1 1.10-3
ii libxext6 2:1.3.3-1
ii libxinerama1 2:1.1.3-1
ii libxpm4 1:3.5.11-1
ii vlc-nox 2.2.0~pre4-1+b1
ii zlib1g 1:1.2.8.dfsg-2
Versions of packages vlc recommends:
ii vlc-plugin-notify 2.2.0~pre4-1+b1
pn vlc-plugin-samba <none>
ii xdg-utils 1.1.0~rc1+git20111210-7.1
Versions of packages vlc suggests:
pn videolan-doc <none>
Versions of packages vlc-nox depends on:
ii liba52-0.7.4 0.7.4-17
ii libasound2 1.0.28-1
ii libass5 0.10.2-3
ii libavahi-client3 0.6.31-4
ii libavahi-common3 0.6.31-4
ii libavc1394-0 0.5.4-2
ii libavcodec56 6:11-1
ii libavformat56 6:11-1
ii libavutil54 6:11-1
ii libbasicusageenvironment0 2014.01.13-1
ii libbluray1 1:0.6.2-1
ii libc6 2.19-11
ii libcddb2 1.3.2-5
ii libcdio13 0.83-4.2
ii libchromaprint0 1.2-1
ii libcrystalhd3 1:0.0~git20110715.fdd2f19-11
ii libdbus-1-3 1.8.8-2
ii libdc1394-22 2.2.3-1
ii libdca0 0.0.5-7
ii libdirectfb-1.2-9 1.2.10.0-5+b2
ii libdvbpsi9 1.2.0-1
ii libdvdnav4 5.0.1-1
ii libdvdread4 5.0.0-1
ii libebml4 1.3.0-2
ii libfaad2 2.7-8
ii libflac8 1.3.0-2
ii libfontconfig1 2.11.0-6.1
ii libfreetype6 2.5.2-2
ii libfribidi0 0.19.6-2
ii libgcc1 1:4.9.1-16
ii libgcrypt20 1.6.2-3
ii libgnutls-deb0-28 3.3.8-2
ii libgpg-error0 1.16-2
ii libgroupsock1 2014.01.13-1
ii libiso9660-8 0.83-4.2
ii libjpeg62-turbo 1:1.3.1-8
ii libkate1 0.4.1-1.1
ii liblircclient0 0.9.0~pre1-1.1
ii liblivemedia23 2014.01.13-1
ii liblua5.2-0 5.2.3-1
ii libmad0 0.15.1b-8
ii libmatroska6 1.4.1-2
ii libmodplug1 1:0.8.8.4-4.1
ii libmpcdec6 2:0.1~r459-4.1
ii libmpeg2-4 0.5.1-6
ii libmtp9 1.1.8-1+b1
ii libncursesw5 5.9+20140913-1
ii libogg0 1.3.2-1
ii libopus0 1.1-2
ii libpng12-0 1.2.50-2
ii libpostproc52 6:0.git20120821-4
ii libraw1394-11 2.1.0-3
ii libresid-builder0c2a 2.1.1-14
ii libsamplerate0 0.1.8-8
ii libschroedinger-1.0-0 1.0.11-2.1
ii libshine3 3.1.0-2
ii libshout3 2.3.1-3
ii libsidplay2 2.1.1-14
ii libspeex1 1.2~rc1.2-1
ii libspeexdsp1 1.2~rc1.2-1
ii libstdc++6 4.9.1-16
ii libswscale3 6:11-1
ii libtag1c2a 1.9.1-2.1
ii libtheora0 1.1.1+dfsg.1-3.2
ii libtinfo5 5.9+20140913-1
ii libtwolame0 0.3.13-1.1
ii libudev1 215-5+b1
ii libupnp6 1:1.6.17-1.2
ii libusageenvironment1 2014.01.13-1
ii libusb-1.0-0 2:1.0.19-1
ii libvcdinfo0 0.7.24+dfsg-0.2
ii libvlc5 2.2.0~pre4-1+b1
ii libvlccore8 2.2.0~pre4-1+b1
ii libvorbis0a 1.3.2-1.4
ii libvorbisenc2 1.3.2-1.4
ii libx264-142 2:0.142.2431+gita5831aa-1+b1
ii libxml2 2.9.1+dfsg1-4
ii libzvbi0 0.2.35-3
ii zlib1g 1:1.2.8.dfsg-2
Versions of packages vlc-nox suggests:
pn libdvdcss2 <none>
Versions of packages libvlc5 depends on:
ii libc6 2.19-11
ii libvlccore8 2.2.0~pre4-1+b1
Versions of packages libvlccore8 depends on:
ii libc6 2.19-11
ii libdbus-1-3 1.8.8-2
ii libidn11 1.29-1
ii libproxy-tools 0.4.11-4
ii vlc-data 2.2.0~pre4-1
Versions of packages libvlccore-dev is related to:
pn libavutil50 <none>
ii libavutil51 6:0.8.16-1
-- no debconf information
More information about the pkg-multimedia-maintainers
mailing list