Package: monbodb
Version: 1:2.4.14-2
Severity: serious
Hi,
Trying to rebuild MongoDB in Sid, I get this:
g++ -o
build/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/use-system-v8/mongo/shell/linenoise.o
-c -Wno-unused-local-typedefs -Wnon-virtual-dtor -Woverloaded-virtual -fPIC
-fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unused-function
-Wno-unused-variable -Wno-unknown-pragmas -Winvalid-pch -pipe -Werror
-fno-builtin-memcmp -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DPCRE_STATIC
-DSUPPORT_UTF8 -D_FILE_OFFSET_BITS=64 -DMONGO_SSL -DMONGO_HAVE_HEADER_UNISTD_H
-DMONGO_HAVE_EXECINFO_BACKTRACE
-Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/use-system-v8/third_party/s2
-Isrc/third_party/s2
-Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/use-system-v8
-Isrc
-Ibuild/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/use-system-v8/mongo
-Isrc/mongo src/mongo/shell/linenoise.cpp
In file included from src/mongo/shell/linenoise.cpp:116:0:
src/mongo/shell/linenoise_utf8.h: In member function 'void
linenoise_utf8::UtfStringMixin<char_type>::swap(linenoise_utf8::UtfStringMixin<char_type>&)':
src/mongo/shell/linenoise_utf8.h:145:9: error: 'swap' is not a member of 'std'
std::swap( _len, other._len );
^
src/mongo/shell/linenoise_utf8.h:145:9: note: suggested alternative:
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
from src/mongo/shell/linenoise.cpp:116:
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b)
BOOST_NOEXCEPT
^
In file included from src/mongo/shell/linenoise.cpp:116:0:
src/mongo/shell/linenoise_utf8.h:146:9: error: 'swap' is not a member of 'std'
std::swap( _cap, other._cap );
^
src/mongo/shell/linenoise_utf8.h:146:9: note: suggested alternative:
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
from src/mongo/shell/linenoise.cpp:116:
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b)
BOOST_NOEXCEPT
^
In file included from src/mongo/shell/linenoise.cpp:116:0:
src/mongo/shell/linenoise_utf8.h:147:9: error: 'swap' is not a member of 'std'
std::swap( _chars, other._chars );
^
src/mongo/shell/linenoise_utf8.h:147:9: note: suggested alternative:
In file included from src/mongo/shell/linenoise_utf8.h:18:0,
from src/mongo/shell/linenoise.cpp:116:
/usr/include/boost/smart_ptr/scoped_array.hpp:125:31: note: 'boost::swap'
template<class T> inline void swap(scoped_array<T> & a, scoped_array<T> & b)
BOOST_NOEXCEPT
^
scons: ***
[build/linux2/ssl/use-system-boost/use-system-pcre/use-system-snappy/use-system-tcmalloc/use-system-v8/mongo/shell/linenoise.o]
Error 1
scons: building terminated because of errors.
debian/rules:42: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/zigo/mongodb/mongodb-2.4.14'
debian/rules:55: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]