STDERR: from /builddir/build/BUILD/ceph-12.2.5/src/ceph_mon.cc:23: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here BUILDSTDERR: struct uuid_d { BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/mon/Session.h:23, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/mon/MonOpRequest.h:22, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/mon/Elector.h:24, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/mon/Monitor.h:37, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/ceph_mon.cc:27: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/osd/OSDMap.h: In constructor 'OSDMap::OSDMap()': BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/osd/OSDMap.h:585:34: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct uuid_d'; use assignment or value-initialization instead [-Wclass-memaccess] BUILDSTDERR: memset(&fsid, 0, sizeof(fsid)); BUILDSTDERR: ^ BUILDSTDERR: In file included from /builddir/build/BUILD/ceph-12.2.5/src/include/types.h:21, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/msg/msg_types.h:21, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/common/entity_name.h:20, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/common/config.h:19, BUILDSTDERR: from /builddir/build/BUILD/ceph-12.2.5/src/ceph_mon.cc:23: BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/include/uuid.h:16:8: note: 'struct uuid_d' declared here BUILDSTDERR: struct uuid_d { BUILDSTDERR: ^~~~~~ [ 23%] Linking CXX executable ../bin/ceph-mon BUILDSTDERR: rocksdb/librocksdb.a(memtable.cc.o): In function `.L0 ': BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/rocksdb/util/dynamic_bloom.h:170: undefined reference to `__atomic_fetch_or_1' BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/rocksdb/util/dynamic_bloom.h:172: undefined reference to `__atomic_fetch_or_1' BUILDSTDERR: rocksdb/librocksdb.a(memtable.cc.o): In function `SaveValue': BUILDSTDERR: /builddir/build/BUILD/ceph-12.2.5/src/rocksdb/db/memtable.cc:618: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: rocksdb/librocksdb.a(memtable.cc.o): In function `.L0 ': BUILDSTDERR: /usr/include/c++/8/bits/atomic_base.h:434: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: /usr/include/c++/8/bits/atomic_base.h:434: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: /usr/include/c++/8/bits/atomic_base.h:434: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: /usr/include/c++/8/bits/atomic_base.h:434: undefined reference to `__atomic_compare_exchange_1' BUILDSTDERR: rocksdb/librocksdb.a(memtable.cc.o):/usr/include/c++/8/bits/atomic_base.h:434: more undefined references to `__atomic_compare_exchange_1' follow BUILDSTDERR: collect2: error: ld returned 1 exit status BUILDSTDERR: make[2]: *** [src/CMakeFiles/ceph-mon.dir/build.make:127: bin/ceph-mon] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:903: src/CMakeFiles/ceph-mon.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:141: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.AxIbyh (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.AxIbyh (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/ceph.spec