deps/libhttpserver/libhttpserver/build/src/../../src/httpserver/http_utils.hpp:64:10: note: an enum with different value name is defined in another translation unit 64 | enum start_method_T | ^ ../deps/libhttpserver/libhttpserver/src/httpserver/http_utils.hpp:76:9: note: name 'INTERNAL_SELECT' is defined to 8 while another translation unit defines it as 4616 76 | INTERNAL_SELECT = MHD_USE_SELECT_INTERNALLY, | ^ ../deps/libhttpserver/libhttpserver/build/src/../../src/httpserver/http_utils.hpp:74:9: note: mismatching definition 74 | INTERNAL_SELECT = MHD_USE_SELECT_INTERNALLY | MHD_USE_EPOLL | MHD_USE_EPOLL_TURBO, | ^ In function 'strncpy', inlined from 'lookup_sub_value.part.0' at ../deps/libmicrohttpd/libmicrohttpd/src/microhttpd/digestauth.c:483:9: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../deps/libmicrohttpd/libmicrohttpd/src/microhttpd/digestauth.c: In function 'lookup_sub_value.part.0': ../deps/libmicrohttpd/libmicrohttpd/src/microhttpd/digestauth.c:479:15: note: length computed here 479 | len = strlen (q1) + 1; | ^ In function 'strncpy', inlined from 'query_parser_first_comment' at ../lib/Query_Processor.cpp:2471:13: /usr/include/bits/string_fortified.h:91:34: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^ ../lib/Query_Processor.cpp: In member function 'query_parser_first_comment': ../lib/Query_Processor.cpp:2468:22: note: length computed here 2468 | size_t l = strlen(value); | ^ /usr/bin/ld: /tmp/proxysql.RvUbDv.ltrans14.ltrans.o: in function `.L0 ': /usr/include/stdlib.h:363: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.RvUbDv.ltrans14.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.0.13/src/../lib/ProxySQL_Admin.cpp:6921: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.RvUbDv.ltrans14.ltrans.o:/builddir/build/BUILD/proxysql-2.0.13/src/../lib/ProxySQL_Admin.cpp:6941: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.RvUbDv.ltrans14.ltrans.o:/builddir/build/BUILD/proxysql-2.0.13/src/../lib/ProxySQL_Admin.cpp:6961: undefined reference to `__sync_lock_test_and_set_1' /usr/bin/ld: /tmp/proxysql.RvUbDv.ltrans33.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.0.13/src/../deps/jemalloc/jemalloc/include/jemalloc/internal/mutex_pool.h:23: undefined reference to `__atomic_compare_exchange_1' /usr/bin/ld: /tmp/proxysql.RvUbDv.ltrans36.ltrans.o: in function `.L0 ': /builddir/build/BUILD/proxysql-2.0.13/src/../deps/jemalloc/jemalloc/include/jemalloc/internal/mutex.h:171: undefined reference to `__atomic_exchange_1' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:104: proxysql] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/proxysql-2.0.13/src' make: *** [Makefile:80: build_src] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.wjqjED (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wjqjED (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status 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/proxysql.spec