.0' g++ -c -Inbase -Insock/include -Iopensshlib -Imodules -DHAVE_CONFIG_H -DNCRACK_NAME=\"Ncrack\" -DNCRACK_URL=\"http://ncrack.org\" -DNCRACK_PLATFORM=\"riscv64-redhat-linux-gnu\" -DNCRACKDATADIR=\"/usr/share/ncrack\" -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -O2 -Wall -fno-strict-aliasing ncrack_resume.cc -o ncrack_resume.o make[1]: Leaving directory '/builddir/build/BUILD/ncrack-0.6.0' ncrack_resume.cc: In function 'int ncrack_resume(char*, int*, char***)': ncrack_resume.cc:444:40: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'struct saved_info' with no trivial copy-assignment; use assignment or value-initialization instead [-Wclass-memaccess] 444 | memset(&tmp_info, 0, sizeof(tmp_info)); | ^ In file included from ncrack_resume.cc:133: NcrackOps.h:143:8: note: 'struct saved_info' declared here 143 | struct saved_info { | ^~~~~~~~~~ In file included from /usr/include/string.h:495, from nbase/nbase.h:203, from ncrack.h:158, from ncrack_resume.h:132, from ncrack_resume.cc:132: In function 'char* strncpy(char*, const char*, size_t)', inlined from 'int ncrack_resume(char*, int*, char***)' at ncrack_resume.cc:477:10: /usr/include/bits/string_fortified.h:106:34: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' output truncated before terminating nul copying 7 bytes from a string of the same length [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/ncrack-0.6.0' Compiling Ncrack... rm -f ncrack g++ -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Lnbase -Lnsock/src -Lopensshlib -o ncrack ncrack.o utils.o TargetGroup.o Target.o targets.o NcrackOps.o Service.o ServiceGroup.o Connection.o services.o timing.o ncrack_error.o output.o ncrack_tty.o Buf.o NcrackOutputTable.o ncrack_input.o ncrack_resume.o crypto.o http.o http_digest.o modules/ncrack_ssh.o modules/ncrack_smb.o modules/ncrack_rdp.o modules/ncrack_sip.o modules/ncrack_psql.o modules/ncrack_mysql.o modules/ncrack_winrm.o modules/ncrack_mongodb.o modules/ncrack_ftp.o modules/ncrack_telnet.o modules/ncrack_http.o modules/ncrack_pop3.o modules/ncrack_vnc.o modules/ncrack_redis.o modules/ncrack_owa.o modules/ncrack_imap.o modules/ncrack_cassandra.o modules/ncrack_mssql.o -lnsock -lnbase -lssl -lcrypto -lopenssh make[1]: Leaving directory '/builddir/build/BUILD/ncrack-0.6.0' /usr/bin/ld: opensshlib/libopenssh.a(umac128.o):/builddir/build/BUILD/ncrack-0.6.0/opensshlib/./umac.c:1184: multiple definition of `umac_ctx'; opensshlib/libopenssh.a(umac.o):/builddir/build/BUILD/ncrack-0.6.0/opensshlib/umac.c:1184: first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:67: ncrack] Error 1 make: *** [Makefile:62: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.3x5d0G (%build) Bad exit status from /var/tmp/rpm-tmp.3x5d0G (%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/ncrack.spec