Skip to content

Instantly share code, notes, and snippets.

@cadmi
Created March 4, 2014 18:23
Show Gist options
  • Save cadmi/5e037df4c8e23bce552a to your computer and use it in GitHub Desktop.
Save cadmi/5e037df4c8e23bce552a to your computer and use it in GitHub Desktop.
dpkg-buildpackage -rfakeroot -D -us -uc -sa
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package historydb
dpkg-buildpackage: source version 0.2.6.0
dpkg-buildpackage: source changed by Kirill Smorodinnikov <shaitan@yandex-team.ru>
dpkg-source --before-build historydb
dpkg-buildpackage: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=cmake
dh_testdir -O--buildsystem=cmake
dh_auto_clean -O--buildsystem=cmake
debian/rules override_dh_clean
make[1]: Entering directory `/home/vagrant/cocaine/historydb'
#rm -rf /home/vagrant/cocaine/historydb/bindings/python/python/build
dh_clean
make[1]: Leaving directory `/home/vagrant/cocaine/historydb'
dpkg-source -b historydb
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: warning: source directory 'historydb' is not <sourcepackage>-<upstreamversion> 'historydb-0.2.6.0'
dpkg-source: info: using source format `1.0'
dpkg-source: info: building historydb in historydb_0.2.6.0.tar.gz
dpkg-source: info: building historydb in historydb_0.2.6.0.dsc
debian/rules build
dh build --buildsystem=cmake
dh_testdir -O--buildsystem=cmake
debian/rules override_dh_auto_configure
make[1]: Entering directory `/home/vagrant/cocaine/historydb'
DESTDIR="/home/vagrant/cocaine/historydb/debian/historydb" dh_auto_configure \
--buildsystem=cmake -- \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
header: elliptics/interface.h, arguments: ==> /usr/include
library: elliptics_client, arguments: ==> /usr/lib/libelliptics_client.so
-- Found elliptics_client: /usr/lib/libelliptics_client.so - /usr/include
header: elliptics/cppdef.h, arguments: ==> /usr/include
library: elliptics_cpp, arguments: ==> /usr/lib/libelliptics_cpp.so
-- Found elliptics_cpp: /usr/lib/libelliptics_cpp.so - /usr/include
header: msgpack/unpack.hpp, arguments: ==> /usr/include
library: msgpack, arguments: ==> /usr/lib/libmsgpack.so
-- Found msgpack: /usr/lib/libmsgpack.so - /usr/include
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- system
-- thread
-- Configuring done
-- Generating done
-- Build files have been written to: /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu
make[1]: Leaving directory `/home/vagrant/cocaine/historydb'
dh_auto_build -O--buildsystem=cmake
make[1]: Entering directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
/usr/bin/cmake -H/home/vagrant/cocaine/historydb -B/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu/CMakeFiles /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
make -f src/lib/CMakeFiles/historydb.dir/build.make src/lib/CMakeFiles/historydb.dir/depend
make[3]: Entering directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
cd /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/vagrant/cocaine/historydb /home/vagrant/cocaine/historydb/src/lib /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu/src/lib /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu/src/lib/CMakeFiles/historydb.dir/DependInfo.cmake --color=
Scanning dependencies of target historydb
make[3]: Leaving directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
make -f src/lib/CMakeFiles/historydb.dir/build.make src/lib/CMakeFiles/historydb.dir/build
make[3]: Entering directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
/usr/bin/cmake -E cmake_progress_report /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu/CMakeFiles 1
[ 10%] Building CXX object src/lib/CMakeFiles/historydb.dir/provider.cpp.o
cd /home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu/src/lib && /usr/bin/c++ -Dhistorydb_EXPORTS -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -O2 -g -fPIC -I/home/vagrant/cocaine/historydb/include -std=c++0x -W -Wall -o CMakeFiles/historydb.dir/provider.cpp.o -c /home/vagrant/cocaine/historydb/src/lib/provider.cpp
In file included from /home/vagrant/cocaine/historydb/src/lib/provider.cpp:18:0:
/home/vagrant/cocaine/historydb/src/lib/provider_impl.cpp: In member function ‘ioremap::elliptics::async_set_indexes_result history::provider::impl::add_activity(ioremap::elliptics::session&, const string&, const string&)’:
/home/vagrant/cocaine/historydb/src/lib/provider_impl.cpp:591:22: error: no matching function for call to ‘std::vector<ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> > >::push_back(const string&)’
/home/vagrant/cocaine/historydb/src/lib/provider_impl.cpp:591:22: note: candidates are:
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> >, _Alloc = std::allocator<ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> > >, std::vector<_Tp, _Alloc>::value_type = ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> >]
/usr/include/c++/4.6/bits/stl_vector.h:826:7: note: no known conversion for argument 1 from ‘const string {aka const std::basic_string<char>}’ to ‘const value_type& {aka const ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> >&}’
/usr/include/c++/4.6/bits/stl_vector.h:839:7: note: void std::vector<_Tp, _Alloc>::push_back(std::vector<_Tp, _Alloc>::value_type&&) [with _Tp = ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> >, _Alloc = std::allocator<ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> > >, std::vector<_Tp, _Alloc>::value_type = ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> >]
/usr/include/c++/4.6/bits/stl_vector.h:839:7: note: no known conversion for argument 1 from ‘const string {aka const std::basic_string<char>}’ to ‘std::vector<ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> > >::value_type&& {aka ioremap::elliptics::data_pointer_base<std::__atomic2::__atomic_base<long int> >&&}’
make[3]: *** [src/lib/CMakeFiles/historydb.dir/provider.cpp.o] Error 1
make[3]: Leaving directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
make[2]: *** [src/lib/CMakeFiles/historydb.dir/all] Error 2
make[2]: Leaving directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/vagrant/cocaine/historydb/obj-x86_64-linux-gnu'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment