<86>Jun 16 00:58:22 userdel[1620049]: delete user 'rooter' <86>Jun 16 00:58:22 userdel[1620049]: removed group 'rooter' owned by 'rooter' <86>Jun 16 00:58:22 userdel[1620049]: removed shadow group 'rooter' owned by 'rooter' <86>Jun 16 00:58:22 groupadd[1620080]: group added to /etc/group: name=rooter, GID=1841 <86>Jun 16 00:58:22 groupadd[1620080]: group added to /etc/gshadow: name=rooter <86>Jun 16 00:58:22 groupadd[1620080]: new group: name=rooter, GID=1841 <86>Jun 16 00:58:22 useradd[1620110]: new user: name=rooter, UID=1841, GID=1841, home=/root, shell=/bin/bash <86>Jun 16 00:58:22 userdel[1620158]: delete user 'builder' <86>Jun 16 00:58:22 userdel[1620158]: removed group 'builder' owned by 'builder' <86>Jun 16 00:58:22 userdel[1620158]: removed shadow group 'builder' owned by 'builder' <86>Jun 16 00:58:22 groupadd[1620188]: group added to /etc/group: name=builder, GID=1842 <86>Jun 16 00:58:22 groupadd[1620188]: group added to /etc/gshadow: name=builder <86>Jun 16 00:58:22 groupadd[1620188]: new group: name=builder, GID=1842 <86>Jun 16 00:58:22 useradd[1620209]: new user: name=builder, UID=1842, GID=1842, home=/usr/src, shell=/bin/bash <13>Jun 16 00:58:25 rpmi: libncurses-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 00:58:25 rpmi: libtinfo-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed <13>Jun 16 00:58:25 rpmi: liblz4-1:1.9.4-alt1 p10+350711.100.1.1 1718009144 installed <13>Jun 16 00:58:25 rpmi: libsystemd-1:249.17-alt2 p10+340218.100.1.1 1707505676 installed <13>Jun 16 00:58:25 rpmi: libdbus-1.14.10-alt1 p10+342527.100.1.1 1710230133 installed <13>Jun 16 00:58:25 rpmi: libpcap0.8-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093290 installed <13>Jun 16 00:58:25 rpmi: libpcap-devel-2:1.9.1-alt2 sisyphus+278380.100.1.1 1626093290 installed <13>Jun 16 00:58:26 rpmi: libncurses-devel-6.3.20220618-alt1 p10+319472.100.4.1 1685092691 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/sniffit-0.5-alt1.nosrc.rpm (w1.gzdio) Installing sniffit-0.5-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.96087 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf sniffit-0.5 + echo 'Source #0 (sniffit-0.5.tar.gz):' Source #0 (sniffit-0.5.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/sniffit-0.5.tar.gz + /bin/tar -xf - + cd sniffit-0.5 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.96087 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sniffit-0.5 + autoreconf -fisv autoreconf-default: Entering directory `.' autoreconf-default: configure.ac: not using Gettext autoreconf-default: running: aclocal --force autoreconf-default: configure.ac: tracing autoreconf-default: configure.ac: not using Libtool autoreconf-default: configure.ac: not using Intltool autoreconf-default: configure.ac: not using gtk-doc autoreconf-default: running: /usr/bin/autoconf-2.60 --force autoreconf-default: running: /usr/bin/autoheader-2.60 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:12: installing './compile' configure.ac:62: installing './install-sh' configure.ac:62: installing './missing' src/Makefile.am: installing './depcomp' autoreconf-default: Leaving directory `.' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' ++ 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 --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 --sbindir=/usr/bin configure: WARNING: unrecognized options: --without-included-gettext checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking for main in -lncurses... yes checking for pcap_open_live in -lpcap... yes checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking ncurses.h usability... yes checking ncurses.h presence... yes checking for ncurses.h... yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking for size_t... yes checking for pid_t... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for alarm... yes checking for bzero... yes checking for gethostbyname... yes checking for socket... yes checking for strchr... yes checking for strdup... yes checking for strstr... yes checking for shmget... yes checking for atexit... yes checking size of unsigned short int... 2 checking size of unsigned long int... 8 unsigned long is NOT 4 bytes... hmmm... checking size of unsigned int... 4 checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of x86_64-alt-linux-gcc... none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands configure: WARNING: unrecognized options: --without-included-gettext + make -j16 OBJ_OPT=-g 'EXE_OPT=-lpcap -g' make all-recursive Making all in src make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sn_resolv.o sn_resolv.c make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sn_packets.o sn_packets.c sn_packets.c: In function 'unwrap_packet': sn_packets.c:68:18: warning: passing argument 1 of 'in_cksum' from incompatible pointer type [-Wincompatible-pointer-types] 68 | if(in_cksum((sp+PROTO_HEAD),unwrapped->IP_len) != IPhead.checksum) | ~~~^~~~~~~~~~~~ | | | unsigned char * sn_packets.c:14:41: note: expected 'short unsigned int *' but argument is of type 'unsigned char *' 14 | unsigned short in_cksum(unsigned short *addr,int len) | ~~~~~~~~~~~~~~~~^~~~ sn_packets.c:46:6: warning: unused variable 'i' [-Wunused-variable] 46 | int i; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sn_logfile.o sn_logfile.c sn_logfile.c: In function 'open_logfile': sn_logfile.c:96:8: warning: passing argument 1 of 'fchmod' makes integer from pointer without a cast [-Wint-conversion] 96 | fchmod(LogFILE, S_IWUSR|S_IRUSR); | ^~~~~~~ | | | FILE * In file included from sn_logfile.c:9: /usr/include/sys/stat.h:293:24: note: expected 'int' but argument is of type 'FILE *' 293 | extern int fchmod (int __fd, __mode_t __mode) __THROW; | ~~~~^~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sn_generation.o sn_generation.c sn_generation.c: In function 'exec_generate': sn_generation.c:66:1: warning: implicit declaration of function 'input_field' [-Wimplicit-function-declaration] 66 | input_field(msg,NULL,0); | ^~~~~~~~~~~ sn_generation.c:67:1: warning: implicit declaration of function 'forced_refresh' [-Wimplicit-function-declaration] 67 | forced_refresh(); | ^~~~~~~~~~~~~~ sn_generation.c: In function 'open_sending': sn_generation.c:131:5: warning: unused variable 'dummy' [-Wunused-variable] 131 | int dummy=1; | ^~~~~ sn_generation.c:129:18: warning: unused variable 'sp_proto' [-Wunused-variable] 129 | struct protoent *sp_proto; | ^~~~~~~~ sn_generation.c: In function 'sp_send_packet': sn_generation.c:147:17: warning: unused variable 'sp_help' [-Wunused-variable] 147 | struct hostent *sp_help; | ^~~~~~~ sn_generation.c: In function 'sp_fix_IP_packet': sn_generation.c:205:22: warning: implicit declaration of function 'in_cksum' [-Wimplicit-function-declaration] 205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer), | ^~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sn_cfgfile.o sn_cfgfile.c sn_cfgfile.c: In function 'clean_string': sn_cfgfile.c:131:7: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 131 | if( (isalnum(string[i]))||(string[i]=='.') ) | ^~~~~~~ sn_cfgfile.c: In function 'clean_filename': sn_cfgfile.c:155:8: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:155:33: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c: In function 'make_nr_dot': sn_cfgfile.c:175:6: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 175 | digit=(char *)&hostnr; | ^ sn_cfgfile.c: In function 'interprete_line': sn_cfgfile.c:239:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 239 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:255:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 255 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:270:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 270 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:286:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 286 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:302:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 302 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:303:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 303 | strcpy(helpp->host,dot_notation); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:326:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 326 | strcpy(help->host, field); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:327:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 327 | strcpy(helpp->host, field); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:348:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 348 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:364:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 364 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:379:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 379 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:395:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 395 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:411:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 411 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:412:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 412 | strcpy(helpp->host,dot_notation); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:434:19: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 434 | strcpy(help->host, field); | ~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:435:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 435 | strcpy(helpp->host, field); | ~~~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:465, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:73:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 73 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:214:8: warning: unused variable 'i' [-Wunused-variable] 214 | size_t i; | ^ sn_cfgfile.c: In function 'read_cfg_file': sn_cfgfile.c:452:8: warning: unused variable 'line_length' [-Wunused-variable] 452 | size_t line_length; | ^~~~~~~~~~~ sn_cfgfile.c:463:2: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 463 | fgets(lineptr,259,cfgfile); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sn_interface.o sn_interface.c sn_interface.c: In function 'mask_status': sn_interface.c:195:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 195 | ad=&(mask->source_ip); | ^ sn_interface.c:201:3: warning: assignment to 'unsigned char *' from incompatible pointer type '_32_bit *' {aka 'unsigned int *'} [-Wincompatible-pointer-types] 201 | ad=&(mask->destination_ip); | ^ sn_interface.c: In function 'menu_line': sn_interface.c:365:5: warning: unused variable 'i' [-Wunused-variable] 365 | int i; | ^ sn_interface.c: In function 'input_field': sn_interface.c:381:6: warning: unused variable 'i' [-Wunused-variable] 381 | int i; | ^ sn_interface.c: In function 'interaction': sn_interface.c:470:8: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 470 | isprint(*(connection_data+i))? | ^~~~~~~ sn_interface.c: In function 'packet_info_handler': sn_interface.c:491:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 491 | mvwprintw(packets_box.work_window,0,1,"IP packets/sec. : % 12u",(*IP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c:492:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 492 | mvwprintw(packets_box.work_window,1,1,"TCP packets/sec. : % 12u",(*TCP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c:493:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 493 | mvwprintw(packets_box.work_window,2,1,"ICMP packets/sec.: % 12u",(*ICMP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c:494:63: warning: ' ' flag used with '%u' gnu_printf format [-Wformat=] 494 | mvwprintw(packets_box.work_window,3,1,"UDP packets/sec. : % 12u",(*UDP_nr_of_packets)/INFO_TIMER); | ^ sn_interface.c: In function 'run_interface': sn_interface.c:690:5: warning: unused variable 'i' [-Wunused-variable] 690 | int i,key_hit; | ^ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_LIBNCURSES=1 -DHAVE_SHMGET=1 -DHAVE_ATEXIT=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 -DSIZEOF_UNSIGNED_SHORT_INT=2 -DSIZEOF_UNSIGNED_LONG_INT=8 -DSIZEOF_UNSIGNED_INT=4 -DUSE_32_INT=1 -DLINUX=1 -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -c -o sniffit.o sniffit.c In file included from sn_plugins.h:23, from sniffit.c:35: dns_plugin.plug: In function 'PL_DNS_plugin': dns_plugin.plug:87:12: warning: assignment to 'struct PL_DNS_header *' from incompatible pointer type 'struct DNS_header *' [-Wincompatible-pointer-types] 87 | dns_dnshead= (struct DNS_header *) (dns_buffer+udp_start+sizeof(struct UDP_header)); | ^ dns_plugin.plug:122:25: warning: pointer targets in passing argument 1 of 'PL_DNS_decode' differ in signedness [-Wpointer-sign] 122 | dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0); | ^~~~~ | | | unsigned char * dns_plugin.plug:30:25: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string) | ~~~~~~^~~ dns_plugin.plug:142:25: warning: pointer targets in passing argument 1 of 'PL_DNS_decode' differ in signedness [-Wpointer-sign] 142 | dec_pos=PL_DNS_decode(dns_p,dec_pos,NULL,0); | ^~~~~ | | | unsigned char * dns_plugin.plug:30:25: note: expected 'char *' but argument is of type 'unsigned char *' 30 | int PL_DNS_decode(char *buf, int start_pos,char *string, int start_string) | ~~~~~~^~~ dns_plugin.plug:77:6: warning: unused variable 'pos' [-Wunused-variable] 77 | long pos; | ^~~ dns_plugin.plug:76:47: warning: variable 'len' set but not used [-Wunused-but-set-variable] 76 | int i, j, dec_pos, answers, count, udp_start, len; | ^~~ dns_plugin.plug:76:29: warning: unused variable 'count' [-Wunused-variable] 76 | int i, j, dec_pos, answers, count, udp_start, len; | ^~~~~ sniffit.c: In function 'strlower': sniffit.c:127:22: warning: implicit declaration of function 'isupper' [-Wimplicit-function-declaration] 127 | *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); | ^~~~~~~ sniffit.c:127:48: warning: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 127 | *(string + i) = (isupper (*(string + i)) ? tolower (*(string + i)) : *(string + i)); | ^~~~~~~ sniffit.c: In function 'record_buf': sniffit.c:386:11: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 386 | if (isprint (data[i])) | ^~~~~~~ sniffit.c: In function 'sb_shift': sniffit.c:405:10: warning: unused variable 'j' [-Wunused-variable] 405 | int i, j; | ^ sniffit.c: In function 'check_packet': sniffit.c:546:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 546 | if (MODE == DEST && ipaddr != iphead.destination /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:551:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 550 | MODE == BOTH && ipaddr != iphead.destination /* -b */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 551 | && ipaddr != iphead.source | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:565:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 565 | if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:570:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 569 | MODE == BOTH && (strncmp (wc_dest, IP, n_s) != 0) /* -b */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 570 | && (strncmp (wc_so, IP, n_s) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:602:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 602 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:611:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 611 | if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:611:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 611 | if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:641:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 641 | if (strcmp (wc_dest, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:650:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 650 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:650:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 650 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:680:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 680 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:689:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 689 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:720:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 720 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:720:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 720 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:729:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 729 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:729:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 729 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:842:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 842 | if (MODE == DEST && ipaddr != iphead.destination /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:847:8: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 846 | MODE == BOTH && ipaddr != iphead.destination /* -b */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 847 | && ipaddr != iphead.source | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:858:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 858 | if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:863:5: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 862 | MODE == BOTH && (strncmp (wc_dest, IP, n_s) != 0) /* -b */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 863 | && (strncmp (wc_so, IP, n_s) != 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:893:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 893 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:904:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 904 | if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:904:26: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 904 | if (strncmp (wc_so, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:934:27: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 934 | if (strcmp (wc_dest, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:945:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 945 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:945:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 945 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:973:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 973 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:982:25: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 982 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:1010:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1010 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:1010:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 1010 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:1019:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1019 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:1019:28: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign] 1019 | if (strncmp (wc_dest, str_IP, strlen (str_IP)) == 0) | ^~~~~~ | | | unsigned char * In file included from sniffit.c:10: /usr/include/string.h:143:51: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c: In function 'packethandler': sniffit.c:1107:43: warning: passing argument 2 of 'pcap_dump' from incompatible pointer type [-Wincompatible-pointer-types] 1107 | pcap_dump((unsigned char *) dev_dump, p_header, sp); | ^~~~~~~~ | | | const struct packetheader * In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:517:35: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *' 517 | PCAP_API void pcap_dump(u_char *, const struct pcap_pkthdr *, const u_char *); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:1108:12: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1108 | return 1; | ^ sniffit.c:1154:32: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] 1154 | printf (" SEQ (hex): %lX ", ntohl (tcphead.seq_nr)); | ~~^ | | | long unsigned int | %X sniffit.c:1156:24: warning: format '%lX' expects argument of type 'long unsigned int', but argument 2 has type '__uint32_t' {aka 'unsigned int'} [-Wformat=] 1156 | printf ("ACK (hex): %lX\n", ntohl (tcphead.ACK_nr)); | ~~^ | | | long unsigned int | %X sniffit.c:1189:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1189 | return 1; | ^ sniffit.c:1193:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1193 | return 1; | ^ sniffit.c:1259:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1259 | return 1; | ^ In file included from sniffit.c:1270: sn_analyse.c:13:9: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 13 | return 1; | ^ sn_analyse.c:29:10: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 29 | return 1; | ^ sn_analyse.c:43:37: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 43 | if((dummy&FIN)||(dummy&RST)) return 1; /* needed, cauz entry don't exist */ | ^ sn_analyse.c:53:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 53 | sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len); | ^~~~ sniffit.c:413:13: note: expected 'char *' but argument is of type 'const unsigned char *' 413 | char *data, int len) | ~~~~~~^~~~ In file included from sniffit.c:1270: sn_analyse.c:83:52: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 83 | record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0); | ^~~~ sniffit.c:358:12: note: expected 'char *' but argument is of type 'const unsigned char *' 358 | char *data, int len, int type) | ~~~~~~^~~~ In file included from sniffit.c:1270: sn_analyse.c:95:54: warning: passing argument 3 of 'record_buf' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 95 | record_buf(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len,0); | ^~~~ sniffit.c:358:12: note: expected 'char *' but argument is of type 'const unsigned char *' 358 | char *data, int len, int type) | ~~~~~~^~~~ In file included from sniffit.c:1270: sn_analyse.c:117:51: warning: passing argument 3 of 'sbuf_update' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | sbuf_update(dummy_pointer,ntohl(tcphead.seq_nr),data,info.DATA_len); | ^~~~ sniffit.c:413:13: note: expected 'char *' but argument is of type 'const unsigned char *' 413 | char *data, int len) | ~~~~~~^~~~ In file included from sniffit.c:1270: sn_analyse.c:157:22: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 157 | strncpy(workbuf1,data,len); | ^~~~ | | | const unsigned char * In file included from /usr/include/features.h:465, from /usr/include/unistd.h:25, from sniffit.c:6: /usr/include/bits/string_fortified.h:88:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' 88 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ In file included from sniffit.c:1270: sn_analyse.c:200:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 200 | return 1; | ^ sn_analyse.c:201:8: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 201 | return 1; /* DON'T FORGET THEM!!!! */ | ^ sniffit.c:1339:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1339 | return 1; | ^ sniffit.c:1372:14: warning: returning 'int' from a function with return type 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} makes pointer from integer without a cast [-Wint-conversion] 1372 | return 1; | ^ sniffit.c:1081:26: warning: unused variable 'position' [-Wunused-variable] 1081 | unsigned long datalen, position, total_length, i, n; | ^~~~~~~~ sniffit.c:1081:17: warning: unused variable 'datalen' [-Wunused-variable] 1081 | unsigned long datalen, position, total_length, i, n; | ^~~~~~~ In file included from sniffit.c:1458: sn_conn_desc.c: In function 'check_mask': sn_conn_desc.c:24:12: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 24 | if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) | ^~~~~~~ sn_conn_desc.c:24:32: warning: implicit declaration of function 'ispunct' [-Wimplicit-function-declaration] 24 | if( (isalnum(data[i]) || ispunct(data[i]) || data[i]==' ')&&(j<(*DESC_LEN)-1) ) | ^~~~~~~ sn_conn_desc.c:27:15: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 27 | {if( (isspace(data[i]) && data[i]!=' ')&&(j<(*DESC_LEN)-1) ) | ^~~~~~~ sniffit.c: In function 'main': sniffit.c:1522:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1522 | signal (SIGINT, my_exit); /* graceful termination in different ways */ | ^~~~~~~ | | | void (*)(void) In file included from sniffit.c:7: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ sniffit.c:1523:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1523 | signal (SIGHUP, my_exit); | ^~~~~~~ | | | void (*)(void) In file included from sniffit.c:7: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ sniffit.c:1524:20: warning: passing argument 2 of 'signal' from incompatible pointer type [-Wincompatible-pointer-types] 1524 | signal (SIGTERM, my_exit); | ^~~~~~~ | | | void (*)(void) In file included from sniffit.c:7: /usr/include/signal.h:88:57: note: expected '__sighandler_t' {aka 'void (*)(int)'} but argument is of type 'void (*)(void)' 88 | extern __sighandler_t signal (int __sig, __sighandler_t __handler) | ~~~~~~~~~~~~~~~^~~~~~~~~ sniffit.c:1758:36: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] 1758 | if((dev_desc=pcap_open_offline(DUMPfile,ebuf))==NULL) | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:413:36: note: expected 'const char *' but argument is of type 'unsigned char *' 413 | PCAP_API pcap_t *pcap_open_offline(const char *, char *); | ^~~~~~~~~~~~ sniffit.c:1773:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 1773 | if((dev = pcap_lookupdev (ebuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ sniffit.c:1793:5: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] 1793 | if(!(DUMPMODE&16)) | ^ sniffit.c:1800:20: warning: extra tokens at end of #ifdef directive 1800 | #ifdef PLUGIN0_INIT() | ^ sniffit.c:1804:20: warning: extra tokens at end of #ifdef directive 1804 | #ifdef PLUGIN1_INIT() | ^ sniffit.c:1808:20: warning: extra tokens at end of #ifdef directive 1808 | #ifdef PLUGIN2_INIT() | ^ sniffit.c:1812:20: warning: extra tokens at end of #ifdef directive 1812 | #ifdef PLUGIN3_INIT() | ^ sniffit.c:1816:20: warning: extra tokens at end of #ifdef directive 1816 | #ifdef PLUGIN4_INIT() | ^ sniffit.c:1820:20: warning: extra tokens at end of #ifdef directive 1820 | #ifdef PLUGIN5_INIT() | ^ sniffit.c:1824:20: warning: extra tokens at end of #ifdef directive 1824 | #ifdef PLUGIN6_INIT() | ^ sniffit.c:1828:20: warning: extra tokens at end of #ifdef directive 1828 | #ifdef PLUGIN7_INIT() | ^ sniffit.c:1832:20: warning: extra tokens at end of #ifdef directive 1832 | #ifdef PLUGIN8_INIT() | ^ sniffit.c:1836:20: warning: extra tokens at end of #ifdef directive 1836 | #ifdef PLUGIN9_INIT() | ^ sniffit.c:1864:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] 1864 | printf ("Shared %d\n", memsize); | ~^ ~~~~~~~ | | | | int long unsigned int | %ld sniffit.c:1867:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1867 | DATAlength = timing + sizeof (int); | ^ sniffit.c:1868:23: warning: assignment to 'char *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] 1868 | connection_data = DATAlength + sizeof (int); | ^ sniffit.c:1869:18: warning: assignment to 'int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1869 | LISTlength = connection_data + LENGTH_OF_INTERPROC_DATA; | ^ sniffit.c:1870:12: warning: assignment to 'struct snif_mask *' from incompatible pointer type 'int *' [-Wincompatible-pointer-types] 1870 | mask = LISTlength + sizeof (int); | ^ sniffit.c:1871:26: warning: assignment to 'char *' from incompatible pointer type 'struct snif_mask *' [-Wincompatible-pointer-types] 1871 | logged_connections = mask + sizeof (struct snif_mask); | ^ sniffit.c:1874:25: warning: assignment to 'unsigned int *' from incompatible pointer type 'char *' [-Wincompatible-pointer-types] 1874 | TCP_nr_of_packets = running_connections + (sizeof (struct shared_conn_data) * CONNECTION_CAPACITY); | ^ sniffit.c:1875:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 1875 | TCP_bytes_in_packets = TCP_nr_of_packets + sizeof (int); | ^ sniffit.c:1876:26: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] 1876 | ICMP_nr_of_packets = TCP_bytes_in_packets + sizeof (unsigned long); | ^ sniffit.c:1878:28: warning: assignment to 'long unsigned int *' from incompatible pointer type 'unsigned int *' [-Wincompatible-pointer-types] 1878 | UDP_bytes_in_packets = UDP_nr_of_packets + sizeof (int); | ^ sniffit.c:1879:24: warning: assignment to 'unsigned int *' from incompatible pointer type 'long unsigned int *' [-Wincompatible-pointer-types] 1879 | IP_nr_of_packets = UDP_bytes_in_packets + sizeof (unsigned long); | ^ sniffit.c:1880:16: warning: pointer targets in assignment from 'unsigned int *' to 'int *' differ in signedness [-Wpointer-sign] 1880 | DESC_LEN = IP_nr_of_packets + sizeof (int); | ^ sniffit.c:1894:11: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] 1894 | interactive_packethandler, NULL) < 0) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)} In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:442:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} 442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~~~~~ sniffit.c:1921:47: warning: pointer targets in passing argument 2 of 'pcap_dump_open' differ in signedness [-Wpointer-sign] 1921 | if((dev_dump=pcap_dump_open(dev_desc, DUMPfile))==NULL) | ^~~~~~~~ | | | unsigned char * In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:488:50: note: expected 'const char *' but argument is of type 'unsigned char *' 488 | PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); | ^~~~~~~~~~~~ sniffit.c:1927:41: warning: passing argument 3 of 'pcap_loop' from incompatible pointer type [-Wincompatible-pointer-types] 1927 | switch (pcap_loop (dev_desc, CNT, packethandler, (unsigned char *) &ipaddr)) | ^~~~~~~~~~~~~ | | | void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *) {aka void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)} In file included from /usr/include/pcap.h:43, from sniffit.c:24: /usr/include/pcap/pcap.h:442:39: note: expected 'pcap_handler' {aka 'void (*)(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} but argument is of type 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(u_char *, const struct pcap_pkthdr *, const u_char *)' {aka 'void (* (*)(unsigned char *, const struct packetheader *, const unsigned char *))(unsigned char *, const struct pcap_pkthdr *, const unsigned char *)'} 442 | PCAP_API int pcap_loop(pcap_t *, int, pcap_handler, u_char *); | ^~~~~~~~~~~~ sniffit.c:1513:30: warning: unused variable 'buffer' [-Wunused-variable] 1513 | char *dev, forced_dev[20], buffer[SNAPLEN]; | ^~~~~~ sniffit.c: In function 'packethandler': sniffit.c:1374:1: warning: control reaches end of non-void function [-Wreturn-type] 1374 | } | ^ sniffit.c: In function 'interactive_packethandler': sniffit.c:1506:1: warning: control reaches end of non-void function [-Wreturn-type] 1506 | } | ^ At top level: sniffit.c:46:13: warning: 'Copyright' defined but not used [-Wunused-variable] 46 | static char Copyright[] = | ^~~~~~~~~ sniffit.c: In function 'main': sniffit.c:1921:22: warning: 'DUMPfile' may be used uninitialized in this function [-Wmaybe-uninitialized] 1921 | if((dev_dump=pcap_dump_open(dev_desc, DUMPfile))==NULL) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' x86_64-alt-linux-gcc -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o -lpcap -lncurses make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.65590 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/sniffit-buildroot + : + /bin/rm -rf -- /usr/src/tmp/sniffit-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd sniffit-0.5 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/sniffit-buildroot make: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/bin' /usr/libexec/rpm-build/install -p sniffit '/usr/src/tmp/sniffit-buildroot/usr/bin' make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[1]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/share/man/man5' /usr/libexec/rpm-build/install -p -m 644 man/sniffit.5 '/usr/src/tmp/sniffit-buildroot/usr/share/man/man5' /bin/mkdir -p '/usr/src/tmp/sniffit-buildroot/usr/share/man/man8' /usr/libexec/rpm-build/install -p -m 644 man/sniffit.8 '/usr/src/tmp/sniffit-buildroot/usr/share/man/man8' make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5' make[1]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5' make: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/sniffit-buildroot (auto) Verifying and fixing files in /usr/src/tmp/sniffit-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/sniffit-buildroot/ (default) Compressing files in /usr/src/tmp/sniffit-buildroot (auto) Verifying ELF objects in /usr/src/tmp/sniffit-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: sniffit-0.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58880 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sniffit-0.5 + DOCDIR=/usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + export DOCDIR + rm -rf /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + /bin/mkdir -p /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + cp -prL docs examples /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + chmod -R go-w /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + chmod -R a+rX /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + cp -prL CONTRIBUTING.md README.md /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + chmod -R go-w /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + chmod -R a+rX /usr/src/tmp/sniffit-buildroot/usr/share/doc/sniffit-0.5 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MHsTO5 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.OXXVt9 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.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libncurses.so.5()(64bit) >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqnrMqDPjvkEiL8OEPC0KfDYgJgMTxmHc993ypx3s2, libpcap.so.0.8()(64bit) >= set:kgdcXjtB4GvnPpzJRScZur0, libtinfo.so.5()(64bit) >= set:liZKbfJOZ56XhVGZ0aZiqL5, rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.tvHLb7 Creating sniffit-debuginfo package Processing files: sniffit-debuginfo-0.5-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZzfYh7 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.f9tQv8 find-requires: running scripts (debuginfo) Requires: sniffit = 0.5-alt1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libncurses.so.5), debug64(libpcap.so.0.8), debug64(libtinfo.so.5) Adding to sniffit-debuginfo a strict dependency on sniffit Wrote: /usr/src/RPM/RPMS/x86_64/sniffit-0.5-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/sniffit-debuginfo-0.5-alt1.x86_64.rpm (w2.lzdio) 3.42user 4.03system 0:12.34elapsed 60%CPU (0avgtext+0avgdata 45760maxresident)k 0inputs+0outputs (0major+684255minor)pagefaults 0swaps 3.13user 3.01system 0:22.13elapsed 27%CPU (0avgtext+0avgdata 129080maxresident)k 0inputs+0outputs (0major+208231minor)pagefaults 0swaps --- sniffit-0.5-alt1.x86_64.rpm.repo 2021-04-12 12:23:08.000000000 +0000 +++ sniffit-0.5-alt1.x86_64.rpm.hasher 2024-06-16 00:58:40.871025072 +0000 @@ -20,3 +20,3 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) -Requires: libncurses.so.5()(64bit) >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqHmtuWz2lW5h6tS4MZ9juEm8UXgHlCAA1NIM1e1 +Requires: libncurses.so.5()(64bit) >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqnrMqDPjvkEiL8OEPC0KfDYgJgMTxmHc993ypx3s2 Requires: rpmlib(SetVersions) @@ -27,3 +27,3 @@ Provides: sniffit = 0.5-alt1:sisyphus+269745.100.1.1 -File: /usr/bin/sniffit 100755 root:root 784b163d54f98296a9589c84edc8f599 +File: /usr/bin/sniffit 100755 root:root 03c5a816921372788a03bd374c1771e4 File: /usr/share/doc/sniffit-0.5 40755 root:root @@ -42,2 +42,2 @@ File: /usr/share/man/man8/sniffit.8.xz 100644 root:root 7e7b64df309672dfb33bcf7f09dc789e -RPMIdentity: 025e9c70a1f274d24d0dc6585b5e1bc4ce6c09ec1ce6f1534adbdc69970ff60667ee7361aaeaef094199bdce009fb58074b94069fe5f93bea2c97c76695d3812 +RPMIdentity: 7f7bc179da634b65b63d4de66918e4401a7951e0d1b248be426a98485be31b93fb8b348a708e9cac9a5ad9be7fd1cb68c97b1c61ee2e28bf869986499040b794 --- sniffit-debuginfo-0.5-alt1.x86_64.rpm.repo 2021-04-12 12:23:08.000000000 +0000 +++ sniffit-debuginfo-0.5-alt1.x86_64.rpm.hasher 2024-06-16 00:58:40.965026626 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/c8 40755 root:root -/usr/lib/debug/.build-id/c8/e6ab0138378d2b43d466b582cee4111b6613b8 120777 root:root ../../../../bin/sniffit -/usr/lib/debug/.build-id/c8/e6ab0138378d2b43d466b582cee4111b6613b8.debug 120777 root:root ../../usr/bin/sniffit.debug +/usr/lib/debug/.build-id/d5 40755 root:root +/usr/lib/debug/.build-id/d5/7f6ce8b929de185e8e607f476121768e7330e4 120777 root:root ../../../../bin/sniffit +/usr/lib/debug/.build-id/d5/7f6ce8b929de185e8e607f476121768e7330e4.debug 120777 root:root ../../usr/bin/sniffit.debug /usr/lib/debug/usr/bin/sniffit.debug 100644 root:root @@ -37,6 +37,6 @@ Provides: sniffit-debuginfo = 0.5-alt1:sisyphus+269745.100.1.1 -File: /usr/lib/debug/.build-id/c8 40755 root:root -File: /usr/lib/debug/.build-id/c8/e6ab0138378d2b43d466b582cee4111b6613b8 120777 root:root ../../../../bin/sniffit -File: /usr/lib/debug/.build-id/c8/e6ab0138378d2b43d466b582cee4111b6613b8.debug 120777 root:root ../../usr/bin/sniffit.debug -File: /usr/lib/debug/usr/bin/sniffit.debug 100644 root:root 40693c0e0a49a0fb0acdd5510a7a4b5f +File: /usr/lib/debug/.build-id/d5 40755 root:root +File: /usr/lib/debug/.build-id/d5/7f6ce8b929de185e8e607f476121768e7330e4 120777 root:root ../../../../bin/sniffit +File: /usr/lib/debug/.build-id/d5/7f6ce8b929de185e8e607f476121768e7330e4.debug 120777 root:root ../../usr/bin/sniffit.debug +File: /usr/lib/debug/usr/bin/sniffit.debug 100644 root:root da70b0ed91fa84256b1724474e8c21ad File: /usr/src/debug/sniffit-0.5 40755 root:root @@ -66,2 +66,2 @@ File: /usr/src/debug/sniffit-0.5/src/sniffit.h 100644 root:root 04bd854739d8bf6b34161fe9f91c56bd -RPMIdentity: e6971b792e5805c944ff1a80d4ba4760f7a6414cc80cd5b2586a474d327323477e9afba0e99478d6ae73193adaa763cd104f3b4220dddefacac3021d1f2a8755 +RPMIdentity: 2924827ac8776e007c7293e1a15ad012c821880316e822f0d5b93a28536fb4fccf3cbb08ccd6d5378742905196671cac0c576d232316de74389bae450ec38377