Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/scanssh.spec'], chrootPath='/var/lib/mock/f31-build-50670-27412/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Wrote: /builddir/build/SRPMS/scanssh-2.1.2-4.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/scanssh.spec'], chrootPath='/var/lib/mock/f31-build-50670-27412/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1549065600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3VS0Pb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf scanssh-2.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/2.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd scanssh-2.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (scanssh-2.1.1-autotools.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + sed -i -e '/^CFLAGS =.*$/d' Makefile.am Makefile.in + touch -r aclocal.m4 configure configure.in Makefile.am Makefile.in + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #1 (scanssh-2.1.1-autotools.patch): 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 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5M7vxb + umask 022 + cd /builddir/build/BUILD + cd scanssh-2.1.2 + CFLAGS='-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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 BUILDSTDERR: /builddir/build/BUILD/scanssh-2.1.2/missing: Unknown `--is-lightweight' option BUILDSTDERR: Try `/builddir/build/BUILD/scanssh-2.1.2/missing --help' for more information BUILDSTDERR: configure: WARNING: 'missing' script is too old or missing + make -j4 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes 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-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking for riscv64-koji-linux-gnu-gcc... no checking for 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... no checking for strlcat... no checking for arc4random... no 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 all-am make[1]: Entering directory '/builddir/build/BUILD/scanssh-2.1.2' BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-xmalloc.c: In function 'xstrdup': BUILDSTDERR: xmalloc.c:72:2: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] BUILDSTDERR: 72 | strlcpy(cp, str, len); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | strncpy BUILDSTDERR: connecter.c: In function 'ssh_process_line': BUILDSTDERR: connecter.c:236:13: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 236 | char *p = EVBUFFER_DATA(input); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: connecter.c:253:5: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 253 | p = EVBUFFER_DATA(input); BUILDSTDERR: | ^ BUILDSTDERR: scanssh.c: In function 'generate_random': BUILDSTDERR: scanssh.c:792:19: warning: pointer targets in passing argument 2 of 'MD5Update' differ in signedness [-Wpointer-sign] BUILDSTDERR: 792 | MD5Update(&ctx, seed, strlen(seed)); BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from scanssh.c:56: BUILDSTDERR: ./compat/md5.h:20:65: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 20 | void MD5Update(struct MD5Context *context, unsigned char const *buf, unsigned len); BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~^~~ BUILDSTDERR: scanssh.c: In function 'ports_parse': BUILDSTDERR: scanssh.c:1410:2: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] BUILDSTDERR: 1410 | strlcpy(buf, argument, sizeof(buf)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | strncpy BUILDSTDERR: scanssh.c: In function 'main': BUILDSTDERR: scanssh.c:1185:9: warning: ignoring return value of 'seteuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1185 | seteuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: scanssh.c:1187:9: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 1187 | setuid(getuid()); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: socks.c: In function 'socks_bufferanalyse': BUILDSTDERR: socks.c:190:36: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from socks.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: socks.c:190:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 190 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { BUILDSTDERR: | ^ BUILDSTDERR: socks.c:196:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 196 | if (strlen(EVBUFFER_DATA(input)) == 0) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from socks.c:43: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: socks.c:211:27: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 211 | if (evbuffer_find(input, "\r\n", 2) == NULL) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from socks.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: socks.c:214:32: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 214 | if (evbuffer_find(input, socks->word, strlen(socks->word)) != NULL) { BUILDSTDERR: | ~~~~~^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from socks.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: interface.c: In function 'interface_new': BUILDSTDERR: interface.c:97:3: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] BUILDSTDERR: 97 | if ((dev = pcap_lookupdev(ebuf)) == NULL) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pcap.h:43, BUILDSTDERR: from interface.c:54: BUILDSTDERR: /usr/include/pcap/pcap.h:326:16: note: declared here BUILDSTDERR: 326 | PCAP_API char *pcap_lookupdev(char *) BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: interface.c:104:2: warning: implicit declaration of function 'strlcpy'; did you mean 'strncpy'? [-Wimplicit-function-declaration] BUILDSTDERR: 104 | strlcpy(inter->if_ent.intf_name, dev, sizeof(inter->if_ent.intf_name)); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | strncpy BUILDSTDERR: interface.c: In function 'interface_expandips': BUILDSTDERR: interface.c:254:8: warning: implicit declaration of function 'strlcat'; did you mean 'strncat'? [-Wimplicit-function-declaration] BUILDSTDERR: 254 | if (strlcat(filter, " or ", sizeof(filter)) >= sizeof(filter)) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | strncat 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 -c -o scanssh.o scanssh.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o atomicio.o atomicio.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o exclude.o exclude.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o connecter.o connecter.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o xmalloc.o xmalloc.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o interface.o interface.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o socks.o socks.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o http.o http.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o telnet.o telnet.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o strlcpy.o strlcpy.c BUILDSTDERR: gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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/rehttp.c: In function 'http_getheaders': BUILDSTDERR: http.c:94:35: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { BUILDSTDERR: | ^~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from http.c:46: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: http.c:94:12: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: 94 | while ((p = evbuffer_find(input, "\n", 1)) != NULL) { BUILDSTDERR: | ^ BUILDSTDERR: http.c:100:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] BUILDSTDERR: 100 | if (strlen(EVBUFFER_DATA(input)) == 0) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from http.c:43: BUILDSTDERR: /usr/include/string.h:384:35: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: 384 | extern size_t strlen (const char *__s) BUILDSTDERR: | ~~~~~~~~~~~~^~~ BUILDSTDERR: http.c:111:22: warning: pointer targets in passing argument 1 of 'http_response' differ in signedness [-Wpointer-sign] BUILDSTDERR: 111 | if (http_response(EVBUFFER_DATA(input)) == -1) { BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: http.c:78:21: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 78 | http_response(char *line) BUILDSTDERR: | ~~~~~~^~~~ BUILDSTDERR: http.c: In function 'http_bufferanalyse': BUILDSTDERR: http.c:140:28: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 140 | if (evbuffer_find(input, "\r\n", 2) == NULL) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from http.c:46: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: http.c: In function 'http_makeconnect': BUILDSTDERR: http.c:177:6: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 177 | "CONNECT %s:80 HTTP/1.0\r\n" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: telnet.c: In function 'telnet_makeconnect': BUILDSTDERR: telnet.c:80:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 80 | #define CCPROXY "CCProxy Telnet>" BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: telnet.c:95:27: note: in expansion of macro 'CCPROXY' BUILDSTDERR: 95 | if (evbuffer_find(input, CCPROXY, strlen(CCPROXY)) != NULL) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from telnet.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: telnet.c:81:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 81 | #define GATEWAY1 "host_name:port" BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: telnet.c:102:34: note: in expansion of macro 'GATEWAY1' BUILDSTDERR: 102 | } else if (evbuffer_find(input, GATEWAY1, strlen(GATEWAY1)) != NULL) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from telnet.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: telnet.c:82:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 82 | #define GATEWAY2 "host[:port]:" BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: telnet.c:109:34: note: in expansion of macro 'GATEWAY2' BUILDSTDERR: 109 | } else if (evbuffer_find(input, GATEWAY2, strlen(GATEWAY2)) != NULL) { BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from telnet.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: telnet.c:83:18: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 83 | #define WINGATE "WinGate>" BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: telnet.c:120:34: note: in expansion of macro 'WINGATE' BUILDSTDERR: 120 | } else if (evbuffer_find(input, WINGATE, strlen(WINGATE)) != NULL) { BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from telnet.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: telnet.c: In function 'telnet_readcb': BUILDSTDERR: telnet.c:179:8: warning: pointer targets in passing argument 3 of 'printres' differ in signedness [-Wpointer-sign] BUILDSTDERR: 179 | EVBUFFER_DATA(input)); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | unsigned char * BUILDSTDERR: In file included from telnet.c:50: BUILDSTDERR: scanssh.h:134:44: note: expected 'char *' but argument is of type 'unsigned char *' BUILDSTDERR: 134 | void printres(struct argument *, uint16_t, char *); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: telnet.c:187:33: warning: pointer targets in passing argument 2 of 'evbuffer_find' differ in signedness [-Wpointer-sign] BUILDSTDERR: 187 | if (evbuffer_find(input, state->connect_wait, BUILDSTDERR: | ~~~~~^~~~~~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | char * BUILDSTDERR: In file included from /usr/include/event.h:72, BUILDSTDERR: from telnet.c:47: BUILDSTDERR: /usr/include/event2/buffer_compat.h:107:16: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: 107 | unsigned char *evbuffer_find(struct evbuffer *buffer, const unsigned char *what, size_t len); BUILDSTDERR: | ^~~~~~~~~~~~~ BUILDSTDERR: arc4random.c: In function 'arc4random': BUILDSTDERR: arc4random.c:19:11: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] BUILDSTDERR: 19 | srandom(time(NULL)); BUILDSTDERR: | ^~~~ BUILDSTDERR: md5.c: In function 'MD5Update': BUILDSTDERR: md5.c:104:4: warning: implicit declaration of function 'memcpy' [-Wimplicit-function-declaration] BUILDSTDERR: 104 | memcpy(p, buf, len); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:104:4: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: md5.c:33:1: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: 32 | #include "md5.h" BUILDSTDERR: +++ |+#include BUILDSTDERR: 33 | BUILDSTDERR: md5.c:107:3: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: 107 | memcpy(p, buf, t); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:107:3: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c:116:3: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: 116 | memcpy(ctx->in, buf, 64); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:116:3: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c:124:2: warning: incompatible implicit declaration of built-in function 'memcpy' BUILDSTDERR: 124 | memcpy(ctx->in, buf, len); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:124:2: note: include '' or provide a declaration of 'memcpy' BUILDSTDERR: md5.c: In function 'MD5Final': BUILDSTDERR: md5.c:153:3: warning: implicit declaration of function 'memset' [-Wimplicit-function-declaration] BUILDSTDERR: 153 | memset(p, 0, count); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:153:3: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: md5.c:153:3: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:160:3: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: 160 | memset(p, 0, count-8); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:160:3: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:172:2: warning: incompatible implicit declaration of built-in function 'memset' BUILDSTDERR: 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: | ^~~~~~ BUILDSTDERR: md5.c:172:2: note: include '' or provide a declaration of 'memset' BUILDSTDERR: md5.c:172:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] BUILDSTDERR: 172 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 dhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -c -o strlcat.o strlcat.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o arc4random.o arc4random.c gcc -DHAVE_CONFIG_H -I. -I./ -I./compat -I/usr/include -I/usr/include -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 -c -o md5.o md5.c gcc -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 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o scanssh scanssh.o atomicio.o exclude.o connecter.o xmalloc.o interface.o socks.o http.o telnet.o strlcpy.o strlcat.o arc4random.o md5.o -L/usr/lib -lpcap -L/usr/lib -levent -ldnet -ldnet -L/usr/lib -levent make[1]: Leaving directory '/builddir/build/BUILD/scanssh-2.1.2' Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Yqe7md + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 + cd scanssh-2.1.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 'INSTALL=/usr/bin/install -p' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.1.2-4.fc31 --unique-debug-suffix -2.1.2-4.fc31.riscv64 --unique-debug-src-base scanssh-2.1.2-4.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/scanssh-2.1.2 BUILDSTDERR: 241 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs make[1]: Entering directory '/builddir/build/BUILD/scanssh-2.1.2' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/bin' /usr/bin/install -p scanssh '/builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/bin' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/share/man/man1' /usr/bin/install -p -m 644 scanssh.1 '/builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/share/man/man1' make[1]: Leaving directory '/builddir/build/BUILD/scanssh-2.1.2' explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/bin/scanssh extracting debug info from /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/bin/scanssh original debug info size: 248kB, size after compression: 228kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: scanssh-2.1.2-4.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.1NVGH9 + umask 022 + cd /builddir/build/BUILD + cd scanssh-2.1.2 + DOCDIR=/builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/share/doc/scanssh + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/share/doc/scanssh + cp -pr README.md /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64/usr/share/doc/scanssh + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: scanssh = 2.1.2-4.fc31 scanssh(riscv-64) = 2.1.2-4.fc31 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) libdnet.so.1()(64bit) libevent-2.1.so.6()(64bit) libpcap.so.1()(64bit) rtld(GNU_HASH) Processing files: scanssh-debugsource-2.1.2-4.fc31.riscv64 Provides: scanssh-debugsource = 2.1.2-4.fc31 scanssh-debugsource(riscv-64) = 2.1.2-4.fc31 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-4.fc31.riscv64 Provides: debuginfo(build-id) = 0af338142c3ab3027ac98485eb9cf420d3ce1003 scanssh-debuginfo = 2.1.2-4.fc31 scanssh-debuginfo(riscv-64) = 2.1.2-4.fc31 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-4.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 Wrote: /builddir/build/RPMS/scanssh-2.1.2-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/scanssh-debugsource-2.1.2-4.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/scanssh-debuginfo-2.1.2-4.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RyEwlb + umask 022 + cd /builddir/build/BUILD + cd scanssh-2.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/scanssh-2.1.2-4.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0