Source: rocksdb Version: 5.17.2-3 Severity: serious Justification: FTBFS on amd64 Tags: bullseye sid ftbfs Usertags: ftbfs-20201125 ftbfs-bullseye
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > g++ -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -Wformat -Werror=format-security -faligned-new -DHAVE_ALIGNED_NEW > -DROCKSDB_USE_RTTI -g -W -Wextra -Wall -Wsign-compare -Wshadow > -Wunused-parameter -Werror -I. -I./include -std=c++11 -g -O2 > -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -g > -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat > -Werror=format-security -DOS_LINUX -fno-builtin-memcmp > -DROCKSDB_FALLOCATE_PRESENT -DSNAPPY -DGFLAGS=1 -DZLIB -DBZIP2 -DLZ4 -DZSTD > -DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PTHREAD_ADAPTIVE_MUTEX > -DROCKSDB_BACKTRACE -DROCKSDB_RANGESYNC_PRESENT > -DROCKSDB_SCHED_GETCPU_PRESENT -DROCKSDB_SUPPORT_THREAD_LOCAL -isystem > ./third-party/gtest-1.7.0/fused-src -O2 -fno-omit-frame-pointer > -momit-leaf-frame-pointer -Woverloaded-virtual -Wnon-virtual-dtor > -Wno-missing-field-initializers -c db/builder.cc -o db/builder.o > In file included from ./db/range_del_aggregator.h:17, > from ./db/memtable.h:19, > from ./db/memtable_list.h:17, > from ./db/column_family.h:17, > from ./db/version_set.h:31, > from ./db/compaction.h:11, > from ./db/compaction_iterator.h:12, > from db/builder.cc:16: > ./db/version_edit.h: In constructor > ‘rocksdb::FdWithKeyRange::FdWithKeyRange(rocksdb::FileDescriptor, > rocksdb::Slice, rocksdb::Slice, rocksdb::FileMetaData*)’: > ./db/version_edit.h:178:33: error: implicitly-declared ‘constexpr > rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is > deprecated [-Werror=deprecated-copy] > 178 | largest_key(_largest_key) {} > | ^ > ./db/version_edit.h:55:19: note: because ‘rocksdb::FileDescriptor’ has > user-provided ‘rocksdb::FileDescriptor& > rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’ > 55 | FileDescriptor& operator=(const FileDescriptor& fd) { > | ^~~~~~~~ > ./db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, > _T2>::pair(_U1&&, _U2&&) [with _U1 = int&; _U2 = rocksdb::FileMetaData; > typename std::enable_if<(std::_PCC<true, _T1, > _T2>::_MoveConstructiblePair<_U1, _U2>() && std::_PCC<true, _T1, > _T2>::_ImplicitlyMoveConvertiblePair<_U1, _U2>()), bool>::type <anonymous> = > true; _T1 = int; _T2 = rocksdb::FileMetaData]’: > /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void > __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = > std::pair<int, rocksdb::FileMetaData>; _Args = {int&, rocksdb::FileMetaData}; > _Tp = std::pair<int, rocksdb::FileMetaData>]’ > /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void > std::allocator_traits<std::allocator<_CharT> > >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, > _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = > {int&, rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; > std::allocator_traits<std::allocator<_CharT> >::allocator_type = > std::allocator<std::pair<int, rocksdb::FileMetaData> >]’ > /usr/include/c++/10/bits/vector.tcc:115:30: required from ‘void > std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, > rocksdb::FileMetaData}; _Tp = std::pair<int, rocksdb::FileMetaData>; _Alloc = > std::allocator<std::pair<int, rocksdb::FileMetaData> >]’ > ./db/version_edit.h:249:48: required from here > ./db/version_edit.h:86:8: error: implicitly-declared ‘constexpr > rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is > deprecated [-Werror=deprecated-copy] > 86 | struct FileMetaData { > | ^~~~~~~~~~~~ > ./db/version_edit.h:55:19: note: because ‘rocksdb::FileDescriptor’ has > user-provided ‘rocksdb::FileDescriptor& > rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’ > 55 | FileDescriptor& operator=(const FileDescriptor& fd) { > | ^~~~~~~~ > In file included from /usr/include/c++/10/bits/stl_algobase.h:64, > from /usr/include/c++/10/bits/char_traits.h:39, > from /usr/include/c++/10/string:40, > from ./db/builder.h:9, > from db/builder.cc:10: > /usr/include/c++/10/bits/stl_pair.h:353:64: note: synthesized method > ‘rocksdb::FileMetaData::FileMetaData(rocksdb::FileMetaData&&)’ first required > here > 353 | : first(std::forward<_U1>(__x)), second(std::forward<_U2>(__y)) { } > | ^ > In file included from ./db/range_del_aggregator.h:17, > from ./db/memtable.h:19, > from ./db/memtable_list.h:17, > from ./db/column_family.h:17, > from ./db/version_set.h:31, > from ./db/compaction.h:11, > from ./db/compaction_iterator.h:12, > from db/builder.cc:16: > ./db/version_edit.h: In instantiation of ‘constexpr std::pair<_T1, > _T2>::pair(_U1&&, const _T2&) [with _U1 = int&; typename > std::enable_if<std::_PCC<true, _T1, _T2>::_MoveCopyPair<true, _U1, _T2>(), > bool>::type <anonymous> = true; _T1 = int; _T2 = rocksdb::FileMetaData]’: > /usr/include/c++/10/ext/new_allocator.h:150:4: required from ‘void > __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = > std::pair<int, rocksdb::FileMetaData>; _Args = {int&, const > rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>]’ > /usr/include/c++/10/bits/alloc_traits.h:512:17: required from ‘static void > std::allocator_traits<std::allocator<_CharT> > >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, > _Up*, _Args&& ...) [with _Up = std::pair<int, rocksdb::FileMetaData>; _Args = > {int&, const rocksdb::FileMetaData&}; _Tp = std::pair<int, > rocksdb::FileMetaData>; std::allocator_traits<std::allocator<_CharT> > >::allocator_type = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’ > /usr/include/c++/10/bits/vector.tcc:115:30: required from ‘void > std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int&, > const rocksdb::FileMetaData&}; _Tp = std::pair<int, rocksdb::FileMetaData>; > _Alloc = std::allocator<std::pair<int, rocksdb::FileMetaData> >]’ > ./db/version_edit.h:254:37: required from here > ./db/version_edit.h:86:8: error: implicitly-declared ‘constexpr > rocksdb::FileDescriptor::FileDescriptor(const rocksdb::FileDescriptor&)’ is > deprecated [-Werror=deprecated-copy] > 86 | struct FileMetaData { > | ^~~~~~~~~~~~ > ./db/version_edit.h:55:19: note: because ‘rocksdb::FileDescriptor’ has > user-provided ‘rocksdb::FileDescriptor& > rocksdb::FileDescriptor::operator=(const rocksdb::FileDescriptor&)’ > 55 | FileDescriptor& operator=(const FileDescriptor& fd) { > | ^~~~~~~~ > In file included from /usr/include/c++/10/bits/stl_algobase.h:64, > from /usr/include/c++/10/bits/char_traits.h:39, > from /usr/include/c++/10/string:40, > from ./db/builder.h:9, > from db/builder.cc:10: > /usr/include/c++/10/bits/stl_pair.h:323:51: note: synthesized method > ‘rocksdb::FileMetaData::FileMetaData(const rocksdb::FileMetaData&)’ first > required here > 323 | : first(std::forward<_U1>(__x)), second(__y) { } > | ^ > cc1plus: all warnings being treated as errors > make[2]: *** [Makefile:1934: db/builder.o] Error 1 The full build log is available from: http://qa-logs.debian.net/2020/11/25/rocksdb_5.17.2-3_unstable.log A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures.