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/nbtscan.spec'], chrootPath='/var/lib/mock/f31-build-51474-27496/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/nbtscan.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=1548979200 Wrote: /builddir/build/SRPMS/nbtscan-1.5.1-21.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/nbtscan.spec'], chrootPath='/var/lib/mock/f31-build-51474-27496/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/nbtscan.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=1548979200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nmw7Bg + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf nbtscan-1.5.1a + /usr/bin/gzip -dc /builddir/build/SOURCES/nbtscan-1.5.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd nbtscan-1.5.1a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (nbtscan-1.5.1-makefile.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Patch #0 (nbtscan-1.5.1-makefile.patch): patching file Makefile.in Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AzAeUi + umask 022 + cd /builddir/build/BUILD + cd nbtscan-1.5.1a + 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 + make -j4 '/usr/lib/rpm/redhat/config.guess' -> './config.guess' '/usr/lib/rpm/redhat/config.sub' -> './config.sub' checking for riscv64-koji-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 a BSD-compatible install... /usr/bin/install -c checking for socket in -lxnet... no checking for socket in -lsocket... no checking for inet_aton in -lresolv... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... 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 sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for stdint.h... (cached) yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking whether time.h and sys/time.h may both be included... yes checking for snprintf... yes checking for inet_aton... yes checking for socket... yes checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu checking target system type... riscv64-koji-linux-gnu configure: creating ./config.status config.status: creating Makefile 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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c nbtscan.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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c statusq.c BUILDSTDERR: 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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t statusq.c:2:1: warning: "/*" within comment [-Wcomment] BUILDSTDERR: 2 | /* which contains the following license: * BUILDSTDERR: | BUILDSTDERR: list.c: In function 'in_list': BUILDSTDERR: list.c:102:13: warning: unused variable 'cmp' [-Wunused-variable] BUILDSTDERR: 102 | int cmp; BUILDSTDERR: | ^~~ BUILDSTDERR: list.c: In function 'compare': BUILDSTDERR: list.c:53:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 53 | }; BUILDSTDERR: | ^ BUILDSTDERR: list.c: In function 'insert': BUILDSTDERR: list.c:98:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 98 | }; BUILDSTDERR: | ^ BUILDSTDERR: statusq.c: In function 'name_mangle': BUILDSTDERR: statusq.c:63:7: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration] BUILDSTDERR: 63 | c = toupper( buf[i] ); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: range.c: In function 'is_range1': BUILDSTDERR: range.c:45:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 45 | if(separator=(char*)strchr(string,'/')) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: range.c: In function 'is_range2': BUILDSTDERR: range.c:101:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 101 | if(separator = (char*)strchr(ip,'-')) { BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: range.c: In function 'print_range': BUILDSTDERR: range.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 140 | }; BUILDSTDERR: | ^ BUILDSTDERR: statusq.c: At top level: BUILDSTDERR: statusq.c:331:27: warning: missing braces around initializer [-Wmissing-braces] BUILDSTDERR: 331 | nb_service_t services[] = { BUILDSTDERR: | ^ BUILDSTDERR: 332 | "__MSBROWSE__", 0x01, 0, "Master Browser", BUILDSTDERR: | { } BUILDSTDERR: 333 | "INet~Services", 0x1C, 0, "IIS", BUILDSTDERR: | { } BUILDSTDERR: 334 | "IS~", 0x00, 1, "IIS", BUILDSTDERR: | { } BUILDSTDERR: 335 | "", 0x00, 1, "Workstation Service", BUILDSTDERR: | { } BUILDSTDERR: 336 | "", 0x01, 1, "Messenger Service", BUILDSTDERR: | { } BUILDSTDERR: 337 | "", 0x03, 1, "Messenger Service", BUILDSTDERR: | { } BUILDSTDERR: 338 | "", 0x06, 1, "RAS Server Service", BUILDSTDERR: | { } BUILDSTDERR: 339 | "", 0x1F, 1, "NetDDE Service", BUILDSTDERR: | { } BUILDSTDERR: 340 | "", 0x20, 1, "File Server Service", BUILDSTDERR: | { } BUILDSTDERR: 341 | "", 0x21, 1, "RAS Client Service", BUILDSTDERR: | { } BUILDSTDERR: 342 | "", 0x22, 1, "Microsoft Exchange Interchange(MSMail Connector)", BUILDSTDERR: | { } BUILDSTDERR: 343 | "", 0x23, 1, "Microsoft Exchange Store", BUILDSTDERR: | { } BUILDSTDERR: 344 | "", 0x24, 1, "Microsoft Exchange Directory", BUILDSTDERR: | { } BUILDSTDERR: 345 | "", 0x30, 1, "Modem Sharing Server Service", BUILDSTDERR: | { } BUILDSTDERR: 346 | "", 0x31, 1, "Modem Sharing Client Service", BUILDSTDERR: | { } BUILDSTDERR: 347 | "", 0x43, 1, "SMS Clients Remote Control", BUILDSTDERR: | { } BUILDSTDERR: 348 | "", 0x44, 1, "SMS Administrators Remote Control Tool", BUILDSTDERR: | { } BUILDSTDERR: 349 | "", 0x45, 1, "SMS Clients Remote Chat", BUILDSTDERR: | { } BUILDSTDERR: 350 | "", 0x46, 1, "SMS Clients Remote Transfer", BUILDSTDERR: | { } BUILDSTDERR: 351 | "", 0x4C, 1, "DEC Pathworks TCPIP service on Windows NT", BUILDSTDERR: | { } BUILDSTDERR: 352 | "", 0x52, 1, "DEC Pathworks TCPIP service on Windows NT", BUILDSTDERR: | { } BUILDSTDERR: 353 | "", 0x87, 1, "Microsoft Exchange MTA", BUILDSTDERR: | { } BUILDSTDERR: 354 | "", 0x6A, 1, "Microsoft Exchange IMC", BUILDSTDERR: | { } BUILDSTDERR: 355 | "", 0xBE, 1, "Network Monitor Agent", BUILDSTDERR: | { } BUILDSTDERR: 356 | "", 0xBF, 1, "Network Monitor Application", BUILDSTDERR: | { } BUILDSTDERR: 357 | "", 0x03, 1, "Messenger Service", BUILDSTDERR: | { } BUILDSTDERR: 358 | "", 0x00, 0, "Domain Name", BUILDSTDERR: | { } BUILDSTDERR: 359 | "", 0x1B, 1, "Domain Master Browser", BUILDSTDERR: | { } BUILDSTDERR: 360 | "", 0x1C, 0, "Domain Controllers", BUILDSTDERR: | { } BUILDSTDERR: 361 | "", 0x1D, 1, "Master Browser", BUILDSTDERR: | { } BUILDSTDERR: 362 | "", 0x1E, 0, "Browser Service Elections", BUILDSTDERR: | { } BUILDSTDERR: 363 | "", 0x2B, 1, "Lotus Notes Server Service", BUILDSTDERR: | { } BUILDSTDERR: 364 | "IRISMULTICAST", 0x2F, 0, "Lotus Notes", BUILDSTDERR: | { } BUILDSTDERR: 365 | "IRISNAMESERVER", 0x33, 0, "Lotus Notes", BUILDSTDERR: | { } BUILDSTDERR: 366 | "Forte_$ND800ZA", 0x20, 1, "DCA IrmaLan Gateway Server Service" BUILDSTDERR: | { BUILDSTDERR: 367 | }; BUILDSTDERR: | } BUILDSTDERR: statusq.c: In function 'send_query': BUILDSTDERR: statusq.c:124:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 124 | }; BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] BUILDSTDERR: 19 | print_banner() { BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: nbtscan.c: In function 'd_print_hostinfo': BUILDSTDERR: nbtscan.c:95:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 95 | printf("Transaction ID: 0x%04x (%1$d)\n", hostinfo->header->transaction_id); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:96:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 96 | printf("Flags: 0x%04x (%1$d)\n", hostinfo->header->flags); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:97:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 97 | printf("Question count: 0x%04x (%1$d)\n", hostinfo->header->question_count); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:98:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 98 | printf("Answer count: 0x%04x (%1$d)\n", hostinfo->header->answer_count); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:99:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 99 | printf("Name service count: 0x%04x (%1$d)\n", hostinfo->header->name_service_count); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:100:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 100 | printf("Additional record count: 0x%04x (%1$d)\n", hostinfo->header->additional_record_count); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:102:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 102 | printf("Question type: 0x%04x (%1$d)\n", hostinfo->header->question_type); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:103:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 103 | printf("Question class: 0x%04x (%1$d)\n", hostinfo->header->question_class); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:104:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 104 | printf("Time to live: 0x%08x (%1$d)\n", hostinfo->header->ttl); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:105:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 105 | printf("Rdata length: 0x%04x (%1$d)\n", hostinfo->header->rdata_length); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:106:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 106 | printf("Number of names: 0x%02x (%1$d)\n", hostinfo->header->number_of_names); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:124:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 124 | printf("Version major: 0x%02x (%1$d)\n", hostinfo->footer->version_major); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:125:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 125 | printf("Version minor: 0x%02x (%1$d)\n", hostinfo->footer->version_minor); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:126:5: warning: $ operand number used after format without operand number [-Wformat=] BUILDSTDERR: 126 | printf("Duration: 0x%04x (%1$d)\n", hostinfo->footer->duration); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:127:34: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 127 | printf("FRMRs Received: 0x%04 (%1$d)\n", hostinfo->footer->frmps_received); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:128:37: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 128 | printf("FRMRs Transmitted: 0x%04 (%1$d)\n", hostinfo->footer->frmps_transmitted); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:129:41: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 129 | printf("IFrame Receive errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_receive_errors); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:130:35: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 130 | printf("Transmit aborts: 0x%04 (%1$d)\n", hostinfo->footer->transmit_aborts); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:131:31: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 131 | printf("Transmitted: 0x%08 (%1$d)\n", hostinfo->footer->transmitted); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:132:28: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 132 | printf("Received: 0x%08 (%1$d)\n", hostinfo->footer->received); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:133:42: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 133 | printf("IFrame transmit errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_transmit_errors); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:134:38: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 134 | printf("No receive buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_receive_buffer); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:135:31: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 135 | printf("tl timeouts: 0x%04 (%1$d)\n", hostinfo->footer->tl_timeouts); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:136:31: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 136 | printf("ti timeouts: 0x%04 (%1$d)\n", hostinfo->footer->ti_timeouts); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:137:29: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 137 | printf("Free NCBS: 0x%04 (%1$d)\n", hostinfo->footer->free_ncbs); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:138:24: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 138 | printf("NCBS: 0x%04 (%1$d)\n", hostinfo->footer->ncbs); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:139:28: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 139 | printf("Max NCBS: 0x%04 (%1$d)\n", hostinfo->footer->max_ncbs); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:140:39: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 140 | printf("No transmit buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_transmit_buffers); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:141:32: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 141 | printf("Max datagram: 0x%04 (%1$d)\n", hostinfo->footer->max_datagram); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:142:36: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 142 | printf("Pending sessions: 0x%04 (%1$d)\n", hostinfo->footer->pending_sessions); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:143:32: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 143 | printf("Max sessions: 0x%04 (%1$d)\n", hostinfo->footer->max_sessions); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:144:35: warning: unknown conversion type character ' ' in format [-Wformat=] BUILDSTDERR: 144 | printf("Packet sessions: 0x%04 (%1$d)\n", hostinfo->footer->packet_sessions); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c: In function 'v_print_hostinfo': BUILDSTDERR: nbtscan.c:171:31: warning: implicit declaration of function 'getnbservicename' [-Wimplicit-function-declaration] BUILDSTDERR: 171 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: nbtscan.c:171:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 171 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:179:24: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 179 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:153:9: warning: unused variable 'sname' [-Wunused-variable] BUILDSTDERR: 153 | char* sname; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c: In function 'l_print_hostinfo': BUILDSTDERR: nbtscan.c:258:7: warning: unused variable 'is_server' [-Wunused-variable] BUILDSTDERR: 258 | int is_server=0; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: nbtscan.c: In function 'main': BUILDSTDERR: nbtscan.c:321:16: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] BUILDSTDERR: 321 | while ((ch = getopt(argc, argv, "vrdelqhm:s:t:b:f:")) != -1) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: nbtscan.c:389:5: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 389 | usage; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c:394:5: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 394 | usage; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c:399:5: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 399 | usage; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c:404:5: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 404 | usage; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c:409:5: warning: statement with no effect [-Wunused-value] BUILDSTDERR: 409 | usage; BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c:519:44: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] BUILDSTDERR: 519 | (struct sockaddr*)&dest_sockaddr, &addr_size)) <= 0 ) { BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: | | BUILDSTDERR: | int * BUILDSTDERR: In file included from /usr/include/sys/socket.h:269, BUILDSTDERR: from nbtscan.c:2: BUILDSTDERR: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' BUILDSTDERR: 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) BUILDSTDERR: | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ BUILDSTDERR: nbtscan.c:525:35: warning: implicit declaration of function 'parse_response' [-Wimplicit-function-declaration] BUILDSTDERR: 525 | hostinfo = (struct nb_host_info*)parse_response(buff, size); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: nbtscan.c:525:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] BUILDSTDERR: 525 | hostinfo = (struct nb_host_info*)parse_response(buff, size); BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c:572:12: warning: implicit declaration of function 'in_list' [-Wimplicit-function-declaration] BUILDSTDERR: 572 | if(!in_list(scanned, ntohl(next_in_addr->s_addr))) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: nbtscan.c:573:10: warning: implicit declaration of function 'send_query' [-Wimplicit-function-declaration] BUILDSTDERR: 573 | send_query(sock, *next_in_addr, rtt_base); BUILDSTDERR: | ^~~~~~~~~~ BUILDSTDERR: nbtscan.c:619:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] BUILDSTDERR: 619 | sleep((transmit_started.tv_sec+rto)-now.tv_sec); BUILDSTDERR: | ^~~~~ BUILDSTDERR: nbtscan.c:302:7: warning: unused variable 'sel' [-Wunused-variable] BUILDSTDERR: 302 | int sel, size; BUILDSTDERR: | ^~~ BUILDSTDERR: nbtscan.c: In function 'print_banner': BUILDSTDERR: nbtscan.c:23:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 23 | } BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c: In function 'print_header': BUILDSTDERR: nbtscan.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 84 | }; BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c: In function 'd_print_hostinfo': BUILDSTDERR: nbtscan.c:146:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 146 | }; BUILDSTDERR: | ^ BUILDSTDERR: nbtscan.c: In function 'l_print_hostinfo': BUILDSTDERR: nbtscan.c:279:1: warning: control reaches end of non-void function [-Wreturn-type] BUILDSTDERR: 279 | } BUILDSTDERR: | ^ BUILDSTDERR: In file included from /usr/include/string.h:494, BUILDSTDERR: from statusq.c:31: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'parse_response' at statusq.c:193:2: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound 34 equals destination size [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: nbtscan.c: In function 'd_print_hostinfo': BUILDSTDERR: nbtscan.c:114:11: warning: array subscript 16 is above array bounds of 'char[16]' [-Warray-bounds] BUILDSTDERR: 114 | name[16]=0; BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: nbtscan.c:89:8: note: while referencing 'name' BUILDSTDERR: 89 | char name[16]; BUILDSTDERR: | ^~~~ BUILDSTDERR: nbtscan.c: In function 'v_print_hostinfo': BUILDSTDERR: nbtscan.c:167:11: warning: array subscript 16 is above array bounds of 'char[16]' [-Warray-bounds] BUILDSTDERR: 167 | name[16]=0; BUILDSTDERR: | ~~~~^~~~ BUILDSTDERR: nbtscan.c:152:8: note: while referencing 'name' BUILDSTDERR: 152 | char name[16]; BUILDSTDERR: | ^~~~ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c range.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 -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_LIBRESOLV=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_STDINT_H=1 -Dmy_uint8_t=uint8_t -Dmy_uint16_t=uint16_t -Dmy_uint32_t=uint32_t -DTIME_WITH_SYS_TIME=1 -DHAVE_SNPRINTF=1 -DHAVE_INET_ATON=1 -DHAVE_SOCKET=1 -DUNIX=1 -c list.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 -o nbtscan nbtscan.o statusq.o range.o list.o -lresolv Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.tHrokj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 + cd nbtscan-1.5.1a + rm -rf /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 + autoreconf -vif BUILDSTDERR: autoreconf: Entering directory `.' BUILDSTDERR: autoreconf: configure.in: not using Gettext BUILDSTDERR: autoreconf: running: aclocal --force BUILDSTDERR: aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' BUILDSTDERR: autoreconf: configure.in: tracing BUILDSTDERR: autoreconf: configure.in: not using Libtool BUILDSTDERR: autoreconf: running: /usr/bin/autoconf --force BUILDSTDERR: autoreconf: configure.in: not using Autoheader BUILDSTDERR: autoreconf: configure.in: not using Automake BUILDSTDERR: autoreconf: Leaving directory `.' + make install DESTDIR=/builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.5.1-21.fc31 --unique-debug-suffix -1.5.1-21.fc31.riscv64 --unique-debug-src-base nbtscan-1.5.1-21.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/nbtscan-1.5.1a BUILDSTDERR: 92 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 /usr/bin/install -c -D nbtscan /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/bin/nbtscan explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/bin/nbtscan extracting debug info from /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/bin/nbtscan original debug info size: 136kB, size after compression: 132kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Processing files: nbtscan-1.5.1-21.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4YmMki + umask 022 + cd /builddir/build/BUILD + cd nbtscan-1.5.1a + DOCDIR=/builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/share/doc/nbtscan + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/share/doc/nbtscan + cp -pr ChangeLog /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/share/doc/nbtscan + cp -pr COPYING /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/share/doc/nbtscan + cp -pr README /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64/usr/share/doc/nbtscan + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: nbtscan = 1.5.1-21.fc31 nbtscan(riscv-64) = 1.5.1-21.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) libresolv.so.2()(64bit) rtld(GNU_HASH) Processing files: nbtscan-debugsource-1.5.1-21.fc31.riscv64 Provides: nbtscan-debugsource = 1.5.1-21.fc31 nbtscan-debugsource(riscv-64) = 1.5.1-21.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: nbtscan-debuginfo-1.5.1-21.fc31.riscv64 Provides: debuginfo(build-id) = c4bea9ee4867d7e686c57e7c45783f84e19e262e nbtscan-debuginfo = 1.5.1-21.fc31 nbtscan-debuginfo(riscv-64) = 1.5.1-21.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: nbtscan-debugsource(riscv-64) = 1.5.1-21.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 Wrote: /builddir/build/RPMS/nbtscan-1.5.1-21.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nbtscan-debugsource-1.5.1-21.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/nbtscan-debuginfo-1.5.1-21.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.vn6kph + umask 022 + cd /builddir/build/BUILD + cd nbtscan-1.5.1a + /usr/bin/rm -rf /builddir/build/BUILDROOT/nbtscan-1.5.1-21.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0