Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scanssh.spec'], chrootPath='/var/lib/mock/f40-build-761319-121365/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scanssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/scanssh-2.1.2-15.fc40.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scanssh.spec'], chrootPath='/var/lib/mock/f40-build-761319-121365/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scanssh.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Lm5yGj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scanssh-2.1.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/2.1.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd scanssh-2.1.2 + rm -rf /builddir/build/BUILD/scanssh-2.1.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/scanssh-2.1.2-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (scanssh-2.1.1-autotools.patch):' Patch #1 (scanssh-2.1.1-autotools.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure Hunk #1 succeeded at 4464 (offset 105 lines). Hunk #2 succeeded at 4545 (offset 105 lines). Hunk #3 succeeded at 4580 (offset 105 lines). patching file configure.in + echo 'Patch #2 (scanssh-c99.patch):' Patch #2 (scanssh-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file interface.c patching file md5.c patching file scanssh.c patching file scanssh.h patching file string-compat.h patching file strlcat.c patching file strlcpy.c patching file xmalloc.c + sed -i -e '/^CFLAGS =.*$/d' Makefile.am Makefile.in + touch -r aclocal.m4 configure configure.in Makefile.am Makefile.in + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eZo5Mz + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scanssh-2.1.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/scanssh-2.1.2/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/scanssh-2.1.2/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for riscv64-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... none checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for inet_aton... yes checking for inet_pton... yes checking for strsep... yes checking for getaddrinfo... yes checking for getnameinfo... yes checking for strlcpy... yes checking for strlcat... yes checking for arc4random... yes checking for MD5Update... no checking for warnx... yes checking for libpcap... yes checking for dnet-config... /usr/bin/dnet-config checking whether libdnet is a libdumbnet... no checking for working addr_pton in libdnet... yes checking for libevent... yes checking for bufferevent in libevent... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking for fd_mask in sys/select.h... yes checking for pid_t... yes checking for size_t... yes checking for u_int64_t... yes checking for u_int32_t... yes checking for u_int16_t... yes checking for u_int8_t... yes checking whether time.h and sys/time.h may both be included... yes checking for struct sockaddr_storage in sys/socket.h... yes checking for struct addrinfo in netdb.h... yes checking for timeradd in sys/time.h... yes checking for byte order of raw socket I/O... good byte order checking for sin_len in struct sockaddr_in... no checking for sa_family_t... yes checking for socklen_t... yes checking for NI_NUMERICHOST... yes checking for NI_MAXSERV... yes checking return type of signal handlers... void checking for gettimeofday... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strerror... yes checking for strtol... yes checking for seteuid... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands + make -j4 make all-am make[1]: Entering directory '/builddir/build/BUILD/scanssh-2.1.2' gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o scanssh.o scanssh.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o atomicio.o atomicio.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o exclude.o exclude.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o connecter.o connecter.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o xmalloc.o xmalloc.c connecter.c: In function ‘ssh_process_line’: connecter.c:236:27: warning: pointer targets in initialization of ‘char *’ from ‘unsigned char *’ differ in signedness [-Wpointer-sign] 236 | char *p = EVBUFFER_DATA(input); | ^~~~~~~~~~~~~ connecter.c:253:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 253 | p = EVBUFFER_DATA(input); | ^ scanssh.c: In function ‘generate_random’: scanssh.c:793:33: warning: pointer targets in passing argument 2 of ‘MD5Update’ differ in signedness [-Wpointer-sign] 793 | MD5Update(&ctx, seed, strlen(seed)); | ^~~~ | | | char * In file included from scanssh.c:56: ./compat/md5.h:20:65: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 20 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); | ~~~~~~~~~~~~~~~~~~~~~^~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o interface.o interface.c scanssh.c: In function ‘main’: scanssh.c:1186:9: warning: ignoring return value of ‘seteuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1186 | seteuid(getuid()); | ^~~~~~~~~~~~~~~~~ scanssh.c:1188:9: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1188 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o socks.o socks.c interface.c: In function ‘interface_new’: interface.c:98:17: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 98 | if ((dev = pcap_lookupdev(ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from interface.c:54: /usr/include/pcap/pcap.h:395:18: note: declared here 395 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ socks.c: In function ‘socks_bufferanalyse’: socks.c:190:50: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /usr/include/event.h:72, from socks.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:190:27: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ socks.c:196:36: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 196 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from socks.c:43: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ socks.c:211:34: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 211 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ socks.c:214:39: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 214 | if (evbuffer_find(input, socks->word, strlen(socks->word)) != NULL) { | ~~~~~^~~~~~ | | | char * /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o http.o http.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o telnet.o telnet.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -c -o md5.o md5.c md5.c: In function ‘MD5Final’: md5.c:174:30: warning: argument to ‘sizeof’ in ‘memset’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 174 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ http.c: In function ‘http_getheaders’: http.c:94:42: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^~~~ | | | char * In file included from /usr/include/event.h:72, from http.c:46: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c:94:19: warning: pointer targets in assignment from ‘unsigned char *’ to ‘char *’ differ in signedness [-Wpointer-sign] 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { | ^ http.c:100:28: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] 100 | if (strlen(EVBUFFER_DATA(input)) == 0) { | ^~~~~~~~~~~~~ | | | unsigned char * In file included from http.c:43: /usr/include/string.h:407:35: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ http.c:111:43: warning: pointer targets in passing argument 1 of ‘http_response’ differ in signedness [-Wpointer-sign] 111 | if (http_response(EVBUFFER_DATA(input)) == -1) { | ^~~~~~~~~~~~~ | | | unsigned char * http.c:78:21: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 78 | http_response(char *line) | ~~~~~~^~~~ http.c: In function ‘http_bufferanalyse’: http.c:140:42: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 140 | if (evbuffer_find(input, "\r\n", 2) == NULL) | ^~~~~~ | | | char * /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ http.c: In function ‘http_makeconnect’: http.c:177:13: warning: too many arguments for format [-Wformat-extra-args] 177 | "CONNECT %s:80 HTTP/1.0\r\n" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ telnet.c: In function ‘telnet_makeconnect’: telnet.c:80:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 80 | #define CCPROXY "CCProxy Telnet>" | ^~~~~~~~~~~~~~~~~ | | | char * telnet.c:95:34: note: in expansion of macro ‘CCPROXY’ 95 | if (evbuffer_find(input, CCPROXY, strlen(CCPROXY)) != NULL) { | ^~~~~~~ In file included from /usr/include/event.h:72, from telnet.c:47: /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:81:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 81 | #define GATEWAY1 "host_name:port" | ^~~~~~~~~~~~~~~~ | | | char * telnet.c:102:41: note: in expansion of macro ‘GATEWAY1’ 102 | } else if (evbuffer_find(input, GATEWAY1, strlen(GATEWAY1)) != NULL) { | ^~~~~~~~ /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:82:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 82 | #define GATEWAY2 "host[:port]:" | ^~~~~~~~~~~~~~ | | | char * telnet.c:109:41: note: in expansion of macro ‘GATEWAY2’ 109 | } else if (evbuffer_find(input, GATEWAY2, strlen(GATEWAY2)) != NULL) { | ^~~~~~~~ /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c:83:25: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 83 | #define WINGATE "WinGate>" | ^~~~~~~~~~ | | | char * telnet.c:120:41: note: in expansion of macro ‘WINGATE’ 120 | } else if (evbuffer_find(input, WINGATE, strlen(WINGATE)) != NULL) { | ^~~~~~~ /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ telnet.c: In function ‘telnet_readcb’: telnet.c:179:29: warning: pointer targets in passing argument 3 of ‘printres’ differ in signedness [-Wpointer-sign] 179 | EVBUFFER_DATA(input)); | ^~~~~~~~~~~~~ | | | unsigned char * In file included from telnet.c:50: scanssh.h:136:44: note: expected ‘char *’ but argument is of type ‘unsigned char *’ 136 | void printres(struct argument *, uint16_t, char *); | ^~~~~~ telnet.c:187:47: warning: pointer targets in passing argument 2 of ‘evbuffer_find’ differ in signedness [-Wpointer-sign] 187 | if (evbuffer_find(input, state->connect_wait, | ~~~~~^~~~~~~~~~~~~~ | | | char * /usr/include/event2/buffer_compat.h:108:76: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 108 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); | ~~~~~~~~~~~~~~~~~~~~~^~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o scanssh scanssh.o atomicio.o exclude.o connecter.o xmalloc.o interface.o socks.o http.o telnet.o md5.o -L/usr/lib -lpcap -L/usr/lib -levent -L/usr/lib64 -ldnet -L/usr/lib64 -ldnet -L/usr/lib -levent make[1]: Leaving directory '/builddir/build/BUILD/scanssh-2.1.2' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tPcHPm + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd scanssh-2.1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 'INSTALL=/usr/bin/install -p' make[1]: Entering directory '/builddir/build/BUILD/scanssh-2.1.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/bin' /usr/bin/install -p scanssh '/builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 scanssh.1 '/builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/scanssh-2.1.2' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.1.2-15.fc40 --unique-debug-suffix -2.1.2-15.fc40.riscv64 --unique-debug-src-base scanssh-2.1.2-15.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/scanssh-2.1.2 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/scanssh-2.1.2-15.fc40.riscv64 231 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: scanssh-2.1.2-15.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OG1nGD + umask 022 + cd /builddir/build/BUILD + cd scanssh-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/share/doc/scanssh + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/share/doc/scanssh + cp -pr /builddir/build/BUILD/scanssh-2.1.2/README.md /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64/usr/share/doc/scanssh + RPM_EC=0 ++ jobs -p + exit 0 Provides: scanssh = 2.1.2-15.fc40 scanssh(riscv-64) = 2.1.2-15.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libdnet.so.1()(64bit) libevent-2.1.so.7()(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: scanssh-debugsource-2.1.2-15.fc40.riscv64 Provides: scanssh-debugsource = 2.1.2-15.fc40 scanssh-debugsource(riscv-64) = 2.1.2-15.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: scanssh-debuginfo-2.1.2-15.fc40.riscv64 Provides: debuginfo(build-id) = de257ddd22163d4ade4e8170557de4cf54683ab2 scanssh-debuginfo = 2.1.2-15.fc40 scanssh-debuginfo(riscv-64) = 2.1.2-15.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: scanssh-debugsource(riscv-64) = 2.1.2-15.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 Wrote: /builddir/build/RPMS/scanssh-2.1.2-15.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/scanssh-debugsource-2.1.2-15.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/scanssh-debuginfo-2.1.2-15.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pwLdf1 + umask 022 + cd /builddir/build/BUILD + cd scanssh-2.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scanssh-2.1.2-15.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.7XDdiD + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/scanssh-2.1.2-SPECPARTS + rm -rf scanssh-2.1.2 scanssh-2.1.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0