Resolving dependencies... Starting base-orphans-0.9.0 Starting integer-logarithms-1.0.3.1 Starting transformers-compat-0.7.2 Starting unliftio-core-0.2.1.0 Starting data-array-byte-0.1.0.1 Starting network-3.1.4.0 Building unliftio-core-0.2.1.0 Building data-array-byte-0.1.0.1 Building base-orphans-0.9.0 Building integer-logarithms-1.0.3.1 Building transformers-compat-0.7.2 Building network-3.1.4.0 Completed unliftio-core-0.2.1.0 Completed integer-logarithms-1.0.3.1 Completed base-orphans-0.9.0 Completed data-array-byte-0.1.0.1 Starting hashable-1.4.2.0 Starting primitive-0.8.0.0 Building hashable-1.4.2.0 Building primitive-0.8.0.0 Completed transformers-compat-0.7.2 Starting transformers-base-0.4.6 Starting mmorph-1.2.0 Building transformers-base-0.4.6 Building mmorph-1.2.0 Completed transformers-base-0.4.6 Completed mmorph-1.2.0 Starting streaming-0.2.3.1 Building streaming-0.2.3.1 Completed hashable-1.4.2.0 Completed network-3.1.4.0 Starting pcap-0.4.5.2 Failed to install pcap-0.4.5.2 Build log ( /home/builder/.cabal/logs/ghc-9.2.4/pcap-0.4.5.2-KX0IxMCDbob5gfngzLBWkr.log ): cabal: Entering directory '/tmp/cabal-tmp-3461041/pcap-0.4.5.2' Configuring pcap-0.4.5.2... checking for gcc... /usr/bin/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 /usr/bin/gcc accepts -g... yes checking for /usr/bin/gcc option to accept ISO C89... none needed checking how to run the C preprocessor... /usr/bin/gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes 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 struct sockaddr.sa_len... no configure: creating ./config.status config.status: creating pcap.buildinfo config.status: creating include/pcapconfig.h Error: cabal-3.8.1.0: Missing dependency on a foreign library: * Missing (or bad) header file: pcap.h * Missing (or bad) C library: pcap This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-3461041/pcap-0.4.5.2' Completed primitive-0.8.0.0 Completed streaming-0.2.3.1 Error: cabal: Some packages failed to install: pcap-0.4.5.2-KX0IxMCDbob5gfngzLBWkr failed during the configure step. The exception was: ExitFailure 1 streaming-pcap-1.1.2-o2RdMzCJUC6orzb4j3P9M depends on streaming-pcap-1.1.2 which failed to install.