==> Retrieving sources... -> Found lsrtunnel-0.2.tar.gz ==> Generating checksums for source files... ==> Making package: lsrtunnel 0.2-4 (Fri 20 Dec 2024 11:58:56 PM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/libdnet 1.18.0-1 0.16 MiB Total Installed Size: 0.16 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libdnet... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found lsrtunnel-0.2.tar.gz ==> Validating source files with sha512sums... lsrtunnel-0.2.tar.gz ... Passed ==> Extracting sources... -> Extracting lsrtunnel-0.2.tar.gz with bsdtar ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... fgrep: warning: fgrep is obsolescent; using grep -F GNU checking dependency style of gcc... none checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E gcc -E egrep: warning: egrep is obsolescent; using grep -E egrep: warning: egrep is obsolescent; using grep -E checking for ANSI C header files... egrep: warning: egrep is obsolescent; using grep -E no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking signal.h usability... yes checking signal.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for signal.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for netinet/in.h... yes checking dnet.h usability... yes checking dnet.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for dnet.h... yes checking pcap.h usability... yes checking pcap.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for pcap.h... yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for working malloc... yes checking for library containing socket... none required checking for library containing gethostbyname... none required checking for pcap_open_live in -lpcap... yes checking for intf_open in -ldnet... yes checking for struct intf_entry.intf_len... yes configure: creating ./config.status config.status: creating Makefile config.status: executing depfiles commands gcc -DPACKAGE_NAME=\"lsrtunnel.c\" -DPACKAGE_TARNAME=\"lsrtunnel-c\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"lsrtunnel.c\ 0.2\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"lsrtunnel\" -DVERSION=\"0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_DNET_H=1 -DHAVE_PCAP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_LIBPCAP=1 -DHAVE_LIBDNET=1 -I. -I. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/lsrtunnel/src=/usr/src/debug/lsrtunnel -flto=auto -c `test -f 'lsrtunnel.c' || echo './'`lsrtunnel.c gcc -DPACKAGE_NAME=\"lsrtunnel.c\" -DPACKAGE_TARNAME=\"lsrtunnel-c\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"lsrtunnel.c\ 0.2\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"lsrtunnel\" -DVERSION=\"0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_DNET_H=1 -DHAVE_PCAP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_LIBPCAP=1 -DHAVE_LIBDNET=1 -I. -I. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/lsrtunnel/src=/usr/src/debug/lsrtunnel -flto=auto -c `test -f 'pcapf.c' || echo './'`pcapf.c gcc -DPACKAGE_NAME=\"lsrtunnel.c\" -DPACKAGE_TARNAME=\"lsrtunnel-c\" -DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"lsrtunnel.c\ 0.2\" -DPACKAGE_BUGREPORT=\"tmacd@synacklabs.net\" -DPACKAGE=\"lsrtunnel\" -DVERSION=\"0.2\" -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_DNET_H=1 -DHAVE_PCAP_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STDLIB_H=1 -DHAVE_MALLOC=1 -DHAVE_LIBPCAP=1 -DHAVE_LIBDNET=1 -I. -I. -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -ffile-prefix-map=/src/packages/pentesting/lsrtunnel/src=/usr/src/debug/lsrtunnel -flto=auto -c `test -f 'forkarp.c' || echo './'`forkarp.c pcapf.c: In function ‘initPcap’: pcapf.c:45:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 45 | if((defaultInterface = pcap_lookupdev(errbuf)) == NULL) { | ^~ forkarp.c: In function ‘forkArpd’: forkarp.c:68:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 68 | if((interface = pcap_lookupdev(errbuf)) == NULL) | ^~ In file included from /usr/include/pcap.h:43, from forkarp.c:19: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from pcapf.c:6: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ lsrtunnel.c: In function ‘main’: lsrtunnel.c:97:22: error: implicit declaration of function ‘getIntInfo’ [-Wimplicit-function-declaration] 97 | if((linkHeadSize = getIntInfo(&myAddr, intfEntry)) < 0) { | ^~~~~~~~~~ lsrtunnel.c:102:16: error: implicit declaration of function ‘forkArpd’ [-Wimplicit-function-declaration] 102 | if (arpPid = forkArpd(&silentAddr, linkHeadSize) < 0) { | ^~~~~~~~ lsrtunnel.c: In function ‘getIntInfo’: lsrtunnel.c:137:3: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 137 | if((defaultInterface = pcap_lookupdev(errbuf)) == NULL) { | ^~ In file included from /usr/include/pcap.h:43, from lsrtunnel.c:10: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ make: *** [Makefile:171: lsrtunnel.o] Error 1 make: *** Waiting for unfinished jobs.... ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Package (1) Old Version Net Change libdnet 1.18.0-1 -0.16 MiB Total Removed Size: 0.16 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libdnet... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...