==> Retrieving sources... -> Found packit-1.0.tgz ==> Generating checksums for source files... ==> Making package: packit 1.0-1 (Thu 21 Nov 2024 10:43:37 AM UTC) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change extra/libnet 2:1.3-1 1.47 MiB Total Installed Size: 1.47 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libnet... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found packit-1.0.tgz ==> Validating source files with sha512sums... packit-1.0.tgz ... Passed ==> Extracting sources... -> Extracting packit-1.0.tgz with bsdtar ==> Starting build()... beginning auto-configuration process for packit-1.0... 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... gcc3 checking for gcc... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu 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 u_int8_t... yes checking for u_int16_t... yes checking for u_int32_t... yes checking for u_int64_t... 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 net/bpf.h usability... no checking net/bpf.h presence... egrep: warning: egrep is obsolescent; using grep -E no checking for net/bpf.h... no 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 libnet.h usability... yes checking libnet.h presence... egrep: warning: egrep is obsolescent; using grep -E yes checking for libnet.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 printf... yes checking for fprintf... yes checking for snprintf... yes checking for sprintf... yes checking for strdup... yes checking for strrchr... yes checking for strstr... yes checking for strncasecmp... yes checking for strtol... yes checking for strncmp... yes checking for strncat... yes checking for memset... yes checking for malloc... yes checking for gethostbyname... yes checking for gettimeofday... yes checking for getuid... yes checking for select... yes checking for setitimer... yes checking for libnet_build_ipv4 in -lnet... yes checking for pcap_open_live in -lpcap... yes checking for pcap_setnonblock in -lpcap... yes checking for pcap_freecode in -lpcap... yes checking for bpf... no checking for a BSD-compatible install... /usr/bin/install -c configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating man/Makefile config.status: creating man/packit.8 config.status: creating src/version.h config.status: creating config.h egrep: warning: egrep is obsolescent; using grep -E config.status: executing depfiles commands _ _ _ _ __ __ _ ___| | _(_) |_ | '_ \ / _` |/ __| |/ / | __| | |_) | (_| | (__| <| | |_ | .__/ \__,_|\___|_|\_\_|\__| |_| 1.0 has been configured with the following options: ----------------------------------------------- Host type : x86_64-unknown-linux-gnu Compiler : gcc Compiler flags : -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/packit/src=/usr/src/debug/packit -flto=auto -Wall Linker flags : -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto Libraries : -lpcap -lpcap -lpcap -lnet Binary : /usr/bin Manual pages : /usr/share/man/ Injection support : yes Capture support : yes Enable debugging : no ----------------------------------------------- make all-recursive make[1]: Entering directory '/src/packages/pentesting/packit/src/packit-1.0' Making all in src make[2]: Entering directory '/src/packages/pentesting/packit/src/packit-1.0/src' source='init.c' object='init.o' libtool=no \ depfile='.deps/init.Po' tmpdepfile='.deps/init.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -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/packit/src=/usr/src/debug/packit -flto=auto -Wall -c `test -f 'init.c' || echo './'`init.c source='define_defaults.c' object='define_defaults.o' libtool=no \ depfile='.deps/define_defaults.Po' tmpdepfile='.deps/define_defaults.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -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/packit/src=/usr/src/debug/packit -flto=auto -Wall -c `test -f 'define_defaults.c' || echo './'`define_defaults.c source='error.c' object='error.o' libtool=no \ depfile='.deps/error.Po' tmpdepfile='.deps/error.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -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/packit/src=/usr/src/debug/packit -flto=auto -Wall -c `test -f 'error.c' || echo './'`error.c source='injection.c' object='injection.o' libtool=no \ depfile='.deps/injection.Po' tmpdepfile='.deps/injection.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../includes -I/usr/include/pcap -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/packit/src=/usr/src/debug/packit -flto=auto -Wall -c `test -f 'injection.c' || echo './'`injection.c In file included from error.h:26, from error.c:23: globals.h:34:10: fatal error: net/bpf.h: No such file or directory 34 | #include | ^~~~~~~~~~~ compilation terminated. In file included from init.h:26, from init.c:23: globals.h:34:10: fatal error: net/bpf.h: No such file or directory 34 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:286: error.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from define_defaults.h:26, from define_defaults.c:23: globals.h:34:10: fatal error: net/bpf.h: No such file or directory 34 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:286: init.o] Error 1 make[2]: *** [Makefile:286: define_defaults.o] Error 1 In file included from injection.h:26, from injection.c:23: globals.h:34:10: fatal error: net/bpf.h: No such file or directory 34 | #include | ^~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:286: injection.o] Error 1 make[2]: Leaving directory '/src/packages/pentesting/packit/src/packit-1.0/src' make[1]: *** [Makefile:174: all-recursive] Error 1 make[1]: Leaving directory '/src/packages/pentesting/packit/src/packit-1.0' make: *** [Makefile:129: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> Removing installed dependencies... checking dependencies... Package (1) Old Version Net Change libnet 2:1.3-1 -1.47 MiB Total Removed Size: 1.47 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing libnet... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate...