* Package: net-analyzer/siphon-666-r1 * Repository: gentoo * Maintainer: netmon@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking siphon-v.666.tar.gz to /var/tmp/portage/net-analyzer/siphon-666-r1/work >>> Source unpacked in /var/tmp/portage/net-analyzer/siphon-666-r1/work >>> Preparing source in /var/tmp/portage/net-analyzer/siphon-666-r1/work/siphon-v.666 ... * Applying siphon-666-gentoo.patch ... [ ok ] * Applying siphon-666-log.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/siphon-666-r1/work/siphon-v.666 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/siphon-666-r1/work/siphon-v.666 ... make -j1 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -pthread -Wall -I. -c -o parse.o parse.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -pthread -Wall -I. -c -o sniff.o sniff.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -pthread -Wall -I. -c -o main.o main.c main.c: In function ‘main’: main.c:85:5: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 85 | device = pcap_lookupdev(errbuf); | ^~~~~~ In file included from /usr/include/pcap.h:43, from ./siphon.h:10, from main.c:13: /usr/include/pcap/pcap.h:328:16: note: declared here 328 | PCAP_API char *pcap_lookupdev(char *) | ^~~~~~~~~~~~~~ main.c:101:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 101 | pthread_create(&log_thread,NULL,(void *)siphon_log, (void *)pd_parse2log[0]); | ^ x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -pthread -Wall -I. -c -o log.o log.c log.c: In function ‘siphon_log’: log.c:45:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 45 | if(read((int)pipe,buf,sizeof(buf)) == -1) | ^ log.c:25:38: warning: variable ‘proto’ set but not used [-Wunused-but-set-variable] 25 | char hashed[100], buf[1024], *os, *proto = NULL, *df; | ^~~~~ log.c: In function ‘oslookup’: log.c:151:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] 151 | fgets(line,80,osprints); | ^~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -Wall -pthread -ggdb -Wl,-O1 -Wl,--as-needed -o siphon parse.o sniff.o main.o log.o -lpcap /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sniff.o:(.bss+0x10): multiple definition of `device'; parse.o:(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sniff.o:(.bss+0x0): multiple definition of `back'; parse.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sniff.o:(.bss+0x4): multiple definition of `verbose'; parse.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sniff.o:(.bss+0x8): multiple definition of `logfile'; parse.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x0): multiple definition of `back'; parse.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x4): multiple definition of `verbose'; parse.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x8): multiple definition of `logfile'; parse.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x10): multiple definition of `device'; parse.o:(.bss+0x10): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: log.o:(.bss+0x10): multiple definition of `logfile'; parse.o:(.bss+0x8): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: log.o:(.bss+0x8): multiple definition of `verbose'; parse.o:(.bss+0x4): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: log.o:(.bss+0x4): multiple definition of `back'; parse.o:(.bss+0x0): first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: log.o:(.bss+0x18): multiple definition of `device'; parse.o:(.bss+0x10): first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:12: siphon] Error 1 * ERROR: net-analyzer/siphon-666-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/siphon-666-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/siphon-666-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:siphon-666-r1:20200209-051702.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/siphon-666-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/siphon-666-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/siphon-666-r1/work/siphon-v.666' * S: '/var/tmp/portage/net-analyzer/siphon-666-r1/work/siphon-v.666'