<86>Apr 27 09:12:53 userdel[1751406]: delete user 'rooter' <86>Apr 27 09:12:53 userdel[1751406]: removed group 'rooter' owned by 'rooter' <86>Apr 27 09:12:53 userdel[1751406]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 27 09:12:53 groupadd[1751477]: group added to /etc/group: name=rooter, GID=1823 <86>Apr 27 09:12:53 groupadd[1751477]: group added to /etc/gshadow: name=rooter <86>Apr 27 09:12:53 groupadd[1751477]: new group: name=rooter, GID=1823 <86>Apr 27 09:12:53 useradd[1751535]: new user: name=rooter, UID=1823, GID=1823, home=/root, shell=/bin/bash, from=none <86>Apr 27 09:12:53 userdel[1751600]: delete user 'builder' <86>Apr 27 09:12:53 userdel[1751600]: removed group 'builder' owned by 'builder' <86>Apr 27 09:12:53 userdel[1751600]: removed shadow group 'builder' owned by 'builder' <86>Apr 27 09:12:53 groupadd[1751650]: group added to /etc/group: name=builder, GID=1824 <86>Apr 27 09:12:53 groupadd[1751650]: group added to /etc/gshadow: name=builder <86>Apr 27 09:12:53 groupadd[1751650]: new group: name=builder, GID=1824 <86>Apr 27 09:12:53 useradd[1751703]: new user: name=builder, UID=1824, GID=1824, home=/usr/src, shell=/bin/bash, from=none <13>Apr 27 09:12:56 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Apr 27 09:12:56 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed <13>Apr 27 09:12:56 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Apr 27 09:12:56 rpmi: libsystemd-1:254.10-alt2 sisyphus+345302.400.3.1 1713818601 installed <13>Apr 27 09:12:56 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487513 installed <13>Apr 27 09:12:56 rpmi: libpcap0.8-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed <13>Apr 27 09:12:56 rpmi: libpcap-devel-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed <13>Apr 27 09:12:56 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486782 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/sniffit-0.5-alt1.nosrc.rpm (w1.gzdio) Installing sniffit-0.5-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.89890 + 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.89890 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd sniffit-0.5 + autoreconf -fisv autoreconf-default: export WARNINGS= 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 Gtkdoc autoreconf-default: running: /usr/bin/autoconf-2.71 --force autoreconf-default: running: /usr/bin/autoheader-2.71 --force autoreconf-default: running: automake --add-missing --force-missing configure.ac:12: installing './compile' configure.ac:28: installing './config.guess' configure.ac:28: installing './config.sub' 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 -flto=auto -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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 + configure_runstatedir_flags=--runstatedir=/var/run + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --sbindir=/usr/bin configure: WARNING: unrecognized options: --without-included-gettext checking for i586-alt-linux-gcc... i586-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 the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking for main in -lncurses... yes checking for pcap_open_live in -lpcap... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for arpa/inet.h... yes checking for fcntl.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/socket.h... yes checking for sys/time.h... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking for ncurses.h... yes checking for pcap.h... yes checking for size_t... yes checking for pid_t... yes checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for GNU libc compatible malloc... 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... 4 checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/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 i586-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' i586-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 -flto=auto -march=i586 -mtune=generic -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' i586-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 -flto=auto -march=i586 -mtune=generic -c -o sn_packets.o sn_packets.c sn_packets.c: In function 'unwrap_packet': sn_packets.c:68:32: 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:13: 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' i586-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 -flto=auto -march=i586 -mtune=generic -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:365:24: note: expected 'int' but argument is of type 'FILE *' 365 | 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' i586-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 -flto=auto -march=i586 -mtune=generic -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' i586-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 -flto=auto -march=i586 -mtune=generic -c -o sn_cfgfile.o sn_cfgfile.c sn_cfgfile.c: In function 'clean_string': sn_cfgfile.c:131:14: warning: implicit declaration of function 'isalnum' [-Wimplicit-function-declaration] 131 | if( (isalnum(string[i]))||(string[i]=='.') ) | ^~~~~~~ sn_cfgfile.c:17:1: note: include '' or provide a declaration of 'isalnum' 16 | #include "sniffit.h" +++ |+#include 17 | /* #include "sn_generation.h" */ sn_cfgfile.c: In function 'clean_filename': sn_cfgfile.c:155:15: warning: implicit declaration of function 'iscntrl' [-Wimplicit-function-declaration] 155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:155:15: note: include '' or provide a declaration of 'iscntrl' sn_cfgfile.c:155:40: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 155 | if( !(iscntrl(string[i])) && !(isspace(string[i])) ) | ^~~~~~~ sn_cfgfile.c:155:40: note: include '' or provide a declaration of 'isspace' 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:503, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:26, from sn_cfgfile.c:5: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:255:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 255 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:270:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 270 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:286:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 286 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:302:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 302 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:303:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 303 | strcpy(helpp->host,dot_notation); | ~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:326:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 326 | strcpy(help->host, field); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:327:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 327 | strcpy(helpp->host, field); | ~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:348:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 348 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:364:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 364 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:379:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 379 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:395:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 395 | strcpy(help->host, clean_string(strtok(NULL," "))); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:411:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 411 | strcpy(help->host,dot_notation); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:412:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 412 | strcpy(helpp->host,dot_notation); | ~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:434:26: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 434 | strcpy(help->host, field); | ~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ sn_cfgfile.c:435:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 435 | strcpy(helpp->host, field); | ~~~~~^~~~~~ | | | unsigned char * /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __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:9: 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' i586-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 -flto=auto -march=i586 -mtune=generic -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:13: warning: unused variable 'i' [-Wunused-variable] 381 | int i; | ^ sn_interface.c: In function 'interaction': sn_interface.c:470:25: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] 470 | isprint(*(connection_data+i))? | ^~~~~~~ sn_interface.c:20:1: note: include '' or provide a declaration of 'isprint' 19 | #include "sn_resolv.h" +++ |+#include 20 | 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' i586-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 -flto=auto -march=i586 -mtune=generic -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:45:1: note: include '' or provide a declaration of 'isupper' 44 | #include "sniffit.h" /* definition of functions */ +++ |+#include 45 | 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:127:48: note: include '' or provide a declaration of 'tolower' 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:386:11: note: include '' or provide a declaration of 'isprint' 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:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 546 | if (MODE == DEST && ipaddr != iphead.destination /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:551:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 550 | MODE == BOTH && ipaddr != iphead.destination /* -b */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 551 | && ipaddr != iphead.source | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:565:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 565 | if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:570:32: 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:46: 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:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:611:63: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:611:47: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:641:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 641 | if (strcmp (wc_dest, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:650:65: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:650:49: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:680:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 680 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:689:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 689 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:720:65: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:720:49: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:729:65: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:729:49: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:842:28: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 842 | if (MODE == DEST && ipaddr != iphead.destination /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:847:15: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 846 | MODE == BOTH && ipaddr != iphead.destination /* -b */ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 847 | && ipaddr != iphead.source | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:858:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 858 | if (MODE == DEST && (strncmp (wc_dest, IP, n_s) != 0) /* -t */ | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sniffit.c:863:19: 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:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 893 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:904:63: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:904:47: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:934:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 934 | if (strcmp (wc_dest, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:945:65: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:945:49: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:973:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 973 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:982:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 982 | if (strcmp (wc_so, str_IP) == 0) | ^~~~~~ | | | unsigned char * /usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'unsigned char *' 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ sniffit.c:1010:65: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:1010:49: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ sniffit.c:1019:65: 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 * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ sniffit.c:1019:49: 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 * /usr/include/string.h:159:51: note: expected 'const char *' but argument is of type 'unsigned char *' 159 | 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:743:37: note: expected 'const struct pcap_pkthdr *' but argument is of type 'const struct packetheader *' 743 | 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:31: 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:24: 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:24: 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:16: 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:20: note: expected 'char *' but argument is of type 'const unsigned char *' 413 | char *data, int len) | ~~~~~~^~~~ 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:19: note: expected 'char *' but argument is of type 'const unsigned char *' 358 | char *data, int len, int type) | ~~~~~~^~~~ 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:19: note: expected 'char *' but argument is of type 'const unsigned char *' 358 | char *data, int len, int type) | ~~~~~~^~~~ 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:20: note: expected 'char *' but argument is of type 'const unsigned char *' 413 | char *data, int len) | ~~~~~~^~~~ 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:503, from /usr/include/unistd.h:25, from sniffit.c:6: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'const unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ 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:1:1: note: include '' or provide a declaration of 'isalnum' +++ |+#include 1 | /* Connection description detection file */ 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:24:32: note: include '' or provide a declaration of 'ispunct' 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) ) | ^~~~~~~ sn_conn_desc.c:27:15: note: include '' or provide a declaration of 'isspace' 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) /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) /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 * /usr/include/pcap/pcap.h:527:36: note: expected 'const char *' but argument is of type 'unsigned char *' 527 | 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) | ^~ /usr/include/pcap/pcap.h:395:18: note: declared here 395 | 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:32: 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 *)} /usr/include/pcap/pcap.h:565:42: 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 *)'} 565 | 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 * /usr/include/pcap/pcap.h:696:50: note: expected 'const char *' but argument is of type 'unsigned char *' 696 | 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 *)} /usr/include/pcap/pcap.h:565:42: 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 *)'} 565 | 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 | } | ^ sniffit.c: At top level: sniffit.c:46:13: warning: 'Copyright' defined but not used [-Wunused-variable] 46 | static char Copyright[] = | ^~~~~~~~~ make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' make[2]: Entering directory '/usr/src/RPM/BUILD/sniffit-0.5/src' i586-alt-linux-gcc -lncurses -lpcap -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -o sniffit sn_packets.o sn_generation.o sn_interface.o sn_cfgfile.o sn_logfile.o sn_resolv.o sniffit.o -lpcap -lncurses sn_generation.c:66:1: warning: type of 'input_field' does not match original declaration [-Wlto-type-mismatch] 66 | input_field(msg,NULL,0); | ^ sn_interface.c:379:7: note: return value type mismatch 379 | char *input_field(char *string, char *input, int flag) | ^ sn_interface.c:379:7: note: 'input_field' was previously declared here sn_interface.c:379:7: note: code may be misoptimized unless '-fno-strict-aliasing' is used sn_generation.c:205:22: warning: type of 'in_cksum' does not match original declaration [-Wlto-type-mismatch] 205 | sp_help_ip->checksum=in_cksum((unsigned short *) (sp->buffer), | ^ sn_packets.c:14:16: note: return value type mismatch 14 | unsigned short in_cksum(unsigned short *addr,int len) | ^ sn_packets.c:14:16: note: type 'short unsigned int' should match type 'int' sn_packets.c:14:16: note: 'in_cksum' was previously declared here sn_packets.c:14:16: note: code may be misoptimized unless '-fno-strict-aliasing' is used make[2]: Leaving directory '/usr/src/RPM/BUILD/sniffit-0.5/src' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.94410 + 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:/usr/bin:/bin:/usr/local/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' /usr/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'. /usr/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' /usr/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) verify-elf: WARNING: ./usr/bin/sniffit: uses non-LFS functions: fopen stat Splitting links to aliased files under /{,s}bin in /usr/src/tmp/sniffit-buildroot Processing files: sniffit-0.5-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.23659 + 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.50Gxin 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.26PaGV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Requires: /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.2), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.33), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libncurses.so.6 >= set:mhWiBzDlR0Bkuo7XDjOdO2QJJgVwMWJHYjDqnrMqDPjvkEiL8OEPC0KfDYgJgMTxmHc993ypx3s2, libpcap.so.0.8 >= set:kgdcXjtB4GvnPpzJRScZur0, libtinfo.so.6 >= 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.8HWlEI 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.NltO2d find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s4MuQa find-requires: running scripts (debuginfo) Requires: sniffit = 0.5-alt1, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libncurses.so.6), debug(libpcap.so.0.8), debug(libtinfo.so.6) Adding to sniffit-debuginfo a strict dependency on sniffit Wrote: /usr/src/RPM/RPMS/i586/sniffit-0.5-alt1.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/sniffit-debuginfo-0.5-alt1.i586.rpm (w2.lzdio) 4.46user 2.82system 0:12.89elapsed 56%CPU (0avgtext+0avgdata 44488maxresident)k 0inputs+0outputs (0major+677218minor)pagefaults 0swaps 3.24user 2.53system 0:21.79elapsed 26%CPU (0avgtext+0avgdata 127744maxresident)k 0inputs+0outputs (0major+190203minor)pagefaults 0swaps --- sniffit-0.5-alt1.i586.rpm.repo 2023-09-05 17:08:22.000000000 +0000 +++ sniffit-0.5-alt1.i586.rpm.hasher 2024-04-27 09:13:11.568366124 +0000 @@ -31,3 +31,3 @@ Provides: sniffit = 0.5-alt1:sisyphus+328802.700.2.1 -File: /usr/bin/sniffit 100755 root:root b2661c73c752d146952add5774ab9f3b +File: /usr/bin/sniffit 100755 root:root 45d0d95ed0687137462407269d45f476 File: /usr/share/doc/sniffit-0.5 40755 root:root @@ -46,2 +46,2 @@ File: /usr/share/man/man8/sniffit.8.xz 100644 root:root 7e7b64df309672dfb33bcf7f09dc789e -RPMIdentity: c028b42727409a12a2b22896c5bc08019dd89d638a74a17feecaacfd64f0402789b4a91de01bc4b070c61739e7bd2ced38237e13527abb06d29750ac07d9e4f4 +RPMIdentity: 5f0d6a54d78dd718397a9ba2e5a11b2a48fb38659c12331728a01b000ad42fb99abab98e03095081c56a2403a62064851a931026863632d5b8cad77ec6922c37 --- sniffit-debuginfo-0.5-alt1.i586.rpm.repo 2023-09-05 17:08:22.000000000 +0000 +++ sniffit-debuginfo-0.5-alt1.i586.rpm.hasher 2024-04-27 09:13:11.641367371 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/6e 40755 root:root -/usr/lib/debug/.build-id/6e/032d02a97cdc7929acab613947047d6807b652 120777 root:root ../../../../bin/sniffit -/usr/lib/debug/.build-id/6e/032d02a97cdc7929acab613947047d6807b652.debug 120777 root:root ../../usr/bin/sniffit.debug +/usr/lib/debug/.build-id/ff 40755 root:root +/usr/lib/debug/.build-id/ff/cc4c3c41ed18db9ace2fa9e08c21796038c0a9 120777 root:root ../../../../bin/sniffit +/usr/lib/debug/.build-id/ff/cc4c3c41ed18db9ace2fa9e08c21796038c0a9.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+328802.700.2.1 -File: /usr/lib/debug/.build-id/6e 40755 root:root -File: /usr/lib/debug/.build-id/6e/032d02a97cdc7929acab613947047d6807b652 120777 root:root ../../../../bin/sniffit -File: /usr/lib/debug/.build-id/6e/032d02a97cdc7929acab613947047d6807b652.debug 120777 root:root ../../usr/bin/sniffit.debug -File: /usr/lib/debug/usr/bin/sniffit.debug 100644 root:root 59fdb99302d4832893ce72be7261a90e +File: /usr/lib/debug/.build-id/ff 40755 root:root +File: /usr/lib/debug/.build-id/ff/cc4c3c41ed18db9ace2fa9e08c21796038c0a9 120777 root:root ../../../../bin/sniffit +File: /usr/lib/debug/.build-id/ff/cc4c3c41ed18db9ace2fa9e08c21796038c0a9.debug 120777 root:root ../../usr/bin/sniffit.debug +File: /usr/lib/debug/usr/bin/sniffit.debug 100644 root:root e4c23d2353aebc44b043a398e58a2ba3 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: 4ed963915faafe50991d2436ffe0bb129f501e254bbc06b85b3713b12f15087c94d3074c43560b238eed85bec1500246bf9b57cfe26dc7a24843027a8b265bfe +RPMIdentity: 27076429ef7458d9bab6eac7276aed826c796bd86c7d990e75290da21e5b423cbb7fb2117a5eef30f09204d1f8ac8208849b3a95d3e6c438663548510bf95f24