<86>Aug 1 09:24:02 userdel[803078]: delete user 'rooter' <86>Aug 1 09:24:02 userdel[803078]: removed group 'rooter' owned by 'rooter' <86>Aug 1 09:24:02 userdel[803078]: removed shadow group 'rooter' owned by 'rooter' <86>Aug 1 09:24:02 groupadd[803105]: group added to /etc/group: name=rooter, GID=645 <86>Aug 1 09:24:02 groupadd[803105]: group added to /etc/gshadow: name=rooter <86>Aug 1 09:24:02 groupadd[803105]: new group: name=rooter, GID=645 <86>Aug 1 09:24:02 useradd[803115]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Aug 1 09:24:02 userdel[803138]: delete user 'builder' <86>Aug 1 09:24:02 userdel[803138]: removed group 'builder' owned by 'builder' <86>Aug 1 09:24:02 userdel[803138]: removed shadow group 'builder' owned by 'builder' <86>Aug 1 09:24:02 groupadd[803150]: group added to /etc/group: name=builder, GID=646 <86>Aug 1 09:24:02 groupadd[803150]: group added to /etc/gshadow: name=builder <86>Aug 1 09:24:02 groupadd[803150]: new group: name=builder, GID=646 <86>Aug 1 09:24:02 useradd[803168]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root warning: user victor does not exist - using root warning: group victor does not exist - using root <13>Aug 1 09:24:05 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228299 installed <13>Aug 1 09:24:05 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237675 installed <13>Aug 1 09:24:05 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237923 installed <13>Aug 1 09:24:05 rpmi: libsystemd-1:246.14-alt1 p9+279856.100.1.1 1626804758 installed <13>Aug 1 09:24:05 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553687 installed <13>Aug 1 09:24:05 rpmi: libpcap0.8-2:1.9.1-alt2 p9+263886.100.3.1 1609171733 installed <13>Aug 1 09:24:05 rpmi: libpcap-devel-2:1.9.1-alt2 p9+263886.100.3.1 1609171733 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/p0f-2.0.8-alt1.nosrc.rpm (w1.gzdio) Installing p0f-2.0.8-alt1.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.74921 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf p0f + echo 'Source #0 (p0f-2.0.8.tgz):' Source #0 (p0f-2.0.8.tgz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/p0f-2.0.8.tgz + cd p0f + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (p0f-2.0.5-query.patch):' Patch #0 (p0f-2.0.5-query.patch): + /usr/bin/patch -p1 patching file p0f-query.c Hunk #1 succeeded at 74 (offset 5 lines). + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.74921 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd p0f + make 'CC=gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' make: Entering directory '/usr/src/RPM/BUILD/p0f' ./Build all Your system type is: Linux Please help with p0f 2: http://lcamtuf.coredump.cx/p0f-help/ GNU make found at /usr/bin/gmake, trying to use it... gmake[1]: Entering directory '/usr/src/RPM/BUILD/p0f' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -O3 -Wall -fomit-frame-pointer -funroll-loops -DUSE_BPF=\"pcap-bpf.h\" -I/usr/include/pcap -I/usr/local/include/pcap -I/usr/local/include -o p0f p0f.c p0f-query.c crc32.c -lpcap In file included from p0f.c:53: mtu.h:26:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 256, "radio modem" }, ^~~~~~~~~~~~~ mtu.h:26:12: note: (near initialization for 'mtu[0].dev') mtu.h:27:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 386, "ethernut" }, ^~~~~~~~~~ mtu.h:27:12: note: (near initialization for 'mtu[1].dev') mtu.h:28:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 552, "SLIP line / encap ppp" }, ^~~~~~~~~~~~~~~~~~~~~~~ mtu.h:28:12: note: (near initialization for 'mtu[2].dev') mtu.h:29:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 576, "sometimes modem" }, ^~~~~~~~~~~~~~~~~ mtu.h:29:12: note: (near initialization for 'mtu[3].dev') mtu.h:30:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1280, "gif tunnel" }, ^~~~~~~~~~~~ mtu.h:30:12: note: (near initialization for 'mtu[4].dev') mtu.h:31:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1300, "PIX, SMC, sometimes wireless" }, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtu.h:31:12: note: (near initialization for 'mtu[5].dev') mtu.h:32:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1362, "sometimes DSL (1)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:32:12: note: (near initialization for 'mtu[6].dev') mtu.h:33:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1372, "cable modem" }, ^~~~~~~~~~~~~ mtu.h:33:12: note: (near initialization for 'mtu[7].dev') mtu.h:34:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1400, "(Google/AOL)" }, /* To be investigated */ ^~~~~~~~~~~~~~ mtu.h:34:12: note: (near initialization for 'mtu[8].dev') mtu.h:35:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1415, "sometimes wireless" }, ^~~~~~~~~~~~~~~~~~~~ mtu.h:35:12: note: (near initialization for 'mtu[9].dev') mtu.h:36:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1420, "GPRS, T1, FreeS/WAN" }, ^~~~~~~~~~~~~~~~~~~~~ mtu.h:36:12: note: (near initialization for 'mtu[10].dev') mtu.h:37:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1423, "sometimes cable" }, ^~~~~~~~~~~~~~~~~ mtu.h:37:12: note: (near initialization for 'mtu[11].dev') mtu.h:38:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1440, "sometimes DSL (2)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:38:12: note: (near initialization for 'mtu[12].dev') mtu.h:39:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1442, "IPIP tunnel" }, ^~~~~~~~~~~~~ mtu.h:39:12: note: (near initialization for 'mtu[13].dev') mtu.h:40:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1450, "vtun" }, ^~~~~~ mtu.h:40:12: note: (near initialization for 'mtu[14].dev') mtu.h:41:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1452, "sometimes DSL (3)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:41:12: note: (near initialization for 'mtu[15].dev') mtu.h:42:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1454, "sometimes DSL (4)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:42:12: note: (near initialization for 'mtu[16].dev') mtu.h:43:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1456, "ISDN ppp" }, ^~~~~~~~~~ mtu.h:43:12: note: (near initialization for 'mtu[17].dev') mtu.h:44:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1458, "BT DSL (?)" }, ^~~~~~~~~~~~ mtu.h:44:12: note: (near initialization for 'mtu[18].dev') mtu.h:45:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1462, "sometimes DSL (5)" }, ^~~~~~~~~~~~~~~~~~~ mtu.h:45:12: note: (near initialization for 'mtu[19].dev') mtu.h:46:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1470, "(Google 2)" }, ^~~~~~~~~~~~ mtu.h:46:12: note: (near initialization for 'mtu[20].dev') mtu.h:47:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1476, "IPSec/GRE" }, ^~~~~~~~~~~ mtu.h:47:12: note: (near initialization for 'mtu[21].dev') mtu.h:48:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1480, "IPv6/IPIP" }, ^~~~~~~~~~~ mtu.h:48:12: note: (near initialization for 'mtu[22].dev') mtu.h:49:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1492, "pppoe (DSL)" }, ^~~~~~~~~~~~~ mtu.h:49:12: note: (near initialization for 'mtu[23].dev') mtu.h:50:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1496, "vLAN" }, ^~~~~~ mtu.h:50:12: note: (near initialization for 'mtu[24].dev') mtu.h:51:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1500, "ethernet/modem" }, ^~~~~~~~~~~~~~~~ mtu.h:51:12: note: (near initialization for 'mtu[25].dev') mtu.h:52:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 1656, "Ericsson HIS" }, ^~~~~~~~~~~~~~ mtu.h:52:12: note: (near initialization for 'mtu[26].dev') mtu.h:53:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2024, "wireless/IrDA" }, ^~~~~~~~~~~~~~~ mtu.h:53:12: note: (near initialization for 'mtu[27].dev') mtu.h:54:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2048, "Cyclom X.25 WAN" }, ^~~~~~~~~~~~~~~~~ mtu.h:54:12: note: (near initialization for 'mtu[28].dev') mtu.h:55:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2250, "AiroNet wireless" }, ^~~~~~~~~~~~~~~~~~ mtu.h:55:12: note: (near initialization for 'mtu[29].dev') mtu.h:56:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 3924, "loopback" }, ^~~~~~~~~~ mtu.h:56:12: note: (near initialization for 'mtu[30].dev') mtu.h:57:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4056, "token ring (1)" }, ^~~~~~~~~~~~~~~~ mtu.h:57:12: note: (near initialization for 'mtu[31].dev') mtu.h:58:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4096, "Sangoma X.25 WAN" }, ^~~~~~~~~~~~~~~~~~ mtu.h:58:12: note: (near initialization for 'mtu[32].dev') mtu.h:59:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4352, "FDDI" }, ^~~~~~ mtu.h:59:12: note: (near initialization for 'mtu[33].dev') mtu.h:60:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4500, "token ring (2)" }, ^~~~~~~~~~~~~~~~ mtu.h:60:12: note: (near initialization for 'mtu[34].dev') mtu.h:61:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 9180, "FORE ATM" }, ^~~~~~~~~~ mtu.h:61:12: note: (near initialization for 'mtu[35].dev') mtu.h:62:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 16384, "sometimes loopback (1)" }, ^~~~~~~~~~~~~~~~~~~~~~~~ mtu.h:62:12: note: (near initialization for 'mtu[36].dev') mtu.h:63:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 16436, "sometimes loopback (2)" }, ^~~~~~~~~~~~~~~~~~~~~~~~ mtu.h:63:12: note: (near initialization for 'mtu[37].dev') mtu.h:64:12: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 18000, "token ring x4" }, ^~~~~~~~~~~~~~~ mtu.h:64:12: note: (near initialization for 'mtu[38].dev') In file included from p0f.c:54: tos.h:51:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 2, "low cost" }, /* LC */ ^~~~~~~~~~ tos.h:51:10: note: (near initialization for 'tos[0].desc') tos.h:52:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 4, "high reliability" }, /* HR */ ^~~~~~~~~~~~~~~~~~ tos.h:52:10: note: (near initialization for 'tos[1].desc') tos.h:53:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 8, "low delay" }, /* LD */ ^~~~~~~~~~~ tos.h:53:10: note: (near initialization for 'tos[2].desc') tos.h:54:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 12, "DNA.FI / CTINETS" }, /* LD, HR */ ^~~~~~~~~~~~~~~~~~ tos.h:54:10: note: (near initialization for 'tos[3].desc') tos.h:55:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 16, "high throughput" }, /* HT */ ^~~~~~~~~~~~~~~~~ tos.h:55:10: note: (near initialization for 'tos[4].desc') tos.h:56:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 32, "priority1" }, /* PRI1 */ ^~~~~~~~~~~ tos.h:56:10: note: (near initialization for 'tos[5].desc') tos.h:57:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 40, "UTFORS Sweden" }, /* PRI1, LD */ ^~~~~~~~~~~~~~~ tos.h:57:10: note: (near initialization for 'tos[6].desc') tos.h:58:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 64, "Tiscali Denmark" }, /* PRI2 */ ^~~~~~~~~~~~~~~~~ tos.h:58:10: note: (near initialization for 'tos[7].desc') tos.h:59:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 80, "Bredband Scandinavia" }, /* PRI2, HT */ ^~~~~~~~~~~~~~~~~~~~~~ tos.h:59:10: note: (near initialization for 'tos[8].desc') tos.h:60:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 112, "Bonet Sweden" }, /* PRI3, HT */ ^~~~~~~~~~~~~~ tos.h:60:10: note: (near initialization for 'tos[9].desc') tos.h:61:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 128, "Cable.BG / Teleca.SE" }, /* PRI4 */ ^~~~~~~~~~~~~~~~~~~~~~ tos.h:61:10: note: (near initialization for 'tos[10].desc') tos.h:62:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 144, "IPTelecom / Alkar" }, /* PRI4, HT */ ^~~~~~~~~~~~~~~~~~~ tos.h:62:10: note: (near initialization for 'tos[11].desc') tos.h:63:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 244, "top priority" }, /* PRI7 */ ^~~~~~~~~~~~~~ tos.h:63:10: note: (near initialization for 'tos[12].desc') tos.h:64:10: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] { 255, "Arcor IP" }, /* (bad) */ ^~~~~~~~~~ tos.h:64:10: note: (near initialization for 'tos[13].desc') p0f.c:112:24: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] *use_rule = "tcp[13] & 0x17 == 2"; ^~~~~~~~~~~~~~~~~~~~~ p0f.c: In function 'collide': p0f.c:304:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ~~~~~~^~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c:304:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (!strcmp(sig[i].os,sig[id].os) && ~~~~~~~^~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c:305:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ~~~~~~^~~~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c:305:36: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] !strcmp(sig[i].desc,sig[id].desc)) { ~~~~~~~^~~~~ In file included from p0f.c:17: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f.c: In function 'load_config': p0f.c:508:28: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign] FILE* c = fopen(file?file:(_u8*) ~~~~~~~~~^~~~~~~ (ack_mode?SYNACK_DB:(rst_mode?RST_DB:(open_mode?OPEN_DB:SYN_DB))), ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from p0f.c:35: /usr/include/stdio.h:232:14: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} extern FILE *fopen (const char *__restrict __filename, ^~~~~ p0f.c:513:63: warning: pointer targets in passing argument 1 of 'load_config' differ in signedness [-Wpointer-sign] if (!file) load_config(ack_mode? CONFIG_DIR "/" SYNACK_DB : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ ( rst_mode ? CONFIG_DIR "/" RST_DB : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ( open_mode ? CONFIG_DIR "/" OPEN_DB : ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CONFIG_DIR "/" SYN_DB ))); ~~~~~~~~~~~~~~~~~~~~~~~~ p0f.c:504:13: note: expected '_u8 *' {aka 'unsigned char *'} but argument is of type 'char *' static void load_config(_u8* file) { ^~~~~~~~~~~ p0f.c:517:19: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] else pfatal(file); ^~~~ p0f.c:93:53: note: in definition of macro 'pfatal' #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) ^ In file included from p0f.c:35: /usr/include/stdio.h:775:13: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern void perror (const char *__s); ^~~~~~ p0f.c:521:19: warning: pointer targets in passing argument 1 of 'fgets' differ in signedness [-Wpointer-sign] while ((p=fgets(buf,sizeof(buf),c))) { ^~~ In file included from /usr/include/stdio.h:862, from p0f.c:35: /usr/include/bits/stdio2.h:252:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} fgets (char *__restrict __s, int __n, FILE *__restrict __stream) ^~~~~ p0f.c:521:12: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] while ((p=fgets(buf,sizeof(buf),c))) { ^ p0f.c:530:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] file_cksum ^= crc32(buf, strlen(buf)); ^~~ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:536:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] l=strlen(p); ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:543:16: warning: pointer targets in passing argument 1 of 'sscanf' differ in signedness [-Wpointer-sign] if (sscanf(p,"%[0-9%*()ST]:%d:%d:%[0-9()*]:%[^:]:%[^ :]:%[^:]:%[^:]", ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdio.h:400:12: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int __REDIRECT_NTH (sscanf, (const char *__restrict __s, ^~~~~~~~~~~~~~ p0f.c:552:16: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] s = atoi(sb); ^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:564:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^~~~ In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ p0f.c:564:24: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] sig[sigcnt].os = strdup(gptr); ^ p0f.c:565:33: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^~~~ In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ p0f.c:565:24: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] sig[sigcnt].desc = strdup(desc); ^ p0f.c:576:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sig[sigcnt].wsize = atoi(w+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:580:33: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] sig[sigcnt].wsize = atoi(w+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:582:39: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if (!(sig[sigcnt].wsize = atoi(w+1))) ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:585:37: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] } else sig[sigcnt].wsize = atoi(w); ^ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:623:51: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if (!(sig[sigcnt].wsc = atoi(p+2))) ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:628:48: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else sig[sigcnt].wsc = atoi(p+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:636:51: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] if (!(sig[sigcnt].mss = atoi(p+2))) ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:641:48: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else sig[sigcnt].mss = atoi(p+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c:647:56: warning: pointer targets in passing argument 1 of 'atoi' differ in signedness [-Wpointer-sign] else sig[sigcnt].opt[optcnt] = atoi(p+1); ~^~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/stdlib.h:361:1: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (atoi (const char *__nptr)) ^~~~~ p0f.c: In function 'lookup_link': p0f.c:746:40: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!mss) return txt ? "unspecified" : 0; ~~~~~~~~~~~~~~~~~~~~^~~ p0f.c:757:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(tmp,"unknown-%d",mss); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ p0f.c: In function 'put_date': p0f.c:788:9: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] x = asctime((add_timestamp == 1) ? localtime(&tval.tv_sec) : ^ p0f.c:791:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:791:42: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (x[strlen(x)-1]=='\n') x[strlen(x)-1]=0; ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c: In function 'grab_name': p0f.c:827:27: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!do_resolve) return ""; ^~ p0f.c:829:17: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ p0f.c:829:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^ In file included from p0f.c:17: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern size_t strlen (const char *__s) ^~~~~~ p0f.c:829:58: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!r || !(s = r->h_name) || !(j = strlen(s))) return ""; ^~ p0f.c:830:29: warning: pointer targets in returning 'char *' from a function with return type '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (j > MY_MAXDNS) return ""; ^~ p0f.c: In function 'display_signature': p0f.c:869:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!tstamp) putchar('0'); d=1; break; ^~ p0f.c:869:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (!tstamp) putchar('0'); d=1; break; ^ p0f.c: In function 'main': p0f.c:1519:29: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'f': config_file = optarg; break; ^ p0f.c:1521:27: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'i': use_iface = optarg; break; ^ p0f.c:1523:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 's': use_dump = optarg; break; ^ p0f.c:1525:28: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'w': write_dump = optarg; break; ^ p0f.c:1544:28: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'Q': use_cache = optarg; break; ^ p0f.c:1546:28: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'u': set_user = optarg; break; ^ p0f.c:1566:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'A': use_rule = "tcp[13] & 0x17 == 0x12"; ^ p0f.c:1570:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'R': use_rule = "tcp[13] & 0x17 == 0x4 or tcp[13] & 0x17 == 0x14"; ^ p0f.c:1574:26: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] case 'O': use_rule = "tcp[13] & 0x17 == 0x10"; ^ p0f.c:1598:26: warning: pointer targets in passing argument 1 of 'usage' differ in signedness [-Wpointer-sign] default: usage(argv[0]); ~~~~^~~ p0f.c:236:13: note: expected '_u8 *' {aka 'unsigned char *'} but argument is of type 'char *' static void usage(_u8* name) { ^~~~~ p0f.c:1645:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf,"(%s) and (%.3000s)",use_rule,argv[optind]); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ p0f.c:1650:21: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] _u8* x = strdup(use_rule); ^~~~~~~~ In file included from p0f.c:17: /usr/include/string.h:167:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strdup (const char *__s) ^~~~~~ p0f.c:1650:14: warning: pointer targets in initialization of '_u8 *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] _u8* x = strdup(use_rule); ^~~~~~ p0f.c:1651:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(buf,"(%.1000s) or (vlan and (%.1000s))",x,x); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ p0f.c:1671:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(x.sun_path,use_cache,63); ^~~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from p0f.c:16: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f.c:1672:12: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink(use_cache); ^~~~~~~~~ In file included from p0f.c:23: /usr/include/unistd.h:825:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int unlink (const char *__name) __THROW __nonnull ((1)); ^~~~~~ p0f.c:1673:60: warning: pointer targets in passing argument 1 of 'perror' differ in signedness [-Wpointer-sign] if (bind(lsock,(struct sockaddr*)&x,sizeof(x))) pfatal(use_cache); ^~~~~~~~~ p0f.c:93:53: note: in definition of macro 'pfatal' #define pfatal(x) do { debug("[-] ERROR: "); perror(x); exit(1); } while (0) ^ In file included from p0f.c:35: /usr/include/stdio.h:775:13: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern void perror (const char *__s); ^~~~~~ p0f.c:1680:32: warning: pointer targets in passing argument 1 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:413:18: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^~~~~~~~~~~~~~~~~ p0f.c:1680:42: warning: pointer targets in passing argument 2 of 'pcap_open_offline' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_offline(use_dump, errbuf))) ^~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:413:18: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_offline(const char *, char *); ^~~~~~~~~~~~~~~~~ p0f.c:1699:5: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:328:16: note: declared here PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ p0f.c:1699:46: warning: pointer targets in passing argument 1 of 'pcap_lookupdev' differ in signedness [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:328:16: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API char *pcap_lookupdev(char *) ^~~~~~~~~~~~~~ p0f.c:1699:30: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!use_iface) use_iface=pcap_lookupdev(errbuf); ^ p0f.c:1702:31: warning: pointer targets in assignment from 'char *' to '_u8 *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] if (!use_iface) use_iface = "lo"; ^ p0f.c:1708:29: warning: pointer targets in passing argument 1 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:409:18: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ p0f.c:1708:82: warning: pointer targets in passing argument 5 of 'pcap_open_live' differ in signedness [-Wpointer-sign] if (!(pt=pcap_open_live(use_iface,PACKET_SNAPLEN,use_promisc,capture_timeout,errbuf))) ^~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:409:18: note: expected 'char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_t *pcap_open_live(const char *, int, int, int, char *); ^~~~~~~~~~~~~~ p0f.c:1714:30: warning: pointer targets in passing argument 3 of 'pcap_compile' differ in signedness [-Wpointer-sign] if (pcap_compile(pt, &flt, use_rule, 1, 0)) ^~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:458:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API int pcap_compile(pcap_t *, struct bpf_program *, const char *, int, ^~~~~~~~~~~~ p0f.c:1715:16: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] if (strchr(use_rule,'(')) { ^~~~~~~~ In file included from p0f.c:17: /usr/include/string.h:226:14: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern char *strchr (const char *__s, int __c) ^~~~~~ p0f.c:1736:37: warning: pointer targets in passing argument 2 of 'pcap_dump_open' differ in signedness [-Wpointer-sign] if (!(dumper=pcap_dump_open(pt, write_dump))) { ^~~~~~~~~~ In file included from p0f.c:36: /usr/include/pcap/pcap.h:488:25: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} PCAP_API pcap_dumper_t *pcap_dump_open(pcap_t *, const char *); ^~~~~~~~~~~~~~ p0f.c:1757:19: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam(set_user); ^~~~~~~~ In file included from p0f.c:27: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^~~~~~~~ p0f.c:1760:28: warning: pointer targets in passing argument 1 of 'chown' differ in signedness [-Wpointer-sign] if (use_cache && chown(use_cache,pw->pw_uid,pw->pw_gid)) ^~~~~~~~~ In file included from p0f.c:23: /usr/include/unistd.h:473:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int chown (const char *__file, __uid_t __owner, __gid_t __group) ^~~~~ p0f.c:1855:24: warning: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] if (select(c+1,&f,0,&f,&tv)>0) ^~ ~~ p0f.c:1765:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ p0f.c:1790:5: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ p0f-query.c: In function 'p0f_addcache': p0f-query.c:79:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->genre,genre,19); ~~^~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:79:23: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->genre,genre,19); ^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:80:15: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->detail,detail,39); ~~^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:80:24: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(sc->detail,detail,39); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:83:23: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ~~^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:83:30: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] if (link) strncpy(sc->link,link,29); ^~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:84:22: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ~~^~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c:84:28: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] if (tos) strncpy(sc->tos,tos,29); ^~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'const char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c: In function 'p0f_handlequery': p0f-query.c:134:14: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy(s.version, VER, sizeof(s.version)-1); ~^~~~~~~~ In file included from /usr/include/features.h:428, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from p0f-query.c:17: /usr/include/bits/string_fortified.h:103:1: note: expected 'char * restrict' but argument is of type '_u8 *' {aka 'unsigned char *'} __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^~~~~ p0f-query.c: In function 'p0f_findmasq': p0f-query.c:232:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ^~~~~ In file included from p0f-query.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ p0f-query.c:232:30: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] if (strcmp(genre,cur->s.genre)) flags |= D_GENRE; ~~~~~~^~~~~~ In file included from p0f-query.c:23: /usr/include/string.h:137:12: note: expected 'const char *' but argument is of type '_u8 *' {aka 'unsigned char *'} extern int strcmp (const char *__s1, const char *__s2) ^~~~~~ strip p0f 2>/dev/null || true >> You can also try 'make p0fq' to compile a sample query >> client (see README for more information). gmake[1]: Leaving directory '/usr/src/RPM/BUILD/p0f' make: Leaving directory '/usr/src/RPM/BUILD/p0f' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.54765 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/p0f-buildroot + : + /bin/rm -rf -- /usr/src/tmp/p0f-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd p0f + install -pD -m755 p0f /usr/src/tmp/p0f-buildroot/usr/sbin/p0f + install -pD -m755 p0frep /usr/src/tmp/p0f-buildroot/usr/bin/p0frep + install -pD -m755 /usr/src/RPM/SOURCES/p0f.init /usr/src/tmp/p0f-buildroot/etc/rc.d/init.d/p0f + install -pD -m644 /usr/src/RPM/SOURCES/p0f.sysconfig /usr/src/tmp/p0f-buildroot/etc/sysconfig/p0f + install -pD -m644 /usr/src/RPM/SOURCES/p0f.logrotate /usr/src/tmp/p0f-buildroot/etc/logrotate.d/p0f + install -pD -m644 p0f.1 /usr/src/tmp/p0f-buildroot/usr/share/man/man1/p0f.1 + install -d /usr/src/tmp/p0f-buildroot/etc/p0f + install -m644 p0f.fp p0fa.fp p0fo.fp p0fr.fp /usr/src/tmp/p0f-buildroot/etc/p0f/ + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/p0f-buildroot (auto) Verifying and fixing files in /usr/src/tmp/p0f-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/p0f-buildroot/ (default) Compressing files in /usr/src/tmp/p0f-buildroot (auto) 056-debuginfo.brp: WARNING: You have 1 stripped ELF objects. Please compile with debugging information! 056-debuginfo.brp: WARNING: An excerpt from the list of affected files follows: ./usr/sbin/p0f Verifying ELF objects in /usr/src/tmp/p0f-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/sbin/p0f: uses non-LFS functions: fopen freopen Hardlinking identical .pyc and .pyo files Processing files: p0f-2.0.8-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.15772 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd p0f + DOCDIR=/usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + export DOCDIR + rm -rf /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + /bin/mkdir -p /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + cp -prL doc/CREDITS doc/ChangeLog doc/KNOWN_BUGS doc/README doc/TODO /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + chmod -R go-w /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + chmod -R a+rX /usr/src/tmp/p0f-buildroot/usr/share/doc/p0f-2.0.8 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.PEHoPA find-provides: running scripts (debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NTn2Hk find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) find-requires: FINDPACKAGE-COMMANDS: awk cat chmod chown grep sed sort touch uniq Requires: /bin/sh, /etc/logrotate.d, /etc/rc.d/init.d, /etc/rc.d/init.d(SourceIfNotEmpty), /etc/rc.d/init.d(msg_usage), /etc/rc.d/init.d(start_daemon), /etc/rc.d/init.d(status), /etc/rc.d/init.d(stop_daemon), /etc/rc.d/init.d/functions, /lib/ld-linux.so.2, coreutils, gawk, grep, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.15), libc.so.6(GLIBC_2.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libpcap.so.0.8 >= set:kgdcDuiuPDdBtGi2RLHVI5rySZLDEdzLLxr71, rtld(GNU_HASH), sed Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UzDXBp Wrote: /usr/src/RPM/RPMS/i586/p0f-2.0.8-alt1.i586.rpm (w2.lzdio) 3.73user 0.67system 0:07.10elapsed 62%CPU (0avgtext+0avgdata 41788maxresident)k 0inputs+0outputs (0major+205070minor)pagefaults 0swaps 8.05user 3.46system 0:14.25elapsed 80%CPU (0avgtext+0avgdata 118076maxresident)k 0inputs+0outputs (0major+455824minor)pagefaults 0swaps --- p0f-2.0.8-alt1.i586.rpm.repo 2006-12-15 12:07:47.000000000 +0000 +++ p0f-2.0.8-alt1.i586.rpm.hasher 2021-08-01 09:24:15.018705968 +0000 @@ -16,6 +16,6 @@ /usr/share/doc/p0f-2.0.8/TODO 100644 root:root -/usr/share/man/man1/p0f.1.gz 100644 root:root -Requires: rpmlib(PayloadFilesHavePrefix) <= 4.0-1 -Requires: rpmlib(CompressedFileNames) <= 3.0.4-1 +/usr/share/man/man1/p0f.1.xz 100644 root:root +Requires: /bin/sh Requires: /etc/logrotate.d +Requires: /etc/rc.d/init.d Requires: /etc/rc.d/init.d(SourceIfNotEmpty) @@ -25,2 +25,4 @@ Requires: /etc/rc.d/init.d(stop_daemon) +Requires: /etc/rc.d/init.d/functions +Requires: /lib/ld-linux.so.2 Requires: coreutils @@ -30,2 +32,3 @@ Requires: libc.so.6(GLIBC_2.1) +Requires: libc.so.6(GLIBC_2.15) Requires: libc.so.6(GLIBC_2.3) @@ -33,7 +36,8 @@ Requires: libc.so.6(GLIBC_2.4) -Requires: libpcap.so.0.8 +Requires: libc.so.6(GLIBC_2.7) +Requires: libpcap.so.0.8 >= set:kgdcDuiuPDdBtGi2RLHVI5rySZLDEdzLLxr71 +Requires: rpmlib(SetVersions) Requires: rtld(GNU_HASH) Requires: sed -Requires: service -Requires: sh +Requires: rpmlib(PayloadIsLzma) Provides: p0f = 2.0.8-alt1 @@ -48,3 +52,3 @@ File: /usr/bin/p0frep 100755 root:root ffbde0a7f15e273c01fbd2c3f87f8b94 -File: /usr/sbin/p0f 100755 root:root e45f6f36c61456f543d827c910c3fdb5 +File: /usr/sbin/p0f 100755 root:root 25636d4ebf110f3a7090b7a80a783cb7 File: /usr/share/doc/p0f-2.0.8 40755 root:root @@ -55,3 +59,3 @@ File: /usr/share/doc/p0f-2.0.8/TODO 100644 root:root 6756aea3d7b7aa7ca69930757ffb8cb9 -File: /usr/share/man/man1/p0f.1.gz 100644 root:root b445a8d2b15869fef03ba405aa66edf1 -RPMIdentity: 51231f3ba8ac2b1d48dd10d1b8a86010ade9c0d193337dc862ac430fa580b5166ac7d7867067592fce50728b5708133fb23a7160e7390c173f9ddb4a4758e208 +File: /usr/share/man/man1/p0f.1.xz 100644 root:root 5f6298c38572dce1751b5cd25f90e80d +RPMIdentity: 7a5097c23da008433ec37160dd214854f8c5eccf247aafd5adf67db4a98dd8fa9ca0e349475c5f9ca7c83ecd4cc36ceb35e7952202b364c34d2e9f377dcabed8