* Package: net-analyzer/suricata-6.0.2 * Repository: gentoo * Maintainer: marecki@gentoo.org * USE: abi_x86_64 af-packet amd64 detection elibc_glibc kernel_linux lua_single_target_lua5-1 nfqueue python_single_target_python3_9 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox * Using python3.9 to build >>> Unpacking source... >>> Unpacking suricata-6.0.2.tar.gz to /var/tmp/portage/net-analyzer/suricata-6.0.2/work >>> Source unpacked in /var/tmp/portage/net-analyzer/suricata-6.0.2/work >>> Preparing source in /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2 ... * Applying suricata-5.0.1_configure-no-lz4-automagic.patch ... [ ok ] * Applying suricata-5.0.6_configure-no-sphinx-pdflatex-automagic.patch ... [ ok ] * Applying suricata-6.0.0_default-config.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/libhtp' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --force-missing' ... [ ok ] * Running eautoreconf in '/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2' ... * Running 'libtoolize --install --copy --force --automake' ... [ ok ] * Running 'aclocal -I m4' ... [ ok ] * Running 'autoconf --force' ... [ ok ] * Running 'autoheader' ... [ ok ] * Running 'automake --add-missing --copy --foreign --force-missing' ... [ ok ] * Running elibtoolize in: suricata-6.0.2/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Running elibtoolize in: suricata-6.0.2/libhtp/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2 ... * econf: updating suricata-6.0.2/config.sub with /usr/share/gnuconfig/config.sub * econf: updating suricata-6.0.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating suricata-6.0.2/libhtp/config.sub with /usr/share/gnuconfig/config.sub * econf: updating suricata-6.0.2/libhtp/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/suricata-6.0.2 --htmldir=/usr/share/doc/suricata-6.0.2/html --with-sysroot=/ --libdir=/usr/lib64 --localstatedir=/var --runstatedir=/run --enable-non-bundled-htp --enable-gccmarch-native=no --enable-python --enable-af-packet --disable-ebpf --disable-unix-socket --disable-cuda --enable-detection --disable-geoip --disable-gccprotect --disable-pie --disable-lz4 --disable-nflog --enable-nfqueue --disable-hiredis --disable-unittests --disable-coccinelle configure: loading site script /usr/share/config.site checking whether make supports nested variables... yes checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether UID '250' is supported by ustar format... yes checking whether GID '250' 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 x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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 x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-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/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... / checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/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 x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether GCC or Clang is our compiler... gcc checking for clang... /usr/lib/llvm/12/bin/clang checking gcc version... 11.1.0 checking for gawk... (cached) gawk checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for x86_64-pc-linux-gnu-ranlib... (cached) x86_64-pc-linux-gnu-ranlib checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... (cached) /bin/grep checking for cygpath... no checking for pkg-config... /usr/bin/pkg-config checking for python3... /var/tmp/portage/net-analyzer/suricata-6.0.2/temp/python3.9/bin/python3 checking for python-distutils... yes checking for python-yaml... yes checking for wget... /usr/bin/wget checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for inttypes.h... (cached) yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking sched.h usability... yes checking sched.h presence... yes checking for sched.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/prctl.h usability... yes checking sys/prctl.h presence... yes checking for sys/prctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking sys/syscall.h usability... yes checking sys/syscall.h presence... yes checking for sys/syscall.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for unistd.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/ioctl.h... (cached) yes checking linux/if_ether.h usability... yes checking linux/if_ether.h presence... yes checking for linux/if_ether.h... yes checking linux/if_packet.h usability... yes checking linux/if_packet.h presence... yes checking for linux/if_packet.h... yes checking linux/filter.h usability... yes checking linux/filter.h presence... yes checking for linux/filter.h... yes checking linux/ethtool.h usability... yes checking linux/ethtool.h presence... yes checking for linux/ethtool.h... yes checking linux/sockios.h usability... yes checking linux/sockios.h presence... yes checking for linux/sockios.h... yes checking glob.h usability... yes checking glob.h presence... yes checking for glob.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking fnmatch.h usability... yes checking fnmatch.h presence... yes checking for fnmatch.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/types.h... (cached) yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/random.h usability... yes checking sys/random.h presence... yes checking for sys/random.h... yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking libgen.h usability... yes checking libgen.h presence... yes checking for libgen.h... yes checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking stdatomic.h usability... yes checking stdatomic.h presence... yes checking for stdatomic.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 struct tm.tm_zone... yes checking for ptrdiff_t... yes checking for stdbool.h that conforms to C99... (cached) yes checking for _Bool... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking vfork.h usability... no checking vfork.h presence... no checking for vfork.h... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/param.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for getpagesize... 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 fwrite_unlocked... yes checking whether getrandom is declared... yes checking for strlcpy... no checking for strlcat... no 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 dlfcn.h... (cached) yes checking for plugin support... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for inflate in -lz... yes checking pcre.h usability... yes checking pcre.h presence... yes checking for pcre.h... yes checking for pcre_get_substring in -lpcre... yes checking for LIBPCREVERSION... no checking for pcre_dfa_exec in -lpcre... yes checking for PCRE JIT support... yes checking for PCRE JIT support usability... yes checking for PCRE JIT exec availability... yes checking for libhs... no checking hs.h usability... no checking hs.h presence... no checking for hs.h... no checking yaml.h usability... yes checking yaml.h presence... 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 jansson.h usability... yes checking jansson.h presence... yes checking for jansson.h... yes checking for json_dump_callback in -ljansson... yes checking for libnetfilter_queue... yes checking for nfnl_fd in -lnfnetlink... yes checking for libnetfilter_queue/libnetfilter_queue.h... yes checking for nfq_open in -lnetfilter_queue... yes checking for nfq_set_queue_maxlen in -lnetfilter_queue... yes checking for nfq_set_verdict2 in -lnetfilter_queue... yes checking for nfq_set_queue_flags in -lnetfilter_queue... yes checking for nfq_set_verdict_batch in -lnetfilter_queue... yes checking for signed nfq_get_payload payload argument... no checking whether OS_WIN32 is declared... no checking for libnet.h version 1.1.x... yes 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... yes checking for pcap_open_live in -lpcap... yes checking for pcap_activate in -lpcap... yes checking for pcap-config... /usr/bin/pcap-config 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 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 libhtp... yes checking htp/htp.h usability... yes checking htp/htp.h presence... yes checking for htp/htp.h... yes checking for htp_conn_create in -lhtp... yes checking for LIBHTPMINVERSION... yes checking for htp_config_register_request_uri_normalize in -lhtp... yes checking for htp_tx_get_response_headers_raw in -lhtp... no checking for htp_decode_query_inplace in -lhtp... no checking for htp_config_set_response_decompression_layer_limit in -lhtp... yes checking for htp_config_set_lzma_memlimit in -lhtp... yes checking for htp_config_set_lzma_layers in -lhtp... yes checking for htp_config_set_compression_bomb_limit in -lhtp... yes checking for htp_config_set_compression_time_limit in -lhtp... yes checking cap-ng.h usability... yes checking cap-ng.h presence... yes checking for cap-ng.h... yes checking for capng_clear in -lcap-ng... yes checking for libnspr... yes checking nspr.h usability... yes checking nspr.h presence... yes checking for nspr.h... yes checking for PR_GetCurrentThread in -lnspr4... yes checking for libnss... yes checking sechash.h usability... yes checking sechash.h presence... yes checking for sechash.h... yes checking for HASH_Begin in -lnss3... yes checking magic.h usability... yes checking magic.h presence... yes checking for magic.h... yes checking for magic_open in -lmagic... yes checking for getconf... /usr/bin/getconf checking for rustc... /usr/bin/rustc checking for cargo... /usr/bin/cargo checking for Rust version 1.34.2 or newer... yes checking for rustup... no checking for cargo vendor support... yes checking for ./rust/dist/rust-bindings.h... yes checking for cbindgen... no checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-g++ static flag -static works... no checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for git... /usr/bin/git checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating suricata-update/Makefile config.status: creating Makefile config.status: creating src/Makefile config.status: creating rust/Makefile config.status: creating rust/Cargo.toml config.status: creating rust/.cargo/config config.status: creating qa/Makefile config.status: creating qa/coccinelle/Makefile config.status: creating rules/Makefile config.status: creating doc/Makefile config.status: creating doc/userguide/Makefile config.status: creating doc/devguide/Makefile config.status: creating contrib/Makefile config.status: creating contrib/file_processor/Makefile config.status: creating contrib/file_processor/Action/Makefile config.status: creating contrib/file_processor/Processor/Makefile config.status: creating suricata.yaml config.status: creating etc/Makefile config.status: creating etc/suricata.logrotate config.status: creating etc/suricata.service config.status: creating python/Makefile config.status: creating python/suricata/config/defaults.py config.status: creating ebpf/Makefile config.status: creating src/autoconf.h config.status: executing depfiles commands config.status: executing libtool commands Suricata Configuration: AF_PACKET support: yes eBPF support: no XDP support: no PF_RING support: no NFQueue support: yes NFLOG support: no IPFW support: no Netmap support: no DAG enabled: no Napatech enabled: no WinDivert enabled: no Unix socket enabled: no Detection enabled: yes Libmagic support: yes libnss support: yes libnspr support: yes libjansson support: yes hiredis support: no hiredis async with libevent: no Prelude support: no PCRE jit: yes LUA support: no libluajit: no GeoIP2 support: no Non-bundled htp: yes Hyperscan support: no Libnet support: yes liblz4 support: no Rust support: yes Rust strict mode: no Rust compiler path: /usr/bin/rustc Rust compiler version: rustc 1.53.0 (53cb7b09b 2021-06-17) Cargo path: /usr/bin/cargo Cargo version: cargo 1.53.0 (4369396ce 2021-04-27) Cargo vendor: yes Python support: yes Python path: /var/tmp/portage/net-analyzer/suricata-6.0.2/temp/python3.9/bin/python3 Python distutils yes Python yaml yes Install suricatactl: yes Install suricatasc: yes Install suricata-update: yes Profiling enabled: no Profiling locks enabled: no Plugin support (experimental): yes Development settings: Coccinelle / spatch: no Unit tests enabled: no Debug output enabled: no Debug validation enabled: no Generic build parameters: Installation prefix: /usr Configuration directory: /etc/suricata/ Log directory: /var/log/suricata/ --prefix /usr --sysconfdir /etc --localstatedir /var --datarootdir /usr/share Host: x86_64-pc-linux-gnu Compiler: x86_64-pc-linux-gnu-gcc (exec name) / x86_64-pc-linux-gnu-g++ (real) GCC Protect enabled: no GCC march native enabled: no GCC Profile enabled: no Position Independent Executable enabled: no CFLAGS -pipe -march=native -fno-diagnostics-color -O2 -std=c11 -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist PCAP_CFLAGS SECCFLAGS To build and install run 'make' and 'make install'. You can run 'make install-conf' if you want to install initial configuration files to /etc/suricata/. Running 'make install-full' will install configuration and rules and provide you a ready-to-run suricata. To install Suricata into /usr/bin/suricata, have the config in /etc/suricata and use /var/log/suricata as log dir, use: ./configure --prefix=/usr/ --sysconfdir=/etc/ --localstatedir=/var/ >>> Source configured. >>> Compiling source in /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2 ... make -j3 Making all in rust make[1]: Entering directory '/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust' \ CARGO_HOME="/var/tmp/portage/net-analyzer/suricata-6.0.2/homedir/.cargo" \ CARGO_TARGET_DIR="/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/target" \ /usr/bin/cargo build --release \ --features "function-macro " Compiling autocfg v1.0.1 Compiling semver-parser v0.7.0 Compiling ryu v1.0.5 Compiling arrayvec v0.4.12 Compiling bitflags v1.2.1 Compiling memchr v2.3.4 Compiling libc v0.2.86 Compiling version_check v0.9.2 Compiling nodrop v0.1.14 Compiling static_assertions v0.3.4 Compiling cfg-if v0.1.9 Compiling getrandom v0.1.16 Compiling cfg-if v1.0.0 Compiling ppv-lite86 v0.2.10 Compiling proc-macro-hack v0.5.19 Compiling siphasher v0.3.3 Compiling proc-macro2 v0.4.30 Compiling unicode-xid v0.1.0 Compiling build_const v0.2.1 Compiling syn v0.15.44 Compiling num-derive v0.2.5 Compiling base64 v0.11.0 Compiling widestring v0.4.3 Compiling uuid v0.8.2 Compiling md5 v0.7.0 Compiling byteorder v1.4.2 Compiling semver v0.9.0 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling num-bigint v0.3.1 Compiling num-bigint v0.2.6 Compiling num-complex v0.2.4 Compiling num-rational v0.2.4 Compiling num-iter v0.1.42 Compiling nom v5.1.1 Compiling phf_shared v0.8.0 Compiling crc v1.8.1 Compiling rustc_version v0.2.3 Compiling phf v0.8.0 Compiling lexical-core v0.6.7 Compiling time v0.1.44 Compiling quote v0.6.13 Compiling num-traits v0.1.43 Compiling rand_core v0.5.1 error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bhcomp.rs:62:22 | 62 | let bytes = bits / Limb::BITS; | ^ no implementation for `usize / u32` | = help: the trait `Div<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bigcomp.rs:157:55 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: no implementation for `usize & u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bigcomp.rs:157:53 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^ no implementation for `usize & u32` | = help: the trait `BitAnd<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bigcomp.rs:175:40 | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1049:42 | 1049 | let mut count = index.saturating_mul(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1049 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1064:28 | 1064 | Limb::BITS.checked_mul(x.len()) | ^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1064 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1065:22 | 1065 | .map(|v| v - nlz) | ^^^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1065:20 | 1065 | .map(|v| v - nlz) | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1066:20 | 1066 | .unwrap_or(usize::max_value()) | ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1066 | .unwrap_or(usize::max_value().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1064:5 | 1060 | pub fn bit_length(x: &[Limb]) -> usize { | ----- expected `usize` because of return type ... 1064 | / Limb::BITS.checked_mul(x.len()) 1065 | | .map(|v| v - nlz) 1066 | | .unwrap_or(usize::max_value()) | |______________________________________^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1064 | Limb::BITS.checked_mul(x.len()) 1065 | .map(|v| v - nlz) 1066 | .unwrap_or(usize::max_value()).try_into().unwrap() | error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1091:23 | 1091 | debug_assert!(n < bits && n != 0); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1091 | debug_assert!(n < bits.try_into().unwrap() && n != 0); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1098:25 | 1098 | let lshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1098:23 | 1098 | let lshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1140:19 | 1140 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1140:17 | 1140 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1141:19 | 1141 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1141:17 | 1141 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1197:23 | 1197 | debug_assert!(n < bits); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1197 | debug_assert!(n < bits.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1207:25 | 1207 | let rshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1207:23 | 1207 | let rshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1259:19 | 1259 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1259:17 | 1259 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1260:19 | 1260 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1260:17 | 1260 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:2071:27 | 2071 | let rs = Limb::BITS - s; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:2071:25 | 2071 | let rs = Limb::BITS - s; | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error: aborting due to 27 previous errors Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: could not compile `lexical-core` To learn more, run the command again with --verbose. warning: build failed, waiting for other jobs to finish... error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bhcomp.rs:62:24 | 62 | let bytes = bits / Limb::BITS; | ^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bhcomp.rs:62:22 | 62 | let bytes = bits / Limb::BITS; | ^ no implementation for `usize / u32` | = help: the trait `Div<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bigcomp.rs:157:55 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^^^^^^^^^^^^^^^ expected `usize`, found `u32` error[E0277]: no implementation for `usize & u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bigcomp.rs:157:53 | 157 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1); | ^ no implementation for `usize & u32` | = help: the trait `BitAnd<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/bigcomp.rs:175:40 | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 175 | let (q, r) = shift.ceil_divmod(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1049:42 | 1049 | let mut count = index.saturating_mul(Limb::BITS); | ^^^^^^^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1049 | let mut count = index.saturating_mul(Limb::BITS.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1064:28 | 1064 | Limb::BITS.checked_mul(x.len()) | ^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1064 | Limb::BITS.checked_mul(x.len().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1065:22 | 1065 | .map(|v| v - nlz) | ^^^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1065:20 | 1065 | .map(|v| v - nlz) | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1066:20 | 1066 | .unwrap_or(usize::max_value()) | ^^^^^^^^^^^^^^^^^^ expected `u32`, found `usize` | help: you can convert a `usize` to a `u32` and panic if the converted value doesn't fit | 1066 | .unwrap_or(usize::max_value().try_into().unwrap()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1064:5 | 1060 | pub fn bit_length(x: &[Limb]) -> usize { | ----- expected `usize` because of return type ... 1064 | / Limb::BITS.checked_mul(x.len()) 1065 | | .map(|v| v - nlz) 1066 | | .unwrap_or(usize::max_value()) | |______________________________________^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1064 | Limb::BITS.checked_mul(x.len()) 1065 | .map(|v| v - nlz) 1066 | .unwrap_or(usize::max_value()).try_into().unwrap() | error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1091:23 | 1091 | debug_assert!(n < bits && n != 0); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1091 | debug_assert!(n < bits.try_into().unwrap() && n != 0); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1098:25 | 1098 | let lshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1098:23 | 1098 | let lshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1140:19 | 1140 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1140:17 | 1140 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1141:19 | 1141 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1141:17 | 1141 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1197:23 | 1197 | debug_assert!(n < bits); | ^^^^ expected `usize`, found `u32` | help: you can convert a `u32` to a `usize` and panic if the converted value doesn't fit | 1197 | debug_assert!(n < bits.try_into().unwrap()); | ^^^^^^^^^^^^^^^^^^^^^^^^ error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1207:25 | 1207 | let rshift = bits - n; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1207:23 | 1207 | let rshift = bits - n; | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1259:19 | 1259 | let rem = n % bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot mod `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1259:17 | 1259 | let rem = n % bits; | ^ no implementation for `usize % u32` | = help: the trait `Rem<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1260:19 | 1260 | let div = n / bits; | ^^^^ expected `usize`, found `u32` error[E0277]: cannot divide `usize` by `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:1260:17 | 1260 | let div = n / bits; | ^ no implementation for `usize / u32` | = help: the trait `Div<u32>` is not implemented for `usize` error[E0308]: mismatched types --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:2071:27 | 2071 | let rs = Limb::BITS - s; | ^ expected `u32`, found `usize` error[E0277]: cannot subtract `usize` from `u32` --> /var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust/vendor/lexical-core/src/atof/algorithm/math.rs:2071:25 | 2071 | let rs = Limb::BITS - s; | ^ no implementation for `u32 - usize` | = help: the trait `Sub<usize>` is not implemented for `u32` error: aborting due to 27 previous errors Some errors have detailed explanations: E0277, E0308. For more information about an error, try `rustc --explain E0277`. error: build failed make[1]: *** [Makefile:545: all-local] Error 101 make[1]: Leaving directory '/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2/rust' make: *** [Makefile:492: all-recursive] Error 1 * ERROR: net-analyzer/suricata-6.0.2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-analyzer/suricata-6.0.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-analyzer/suricata-6.0.2::gentoo'`. * The complete build log is located at '/var/log/portage/net-analyzer:suricata-6.0.2:20210621-135259.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-analyzer/suricata-6.0.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-analyzer/suricata-6.0.2/temp/environment'. * Working directory: '/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2' * S: '/var/tmp/portage/net-analyzer/suricata-6.0.2/work/suricata-6.0.2'