==> Retrieving sources... -> Found voiphopper-2.04.tar.gz -> Found Add-missing-includes.patch -> Found Update-for-tirpc.patch -> Found fix-include.patch -> Found fix-multiple-definitions.patch ==> Generating checksums for source files... ==> Making package: voiphopper 2.04-7 (Wed 20 Nov 2024 10:25:31 PM UTC) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found voiphopper-2.04.tar.gz -> Found Add-missing-includes.patch -> Found Update-for-tirpc.patch -> Found fix-include.patch -> Found fix-multiple-definitions.patch ==> Validating source files with sha512sums... voiphopper-2.04.tar.gz ... Passed Add-missing-includes.patch ... Passed Update-for-tirpc.patch ... Passed fix-include.patch ... Passed fix-multiple-definitions.patch ... Passed ==> Extracting sources... -> Extracting voiphopper-2.04.tar.gz with bsdtar ==> Starting prepare()... patching file src/buildmsg.c patching file src/global_includes.h patching file src/lldp.c patching file src/main.c patching file src/voiphop.c patch unexpectedly ends in middle of line Hunk #1 succeeded at 23 with fuzz 1. patching file src/Makefile.am patching file src/Makefile.in patch unexpectedly ends in middle of line Hunk #2 succeeded at 157 with fuzz 1. patching file src/dhcpclient.h patch unexpectedly ends in middle of line Hunk #1 succeeded at 25 with fuzz 1. patching file src/asl.c patching file src/dhcpclient.c patching file src/dhcpconfig.c patching file src/lldp.c patching file src/main.c patching file src/voiphop.c patch unexpectedly ends in middle of line Hunk #2 succeeded at 100 with fuzz 1. ==> Starting build()... checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/sbin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/sbin/grep checking for egrep... /usr/sbin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: executing depfiles commands Making all in src make[1]: Entering directory '/src/packages/pentesting/voiphopper/src/voiphopper-2.04/src' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT dhcpconfig.o -MD -MP -MF .deps/dhcpconfig.Tpo -c -o dhcpconfig.o dhcpconfig.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT buildmsg.o -MD -MP -MF .deps/buildmsg.Tpo -c -o buildmsg.o buildmsg.c gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT cache.o -MD -MP -MF .deps/cache.Tpo -c -o cache.o cache.c mv -f .deps/cache.Tpo .deps/cache.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT udpipgen.o -MD -MP -MF .deps/udpipgen.Tpo -c -o udpipgen.o udpipgen.c dhcpconfig.c: In function ‘dhcpConfig’: dhcpconfig.c:489:11: warning: ignoring return value of ‘sethostname’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 489 | sethostname(DhcpOptions.val[hostName],DhcpOptions.len[hostName]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpconfig.c:545:15: warning: ignoring return value of ‘setdomainname’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 545 | setdomainname(DhcpOptions.val[domainName], | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 546 | DhcpOptions.len[domainName]); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv -f .deps/buildmsg.Tpo .deps/buildmsg.Po mv -f .deps/udpipgen.Tpo .deps/udpipgen.Po gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT peekfd.o -MD -MP -MF .deps/peekfd.Tpo -c -o peekfd.o peekfd.c main.c: In function ‘main’: main.c:679:17: error: implicit declaration of function ‘spoof_lldp_loop’ [-Wimplicit-function-declaration] 679 | spoof_lldp_loop(lldpDeviceID, IfName_temp); | ^~~~~~~~~~~~~~~ gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"voiphopper\" -DVERSION=\"2.04\" -I. -I/usr/include/tirpc -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/voiphopper/src=/usr/src/debug/voiphopper -flto=auto -MT dhcpclient.o -MD -MP -MF .deps/dhcpclient.Tpo -c -o dhcpclient.o dhcpclient.c main.c:826:79: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 826 | rc = pthread_create(&sniffermain_threads[0],NULL,sniffer_main,(void *)arg); | ^ main.c:833:17: error: implicit declaration of function ‘start_ass_ui’ [-Wimplicit-function-declaration] 833 | start_ass_ui(); | ^~~~~~~~~~~~ main.c:843:25: warning: ‘pcap_lookupdev’ is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] 843 | IfName_temp = pcap_lookupdev(errbuf); | ^~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from main.c:41: /usr/include/pcap/pcap.h:444:18: note: declared here 444 | PCAP_API char *pcap_lookupdev(char *); | ^~~~~~~~~~~~~~ make[1]: *** [Makefile:261: main.o] Error 1 make[1]: *** Waiting for unfinished jobs.... mv -f .deps/dhcpconfig.Tpo .deps/dhcpconfig.Po mv -f .deps/peekfd.Tpo .deps/peekfd.Po dhcpclient.c: In function ‘dhcpSendAndRecv’: dhcpclient.c:918:29: error: implicit declaration of function ‘dhcpTimedOut’ [-Wimplicit-function-declaration] 918 | if (dhcpTimedOut()){ | ^~~~~~~~~~~~ dhcpclient.c: In function ‘dhcpRelease’: dhcpclient.c:1555:7: warning: ignoring return value of ‘sethostname’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1555 | sethostname(InitialHostName,InitialHostName_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dhcpclient.c:1561:7: warning: ignoring return value of ‘setdomainname’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1561 | setdomainname(InitialDomainName,InitialDomainName_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:261: dhcpclient.o] Error 1 make[1]: Leaving directory '/src/packages/pentesting/voiphopper/src/voiphopper-2.04/src' make: *** [Makefile:240: all-recursive] Error 1 ==> ERROR: A failure occurred in build(). Aborting...