Trying to build ceph-libs
on stable:
[user@manjaro-kde ~]$ pamac build ceph-libs
...
To build (1):
ceph-libs 16.2.10-1 (15.2.17-1) AUR
...
In member function ‘btree::internal::btree_node<Params>* btree::internal::btree_node<Params>::child(int) const [with Params = btree::internal::map_params<pg_t, ceph_le<unsigned int>*, std::less<pg_t>, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >, 256, false>]’,
inlined from ‘void btree::internal::btree_node<Params>::swap(btree::internal::btree_node<Params>*, allocator_type*) [with Params = btree::internal::map_params<pg_t, ceph_le<unsigned int>*, std::less<pg_t>, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >, 256, false>]’ at /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:1703:36,
inlined from ‘btree::internal::btree<Params>::iterator btree::internal::btree<Params>::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair<const pg_t, ceph_le<unsigned int>*>&}; Params = btree::internal::map_params<pg_t, ceph_le<unsigned int>*, std::less<pg_t>, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >, 256, false>]’ at /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:2418:22:
/var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:514:83: warning: array subscript 32 is outside array bounds of ‘btree::internal::AlignedAlloc<8, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> > >::M [32]’ [-Warray-bounds]
514 | btree_node* child(int i) const { return GetField<&internal_fields::children>()[i]; }
| ^
In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> > >::M]’,
inlined from ‘static _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> > >::M]’ at /usr/include/c++/12.2.0/bits/alloc_traits.h:464:28,
inlined from ‘static void* btree::internal::AlignedAlloc<Alignment, Alloc>::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >]’ at /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:879:33,
inlined from ‘btree::internal::btree<Params>::node_type* btree::internal::btree<Params>::allocate(size_type) [with Params = btree::internal::map_params<pg_t, ceph_le<unsigned int>*, std::less<pg_t>, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >, 256, false>]’ at /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:1289:32,
inlined from ‘btree::internal::btree<Params>::node_type* btree::internal::btree<Params>::new_leaf_root_node(int) [with Params = btree::internal::map_params<pg_t, ceph_le<unsigned int>*, std::less<pg_t>, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >, 256, false>]’ at /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:1302:28,
inlined from ‘btree::internal::btree<Params>::iterator btree::internal::btree<Params>::internal_emplace(iterator, Args&& ...) [with Args = {const std::pair<const pg_t, ceph_le<unsigned int>*>&}; Params = btree::internal::map_params<pg_t, ceph_le<unsigned int>*, std::less<pg_t>, std::allocator<std::pair<const pg_t, ceph_le<unsigned int>*> >, 256, false>]’ at /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/src/include/cpp-btree/btree.h:2417:29:
/usr/include/c++/12.2.0/bits/new_allocator.h:137:55: note: at offset 256 into object of size [64, 256] allocated by ‘operator new’
137 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
| ^
[ 80%] Linking CXX static library ../../lib/libosd.a
cd /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/build/src/osd && /usr/bin/cmake -P CMakeFiles/osd.dir/cmake_clean_target.cmake
cd /var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/build/src/osd && /usr/bin/cmake -E cmake_link_script CMakeFiles/osd.dir/link.txt --verbose=1
/usr/bin/ar qc ../../lib/libosd.a CMakeFiles/osd.dir/OSD.cc.o CMakeFiles/osd.dir/pg_scrubber.cc.o CMakeFiles/osd.dir/scrub_machine.cc.o CMakeFiles/osd.dir/PrimaryLogScrub.cc.o CMakeFiles/osd.dir/Watch.cc.o CMakeFiles/osd.dir/ClassHandler.cc.o CMakeFiles/osd.dir/PG.cc.o CMakeFiles/osd.dir/PGLog.cc.o CMakeFiles/osd.dir/PrimaryLogPG.cc.o CMakeFiles/osd.dir/ReplicatedBackend.cc.o CMakeFiles/osd.dir/ECBackend.cc.o CMakeFiles/osd.dir/ECTransaction.cc.o CMakeFiles/osd.dir/PGBackend.cc.o CMakeFiles/osd.dir/OSDCap.cc.o CMakeFiles/osd.dir/Session.cc.o CMakeFiles/osd.dir/SnapMapper.cc.o CMakeFiles/osd.dir/ScrubStore.cc.o CMakeFiles/osd.dir/osd_types.cc.o CMakeFiles/osd.dir/ECUtil.cc.o CMakeFiles/osd.dir/ExtentCache.cc.o CMakeFiles/osd.dir/scheduler/OpScheduler.cc.o CMakeFiles/osd.dir/scheduler/OpSchedulerItem.cc.o CMakeFiles/osd.dir/scheduler/mClockScheduler.cc.o CMakeFiles/osd.dir/PeeringState.cc.o CMakeFiles/osd.dir/PGStateUtils.cc.o CMakeFiles/osd.dir/recovery_types.cc.o CMakeFiles/osd.dir/MissingLoc.cc.o CMakeFiles/osd.dir/osd_perf_counters.cc.o CMakeFiles/osd.dir/__/common/TrackedOp.cc.o CMakeFiles/osd.dir/__/mgr/OSDPerfMetricTypes.cc.o CMakeFiles/osd.dir/__/osdc/Objecter.cc.o CMakeFiles/osd.dir/__/osdc/Striper.cc.o
/usr/bin/ranlib ../../lib/libosd.a
make[2]: Leaving directory '/var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/build'
[ 80%] Built target osd
make[1]: Leaving directory '/var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/build'
make: *** [Makefile:149: all] Error 2
make: Leaving directory '/var/tmp/pamac-build-user/ceph/src/ceph-16.2.10/build'
==> ERROR: A failure occurred in build().
Aborting...
[user@manjaro-kde ~]$