I don’t understand the original failure, but I just rebuilt the package using 
an up-to-date version of unstable the latest version of boost installed from 
experimental as it has been rebuilt with gcc5.

The next error I get is during running the unit tests:

g++ -DHAVE_CONFIG_H -I.  -D__CEPH__ -D_FILE_OFFSET_BITS=64 -D_REENTRANT 
-D_THREAD_SAFE -D__STDC_FORMAT_MACROS -D_GNU_SOURCE 
-DCEPH_LIBDIR=\"/usr/lib/x86_64-linux-gnu\" 
-DCEPH_PKGLIBDIR=\"/usr/lib/x86_64-linux-gnu/ceph\" -DGTEST_HAS_TR1_TUPLE=0 
-D_FORTIFY_SOURCE=2 -I/usr/include/nss -I/usr/include/nspr   -Wall 
-Wtype-limits -Wignored-qualifiers -Winit-self -Wpointer-arith 
-Werror=format-security -fno-strict-aliasing -fsigned-char -rdynamic 
-ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-invalid-offsetof   
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free 
-Wstrict-null-sentinel -g -O2 -fPIE -fstack-protector-strong -Wformat 
-Werror=format-security -c -o test/streamtest.o test/streamtest.cc
test/streamtest.cc:190:1: warning: 'virtual int 
ObjectStore::collection_getattr(coll_t, const char*, void*, size_t)' is 
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from ./os/FileStore.h:31:0,
                 from test/streamtest.cc:16:
./os/ObjectStore.h:1996:15: note: declared here
   virtual int collection_getattr(coll_t cid, const char *name,
               ^
test/streamtest.cc:190:1: warning: 'virtual int 
ObjectStore::collection_getattr(coll_t, const char*, ceph::bufferlist&)' is 
deprecated [-Wdeprecated-declarations]
 }
 ^
In file included from ./os/FileStore.h:31:0,
                 from test/streamtest.cc:16:
./os/ObjectStore.h:2010:15: note: declared here
   virtual int collection_getattr(coll_t cid, const char *name, bufferlist& bl)
               ^
test/streamtest.cc:190:1: warning: 'virtual int 
ObjectStore::collection_getattrs(coll_t, 
std::map<std::__cxx11::basic_string<char>, ceph::buffer::ptr>&)' is deprecated 
[-Wdeprecated-declarations]
 }
 ^
In file included from ./os/FileStore.h:31:0,
                 from test/streamtest.cc:16:
./os/ObjectStore.h:2022:15: note: declared here
   virtual int collection_getattrs(coll_t cid, map<string,bufferptr> &aset)
               ^
/bin/bash ../libtool  --tag=CXX   --mode=link g++ -I/usr/include/nss 
-I/usr/include/nspr   -Wall -Wtype-limits -Wignored-qualifiers -Winit-self 
-Wpointer-arith -Werror=format-security -fno-strict-aliasing -fsigned-char 
-rdynamic -ftemplate-depth-1024 -Wnon-virtual-dtor -Wno-invalid-offsetof   
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free 
-Wstrict-null-sentinel -g -O2 -fPIE -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,--as-needed -latomic_ops -fPIE -pie -Wl,-z,relro 
-Wl,-z,now -Wl,--as-needed -o ceph_streamtest test/streamtest.o libos.la -laio  
 -lleveldb -lsnappy libglobal.la libcommon.la -lpthread -lm -lnss3 -lnssutil3 
-lsmime3 -lssl3 -lplds4 -lplc4 -lnspr4  -luuid -lm  -lrt   -lboost_system
libtool: link: g++ -I/usr/include/nss -I/usr/include/nspr -Wall -Wtype-limits 
-Wignored-qualifiers -Winit-self -Wpointer-arith -Werror=format-security 
-fno-strict-aliasing -fsigned-char -rdynamic -ftemplate-depth-1024 
-Wnon-virtual-dtor -Wno-invalid-offsetof -fno-builtin-malloc 
-fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free 
-Wstrict-null-sentinel -g -O2 -fPIE -fstack-protector-strong -Wformat 
-Werror=format-security -fPIE -pie -Wl,-z -Wl,relro -Wl,-z -Wl,now -o 
ceph_streamtest test/streamtest.o  /usr/lib/libatomic_ops.a -Wl,--as-needed 
./.libs/libos.a -laio -lleveldb -lsnappy ./.libs/libglobal.a 
./.libs/libcommon.a -ldl -lboost_thread -lpthread -lnss3 -lnssutil3 -lsmime3 
-lssl3 -lplds4 -lplc4 -lnspr4 -luuid -lm -lrt -lboost_system
./.libs/libos.a(libos_la-LevelDBStore.o): In function 
`LevelDBStore::do_open(std::ostream&, bool)':
/ceph-0.94.2/src/os/LevelDBStore.cc:70: undefined reference to 
`leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)'
/ceph-0.94.2/src/os/LevelDBStore.cc:73: undefined reference to 
`leveldb::Status::ToString[abi:cxx11]() const'
./.libs/libos.a(libos_la-LevelDBStore.o): In function 
`LevelDBStore::_test_init(std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&)':
/ceph-0.94.2/src/os/LevelDBStore.cc:100: undefined reference to 
`leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, 
std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)'
collect2: error: ld returned 1 exit status
Makefile:11304: recipe for target 'ceph_streamtest' failed
make[5]: *** [ceph_streamtest] Error 1
make[5]: Leaving directory '/ceph-0.94.2/src'
Makefile:20993: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/ceph-0.94.2/src'
Makefile:8907: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/ceph-0.94.2/src'
Makefile:465: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/ceph-0.94.2'
dh_auto_build: make -j1 returned exit code 2
debian/rules:54: recipe for target 'override_dh_auto_build' failed
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory '/ceph-0.94.2'
debian/rules:43: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
debuild: fatal error at line 1382:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to