Already up to date. ==> Making package: suricata 7.0.2-1 (Sun Dec 3 00:36:09 2023) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading suricata-7.0.2.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 20 22.3M 20 4656k 0 0 5987k 0 0:00:03 --:--:-- 0:00:03 5984k 70 22.3M 70 15.7M 0 0 9055k 0 0:00:02 0:00:01 0:00:01 9052k 100 22.3M 100 22.3M 0 0 9651k 0 0:00:02 0:00:02 --:--:-- 9652k -> Downloading suricata-7.0.2.tar.gz.sig... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 566 100 566 0 0 4649 0 --:--:-- --:--:-- --:--:-- 4677 -> Found suricata-update.service -> Found suricata-update.timer ==> Validating source files with sha256sums... suricata-7.0.2.tar.gz ... Passed suricata-7.0.2.tar.gz.sig ... Skipped suricata-update.service ... Passed suricata-update.timer ... Passed ==> Verifying source file signatures with gpg... suricata-7.0.2.tar.gz ... Passed ==> Extracting sources... -> Extracting suricata-7.0.2.tar.gz with bsdtar ==> Starting build()... checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether UID '1004' is supported by ustar format... yes checking whether GID '1007' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for vfork.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking whether GCC or Clang is our compiler... gcc checking gcc version... 13.2.1 checking for gawk... (cached) gawk checking for gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking for ranlib... (cached) ranlib checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for cygpath... no checking for pkg-config... /usr/bin/pkg-config checking for python3... /usr/bin/python3 checking for wget... /usr/bin/wget checking for stddef.h... yes checking for arpa/inet.h... yes checking for assert.h... yes checking for ctype.h... yes checking for errno.h... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking for getopt.h... yes checking for limits.h... yes checking for netdb.h... yes checking for netinet/in.h... yes checking for poll.h... yes checking for sched.h... yes checking for signal.h... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking for stdio.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdbool.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/ioctl.h... yes checking for math.h... yes checking for syslog.h... yes checking for sys/prctl.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/syscall.h... yes checking for sys/time.h... (cached) yes checking for time.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for linux/if_ether.h... yes checking for linux/if_packet.h... yes checking for linux/filter.h... yes checking for linux/ethtool.h... yes checking for linux/sockios.h... yes checking for glob.h... yes checking for locale.h... yes checking for grp.h... yes checking for pwd.h... yes checking for dirent.h... yes checking for fnmatch.h... yes checking for sys/resource.h... yes checking for sys/types.h... (cached) yes checking for sys/un.h... yes checking for sys/random.h... yes checking for utime.h... yes checking for libgen.h... yes checking for mach/mach.h... no checking for stdatomic.h... yes checking for sys/queue.h... yes checking for sys/socket.h... (cached) yes checking for net/if.h... yes checking for sys/mman.h... yes checking for linux/if_arp.h... yes checking for windows.h... no checking for winsock2.h... no checking for ws2tcpip.h... no checking for w32api/wtypes.h... no checking for w32api/winbase.h... no checking for wincrypt.h... no checking for inline... inline checking for C/C++ restrict keyword... __restrict__ checking for pid_t... yes checking for mode_t... yes checking for size_t... yes checking for ssize_t... yes checking for int8_t... yes checking for int16_t... yes checking for int32_t... yes checking for int64_t... yes checking for uint8_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for u_int... yes checking for u_short... yes checking for u_long... yes checking for u_char... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for gcc options needed to detect all undeclared functions... none needed checking for struct tm.tm_zone... yes checking for ptrdiff_t... yes checking for _Bool... yes checking for stdbool.h that conforms to C99... (cached) yes checking for GNU libc compatible malloc... yes checking for GNU libc compatible realloc... yes checking for fork... yes checking for vfork... yes checking for alarm... yes checking for getpagesize... yes checking for working fork... yes checking for working vfork... (cached) yes checking for working mktime... yes checking for working mmap... yes checking for working strtod... yes checking for memmem... yes checking for memset... yes checking for memchr... yes checking for memrchr... yes checking for memmove... yes checking for strcasecmp... yes checking for strchr... yes checking for strrchr... yes checking for strdup... yes checking for strndup... yes checking for strncasecmp... yes checking for strtol... yes checking for strtoul... yes checking for strstr... yes checking for strpbrk... yes checking for strtoull... yes checking for strtoumax... yes checking for strerror... yes checking for gethostname... yes checking for inet_ntoa... yes checking for uname... yes checking for gettimeofday... yes checking for clock_gettime... yes checking for utime... yes checking for strptime... yes checking for tzset... yes checking for localtime_r... yes checking for socket... yes checking for setenv... yes checking for select... yes checking for putenv... yes checking for dup2... yes checking for endgrent... yes checking for endpwent... yes checking for atexit... yes checking for munmap... yes checking for setrlimit... yes checking for fwrite_unlocked... yes checking whether getrandom is declared... yes checking for strlcpy... yes checking for strlcat... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking host os... installation for x86_64-pc-linux-gnu OS... ok checking for c11 support... yes checking for thread local storage gnu __thread support... yes checking for linux/landlock.h... yes checking for dlfcn.h... (cached) yes checking for plugin support... yes checking for llc-16.0... no checking for llc-16... no checking for llc... llc checking for spatch... no checking for zlib.h... yes checking for inflate in -lz... yes checking for pcre2_compile_8 in -lpcre2-8... yes checking for PCRE2 JIT support... yes checking for systemd/sd-daemon.h... yes checking for sd_notify in -lsystemd... yes checking for libhs... yes checking for hs.h... yes checking for hs_compile in -lhs... yes checking for hs_valid_platform... yes checking for yaml.h... yes checking for yaml_parser_initialize in -lyaml... yes checking for pthread_create in -lpthread... yes checking for pthread_spin_unlock... yes checking for jansson.h... yes checking for json_dump_callback in -ljansson... yes checking whether OS_WIN32 is declared... no checking for libnet.h version 1.1.x... no checking for libnet_write in -lnet... yes checking for libnet_build_icmpv6_unreach in -lnet... yes checking libnet_init dev type... yes checking for pcap.h... yes checking for pcap.h... (cached) yes checking for pcap/pcap.h... yes checking for pcap/bpf.h... no checking for pcap_open_dead in -lpcap... yes checking for libpcap... yes checking for pcap-config... /usr/bin/pcap-config pcap-config: Invalid command-line option --defines specified Usage: pcap-config [ --help ] [ --static | --static-pcap-only ] [ --libs | --additional-libs ] checking for pcap_set_buffer_size in -lpcap... yes checking whether TPACKET_V2 is declared... yes checking whether PACKET_FANOUT_QM is declared... yes checking whether TPACKET_V3 is declared... yes checking whether SOF_TIMESTAMPING_RAW_HARDWARE is declared... yes checking for elf_begin in -lelf... yes checking for xdp/xsk.h... no checking for xsk_umem__create in -lxdp... no checking for bpf_xdp_query_id... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating suricata-update/Makefile config.status: creating src/autoconf.h config.status: executing depfiles commands config.status: executing libtool commands checking for iconv.h... yes checking for libiconv_close in -liconv... no checking for cap-ng.h... yes checking for capng_clear in -lcap-ng... yes checking for unw_backtrace in -lunwind... yes checking for elf_begin in -lelf... (cached) yes checking for bpf_object__open in -lbpf... yes checking whether PACKET_FANOUT_EBPF is declared... yes checking for bpf_xdp_attach in -lbpf... yes checking for bpf_program__section_name... yes checking for bpf_xdp_attach... yes checking for bpf_program__set_type... yes checking for magic.h... yes checking for magic_open in -lmagic... yes checking for lua... yes checking for lualib.h... yes checking for lua... yes checking size of lua integer... 8 checking for maxminddb.h... yes checking for MMDB_open in -lmaxminddb... yes checking for LZ4F_createCompressionContext in -llz4... yes checking for getconf... /usr/bin/getconf checking for sphinx-build... no checking for pdflatex... no checking for rustc... /usr/bin/rustc checking for cargo... /usr/bin/cargo error: rustup could not choose a version of rustc to run, because one wasn't specified explicitly, and no default is configured. help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain. error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured. help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain. checking for Rust version 1.63.0 or newer... ERROR: Rust 1.63.0 or newer required. Rust version was found. ==> ERROR: A failure occurred in build(). Aborting...