<86>Nov 20 00:22:47 userdel[2920367]: delete user 'rooter' <86>Nov 20 00:22:47 userdel[2920367]: removed group 'rooter' owned by 'rooter' <86>Nov 20 00:22:47 userdel[2920367]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 20 00:22:47 groupadd[2920418]: group added to /etc/group: name=rooter, GID=1847 <86>Nov 20 00:22:47 groupadd[2920418]: group added to /etc/gshadow: name=rooter <86>Nov 20 00:22:47 groupadd[2920418]: new group: name=rooter, GID=1847 <86>Nov 20 00:22:47 useradd[2920459]: new user: name=rooter, UID=1847, GID=1847, home=/root, shell=/bin/bash, from=none <86>Nov 20 00:22:47 userdel[2920515]: delete user 'builder' <86>Nov 20 00:22:47 userdel[2920515]: removed group 'builder' owned by 'builder' <86>Nov 20 00:22:47 userdel[2920515]: removed shadow group 'builder' owned by 'builder' <86>Nov 20 00:22:48 groupadd[2920558]: group added to /etc/group: name=builder, GID=1848 <86>Nov 20 00:22:48 groupadd[2920558]: group added to /etc/gshadow: name=builder <86>Nov 20 00:22:48 groupadd[2920558]: new group: name=builder, GID=1848 <86>Nov 20 00:22:48 useradd[2920605]: new user: name=builder, UID=1848, GID=1848, home=/usr/src, shell=/bin/bash, from=none Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/nbtscan-1.5.1-alt4.nosrc.rpm (w1.gzdio) Installing nbtscan-1.5.1-alt4.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.21788 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf nbtscan-1.5.1a + echo 'Source #0 (nbtscan-1.5.1.tar.gz):' Source #0 (nbtscan-1.5.1.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/nbtscan-1.5.1.tar.gz + /bin/tar -xf - + cd nbtscan-1.5.1a + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (nbtscan-1.5.1a-alt-warning.patch):' Patch #0 (nbtscan-1.5.1a-alt-warning.patch): + /usr/bin/patch -p1 patching file statusq.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.21788 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd nbtscan-1.5.1a + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for a BSD-compatible install... /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... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E x86_64-alt-linux-gcc -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E checking for ANSI C header files... egrep: warning: egrep is obsolescent; using grep -E 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... egrep: warning: egrep is obsolescent; using grep -E 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 x86_64-alt-linux-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... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking target system type... x86_64-alt-linux-gnu configure: creating ./config.status config.status: creating Makefile + make -j16 make: Entering directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 list.c: In function 'in_list': list.c:102:13: warning: unused variable 'cmp' [-Wunused-variable] 102 | int cmp; | ^~~ list.c: In function 'compare': list.c:53:1: warning: control reaches end of non-void function [-Wreturn-type] 53 | }; | ^ list.c: In function 'insert': list.c:98:1: warning: control reaches end of non-void function [-Wreturn-type] 98 | }; | ^ make: Leaving directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' make: Entering directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 range.c range.c: In function 'is_range1': range.c:45:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 45 | if(separator=(char*)strchr(string,'/')) { | ^~~~~~~~~ range.c: In function 'is_range2': range.c:101:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 101 | if(separator = (char*)strchr(ip,'-')) { | ^~~~~~~~~ range.c: In function 'print_range': range.c:140:1: warning: control reaches end of non-void function [-Wreturn-type] 140 | }; | ^ make: Leaving directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' make: Entering directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 statusq.c:2:1: warning: "/*" within comment [-Wcomment] 2 | /* which contains the following license: * | statusq.c:332:27: warning: missing braces around initializer [-Wmissing-braces] 332 | nb_service_t services[] = { | ^ 333 | "__MSBROWSE__", 0x01, 0, "Master Browser", | { } 334 | "INet~Services", 0x1C, 0, "IIS", | { } 335 | "IS~", 0x00, 1, "IIS", | { } 336 | "", 0x00, 1, "Workstation Service", | { } 337 | "", 0x01, 1, "Messenger Service", | { } 338 | "", 0x03, 1, "Messenger Service", | { } 339 | "", 0x06, 1, "RAS Server Service", | { } 340 | "", 0x1F, 1, "NetDDE Service", | { } 341 | "", 0x20, 1, "File Server Service", | { } 342 | "", 0x21, 1, "RAS Client Service", | { } 343 | "", 0x22, 1, "Microsoft Exchange Interchange(MSMail Connector)", | { } 344 | "", 0x23, 1, "Microsoft Exchange Store", | { } 345 | "", 0x24, 1, "Microsoft Exchange Directory", | { } 346 | "", 0x30, 1, "Modem Sharing Server Service", | { } 347 | "", 0x31, 1, "Modem Sharing Client Service", | { } 348 | "", 0x43, 1, "SMS Clients Remote Control", | { } 349 | "", 0x44, 1, "SMS Administrators Remote Control Tool", | { } 350 | "", 0x45, 1, "SMS Clients Remote Chat", | { } 351 | "", 0x46, 1, "SMS Clients Remote Transfer", | { } 352 | "", 0x4C, 1, "DEC Pathworks TCPIP service on Windows NT", | { } 353 | "", 0x52, 1, "DEC Pathworks TCPIP service on Windows NT", | { } 354 | "", 0x87, 1, "Microsoft Exchange MTA", | { } 355 | "", 0x6A, 1, "Microsoft Exchange IMC", | { } 356 | "", 0xBE, 1, "Network Monitor Agent", | { } 357 | "", 0xBF, 1, "Network Monitor Application", | { } 358 | "", 0x03, 1, "Messenger Service", | { } 359 | "", 0x00, 0, "Domain Name", | { } 360 | "", 0x1B, 1, "Domain Master Browser", | { } 361 | "", 0x1C, 0, "Domain Controllers", | { } 362 | "", 0x1D, 1, "Master Browser", | { } 363 | "", 0x1E, 0, "Browser Service Elections", | { } 364 | "", 0x2B, 1, "Lotus Notes Server Service", | { } 365 | "IRISMULTICAST", 0x2F, 0, "Lotus Notes", | { } 366 | "IRISNAMESERVER", 0x33, 0, "Lotus Notes", | { } 367 | "Forte_$ND800ZA", 0x20, 1, "DCA IrmaLan Gateway Server Service" | { 368 | }; | } statusq.c: In function 'send_query': statusq.c:125:1: warning: control reaches end of non-void function [-Wreturn-type] 125 | }; | ^ make: Leaving directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' make: Entering directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -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 nbtscan.c:19:1: warning: return type defaults to 'int' [-Wimplicit-int] 19 | print_banner() { | ^~~~~~~~~~~~ nbtscan.c: In function 'd_print_hostinfo': nbtscan.c:95:5: warning: '$'operand number used after format without operand number [-Wformat=] 95 | printf("Transaction ID: 0x%04x (%1$d)\n", hostinfo->header->transaction_id); | ^~~~~~ nbtscan.c:96:5: warning: '$'operand number used after format without operand number [-Wformat=] 96 | printf("Flags: 0x%04x (%1$d)\n", hostinfo->header->flags); | ^~~~~~ nbtscan.c:97:5: warning: '$'operand number used after format without operand number [-Wformat=] 97 | printf("Question count: 0x%04x (%1$d)\n", hostinfo->header->question_count); | ^~~~~~ nbtscan.c:98:5: warning: '$'operand number used after format without operand number [-Wformat=] 98 | printf("Answer count: 0x%04x (%1$d)\n", hostinfo->header->answer_count); | ^~~~~~ nbtscan.c:99:5: warning: '$'operand number used after format without operand number [-Wformat=] 99 | printf("Name service count: 0x%04x (%1$d)\n", hostinfo->header->name_service_count); | ^~~~~~ nbtscan.c:100:5: warning: '$'operand number used after format without operand number [-Wformat=] 100 | printf("Additional record count: 0x%04x (%1$d)\n", hostinfo->header->additional_record_count); | ^~~~~~ nbtscan.c:102:5: warning: '$'operand number used after format without operand number [-Wformat=] 102 | printf("Question type: 0x%04x (%1$d)\n", hostinfo->header->question_type); | ^~~~~~ nbtscan.c:103:5: warning: '$'operand number used after format without operand number [-Wformat=] 103 | printf("Question class: 0x%04x (%1$d)\n", hostinfo->header->question_class); | ^~~~~~ nbtscan.c:104:5: warning: '$'operand number used after format without operand number [-Wformat=] 104 | printf("Time to live: 0x%08x (%1$d)\n", hostinfo->header->ttl); | ^~~~~~ nbtscan.c:105:5: warning: '$'operand number used after format without operand number [-Wformat=] 105 | printf("Rdata length: 0x%04x (%1$d)\n", hostinfo->header->rdata_length); | ^~~~~~ nbtscan.c:106:5: warning: '$'operand number used after format without operand number [-Wformat=] 106 | printf("Number of names: 0x%02x (%1$d)\n", hostinfo->header->number_of_names); | ^~~~~~ nbtscan.c:124:5: warning: '$'operand number used after format without operand number [-Wformat=] 124 | printf("Version major: 0x%02x (%1$d)\n", hostinfo->footer->version_major); | ^~~~~~ nbtscan.c:125:5: warning: '$'operand number used after format without operand number [-Wformat=] 125 | printf("Version minor: 0x%02x (%1$d)\n", hostinfo->footer->version_minor); | ^~~~~~ nbtscan.c:126:5: warning: '$'operand number used after format without operand number [-Wformat=] 126 | printf("Duration: 0x%04x (%1$d)\n", hostinfo->footer->duration); | ^~~~~~ nbtscan.c:127:34: warning: unknown conversion type character ' ' in format [-Wformat=] 127 | printf("FRMRs Received: 0x%04 (%1$d)\n", hostinfo->footer->frmps_received); | ^ nbtscan.c:128:37: warning: unknown conversion type character ' ' in format [-Wformat=] 128 | printf("FRMRs Transmitted: 0x%04 (%1$d)\n", hostinfo->footer->frmps_transmitted); | ^ nbtscan.c:129:41: warning: unknown conversion type character ' ' in format [-Wformat=] 129 | printf("IFrame Receive errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_receive_errors); | ^ nbtscan.c:130:35: warning: unknown conversion type character ' ' in format [-Wformat=] 130 | printf("Transmit aborts: 0x%04 (%1$d)\n", hostinfo->footer->transmit_aborts); | ^ nbtscan.c:131:31: warning: unknown conversion type character ' ' in format [-Wformat=] 131 | printf("Transmitted: 0x%08 (%1$d)\n", hostinfo->footer->transmitted); | ^ nbtscan.c:132:28: warning: unknown conversion type character ' ' in format [-Wformat=] 132 | printf("Received: 0x%08 (%1$d)\n", hostinfo->footer->received); | ^ nbtscan.c:133:42: warning: unknown conversion type character ' ' in format [-Wformat=] 133 | printf("IFrame transmit errors: 0x%04 (%1$d)\n", hostinfo->footer->iframe_transmit_errors); | ^ nbtscan.c:134:38: warning: unknown conversion type character ' ' in format [-Wformat=] 134 | printf("No receive buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_receive_buffer); | ^ nbtscan.c:135:31: warning: unknown conversion type character ' ' in format [-Wformat=] 135 | printf("tl timeouts: 0x%04 (%1$d)\n", hostinfo->footer->tl_timeouts); | ^ nbtscan.c:136:31: warning: unknown conversion type character ' ' in format [-Wformat=] 136 | printf("ti timeouts: 0x%04 (%1$d)\n", hostinfo->footer->ti_timeouts); | ^ nbtscan.c:137:29: warning: unknown conversion type character ' ' in format [-Wformat=] 137 | printf("Free NCBS: 0x%04 (%1$d)\n", hostinfo->footer->free_ncbs); | ^ nbtscan.c:138:24: warning: unknown conversion type character ' ' in format [-Wformat=] 138 | printf("NCBS: 0x%04 (%1$d)\n", hostinfo->footer->ncbs); | ^ nbtscan.c:139:28: warning: unknown conversion type character ' ' in format [-Wformat=] 139 | printf("Max NCBS: 0x%04 (%1$d)\n", hostinfo->footer->max_ncbs); | ^ nbtscan.c:140:39: warning: unknown conversion type character ' ' in format [-Wformat=] 140 | printf("No transmit buffers: 0x%04 (%1$d)\n", hostinfo->footer->no_transmit_buffers); | ^ nbtscan.c:141:32: warning: unknown conversion type character ' ' in format [-Wformat=] 141 | printf("Max datagram: 0x%04 (%1$d)\n", hostinfo->footer->max_datagram); | ^ nbtscan.c:142:36: warning: unknown conversion type character ' ' in format [-Wformat=] 142 | printf("Pending sessions: 0x%04 (%1$d)\n", hostinfo->footer->pending_sessions); | ^ nbtscan.c:143:32: warning: unknown conversion type character ' ' in format [-Wformat=] 143 | printf("Max sessions: 0x%04 (%1$d)\n", hostinfo->footer->max_sessions); | ^ nbtscan.c:144:35: warning: unknown conversion type character ' ' in format [-Wformat=] 144 | printf("Packet sessions: 0x%04 (%1$d)\n", hostinfo->footer->packet_sessions); | ^ nbtscan.c: In function 'v_print_hostinfo': nbtscan.c:171:38: warning: implicit declaration of function 'getnbservicename' [-Wimplicit-function-declaration] 171 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); | ^~~~~~~~~~~~~~~~ nbtscan.c:171:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 171 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); | ^ nbtscan.c:179:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 179 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); | ^ nbtscan.c:153:9: warning: unused variable 'sname' [-Wunused-variable] 153 | char* sname; | ^~~~~ nbtscan.c: In function 'l_print_hostinfo': nbtscan.c:258:7: warning: unused variable 'is_server' [-Wunused-variable] 258 | int is_server=0; | ^~~~~~~~~ nbtscan.c: In function 'main': nbtscan.c:321:16: warning: implicit declaration of function 'getopt' [-Wimplicit-function-declaration] 321 | while ((ch = getopt(argc, argv, "vrdelqhm:s:t:b:f:")) != -1) | ^~~~~~ nbtscan.c:389:5: warning: statement with no effect [-Wunused-value] 389 | usage; | ^~~~~ nbtscan.c:394:5: warning: statement with no effect [-Wunused-value] 394 | usage; | ^~~~~ nbtscan.c:399:5: warning: statement with no effect [-Wunused-value] 399 | usage; | ^~~~~ nbtscan.c:404:5: warning: statement with no effect [-Wunused-value] 404 | usage; | ^~~~~ nbtscan.c:409:5: warning: statement with no effect [-Wunused-value] 409 | usage; | ^~~~~ nbtscan.c:519:65: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 519 | (struct sockaddr*)&dest_sockaddr, &addr_size)) <= 0 ) { | ^~~~~~~~~~ | | | int * In file included from /usr/include/sys/socket.h:343, from nbtscan.c:2: /usr/include/bits/socket2.h:62:56: note: expected 'socklen_t * restrict' {aka 'unsigned int * restrict'} but argument is of type 'int *' 62 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ nbtscan.c:525:42: warning: implicit declaration of function 'parse_response' [-Wimplicit-function-declaration] 525 | hostinfo = (struct nb_host_info*)parse_response(buff, size); | ^~~~~~~~~~~~~~ nbtscan.c:525:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 525 | hostinfo = (struct nb_host_info*)parse_response(buff, size); | ^ nbtscan.c:572:19: warning: implicit declaration of function 'in_list' [-Wimplicit-function-declaration] 572 | if(!in_list(scanned, ntohl(next_in_addr->s_addr))) | ^~~~~~~ nbtscan.c:573:17: warning: implicit declaration of function 'send_query' [-Wimplicit-function-declaration] 573 | send_query(sock, *next_in_addr, rtt_base); | ^~~~~~~~~~ nbtscan.c:619:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 619 | sleep((transmit_started.tv_sec+rto)-now.tv_sec); | ^~~~~ nbtscan.c:302:7: warning: unused variable 'sel' [-Wunused-variable] 302 | int sel, size; | ^~~ nbtscan.c: In function 'print_banner': nbtscan.c:23:1: warning: control reaches end of non-void function [-Wreturn-type] 23 | } | ^ nbtscan.c: In function 'print_header': nbtscan.c:84:1: warning: control reaches end of non-void function [-Wreturn-type] 84 | }; | ^ nbtscan.c: In function 'd_print_hostinfo': nbtscan.c:146:1: warning: control reaches end of non-void function [-Wreturn-type] 146 | }; | ^ nbtscan.c: In function 'l_print_hostinfo': nbtscan.c:279:1: warning: control reaches end of non-void function [-Wreturn-type] 279 | } | ^ make: Leaving directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' make: Entering directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' x86_64-alt-linux-gcc -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -o nbtscan nbtscan.o statusq.o range.o list.o -lresolv nbtscan.c:525:42: warning: type of 'parse_response' does not match original declaration [-Wlto-type-mismatch] 525 | hostinfo = (struct nb_host_info*)parse_response(buff, size); | ^ statusq.c:147:22: note: return value type mismatch 147 | struct nb_host_info* parse_response(char* buff, int buffsize) { | ^ statusq.c:147:22: note: 'parse_response' was previously declared here statusq.c:147:22: note: code may be misoptimized unless '-fno-strict-aliasing' is used nbtscan.c:171:38: warning: type of 'getnbservicename' does not match original declaration [-Wlto-type-mismatch] 171 | if(hr) printf("%s\n", (char*)getnbservicename(service, unique, name)); | ^ statusq.c:370:7: note: return value type mismatch 370 | char* getnbservicename(my_uint8_t service, int unique, char* name) { | ^ statusq.c:370:7: note: 'getnbservicename' was previously declared here statusq.c:370:7: note: code may be misoptimized unless '-fno-strict-aliasing' is used In function 'd_print_hostinfo', inlined from 'main' at nbtscan.c:545:6: nbtscan.c:114:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 114 | name[16]=0; | ^ nbtscan.c: In function 'main': nbtscan.c:89:8: note: at offset 16 into destination object 'name' of size 16 89 | char name[16]; | ^ In function 'v_print_hostinfo', inlined from 'main' at nbtscan.c:543:6: nbtscan.c:167:15: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 167 | name[16]=0; | ^ nbtscan.c: In function 'main': nbtscan.c:152:8: note: at offset 16 into destination object 'name' of size 16 152 | char name[16]; | ^ make: Leaving directory '/usr/src/RPM/BUILD/nbtscan-1.5.1a' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.9319 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/nbtscan-buildroot + : + /bin/rm -rf -- /usr/src/tmp/nbtscan-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd nbtscan-1.5.1a + mkdir -p /usr/src/tmp/nbtscan-buildroot/usr/bin/ + install -m0755 nbtscan /usr/src/tmp/nbtscan-buildroot/usr/bin/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/nbtscan-buildroot (auto) Verifying and fixing files in /usr/src/tmp/nbtscan-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/nbtscan-buildroot/ (default) Compressing files in /usr/src/tmp/nbtscan-buildroot (auto) Verifying ELF objects in /usr/src/tmp/nbtscan-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: nbtscan-1.5.1-alt4 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.65928 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd nbtscan-1.5.1a + DOCDIR=/usr/src/tmp/nbtscan-buildroot/usr/share/doc/nbtscan-1.5.1 + export DOCDIR + rm -rf /usr/src/tmp/nbtscan-buildroot/usr/share/doc/nbtscan-1.5.1 + /bin/mkdir -p /usr/src/tmp/nbtscan-buildroot/usr/share/doc/nbtscan-1.5.1 + cp -prL ChangeLog README /usr/src/tmp/nbtscan-buildroot/usr/share/doc/nbtscan-1.5.1 + chmod -R go-w /usr/src/tmp/nbtscan-buildroot/usr/share/doc/nbtscan-1.5.1 + chmod -R a+rX /usr/src/tmp/nbtscan-buildroot/usr/share/doc/nbtscan-1.5.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NDWIVI find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.cagkDk find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), rtld(GNU_HASH) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Y5q8HW Creating nbtscan-debuginfo package Processing files: nbtscan-debuginfo-1.5.1-alt4 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.VMj8iA find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.KpghHL find-requires: running scripts (debuginfo) Requires: nbtscan = 1.5.1-alt4, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6) Wrote: /usr/src/RPM/RPMS/x86_64/nbtscan-1.5.1-alt4.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/nbtscan-debuginfo-1.5.1-alt4.x86_64.rpm (w2.lzdio) 0.97user 1.12system 0:06.78elapsed 30%CPU (0avgtext+0avgdata 38812maxresident)k 0inputs+0outputs (0major+378970minor)pagefaults 0swaps 0.50user 1.05system 0:09.84elapsed 15%CPU (0avgtext+0avgdata 12224maxresident)k 0inputs+0outputs (0major+94082minor)pagefaults 0swaps --- nbtscan-1.5.1-alt4.x86_64.rpm.repo 2013-06-24 19:38:04.000000000 +0000 +++ nbtscan-1.5.1-alt4.x86_64.rpm.hasher 2023-11-20 00:22:55.766945228 +0000 @@ -5,3 +5,2 @@ Requires: /lib64/ld-linux-x86-64.so.2 -Requires: libc.so.6(GLIBC_2.14)(64bit) Requires: libc.so.6(GLIBC_2.15)(64bit) @@ -10,2 +9,3 @@ Requires: libc.so.6(GLIBC_2.3.4)(64bit) +Requires: libc.so.6(GLIBC_2.34)(64bit) Requires: libc.so.6(GLIBC_2.4)(64bit) @@ -14,3 +14,3 @@ Provides: nbtscan = 1.5.1-alt4 -File: /usr/bin/nbtscan 100755 root:root fe73588744d257724098891da0ac5bda +File: /usr/bin/nbtscan 100755 root:root dfc38e043c4d2fa00298c3680caf899c File: /usr/share/doc/nbtscan-1.5.1 40755 root:root @@ -18,2 +18,2 @@ File: /usr/share/doc/nbtscan-1.5.1/README 100644 root:root 489dbe9819b64a9527c750be7f243286 -RPMIdentity: 70c7e17b2b2d4455367fabbb258625f82bffd9eab1838969320b5df4c162df3481a4f32e18afe65d8f17e48a81caa7c1aeeaca9abb3775d7b975b93ed95fb1e5 +RPMIdentity: bf67bbca10fdfd35ac2266386137a4b3cf553bf30a8460c956d1b5f8d893148ed8ef1c051952880f94ecfe7bc45386cf1b29176ff242f1bcc14f2007e14aaab0 --- nbtscan-debuginfo-1.5.1-alt4.x86_64.rpm.repo 2013-06-24 19:38:04.000000000 +0000 +++ nbtscan-debuginfo-1.5.1-alt4.x86_64.rpm.hasher 2023-11-20 00:22:55.814945893 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/5d 40755 root:root -/usr/lib/debug/.build-id/5d/678ca4b596fa389fbc186cd4d97e82501fcb62 120777 root:root ../../../../bin/nbtscan -/usr/lib/debug/.build-id/5d/678ca4b596fa389fbc186cd4d97e82501fcb62.debug 120777 root:root ../../usr/bin/nbtscan.debug +/usr/lib/debug/.build-id/1a 40755 root:root +/usr/lib/debug/.build-id/1a/23d515163c410acb12b23093954fefb354b440 120777 root:root ../../../../bin/nbtscan +/usr/lib/debug/.build-id/1a/23d515163c410acb12b23093954fefb354b440.debug 120777 root:root ../../usr/bin/nbtscan.debug /usr/lib/debug/usr/bin/nbtscan.debug 100644 root:root @@ -17,6 +17,6 @@ Provides: nbtscan-debuginfo = 1.5.1-alt4 -File: /usr/lib/debug/.build-id/5d 40755 root:root -File: /usr/lib/debug/.build-id/5d/678ca4b596fa389fbc186cd4d97e82501fcb62 120777 root:root ../../../../bin/nbtscan -File: /usr/lib/debug/.build-id/5d/678ca4b596fa389fbc186cd4d97e82501fcb62.debug 120777 root:root ../../usr/bin/nbtscan.debug -File: /usr/lib/debug/usr/bin/nbtscan.debug 100644 root:root 324bc9e0784bc34603254faad2880cde +File: /usr/lib/debug/.build-id/1a 40755 root:root +File: /usr/lib/debug/.build-id/1a/23d515163c410acb12b23093954fefb354b440 120777 root:root ../../../../bin/nbtscan +File: /usr/lib/debug/.build-id/1a/23d515163c410acb12b23093954fefb354b440.debug 120777 root:root ../../usr/bin/nbtscan.debug +File: /usr/lib/debug/usr/bin/nbtscan.debug 100644 root:root 083dd2a8971e07a7528afc554bd4390e File: /usr/src/debug/nbtscan-1.5.1a 40755 root:root @@ -29,2 +29,2 @@ File: /usr/src/debug/nbtscan-1.5.1a/statusq.h 100644 root:root ed351fcb21547f1d0afd712726403c90 -RPMIdentity: 2507d7522edd97bc152910040245cfd4cd27541aa1dbdcdbae434f000307d7dd3fa8b354416cb6f11f3eba7f4af46ff294ed41b69209b000f8e02e069d8cd321 +RPMIdentity: f6b9e1b3cad4f46d5ebd47ea20c1d3743ceae276f517bf24409a619ac3536ad2bbb9b9d4c47df7267f324a51151a6a77fcbe0bc76720b7c1c58f7b331d5d22f8