dpkg-buildpackage -rfakeroot -D -us -uc dpkg-buildpackage: source package gst-plugin dpkg-buildpackage: source version 0.0.1~rc1 dpkg-buildpackage: source distribution testing dpkg-buildpackage: source changed by Maintainer name dpkg-source --before-build gst-plugin dpkg-buildpackage: host architecture amd64 fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean dh_clean dpkg-source -b gst-plugin dpkg-source: info: using source format `3.0 (native)' dpkg-source: info: building gst-plugin in gst-plugin_0.0.1~rc1.tar.gz dpkg-source: info: building gst-plugin in gst-plugin_0.0.1~rc1.dsc debian/rules build make: `build' is up to date. fakeroot debian/rules binary dh binary dh_testdir debian/rules override_dh_auto_configure make[1]: Entering directory `/home/kurento/plugins/gst-plugin' dh_auto_configure -- The C compiler identification is GNU 4.8.4 -- The CXX compiler identification is GNU 4.8.4 -- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc -- Check for working C compiler: /usr/bin/x86_64-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ -- Check for working CXX compiler: /usr/bin/x86_64-linux-gnu-g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done If KurentoHelpers is not found, then it is necessary to install kms-cmake-utils package from the kurento repository -- Found KurentoHelpers: 1.2.0 (found version "1.2.0") -- Found Git: /usr/bin/git (found version "1.9.1") If CodeGenerator is not found, then it is necessary to install kms-core package from the kurento repository -- Found PkgConfig: /usr/bin/pkg-config (found version "0.26") -- Found /usr/bin/kurento-module-creator -- Found /usr/bin/kurento-module-creator -- Found KurentoModuleCreator: 3.0.10 (found version "3.0.10") -- Resolving KurentoModuleCreator version ^3.0.6 with 3.0.10 usage: git rev-list [OPTION] ... [ -- paths... ] limiting output: --max-count= --max-age= --min-age= --sparse --no-merges --min-parents= --no-min-parents --max-parents= --no-max-parents --remove-empty --all --branches --tags --remotes --stdin --quiet ordering output: --topo-order --date-order --reverse formatting output: --parents --children --objects | --objects-edge --unpacked --header | --pretty --abbrev= | --no-abbrev --abbrev-commit --left-right special purpose: --bisect --bisect-vars --bisect-all -- Version got from git is 0.0.1~0.g7681f6b -- checking for module 'gstreamer-1.0>=1.3.3' -- found gstreamer-1.0, version 1.4.4 -- checking for module 'gstreamer-base-1.0>=1.3.3' -- found gstreamer-base-1.0, version 1.4.4 -- checking for module 'gstreamer-video-1.0>=1.3.3' -- found gstreamer-video-1.0, version 1.4.4 -- checking for module 'gstreamer-check-1.0>=1.3.3' -- found gstreamer-check-1.0, version 1.4.4 -- checking for module 'kmscore' -- found kmscore, version 5.1.5 -- checking for module 'opencv>=2.0.0' -- found opencv, version 2.4.8 -- Compiling : gst-plugin-0.0.1~0.g7681f6b -- KurentoModuleCreator Already found -- Including generated cmake gst-pluginDependencies.cmake -- KMSCORE Already found -- Looking for KMSELEMENTS: 5.1.4 -- KMSCORE Already found -- Looking for KMSELEMENTS: 5.1.4 -- KMSCORE Already found -- Found KMSELEMENTS: 5.1.4 (found version "5.1.4") -- Resolving KMSELEMENTS version ^5.0.0 with 5.1.4 -- Looking for KMSFILTERS: 5.1.1 -- KMSCORE Already found -- KMSELEMENTS Already found -- checking for module 'opencv' -- found opencv, version 2.4.8 -- Found opencv -- Looking for KMSFILTERS: 5.1.1 -- KMSCORE Already found -- KMSELEMENTS Already found -- opencv Already found -- Found KMSFILTERS: 5.1.1 (found version "5.1.1") -- Resolving KMSFILTERS version ^5.0.0 with 5.1.1 -- Generated: gst-plugin.cpp -- Generated: gst-plugin.hpp -- Generated: gst-pluginInternal.cpp -- Generated: gst-pluginInternal.hpp -- Generated: kmsgst-plugin.pc.in -- Generated: gst-pluginImplInternal.cpp -- Generated: SerializerExpanderGst-plugin.cpp -- Generated: gst-pluginImplFactory.hpp -- Generated: gst-pluginImpl.hpp -- Generated: gst-pluginImpl.cpp -- Generated: Module.cpp -- Generated: FindKMSGST-PLUGIN.cmake.in -- Configuring done -- Generating done -- Build files have been written to: /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu make[1]: Leaving directory `/home/kurento/plugins/gst-plugin' dh_auto_build make[1]: Entering directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' /usr/bin/cmake -H/home/kurento/plugins/gst-plugin -B/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/CMakeFiles /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/CMakeFiles/progress.marks make -f CMakeFiles/Makefile2 all make[2]: Entering directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' make -f src/server/CMakeFiles/kmsgst-plugininterface.dir/build.make src/server/CMakeFiles/kmsgst-plugininterface.dir/depend make[3]: Entering directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' cd /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/kurento/plugins/gst-plugin /home/kurento/plugins/gst-plugin/src/server /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/CMakeFiles/kmsgst-plugininterface.dir/DependInfo.cmake --color= Scanning dependencies of target kmsgst-plugininterface make[3]: Leaving directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' make -f src/server/CMakeFiles/kmsgst-plugininterface.dir/build.make src/server/CMakeFiles/kmsgst-plugininterface.dir/build make[3]: Entering directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' /usr/bin/cmake -E cmake_progress_report /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/CMakeFiles 6 [ 9%] Building CXX object src/server/CMakeFiles/kmsgst-plugininterface.dir/interface/generated-cpp/gst-pluginInternal.cpp.o cd /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server && /usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -g -DHAVE_CONFIG_H -Wall -Werror -std=c++11 -I/usr/include/kurento/modules/core -I/usr/include/gstreamer-1.0 -I/usr/include/kurento -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/jsoncpp -I/usr/include/kurento/modules/elements -I/usr/include/kurento/modules/filters -I/usr/include/opencv -fPIC -o CMakeFiles/kmsgst-plugininterface.dir/interface/generated-cpp/gst-pluginInternal.cpp.o -c /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.cpp In file included from /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.cpp:3:0: /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.hpp:3:14: error: extra tokens at end of #ifndef directive [-Werror] #ifndef __GST-PLUGIN_INTERNAL_HPP__ ^ /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.hpp:4:14: error: ISO C99 requires whitespace after the macro name [-Werror] #define __GST-PLUGIN_INTERNAL_HPP__ ^ In file included from /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.hpp:6:0, from /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.cpp:3: /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-plugin.hpp:3:14: error: extra tokens at end of #ifndef directive [-Werror] #ifndef __GST-PLUGIN_HPP__ ^ In file included from /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.cpp:3:0: /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.hpp:22:14: error: expected ‘{’ before ‘-’ token namespace gst-plugin ^ /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.hpp:22:14: error: expected unqualified-id before ‘-’ token In file included from /usr/include/kurento/modules/core/KurentoException.hpp:19:0, from /home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu/src/server/interface/generated-cpp/gst-pluginInternal.cpp:4: /usr/include/c++/4.8/exception:35:37: error: expected ‘}’ before end of line #pragma GCC visibility push(default) ^ /usr/include/c++/4.8/exception:35:37: error: expected ‘}’ before end of line /usr/include/c++/4.8/exception:35:37: error: expected ‘}’ before end of line /usr/include/c++/4.8/exception:35:37: error: expected declaration before end of line cc1plus: all warnings being treated as errors make[3]: *** [src/server/CMakeFiles/kmsgst-plugininterface.dir/interface/generated-cpp/gst-pluginInternal.cpp.o] Error 1 make[3]: Leaving directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' make[2]: *** [src/server/CMakeFiles/kmsgst-plugininterface.dir/all] Error 2 make[2]: Leaving directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/kurento/plugins/gst-plugin/obj-x86_64-linux-gnu' dh_auto_build: make -j1 returned exit code 2 make: *** [binary] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2