<86>Sep 25 04:41:55 userdel[3785847]: delete user 'rooter'
<86>Sep 25 04:41:55 userdel[3785847]: removed group 'rooter' owned by 'rooter'
<86>Sep 25 04:41:55 userdel[3785847]: removed shadow group 'rooter' owned by 'rooter'
<86>Sep 25 04:41:55 groupadd[3785882]: group added to /etc/group: name=rooter, GID=1874
<86>Sep 25 04:41:55 groupadd[3785882]: group added to /etc/gshadow: name=rooter
<86>Sep 25 04:41:55 groupadd[3785882]: new group: name=rooter, GID=1874
<86>Sep 25 04:41:55 useradd[3785902]: new user: name=rooter, UID=1874, GID=1874, home=/root, shell=/bin/bash, from=none
<86>Sep 25 04:41:55 userdel[3785938]: delete user 'builder'
<86>Sep 25 04:41:55 userdel[3785938]: removed group 'builder' owned by 'builder'
<86>Sep 25 04:41:55 userdel[3785938]: removed shadow group 'builder' owned by 'builder'
<86>Sep 25 04:41:55 groupadd[3785968]: group added to /etc/group: name=builder, GID=1875
<86>Sep 25 04:41:55 groupadd[3785968]: group added to /etc/gshadow: name=builder
<86>Sep 25 04:41:55 groupadd[3785968]: new group: name=builder, GID=1875
<86>Sep 25 04:41:55 useradd[3785997]: new user: name=builder, UID=1875, GID=1875, home=/usr/src, shell=/bin/bash, from=none
<13>Sep 25 04:42:00 rpmi: libnfnetlink-1:1.0.1.0.8.5087-alt1 sisyphus+278100.3100.1.1 1626058838 installed
<13>Sep 25 04:42:00 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed
<13>Sep 25 04:42:00 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed
<13>Sep 25 04:42:00 rpmi: libmnl-1.0.5-alt1 sisyphus+297929.100.1.1 1649216348 installed
<13>Sep 25 04:42:00 rpmi: libev4-4.33-alt3 sisyphus+334335.340.4.1 1699912675 installed
<13>Sep 25 04:42:00 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed
<13>Sep 25 04:42:00 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed
<13>Sep 25 04:42:00 rpmi: libedit3-3.1.20230828-alt1 sisyphus+330914.200.3.1 1696922743 installed
<13>Sep 25 04:42:00 rpmi: llvm18.1-filesystem-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:00 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed
<13>Sep 25 04:42:00 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed
<13>Sep 25 04:42:00 rpmi: llvm-common-18.1.0-alt1 sisyphus+343963.100.6.1 1713343158 installed
<13>Sep 25 04:42:01 rpmi: clang18.1-support-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:01 rpmi: llvm18.1-polly-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:01 rpmi: llvm18.1-gold-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:02 rpmi: llvm18.1-libs-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:03 rpmi: libclang-cpp18-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:03 rpmi: clang18.1-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:03 rpmi: clang-18.1.0-alt1 sisyphus+343963.100.6.1 1713343158 installed
<13>Sep 25 04:42:03 rpmi: libstdc++13-devel-13.2.1-alt4 sisyphus+354645.100.1.1 1723060849 installed
<13>Sep 25 04:42:04 rpmi: gcc13-c++-13.2.1-alt4 sisyphus+354645.100.1.1 1723060849 installed
<13>Sep 25 04:42:04 rpmi: libsystemd-1:255.12-alt1 sisyphus+358180.100.1.1 1727131955 installed
<13>Sep 25 04:42:04 rpmi: libdbus-1.14.10-alt1 sisyphus+327286.5700.14.1 1711487401 installed
<13>Sep 25 04:42:04 rpmi: libpcap0.8-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed
<13>Sep 25 04:42:04 rpmi: libev-devel-4.33-alt3 sisyphus+334335.340.4.1 1699912675 installed
<13>Sep 25 04:42:04 rpmi: libnetfilter_log-1:1.0.2-alt1 sisyphus+335969.100.1.1 1701883417 installed
<13>Sep 25 04:42:04 rpmi: libnetfilter_queue-1.0.5-alt1 sisyphus+278100.3000.1.1 1626058809 installed
<13>Sep 25 04:42:04 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed
<13>Sep 25 04:42:04 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711571288 installed
<13>Sep 25 04:42:04 rpmi: libngtcp2.16-1.7.0-alt1 sisyphus+356415.200.1.1 1725031912 installed
<13>Sep 25 04:42:04 rpmi: libngtcp2_crypto_gnutls8-1.7.0-alt1 sisyphus+356415.200.1.1 1725031912 installed
<13>Sep 25 04:42:04 rpmi: libnfnetlink-devel-1:1.0.1.0.8.5087-alt1 sisyphus+278100.3100.1.1 1626058838 installed
<13>Sep 25 04:42:04 rpmi: llvm17.0-filesystem-17.0.6-alt4.2 sisyphus+345738.100.1.1 1713947766 installed
<13>Sep 25 04:42:04 rpmi: llvm17.0-polly-17.0.6-alt4.2 sisyphus+345738.100.1.1 1713947766 installed
<13>Sep 25 04:42:04 rpmi: llvm17.0-gold-17.0.6-alt4.2 sisyphus+345738.100.1.1 1713947766 installed
<13>Sep 25 04:42:05 rpmi: llvm17.0-libs-17.0.6-alt4.2 sisyphus+345738.100.1.1 1713947766 installed
<13>Sep 25 04:42:08 rpmi: rust-1:1.81.0-alt1 sisyphus+357090.200.2.1 1725712533 installed
<13>Sep 25 04:42:08 rpmi: libyaml2-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed
<13>Sep 25 04:42:08 rpmi: libunwind-1.7.0-alt2 sisyphus+335269.100.1.1 1701110934 installed
<13>Sep 25 04:42:08 rpmi: libnet2-1.1.6-alt1 sisyphus+278100.2700.1.1 1626058776 installed
<13>Sep 25 04:42:08 rpmi: libncurses6-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed
<13>Sep 25 04:42:08 rpmi: libtinfo-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed
<13>Sep 25 04:42:08 rpmi: libncurses-devel-6.3.20220618-alt4 sisyphus+327286.4600.14.1 1711486705 installed
<13>Sep 25 04:42:08 rpmi: libmaxminddb-1.11.0-alt1 sisyphus+355820.100.1.1 1724384612 installed
<13>Sep 25 04:42:08 rpmi: rpm-macros-lua-1.5.2-alt1 sisyphus+315204.340.3.1 1692689366 installed
<13>Sep 25 04:42:08 rpmi: rpm-build-lua-0.5-alt1 sisyphus+315204.500.3.1 1692689380 installed
<13>Sep 25 04:42:08 rpmi: liblua5.4-5.4.7-alt1 sisyphus+357126.100.1.1 1725818888 installed
<13>Sep 25 04:42:08 rpmi: lua5.4-5.4.7-alt1 sisyphus+357126.100.1.1 1725818888 installed
<13>Sep 25 04:42:08 rpmi: libjansson-2.13.1-alt2 sisyphus+346324.200.2.1 1716448093 installed
<13>Sep 25 04:42:08 rpmi: libhyperscan5.4-5.4.2-alt1 sisyphus+326187.100.1.1 1690854412 installed
<13>Sep 25 04:42:08 rpmi: zlib-devel-1.3.1-alt1 sisyphus+342532.100.1.1 1710232285 installed
<13>Sep 25 04:42:08 rpmi: libhtp-1:0.5.48-alt1 sisyphus+347325.100.1.1 1714660030 installed
<13>Sep 25 04:42:08 rpmi: libhiredis1-1.2.0-alt2 sisyphus+337713.100.1.1 1704440338 installed
<13>Sep 25 04:42:08 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432004 installed
<13>Sep 25 04:42:08 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed
<13>Sep 25 04:42:08 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349835 installed
<13>Sep 25 04:42:08 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed
<13>Sep 25 04:42:08 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed
<13>Sep 25 04:42:08 rpmi: libnghttp3.9-1.5.0-alt1 sisyphus+356415.100.1.1 1725031855 installed
<13>Sep 25 04:42:08 rpmi: libnghttp2-1.63.0-alt1 sisyphus+356414.100.1.1 1725031508 installed
<13>Sep 25 04:42:08 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed
<13>Sep 25 04:42:09 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed
<13>Sep 25 04:42:09 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed
<13>Sep 25 04:42:09 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed
<13>Sep 25 04:42:09 rpmi: liblmdb-0.9.32-alt1 sisyphus+342426.100.1.1 1710124288 installed
<13>Sep 25 04:42:09 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed
<13>Sep 25 04:42:09 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975345 installed
<13>Sep 25 04:42:09 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed
<13>Sep 25 04:42:09 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed
<13>Sep 25 04:42:09 rpmi: libbpf-1.4.6-alt1 sisyphus+357242.300.3.1 1725983042 installed
<13>Sep 25 04:42:09 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962877 installed
<13>Sep 25 04:42:09 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Sep 25 04:42:09 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed
<13>Sep 25 04:42:09 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed
<13>Sep 25 04:42:09 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed
<13>Sep 25 04:42:09 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed
<13>Sep 25 04:42:09 rpmi: libcrypto3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed
<13>Sep 25 04:42:09 rpmi: libssl3-3.1.7-alt1 sisyphus+356755.100.1.1 1725388416 installed
<13>Sep 25 04:42:09 rpmi: python3-3.12.6-alt1 sisyphus+357228.100.1.1 1725970095 installed
<13>Sep 25 04:42:09 rpmi: python3-base-3.12.6-alt1 sisyphus+357228.100.1.1 1725970095 installed
<86>Sep 25 04:42:09 groupadd[3841080]: group added to /etc/group: name=_keytab, GID=999
<86>Sep 25 04:42:09 groupadd[3841080]: group added to /etc/gshadow: name=_keytab
<86>Sep 25 04:42:09 groupadd[3841080]: new group: name=_keytab, GID=999
<13>Sep 25 04:42:09 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed
<13>Sep 25 04:42:09 rpmi: libevent2.1-2.1.12-alt1 sisyphus+324359.3500.11.1 1689364661 installed
<13>Sep 25 04:42:09 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed
<13>Sep 25 04:42:09 rpmi: libevent-devel-2.1.12-alt1 sisyphus+324359.3500.11.1 1689364661 installed
<13>Sep 25 04:42:09 rpmi: libgsasl-2.2.0-alt1 sisyphus+333173.100.1.1 1698696954 installed
<86>Sep 25 04:42:09 groupadd[3841303]: group added to /etc/group: name=sasl, GID=998
<86>Sep 25 04:42:09 groupadd[3841303]: group added to /etc/gshadow: name=sasl
<86>Sep 25 04:42:09 groupadd[3841303]: new group: name=sasl, GID=998
<13>Sep 25 04:42:09 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed
<13>Sep 25 04:42:09 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed
<13>Sep 25 04:42:09 rpmi: libcurl-8.10.0-alt1 sisyphus+357271.100.1.1 1726044759 installed
<13>Sep 25 04:42:10 rpmi: libpython3-3.12.6-alt1 sisyphus+357228.100.1.1 1725970095 installed
<13>Sep 25 04:42:11 rpmi: llvm18.1-18.1.8-alt0.1 sisyphus+351511.100.1.1 1719305993 installed
<13>Sep 25 04:42:11 rpmi: llvm-18.1.0-alt1 sisyphus+343963.100.6.1 1713343158 installed
<13>Sep 25 04:42:11 rpmi: python3-module-py3dephell-0.1.0-alt2 sisyphus+328191.600.5.1 1693609196 installed
<13>Sep 25 04:42:11 rpmi: tests-for-installed-python3-pkgs-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed
<13>Sep 25 04:42:11 rpmi: rpm-build-python3-0.1.25-alt1 sisyphus+344685.100.1.1 1712595070 installed
<13>Sep 25 04:42:12 rpmi: python3-dev-3.12.6-alt1 sisyphus+357228.100.1.1 1725970095 installed
<13>Sep 25 04:42:12 rpmi: rust-cargo-1:1.81.0-alt1 sisyphus+357090.200.2.1 1725712533 installed
<13>Sep 25 04:42:12 rpmi: libhiredis-devel-1.2.0-alt2 sisyphus+337713.100.1.1 1704440338 installed
<13>Sep 25 04:42:12 rpmi: libbpf-devel-1.4.6-alt1 sisyphus+357242.300.3.1 1725983042 installed
<13>Sep 25 04:42:12 rpmi: libhtp-devel-1:0.5.48-alt1 sisyphus+347325.100.1.1 1714660030 installed
<13>Sep 25 04:42:12 rpmi: libhyperscan-devel-5.4.2-alt1 sisyphus+326187.100.1.1 1690854412 installed
<13>Sep 25 04:42:12 rpmi: libjansson-devel-2.13.1-alt2 sisyphus+346324.200.2.1 1716448093 installed
<13>Sep 25 04:42:12 rpmi: liblua5.4-devel-5.4.7-alt1 sisyphus+357126.100.1.1 1725818888 installed
<13>Sep 25 04:42:12 rpmi: libmaxminddb-devel-1.11.0-alt1 sisyphus+355820.100.1.1 1724384612 installed
<13>Sep 25 04:42:12 rpmi: libnet2-devel-1.1.6-alt1 sisyphus+278100.2700.1.1 1626058776 installed
<13>Sep 25 04:42:12 rpmi: libunwind-devel-1.7.0-alt2 sisyphus+335269.100.1.1 1701110934 installed
<13>Sep 25 04:42:12 rpmi: libyaml-devel-0.2.5-alt1 sisyphus+278391.100.1.1 1626094928 installed
<13>Sep 25 04:42:12 rpmi: libnetfilter_queue-devel-1.0.5-alt1 sisyphus+278100.3000.1.1 1626058809 installed
<13>Sep 25 04:42:12 rpmi: libgnutls-devel-3.8.4-alt1 sisyphus+343729.100.2.1 1711571288 installed
<13>Sep 25 04:42:12 rpmi: libnetfilter_log-devel-1:1.0.2-alt1 sisyphus+335969.100.1.1 1701883417 installed
<13>Sep 25 04:42:12 rpmi: libpcap-devel-2:1.10.4-alt1 sisyphus+322910.100.5.1 1687282815 installed
<13>Sep 25 04:42:12 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687267966 installed
<13>Sep 25 04:42:12 rpmi: liblz4-devel-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed
<13>Sep 25 04:42:12 rpmi: libpcre2-devel-10.43-alt1 sisyphus+340880.100.1.1 1708164071 installed
<13>Sep 25 04:42:12 rpmi: libmagic-devel-5.45-alt1 sisyphus+346190.200.3.3 1716500892 installed
<13>Sep 25 04:42:12 rpmi: liblzma-devel-5.4.5-alt1 sisyphus+338177.300.3.1 1707490235 installed
<13>Sep 25 04:42:12 rpmi: libelf-devel-0.191-alt1 sisyphus+347509.100.1.1 1714859321 installed
<13>Sep 25 04:42:12 rpmi: libcap-ng-devel-0.8.5-alt1 sisyphus+348204.100.1.1 1715863011 installed
<13>Sep 25 04:42:12 rpmi: cbindgen-0.27.0-alt1 sisyphus+356395.100.1.1 1725020711 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/suricata-7.0.5-alt1.nosrc.rpm (w1.gzdio)
Installing suricata-7.0.5-alt1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.82853
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf suricata-7.0.5
+ echo 'Source #0 (suricata-7.0.5.tar):'
Source #0 (suricata-7.0.5.tar):
+ /bin/tar -xf /usr/src/RPM/SOURCES/suricata-7.0.5.tar
+ cd suricata-7.0.5
+ /bin/chmod -c -Rf u+rwX,go-w .
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.82853
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd suricata-7.0.5
+ autoreconf -fisv
autoreconf-default: export WARNINGS=
autoreconf-default: Entering directory '.'
autoreconf-default: configure.ac: not using Gettext
autoreconf-default: running: aclocal --force -I m4
aclocal-default: warning: couldn't open directory 'm4': No such file or directory
autoreconf-default: configure.ac: tracing
autoreconf-default: configure.ac: subdirectory libhtp not present
autoreconf-default: running: libtoolize --force --install
libtoolize-default: putting auxiliary files in '.'.
libtoolize-default: linking file './config.guess'
libtoolize-default: linking file './config.sub'
libtoolize-default: linking file './install-sh'
libtoolize-default: linking file './ltmain.sh'
libtoolize-default: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize-default: linking file 'm4/libtool.m4'
libtoolize-default: linking file 'm4/ltoptions.m4'
libtoolize-default: linking file 'm4/ltsugar.m4'
libtoolize-default: linking file 'm4/ltversion.m4'
libtoolize-default: linking file 'm4/lt~obsolete.m4'
libtoolize-default: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT'
autoreconf-default: configure.ac: not using Intltool
autoreconf-default: configure.ac: not using Gtkdoc
autoreconf-default: running: aclocal --force -I m4
autoreconf-default: running: /usr/bin/autoconf-2.71 --force
autoreconf-default: running: /usr/bin/autoheader-2.71 --force
autoreconf-default: running: automake --add-missing --force-missing
configure.ac:9: installing './compile'
configure.ac:6: installing './missing'
doc/userguide/Makefile.am:47: warning: SPHINX_BUILD was already defined in condition TRUE, which includes condition SPHINX_BUILD ...
configure.ac:2233: ... 'SPHINX_BUILD' previously defined here
src/Makefile.am: installing './depcomp'
autoreconf-default: Leaving directory '.'
+ CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CFLAGS
+ CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export CXXFLAGS
+ FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FFLAGS
+ FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
+ export FCFLAGS
+ '[' -n '' ']'
++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto'
++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g'
+ ASFLAGS=
+ export ASFLAGS
+ export lt_cv_deplibs_check_method=pass_all
+ lt_cv_deplibs_check_method=pass_all
+ readlink -e -- ./configure
+ xargs -ri dirname -- '{}'
+ xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n'
+ sort -u
+ xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess
+ configure_runstatedir_flags=
+ grep -qF runstatedir=DIR ./configure
+ configure_runstatedir_flags=--runstatedir=/var/run
+ ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --runstatedir=/var/run --without-included-gettext --enable-gccprotect --enable-pie --disable-gccmarch-native --disable-coccinelle --enable-nfqueue --enable-nflog --enable-af-packet --enable-jansson --enable-geoip --enable-lua --enable-hiredis --enable-unwind --enable-ebpf --enable-ebpf-build --enable-non-bundled-htp --localstatedir=/var
checking whether make supports nested variables... yes
checking for a BSD-compatible install... /usr/bin/ginstall -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 '1875' is supported by ustar format... yes
checking whether GID '1875' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether make supports the include directive... yes (GNU style)
checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes
checking for x86_64-alt-linux-gcc option to enable C11 features... none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... yes
checking dependency style of x86_64-alt-linux-gcc... none
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 wchar.h... yes
checking for minix/config.h... no
checking for vfork.h... no
checking for sys/time.h... yes
checking for sys/param.h... yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking build system type... x86_64-alt-linux-gnu
checking host system type... x86_64-alt-linux-gnu
checking how to print strings... printf
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 x86_64-alt-linux-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-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for x86_64-alt-linux-file... no
checking for file... file
checking for x86_64-alt-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... (cached) pass_all
checking for x86_64-alt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-alt-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-alt-linux-strip... no
checking for strip... strip
checking for x86_64-alt-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-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 x86_64-alt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-alt-linux-gcc static flag -static works... no
checking if x86_64-alt-linux-gcc supports -c -o file.o... yes
checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-alt-linux-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 x86_64-alt-linux-pkg-config... no
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 for clang... /usr/bin/clang
checking gcc version... 13
checking for gawk... (cached) gawk
checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes
checking for x86_64-alt-linux-gcc option to enable C11 features... (cached) none needed
checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes
checking dependency style of x86_64-alt-linux-gcc... (cached) none
checking how to run the C preprocessor... x86_64-alt-linux-gcc -E
checking for x86_64-alt-linux-ranlib... 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... no
checking for curl... no

   Warning curl or wget not found, you won't be able to
   download latest ruleset with 'make install-rules'
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 x86_64-alt-linux-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-alt-linux-gnu OS... ok
checking for c11 support... yes
checking for thread local storage gnu __thread support... yes
checking for -fstack-protector... yes
checking for -D_FORTIFY_SOURCE=2... yes
checking for -Wformat -Wformat-security... yes
checking for -z relro... yes
checking for -z now... yes
checking for linux/landlock.h... yes
checking for dlfcn.h... (cached) yes
checking for plugin support... yes
checking for llc... llc
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... no
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 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 for libnetfilter_log/libnetfilter_log.h... yes
checking for nflog_open in -lnetfilter_log... yes
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_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 for htp... yes
checking for htp/htp.h... yes
checking for htp_conn_create in -lhtp... yes
checking for htp >= 0.5.48... 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 for htp_config_set_max_tx in -lhtp... yes
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 hiredis/hiredis.h... yes
checking for redisConnect in -lhiredis... yes
checking for hiredis/adapters/libevent.h... yes
checking for event.h... yes
checking for event_base_free in -levent... yes
checking for evthread_use_pthreads in -levent_pthreads... 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
checking for Rust version 1.63.0 or newer... yes
checking for rustup... no
checking for ./rust/dist/rust-bindings.h... no
checking for ./rust/gen/rust-bindings.h... no
checking for cbindgen... /usr/bin/cbindgen
checking for FPC_IsFuzzPacketCapture in -lfuzzpcap... no
checking for x86_64-alt-linux-g++... x86_64-alt-linux-g++
checking whether the compiler supports GNU C++... yes
checking whether x86_64-alt-linux-g++ accepts -g... yes
checking for x86_64-alt-linux-g++ option to enable C++11 features... none needed
checking dependency style of x86_64-alt-linux-g++... none
checking how to run the C++ preprocessor... x86_64-alt-linux-g++ -E
checking for ld used by x86_64-alt-linux-g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-alt-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-alt-linux-g++ option to produce PIC... -fPIC -DPIC
checking if x86_64-alt-linux-g++ PIC flag -fPIC -DPIC works... yes
checking if x86_64-alt-linux-g++ static flag -static works... no
checking if x86_64-alt-linux-g++ supports -c -o file.o... yes
checking if x86_64-alt-linux-g++ supports -c -o file.o... (cached) yes
checking whether the x86_64-alt-linux-g++ linker (/usr/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... no
checking for release date... 2024-04-23
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating rust/Makefile
config.status: creating rust/Cargo.lock
config.status: creating rust/Cargo.toml
config.status: creating rust/derive/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 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 libsuricata-config
config.status: creating src/autoconf.h
config.status: executing depfiles commands
config.status: executing libtool commands

Suricata Configuration:
  AF_PACKET support:                       yes
  AF_XDP support:                          no
  DPDK support:                            no
  eBPF support:                            yes
  XDP support:                             yes
  PF_RING support:                         no
  NFQueue support:                         yes
  NFLOG support:                           yes
  IPFW support:                            no
  Netmap support:                          no 
  DAG enabled:                             no
  Napatech enabled:                        no
  WinDivert enabled:                       no

  Unix socket enabled:                     yes
  Detection enabled:                       yes

  Libmagic support:                        yes
  libjansson support:                      yes
  hiredis support:                         yes
  hiredis async with libevent:             yes
  PCRE jit:                                yes
  LUA support:                             yes
  libluajit:                               no
  GeoIP2 support:                          yes
  Non-bundled htp:                         yes
  Hyperscan support:                       yes
  Libnet support:                          yes
  liblz4 support:                          yes
  Landlock support:                        yes

  Rust support:                            yes
  Rust strict mode:                        no
  Rust compiler path:                      /usr/bin/rustc
  Rust compiler version:                   rustc 1.81.0 (eeb90cda1 2024-09-04) (built from a source tarball)
  Cargo path:                              /usr/bin/cargo
  Cargo version:                           cargo 1.81.0 (2dbb1af80 2024-08-20)

  Python support:                          yes
  Python path:                             /usr/bin/python3
  Install suricatactl:                     yes
  Install suricatasc:                      yes
  Install suricata-update:                 no, not bundled

  Profiling enabled:                       no
  Profiling locks enabled:                 no
  Profiling rules enabled:                 no

  Plugin support (experimental):           yes
  DPDK Bond PMD:                           no

Development settings:
  Coccinelle / spatch:                     no
  Unit tests enabled:                      no
  Debug output enabled:                    no
  Debug validation enabled:                no
  Fuzz targets 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-alt-linux-gnu
  Compiler:                                x86_64-alt-linux-gcc (exec name) / x86_64-alt-linux-g++ (real)
  GCC Protect enabled:                     yes
  GCC march native enabled:                no
  GCC Profile enabled:                     no
  Position Independent Executable enabled: yes
  CFLAGS                                   -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I${srcdir}/../rust/gen -I${srcdir}/../rust/dist
  PCAP_CFLAGS                               
  SECCFLAGS                                -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security

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/

+ make -j16
Making all in rust
make[1]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/rust'
\
	CARGO_HOME="/usr/src/.cargo" \
	CARGO_TARGET_DIR="/usr/src/RPM/BUILD/suricata-7.0.5/rust/target" \
	/usr/bin/cargo build --release  \
		--features "lua lua_int8  " 
warning: `/usr/src/RPM/BUILD/suricata-7.0.5/rust/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: /usr/src/RPM/BUILD/suricata-7.0.5/rust/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
(in the `der-parser6` dependency)
warning: /usr/src/RPM/BUILD/suricata-7.0.5/rust/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
(in the `kerberos-parser` dependency)
     Locking 2 packages to latest compatible versions
    Updating suricata v7.0.3-dev (/usr/src/RPM/BUILD/suricata-7.0.5/rust) -> v7.0.5
    Updating suricata-derive v7.0.3-dev (/usr/src/RPM/BUILD/suricata-7.0.5/rust/derive) -> v7.0.5
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.69
   Compiling unicode-ident v1.0.12
   Compiling syn v1.0.109
   Compiling typenum v1.17.0
   Compiling memchr v2.4.1
   Compiling version_check v0.9.4
   Compiling thiserror v1.0.50
   Compiling minimal-lexical v0.2.1
   Compiling libc v0.2.150
   Compiling unicode-xid v0.2.4
   Compiling serde v1.0.192
   Compiling subtle v2.4.1
   Compiling cfg-if v1.0.0
   Compiling ppv-lite86 v0.2.17
   Compiling itoa v1.0.9
   Compiling siphasher v0.3.11
   Compiling cpufeatures v0.2.11
   Compiling num_threads v0.1.6
   Compiling time-macros v0.2.4
   Compiling rustversion v1.0.14
   Compiling phf_shared v0.10.0
   Compiling proc-macro2 v0.4.30
   Compiling failure_derive v0.1.8
   Compiling generic-array v0.14.7
   Compiling num-traits v0.2.17
   Compiling num-integer v0.1.45
   Compiling num-bigint v0.4.4
   Compiling num-bigint v0.2.6
   Compiling build_const v0.2.2
   Compiling unicode-xid v0.1.0
   Compiling opaque-debug v0.3.0
   Compiling num-complex v0.2.4
   Compiling num-iter v0.1.43
   Compiling crc v1.8.1
   Compiling nom v7.1.3
   Compiling num-rational v0.2.4
   Compiling quote v1.0.33
   Compiling syn v0.15.44
   Compiling crc32fast v1.3.2
   Compiling syn v2.0.39
   Compiling oid-registry v0.6.1
   Compiling alloc-no-stdlib v2.0.4
   Compiling getrandom v0.2.11
   Compiling quote v0.6.13
   Compiling alloc-stdlib v0.2.2
   Compiling rand_core v0.6.4
   Compiling bitflags v1.2.1
   Compiling adler v1.0.2
   Compiling num-derive v0.2.5
   Compiling miniz_oxide v0.7.1
   Compiling phf v0.10.1
   Compiling rand_chacha v0.3.1
   Compiling brotli-decompressor v2.5.1
   Compiling aho-corasick v0.7.20
   Compiling rand v0.8.5
   Compiling time v0.3.13
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.6.29
   Compiling crypto-common v0.1.6
   Compiling block-buffer v0.10.4
   Compiling cipher v0.3.0
   Compiling digest v0.10.7
   Compiling universal-hash v0.4.1
   Compiling polyval v0.5.3
   Compiling phf_generator v0.10.0
   Compiling phf_codegen v0.10.0
   Compiling num-traits v0.1.43
   Compiling tls-parser v0.11.0
   Compiling enum_primitive v0.1.1
   Compiling hmac v0.12.1
   Compiling ghash v0.4.4
   Compiling ctr v0.8.0
   Compiling aes v0.7.5
   Compiling rusticata-macros v4.1.0
   Compiling aead v0.4.3
   Compiling sawp v0.12.1
   Compiling data-encoding v2.4.0
   Compiling byteorder v1.4.3
   Compiling toml v0.5.11
   Compiling lzma-rs v0.2.0
   Compiling aes-gcm v0.9.4
   Compiling regex v1.5.6
   Compiling ipsec-parser v0.7.0
   Compiling thiserror-impl v1.0.50
   Compiling displaydoc v0.2.4
   Compiling num v0.2.1
   Compiling hkdf v0.12.3
   Compiling synstructure v0.12.6
   Compiling brotli v3.4.0
   Compiling md-5 v0.10.6
   Compiling sha1 v0.10.6
   Compiling sha2 v0.10.8
   Compiling proc-macro-crate v1.1.0
   Compiling flate2 v1.0.28
   Compiling base64 v0.13.1
   Compiling uuid v0.8.2
   Compiling widestring v0.4.3
   Compiling asn1-rs-derive v0.4.0
   Compiling asn1-rs-impl v0.1.0
   Compiling nom-derive-impl v0.10.1
   Compiling der-oid-macro v0.5.0
   Compiling num_enum_derive v0.5.11
   Compiling sawp-flags-derive v0.12.1
   Compiling der-parser v6.0.1
   Compiling sawp-flags v0.12.1
   Compiling asn1-rs v0.5.2
   Compiling suricata-derive v7.0.5 (/usr/src/RPM/BUILD/suricata-7.0.5/rust/derive)
   Compiling failure v0.1.8
   Compiling kerberos-parser v0.7.1
   Compiling num_enum v0.5.11
   Compiling sawp-modbus v0.12.1
   Compiling bendy v0.3.3
   Compiling nom-derive v0.10.1
   Compiling ntp-parser v0.6.0
   Compiling der-parser v8.2.0
   Compiling snmp-parser v0.9.0
   Compiling x509-parser v0.15.1
   Compiling suricata v7.0.5 (/usr/src/RPM/BUILD/suricata-7.0.5/rust)
warning: fields `reserved` and `payload_length` are never read
  --> src/ike/parser.rs:72:9
   |
70 | pub struct IsakmpPayloadHeader {
   |            ------------------- fields in this struct
71 |     pub next_payload: u8,
72 |     pub reserved: u8,
   |         ^^^^^^^^
73 |     pub payload_length: u16,
   |         ^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: field `situation` is never read
  --> src/ike/parser.rs:86:9
   |
84 | pub struct SecurityAssociationPayload<'a> {
   |            -------------------------- field in this struct
85 |     pub domain_of_interpretation: u32,
86 |     pub situation: Option<&'a [u8]>,
   |         ^^^^^^^^^

warning: fields `proposal_number`, `proposal_type`, `spi_size`, `number_transforms`, and `spi` are never read
  --> src/ike/parser.rs:92:9
   |
91 | pub struct ProposalPayload<'a> {
   |            --------------- fields in this struct
92 |     pub proposal_number: u8,
   |         ^^^^^^^^^^^^^^^
93 |     pub proposal_type: u8,
   |         ^^^^^^^^^^^^^
94 |     pub spi_size: u8,
   |         ^^^^^^^^
95 |     pub number_transforms: u8,
   |         ^^^^^^^^^^^^^^^^^
96 |     pub spi: &'a [u8],
   |         ^^^

warning: fields `transform_number` and `transform_type` are never read
   --> src/ike/parser.rs:102:9
    |
101 | pub struct TransformPayload<'a> {
    |            ---------------- fields in this struct
102 |     pub transform_number: u8,
    |         ^^^^^^^^^^^^^^^^
103 |     pub transform_type: u8,
    |         ^^^^^^^^^^^^^^

warning: `suricata` (lib) generated 4 warnings
    Finished `release` profile [optimized + debuginfo] target(s) in 38.40s
if test -e ../rust/target/release/suricata.lib; then \
	cp -a ../rust/target/release/suricata.lib \
		../rust/target/release/libsuricata_rust.a; \
fi
if test -e ../rust/target/release/libsuricata.a; then \
	cp -a ../rust/target/release/libsuricata.a \
		../rust/target/release/libsuricata_rust.a; \
fi
make[1]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/rust'
make gen/rust-bindings.h
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/rust'
cbindgen --config /usr/src/RPM/BUILD/suricata-7.0.5/rust/cbindgen.toml \
	--quiet --verify --output /usr/src/RPM/BUILD/suricata-7.0.5/rust/gen/rust-bindings.h || true
ERROR: Bindings changed: /usr/src/RPM/BUILD/suricata-7.0.5/rust/gen/rust-bindings.h
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/rust'
Making all in src
make  all-am
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"main\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o main.o main.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-expectation\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-expectation.o app-layer-expectation.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-events\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-events.o app-layer-events.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-events.h:30,
                 from app-layer-events.c:28:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from app-layer-events.c:27:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from app-layer-events.c:26:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-events.c:25:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-events.c:29:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-events.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: *** Waiting for unfinished jobs....
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"alert-syslog\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o alert-syslog.o alert-syslog.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from output-file.h:29,
                 from output.h:40,
                 from alert-syslog.c:41:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from alert-syslog.c:28:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from alert-syslog.c:27:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
make[2]: *** [Makefile:3512: alert-syslog.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"alert-fastlog\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o alert-fastlog.o alert-fastlog.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from output-file.h:29,
                 from output.h:40,
                 from alert-fastlog.c:47:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from detect.h:28,
                 from alert-fastlog.c:28:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from alert-fastlog.c:27:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
make[2]: *** [Makefile:3512: alert-fastlog.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-enip-common\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-enip-common.o app-layer-enip-common.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-enip-common.h:27,
                 from app-layer-enip-common.c:36:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from detect.h:28,
                 from detect-parse.h:27,
                 from app-layer-enip-common.c:30:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-enip-common.c:27:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
make[2]: *** [Makefile:3512: app-layer-enip-common.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-htp-body\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-htp-body.o app-layer-htp-body.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-htp.h:36,
                 from app-layer-htp-body.c:30:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from util-file.h:30,
                 from rust.h:21:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from util-file.h:28:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-htp-body.c:29:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-htp.h:37:
app-layer-frames.h:83:8: error: conflicting types for 'AppLayerFrameNewByRelativeOffset'; have 'Frame *(Flow *, const StreamSlice *, const uint32_t,  const int64_t,  int,  uint8_t)' {aka 'Frame *(struct Flow_ *, const StreamSlice *, const unsigned int,  const long int,  int,  unsigned char)'}
   83 | Frame *AppLayerFrameNewByRelativeOffset(Flow *f, const StreamSlice *stream_slice,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5163:29: note: previous declaration of 'AppLayerFrameNewByRelativeOffset' with type 'const struct CFrame *(const Flow *, const struct StreamSlice *, uint32_t,  int64_t,  int32_t,  uint8_t)' {aka 'const struct CFrame *(const struct Flow_ *, const struct StreamSlice *, unsigned int,  long int,  int,  unsigned char)'}
 5163 | extern const struct CFrame *AppLayerFrameNewByRelativeOffset(const Flow *flow,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:93:9: error: conflicting types for 'AppLayerFrameGetId'; have 'FrameId(Frame *)' {aka 'long int(Frame *)'}
   93 | FrameId AppLayerFrameGetId(Frame *r);
      |         ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5185:16: note: previous declaration of 'AppLayerFrameGetId' with type 'int64_t(const struct CFrame *)' {aka 'long int(const struct CFrame *)'}
 5185 | extern int64_t AppLayerFrameGetId(const struct CFrame *frame);
      |                ^~~~~~~~~~~~~~~~~~
app-layer-frames.h:95:6: error: conflicting types for 'AppLayerFrameAddEventById'; have 'void(Flow *, const int,  const FrameId,  uint8_t)' {aka 'void(struct Flow_ *, const int,  const long int,  unsigned char)'}
   95 | void AppLayerFrameAddEventById(Flow *f, const int dir, const FrameId id, uint8_t e);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5170:13: note: previous declaration of 'AppLayerFrameAddEventById' with type 'void(const Flow *, int32_t,  int64_t,  uint8_t)' {aka 'void(const struct Flow_ *, int,  long int,  unsigned char)'}
 5170 | extern void AppLayerFrameAddEventById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:97:6: error: conflicting types for 'AppLayerFrameSetLengthById'; have 'void(Flow *, const int,  const FrameId,  int64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long int)'}
   97 | void AppLayerFrameSetLengthById(Flow *f, const int dir, const FrameId id, int64_t len);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5175:13: note: previous declaration of 'AppLayerFrameSetLengthById' with type 'void(const Flow *, int32_t,  int64_t,  int64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long int)'}
 5175 | extern void AppLayerFrameSetLengthById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:99:6: error: conflicting types for 'AppLayerFrameSetTxIdById'; have 'void(Flow *, const int,  const FrameId,  uint64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long unsigned int)'}
   99 | void AppLayerFrameSetTxIdById(Flow *f, const int dir, const FrameId id, uint64_t tx_id);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5180:13: note: previous declaration of 'AppLayerFrameSetTxIdById' with type 'void(const Flow *, int32_t,  int64_t,  uint64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long unsigned int)'}
 5180 | extern void AppLayerFrameSetTxIdById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-htp-body.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-enip\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-enip.o app-layer-enip.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer.h:38,
                 from app-layer-enip.c:38:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from app-layer.h:32:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from app-layer-enip.c:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31,
                 from stream.h:27,
                 from app-layer-enip.c:36:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-enip.c:27:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-enip.c:40:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-enip.c:44:
app-layer-detect-proto.h:122:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
  122 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-enip.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer.o app-layer.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer.h:38,
                 from app-layer.c:29:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from app-layer.h:32:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from app-layer.h:31:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer.c:27:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer.c:30:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer.c:34:
app-layer-detect-proto.h:122:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
  122 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer.c:35:
app-layer-frames.h:83:8: error: conflicting types for 'AppLayerFrameNewByRelativeOffset'; have 'Frame *(Flow *, const StreamSlice *, const uint32_t,  const int64_t,  int,  uint8_t)' {aka 'Frame *(struct Flow_ *, const StreamSlice *, const unsigned int,  const long int,  int,  unsigned char)'}
   83 | Frame *AppLayerFrameNewByRelativeOffset(Flow *f, const StreamSlice *stream_slice,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5163:29: note: previous declaration of 'AppLayerFrameNewByRelativeOffset' with type 'const struct CFrame *(const Flow *, const struct StreamSlice *, uint32_t,  int64_t,  int32_t,  uint8_t)' {aka 'const struct CFrame *(const struct Flow_ *, const struct StreamSlice *, unsigned int,  long int,  int,  unsigned char)'}
 5163 | extern const struct CFrame *AppLayerFrameNewByRelativeOffset(const Flow *flow,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:93:9: error: conflicting types for 'AppLayerFrameGetId'; have 'FrameId(Frame *)' {aka 'long int(Frame *)'}
   93 | FrameId AppLayerFrameGetId(Frame *r);
      |         ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5185:16: note: previous declaration of 'AppLayerFrameGetId' with type 'int64_t(const struct CFrame *)' {aka 'long int(const struct CFrame *)'}
 5185 | extern int64_t AppLayerFrameGetId(const struct CFrame *frame);
      |                ^~~~~~~~~~~~~~~~~~
app-layer-frames.h:95:6: error: conflicting types for 'AppLayerFrameAddEventById'; have 'void(Flow *, const int,  const FrameId,  uint8_t)' {aka 'void(struct Flow_ *, const int,  const long int,  unsigned char)'}
   95 | void AppLayerFrameAddEventById(Flow *f, const int dir, const FrameId id, uint8_t e);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5170:13: note: previous declaration of 'AppLayerFrameAddEventById' with type 'void(const Flow *, int32_t,  int64_t,  uint8_t)' {aka 'void(const struct Flow_ *, int,  long int,  unsigned char)'}
 5170 | extern void AppLayerFrameAddEventById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:97:6: error: conflicting types for 'AppLayerFrameSetLengthById'; have 'void(Flow *, const int,  const FrameId,  int64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long int)'}
   97 | void AppLayerFrameSetLengthById(Flow *f, const int dir, const FrameId id, int64_t len);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5175:13: note: previous declaration of 'AppLayerFrameSetLengthById' with type 'void(const Flow *, int32_t,  int64_t,  int64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long int)'}
 5175 | extern void AppLayerFrameSetLengthById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:99:6: error: conflicting types for 'AppLayerFrameSetTxIdById'; have 'void(Flow *, const int,  const FrameId,  uint64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long unsigned int)'}
   99 | void AppLayerFrameSetTxIdById(Flow *f, const int dir, const FrameId id, uint64_t tx_id);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5180:13: note: previous declaration of 'AppLayerFrameSetTxIdById' with type 'void(const Flow *, int32_t,  int64_t,  uint64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long unsigned int)'}
 5180 | extern void AppLayerFrameSetTxIdById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"alert-debuglog\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o alert-debuglog.o alert-debuglog.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from output-file.h:29,
                 from output.h:40,
                 from alert-debuglog.c:47:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from detect.h:28,
                 from alert-debuglog.c:27:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from alert-debuglog.c:24:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
make[2]: *** [Makefile:3512: alert-debuglog.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-frames\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-frames.o app-layer-frames.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-frames.h:27,
                 from app-layer-frames.c:30:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from app-layer-frames.c:28:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-frames.c:25:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
app-layer-frames.h:83:8: error: conflicting types for 'AppLayerFrameNewByRelativeOffset'; have 'Frame *(Flow *, const StreamSlice *, const uint32_t,  const int64_t,  int,  uint8_t)' {aka 'Frame *(struct Flow_ *, const StreamSlice *, const unsigned int,  const long int,  int,  unsigned char)'}
   83 | Frame *AppLayerFrameNewByRelativeOffset(Flow *f, const StreamSlice *stream_slice,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5163:29: note: previous declaration of 'AppLayerFrameNewByRelativeOffset' with type 'const struct CFrame *(const Flow *, const struct StreamSlice *, uint32_t,  int64_t,  int32_t,  uint8_t)' {aka 'const struct CFrame *(const struct Flow_ *, const struct StreamSlice *, unsigned int,  long int,  int,  unsigned char)'}
 5163 | extern const struct CFrame *AppLayerFrameNewByRelativeOffset(const Flow *flow,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:93:9: error: conflicting types for 'AppLayerFrameGetId'; have 'FrameId(Frame *)' {aka 'long int(Frame *)'}
   93 | FrameId AppLayerFrameGetId(Frame *r);
      |         ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5185:16: note: previous declaration of 'AppLayerFrameGetId' with type 'int64_t(const struct CFrame *)' {aka 'long int(const struct CFrame *)'}
 5185 | extern int64_t AppLayerFrameGetId(const struct CFrame *frame);
      |                ^~~~~~~~~~~~~~~~~~
app-layer-frames.h:95:6: error: conflicting types for 'AppLayerFrameAddEventById'; have 'void(Flow *, const int,  const FrameId,  uint8_t)' {aka 'void(struct Flow_ *, const int,  const long int,  unsigned char)'}
   95 | void AppLayerFrameAddEventById(Flow *f, const int dir, const FrameId id, uint8_t e);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5170:13: note: previous declaration of 'AppLayerFrameAddEventById' with type 'void(const Flow *, int32_t,  int64_t,  uint8_t)' {aka 'void(const struct Flow_ *, int,  long int,  unsigned char)'}
 5170 | extern void AppLayerFrameAddEventById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:97:6: error: conflicting types for 'AppLayerFrameSetLengthById'; have 'void(Flow *, const int,  const FrameId,  int64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long int)'}
   97 | void AppLayerFrameSetLengthById(Flow *f, const int dir, const FrameId id, int64_t len);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5175:13: note: previous declaration of 'AppLayerFrameSetLengthById' with type 'void(const Flow *, int32_t,  int64_t,  int64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long int)'}
 5175 | extern void AppLayerFrameSetLengthById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:99:6: error: conflicting types for 'AppLayerFrameSetTxIdById'; have 'void(Flow *, const int,  const FrameId,  uint64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long unsigned int)'}
   99 | void AppLayerFrameSetTxIdById(Flow *f, const int dir, const FrameId id, uint64_t tx_id);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5180:13: note: previous declaration of 'AppLayerFrameSetTxIdById' with type 'void(const Flow *, int32_t,  int64_t,  uint64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long unsigned int)'}
 5180 | extern void AppLayerFrameSetTxIdById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-frames.c:31:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.c:495:8: error: conflicting types for 'AppLayerFrameNewByRelativeOffset'; have 'Frame *(Flow *, const StreamSlice *, const uint32_t,  const int64_t,  int,  uint8_t)' {aka 'Frame *(struct Flow_ *, const StreamSlice *, const unsigned int,  const long int,  int,  unsigned char)'}
  495 | Frame *AppLayerFrameNewByRelativeOffset(Flow *f, const StreamSlice *stream_slice,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5163:29: note: previous declaration of 'AppLayerFrameNewByRelativeOffset' with type 'const struct CFrame *(const Flow *, const struct StreamSlice *, uint32_t,  int64_t,  int32_t,  uint8_t)' {aka 'const struct CFrame *(const struct Flow_ *, const struct StreamSlice *, unsigned int,  long int,  int,  unsigned char)'}
 5163 | extern const struct CFrame *AppLayerFrameNewByRelativeOffset(const Flow *flow,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.c:607:6: error: conflicting types for 'AppLayerFrameAddEventById'; have 'void(Flow *, const int,  const FrameId,  uint8_t)' {aka 'void(struct Flow_ *, const int,  const long int,  unsigned char)'}
  607 | void AppLayerFrameAddEventById(Flow *f, const int dir, const FrameId id, uint8_t e)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5170:13: note: previous declaration of 'AppLayerFrameAddEventById' with type 'void(const Flow *, int32_t,  int64_t,  uint8_t)' {aka 'void(const struct Flow_ *, int,  long int,  unsigned char)'}
 5170 | extern void AppLayerFrameAddEventById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.c:613:9: error: conflicting types for 'AppLayerFrameGetId'; have 'FrameId(Frame *)' {aka 'long int(Frame *)'}
  613 | FrameId AppLayerFrameGetId(Frame *r)
      |         ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5185:16: note: previous declaration of 'AppLayerFrameGetId' with type 'int64_t(const struct CFrame *)' {aka 'long int(const struct CFrame *)'}
 5185 | extern int64_t AppLayerFrameGetId(const struct CFrame *frame);
      |                ^~~~~~~~~~~~~~~~~~
app-layer-frames.c:630:6: error: conflicting types for 'AppLayerFrameSetLengthById'; have 'void(Flow *, const int,  const FrameId,  int64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long int)'}
  630 | void AppLayerFrameSetLengthById(Flow *f, const int dir, const FrameId id, int64_t len)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5175:13: note: previous declaration of 'AppLayerFrameSetLengthById' with type 'void(const Flow *, int32_t,  int64_t,  int64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long int)'}
 5175 | extern void AppLayerFrameSetLengthById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.c:645:6: error: conflicting types for 'AppLayerFrameSetTxIdById'; have 'void(Flow *, const int,  const FrameId,  uint64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long unsigned int)'}
  645 | void AppLayerFrameSetTxIdById(Flow *f, const int dir, const FrameId id, uint64_t tx_id)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5180:13: note: previous declaration of 'AppLayerFrameSetTxIdById' with type 'void(const Flow *, int32_t,  int64_t,  uint64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long unsigned int)'}
 5180 | extern void AppLayerFrameSetTxIdById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-frames.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-dnp3\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-dnp3.o app-layer-dnp3.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer.h:38,
                 from app-layer-dnp3.c:35:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from app-layer.h:32:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from stream.h:27,
                 from app-layer-dnp3.c:26:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-dnp3.c:24:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-dnp3.c:37:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-dnp3.c:38:
app-layer-detect-proto.h:122:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
  122 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-dnp3.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-ftp\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-ftp.o app-layer-ftp.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-ftp.h:28,
                 from app-layer-ftp.c:29:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from util-file.h:30,
                 from rust.h:21:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from util-file.h:28:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-ftp.c:28:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-ftp.c:31:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-ftp.c:33:
app-layer-detect-proto.h:122:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
  122 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-ftp.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-detect-proto\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-detect-proto.o app-layer-detect-proto.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer.h:38,
                 from app-layer-detect-proto.c:55:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from tm-threads.h:31,
                 from app-layer-detect-proto.c:29:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from app-layer-detect-proto.c:26:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from suricata-plugin.h:24,
                 from decode.h:31:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-detect-proto.c:25:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-detect-proto.c:57:
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-detect-proto.c:58:
app-layer-detect-proto.h:122:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
  122 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-detect-proto.c: In function 'AppLayerProtoDetectPPParseConfPorts':
app-layer-detect-proto.c:1630:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1630 |     node = ConfGetNode(param);
      |          ^
app-layer-detect-proto.c:1640:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1640 |         node = ConfGetNode(param);
      |              ^
app-layer-detect-proto.c: At top level:
app-layer-detect-proto.c:1866:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
 1866 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f)
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-detect-proto.c: In function 'AppLayerProtoDetectConfProtoDetectionEnabledDefault':
app-layer-detect-proto.c:1918:10: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1918 |     node = ConfGetNode(param);
      |          ^
app-layer-detect-proto.c:1929:14: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 1929 |         node = ConfGetNode(param);
      |              ^
app-layer-detect-proto.c: In function 'AppLayerProtoDetectGetProtoByName':
app-layer-detect-proto.c:2076:35: warning: pointer targets in passing argument 1 of 'StringToAppProto' differ in signedness [-Wpointer-sign]
 2076 |     AppProto b = StringToAppProto(alproto_name);
      |                                   ^~~~~~~~~~~~
      |                                   |
      |                                   const char *
./../rust/gen/rust-bindings.h:4977:49: note: expected 'const uint8_t *' {aka 'const unsigned char *'} but argument is of type 'const char *'
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                                  ~~~~~~~~~~~~~~~^~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-detect-proto.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-dnp3-objects\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-dnp3-objects.o app-layer-dnp3-objects.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-dnp3.h:27,
                 from app-layer-dnp3-objects.c:28:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from util-file.h:30,
                 from rust.h:21:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from util-file.h:28:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-dnp3-objects.c:26:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
make[2]: *** [Makefile:3512: app-layer-dnp3-objects.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-htp\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-htp.o app-layer-htp.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-events.h:30,
                 from app-layer-parser.h:28,
                 from app-layer-htp.c:55:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from util-file.h:30,
                 from app-layer-htp.c:46:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from app-layer-htp.c:39:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from app-layer-htp.c:38:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from suricata.h:67,
                 from app-layer-htp.c:36:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
app-layer-parser.h:310:6: error: conflicting types for 'AppLayerParserStateSetFlag'; have 'void(AppLayerParserState *, uint16_t)' {aka 'void(struct AppLayerParserState_ *, short unsigned int)'}
  310 | void AppLayerParserStateSetFlag(AppLayerParserState *pstate, uint16_t flag);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5152:13: note: previous declaration of 'AppLayerParserStateSetFlag' with type 'void(void *, uint16_t)' {aka 'void(void *, short unsigned int)'}
 5152 | extern void AppLayerParserStateSetFlag(void *state, uint16_t flag);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-parser.h:311:10: error: conflicting types for 'AppLayerParserStateIssetFlag'; have 'uint16_t(AppLayerParserState *, uint16_t)' {aka 'short unsigned int(struct AppLayerParserState_ *, short unsigned int)'}
  311 | uint16_t AppLayerParserStateIssetFlag(AppLayerParserState *pstate, uint16_t flag);
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5154:17: note: previous declaration of 'AppLayerParserStateIssetFlag' with type 'uint16_t(void *, uint16_t)' {aka 'short unsigned int(void *, short unsigned int)'}
 5154 | extern uint16_t AppLayerParserStateIssetFlag(void *state, uint16_t flag);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-htp.c:58:
app-layer-detect-proto.h:122:6: error: conflicting types for 'AppLayerRequestProtocolTLSUpgrade'; have '_Bool(Flow *)' {aka '_Bool(struct Flow_ *)'}
  122 | bool AppLayerRequestProtocolTLSUpgrade(Flow *f);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5150:13: note: previous declaration of 'AppLayerRequestProtocolTLSUpgrade' with type '_Bool(const Flow *)' {aka '_Bool(const struct Flow_ *)'}
 5150 | extern bool AppLayerRequestProtocolTLSUpgrade(const Flow *flow);
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from app-layer-htp.c:59:
app-layer-frames.h:83:8: error: conflicting types for 'AppLayerFrameNewByRelativeOffset'; have 'Frame *(Flow *, const StreamSlice *, const uint32_t,  const int64_t,  int,  uint8_t)' {aka 'Frame *(struct Flow_ *, const StreamSlice *, const unsigned int,  const long int,  int,  unsigned char)'}
   83 | Frame *AppLayerFrameNewByRelativeOffset(Flow *f, const StreamSlice *stream_slice,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5163:29: note: previous declaration of 'AppLayerFrameNewByRelativeOffset' with type 'const struct CFrame *(const Flow *, const struct StreamSlice *, uint32_t,  int64_t,  int32_t,  uint8_t)' {aka 'const struct CFrame *(const struct Flow_ *, const struct StreamSlice *, unsigned int,  long int,  int,  unsigned char)'}
 5163 | extern const struct CFrame *AppLayerFrameNewByRelativeOffset(const Flow *flow,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:93:9: error: conflicting types for 'AppLayerFrameGetId'; have 'FrameId(Frame *)' {aka 'long int(Frame *)'}
   93 | FrameId AppLayerFrameGetId(Frame *r);
      |         ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5185:16: note: previous declaration of 'AppLayerFrameGetId' with type 'int64_t(const struct CFrame *)' {aka 'long int(const struct CFrame *)'}
 5185 | extern int64_t AppLayerFrameGetId(const struct CFrame *frame);
      |                ^~~~~~~~~~~~~~~~~~
app-layer-frames.h:95:6: error: conflicting types for 'AppLayerFrameAddEventById'; have 'void(Flow *, const int,  const FrameId,  uint8_t)' {aka 'void(struct Flow_ *, const int,  const long int,  unsigned char)'}
   95 | void AppLayerFrameAddEventById(Flow *f, const int dir, const FrameId id, uint8_t e);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5170:13: note: previous declaration of 'AppLayerFrameAddEventById' with type 'void(const Flow *, int32_t,  int64_t,  uint8_t)' {aka 'void(const struct Flow_ *, int,  long int,  unsigned char)'}
 5170 | extern void AppLayerFrameAddEventById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:97:6: error: conflicting types for 'AppLayerFrameSetLengthById'; have 'void(Flow *, const int,  const FrameId,  int64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long int)'}
   97 | void AppLayerFrameSetLengthById(Flow *f, const int dir, const FrameId id, int64_t len);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5175:13: note: previous declaration of 'AppLayerFrameSetLengthById' with type 'void(const Flow *, int32_t,  int64_t,  int64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long int)'}
 5175 | extern void AppLayerFrameSetLengthById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:99:6: error: conflicting types for 'AppLayerFrameSetTxIdById'; have 'void(Flow *, const int,  const FrameId,  uint64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long unsigned int)'}
   99 | void AppLayerFrameSetTxIdById(Flow *f, const int dir, const FrameId id, uint64_t tx_id);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5180:13: note: previous declaration of 'AppLayerFrameSetTxIdById' with type 'void(const Flow *, int32_t,  int64_t,  uint64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long unsigned int)'}
 5180 | extern void AppLayerFrameSetTxIdById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
app-layer-htp.c: In function 'HTPConfigure':
app-layer-htp.c:2997:44: warning: passing argument 2 of 'HTPConfigParseParameters' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 2997 |         HTPConfigParseParameters(&cfglist, ConfGetNode("libhtp.default-config"),
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-htp.c:2593:69: note: expected 'ConfNode *' {aka 'struct ConfNode_ *'} but argument is of type 'const void *'
 2593 | static void HTPConfigParseParameters(HTPCfgRec *cfg_prec, ConfNode *s,
      |                                                           ~~~~~~~~~~^
app-layer-htp.c:3000:44: warning: passing argument 2 of 'HTPConfigParseParameters' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3000 |         HTPConfigParseParameters(&cfglist, ConfGetNode("app-layer.protocols.http.libhtp.default-config"), cfgtree);
      |                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-htp.c:2593:69: note: expected 'ConfNode *' {aka 'struct ConfNode_ *'} but argument is of type 'const void *'
 2593 | static void HTPConfigParseParameters(HTPCfgRec *cfg_prec, ConfNode *s,
      |                                                           ~~~~~~~~~~^
app-layer-htp.c:3007:31: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3007 |     ConfNode *server_config = ConfGetNode("app-layer.protocols.http.libhtp.server-config");
      |                               ^~~~~~~~~~~
app-layer-htp.c:3009:23: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
 3009 |         server_config = ConfGetNode("libhtp.server-config");
      |                       ^
make[2]: *** [Makefile:3512: app-layer-htp.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-htp-libhtp\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-htp-libhtp.o app-layer-htp-libhtp.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[2]: Entering directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I.   -I/usr/include/hs   -I/usr/lib64/htp/include  -fPIC -D__SCFILENAME__=\"app-layer-htp-file\"  -Wextra -Werror-implicit-function-declaration  -fstack-protector -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security  -DLOCAL_STATE_DIR=\"/var\" -Wall -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wwrite-strings -Wbad-function-cast -Wformat-security -Wno-format-nonliteral -Wmissing-format-attribute -funsigned-char  -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -fPIC -std=c11 -I./../rust/gen -I./../rust/dist -c -o app-layer-htp-file.o app-layer-htp-file.c
<command-line>: warning: "_FORTIFY_SOURCE" redefined
<built-in>: note: this is the location of the previous definition
In file included from rust.h:26,
                 from app-layer-htp.h:36,
                 from app-layer-htp-file.h:28,
                 from app-layer-htp-file.c:28:
./../rust/gen/rust-bindings.h:4719:27: error: field 'probe_ts' has incomplete type
 4719 |     struct Option_ProbeFn probe_ts;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4723:27: error: field 'probe_tc' has incomplete type
 4723 |     struct Option_ProbeFn probe_tc;
      |                           ^~~~~~~~
./../rust/gen/rust-bindings.h:4735:5: error: unknown type name 'StateAllocFn'
 4735 |     StateAllocFn state_new;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4739:5: error: unknown type name 'StateFreeFn'
 4739 |     StateFreeFn state_free;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4743:5: error: unknown type name 'ParseFn'
 4743 |     ParseFn parse_ts;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4747:5: error: unknown type name 'ParseFn'
 4747 |     ParseFn parse_tc;
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:4751:5: error: unknown type name 'StateGetTxCntFn'
 4751 |     StateGetTxCntFn get_tx_count;
      |     ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4755:5: error: unknown type name 'StateGetTxFn'
 4755 |     StateGetTxFn get_tx;
      |     ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4759:5: error: unknown type name 'StateTxFreeFn'
 4759 |     StateTxFreeFn tx_free;
      |     ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4768:5: error: unknown type name 'StateGetProgressFn'
 4768 |     StateGetProgressFn tx_get_progress;
      |     ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4772:34: error: field 'get_eventinfo' has incomplete type
 4772 |     struct Option_GetEventInfoFn get_eventinfo;
      |                                  ^~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4776:38: error: field 'get_eventinfo_byid' has incomplete type
 4776 |     struct Option_GetEventInfoByIdFn get_eventinfo_byid;
      |                                      ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4780:37: error: field 'localstorage_new' has incomplete type
 4780 |     struct Option_LocalStorageNewFn localstorage_new;
      |                                     ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4784:38: error: field 'localstorage_free' has incomplete type
 4784 |     struct Option_LocalStorageFreeFn localstorage_free;
      |                                      ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4788:32: error: field 'get_tx_files' has incomplete type
 4788 |     struct Option_GetTxFilesFn get_tx_files;
      |                                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4792:35: error: field 'get_tx_iterator' has incomplete type
 4792 |     struct Option_GetTxIteratorFn get_tx_iterator;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4793:5: error: unknown type name 'GetStateDataFn'
 4793 |     GetStateDataFn get_state_data;
      |     ^~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4794:5: error: unknown type name 'GetTxDataFn'
 4794 |     GetTxDataFn get_tx_data;
      |     ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:4795:35: error: field 'apply_tx_config' has incomplete type
 4795 |     struct Option_ApplyTxConfigFn apply_tx_config;
      |                                   ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4801:30: error: field 'truncate' has incomplete type
 4801 |     struct Option_TruncateFn truncate;
      |                              ^~~~~~~~
./../rust/gen/rust-bindings.h:4802:36: error: field 'get_frame_id_by_name' has incomplete type
 4802 |     struct Option_GetFrameIdByName get_frame_id_by_name;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4803:36: error: field 'get_frame_name_by_id' has incomplete type
 4803 |     struct Option_GetFrameNameById get_frame_name_by_id;
      |                                    ^~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4977:17: error: conflicting types for 'StringToAppProto'; have 'AppProto(const uint8_t *)' {aka 'short unsigned int(const unsigned char *)'}
 4977 | extern AppProto StringToAppProto(const uint8_t *proto_name);
      |                 ^~~~~~~~~~~~~~~~
In file included from flow.h:35,
                 from util-file.h:30,
                 from rust.h:21:
app-layer-protos.h:116:10: note: previous declaration of 'StringToAppProto' with type 'AppProto(const char *)' {aka 'short unsigned int(const char *)'}
  116 | AppProto StringToAppProto(const char *proto_name);
      |          ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4979:25: error: conflicting types for 'SCGetContext'; have 'SuricataContext *(void)' {aka 'struct SuricataContext_ *(void)'}
 4979 | extern SuricataContext *SCGetContext(void);
      |                         ^~~~~~~~~~~~
In file included from rust.h:25:
rust-context.h:75:24: note: previous declaration of 'SCGetContext' with type 'const SuricataContext *(void)' {aka 'const struct SuricataContext_ *(void)'}
   75 | const SuricataContext *SCGetContext(void);
      |                        ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4981:16: warning: conflicting types for 'SCLogGetLogLevel' due to enum/integer mismatch; have 'int32_t(void)' {aka 'int(void)'} [-Wenum-int-mismatch]
 4981 | extern int32_t SCLogGetLogLevel(void);
      |                ^~~~~~~~~~~~~~~~
In file included from decode.h:33,
                 from flow.h:30:
util-debug.h:548:12: note: previous declaration of 'SCLogGetLogLevel' with type 'SCLogLevel(void)'
  548 | SCLogLevel SCLogGetLogLevel(void);
      |            ^~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4985:13: error: conflicting types for 'FlowGetLastTimeAsParts'; have 'void(const Flow *, uint64_t *, uint64_t *)' {aka 'void(const struct Flow_ *, long unsigned int *, long unsigned int *)'}
 4985 | extern void FlowGetLastTimeAsParts(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~
flow.h:579:6: note: previous declaration of 'FlowGetLastTimeAsParts' with type 'void(Flow *, uint64_t *, uint64_t *)' {aka 'void(struct Flow_ *, long unsigned int *, long unsigned int *)'}
  579 | void FlowGetLastTimeAsParts(Flow *flow, uint64_t *secs, uint64_t *usecs);
      |      ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4989:17: error: conflicting types for 'FlowGetFlags'; have 'uint32_t(const Flow *)' {aka 'unsigned int(const struct Flow_ *)'}
 4989 | extern uint32_t FlowGetFlags(const Flow *flow);
      |                 ^~~~~~~~~~~~
flow.h:580:10: note: previous declaration of 'FlowGetFlags' with type 'uint32_t(Flow *)' {aka 'unsigned int(struct Flow_ *)'}
  580 | uint32_t FlowGetFlags(Flow *flow);
      |          ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4991:17: error: conflicting types for 'FlowGetSourcePort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4991 | extern uint16_t FlowGetSourcePort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~
flow.h:581:10: note: previous declaration of 'FlowGetSourcePort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  581 | uint16_t FlowGetSourcePort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:4993:17: error: conflicting types for 'FlowGetDestinationPort'; have 'uint16_t(const Flow *)' {aka 'short unsigned int(const struct Flow_ *)'}
 4993 | extern uint16_t FlowGetDestinationPort(const Flow *flow);
      |                 ^~~~~~~~~~~~~~~~~~~~~~
flow.h:582:10: note: previous declaration of 'FlowGetDestinationPort' with type 'uint16_t(Flow *)' {aka 'short unsigned int(struct Flow_ *)'}
  582 | uint16_t FlowGetDestinationPort(Flow *flow);
      |          ^~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5015:15: error: conflicting types for 'ConfGet'; have 'int8_t(const char *, const char **)' {aka 'signed char(const char *, const char **)'}
 5015 | extern int8_t ConfGet(const char *key, const char **res);
      |               ^~~~~~~
In file included from util-file.h:28:
conf.h:61:5: note: previous declaration of 'ConfGet' with type 'int(const char *, const char **)'
   61 | int ConfGet(const char *name, const char **vptr);
      |     ^~~~~~~
./../rust/gen/rust-bindings.h:5017:15: error: conflicting types for 'ConfGetChildValue'; have 'int8_t(const void *, const char *, const char **)' {aka 'signed char(const void *, const char *, const char **)'}
 5017 | extern int8_t ConfGetChildValue(const void *conf,
      |               ^~~~~~~~~~~~~~~~~
conf.h:89:5: note: previous declaration of 'ConfGetChildValue' with type 'int(const ConfNode *, const char *, const char **)' {aka 'int(const struct ConfNode_ *, const char *, const char **)'}
   89 | int ConfGetChildValue(const ConfNode *base, const char *name, const char **vptr);
      |     ^~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5021:15: error: conflicting types for 'ConfGetChildValueBool'; have 'int8_t(const void *, const char *, int *)' {aka 'signed char(const void *, const char *, int *)'}
 5021 | extern int8_t ConfGetChildValueBool(const void *conf,
      |               ^~~~~~~~~~~~~~~~~~~~~
conf.h:91:5: note: previous declaration of 'ConfGetChildValueBool' with type 'int(const ConfNode *, const char *, int *)' {aka 'int(const struct ConfNode_ *, const char *, int *)'}
   91 | int ConfGetChildValueBool(const ConfNode *base, const char *name, int *val);
      |     ^~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5025:20: error: conflicting types for 'ConfGetNode'; have 'const void *(const char *)'
 5025 | extern const void *ConfGetNode(const char *key);
      |                    ^~~~~~~~~~~
conf.h:73:11: note: previous declaration of 'ConfGetNode' with type 'ConfNode *(const char *)' {aka 'struct ConfNode_ *(const char *)'}
   73 | ConfNode *ConfGetNode(const char *key);
      |           ^~~~~~~~~~~
./../rust/gen/rust-bindings.h:5114:43: error: unknown type name 'ProbeFn'
 5114 |                                           ProbeFn pparser1,
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5115:43: error: unknown type name 'ProbeFn'
 5115 |                                           ProbeFn pparser2);
      |                                           ^~~~~~~
./../rust/gen/rust-bindings.h:5123:52: error: unknown type name 'ProbeFn'
 5123 |                                                    ProbeFn pparser_ts,
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5124:52: error: unknown type name 'ProbeFn'
 5124 |                                                    ProbeFn pparser_tc);
      |                                                    ^~~~~~~
./../rust/gen/rust-bindings.h:5139:54: error: unknown type name 'ProbeFn'
 5139 |                                                      ProbeFn ppfn,
      |                                                      ^~~~~~~
./../rust/gen/rust-bindings.h:5259:13: error: conflicting types for 'lua_settable'; have 'void(lua_State *, long int)'
 5259 | extern void lua_settable(lua_State *lua, long idx);
      |             ^~~~~~~~~~~~
In file included from suricata-common.h:506,
                 from app-layer-htp-file.c:27:
/usr/include/lua.h:279:16: note: previous declaration of 'lua_settable' with type 'void(lua_State *, int)'
  279 | LUA_API void  (lua_settable) (lua_State *L, int idx);
      |                ^~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5261:13: error: conflicting types for 'lua_pushlstring'; have 'void(lua_State *, const char *, uintptr_t)' {aka 'void(lua_State *, const char *, long unsigned int)'}
 5261 | extern void lua_pushlstring(lua_State *lua, const char *s, uintptr_t len);
      |             ^~~~~~~~~~~~~~~
/usr/include/lua.h:247:22: note: previous declaration of 'lua_pushlstring' with type 'const char *(lua_State *, const char *, size_t)' {aka 'const char *(lua_State *, const char *, long unsigned int)'}
  247 | LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len);
      |                      ^~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5263:45: error: unknown type name 'LuaInteger'; did you mean 'lua_Integer'?
 5263 | extern void lua_pushinteger(lua_State *lua, LuaInteger n);
      |                                             ^~~~~~~~~~
      |                                             lua_Integer
In file included from app-layer-htp.h:37:
app-layer-frames.h:83:8: error: conflicting types for 'AppLayerFrameNewByRelativeOffset'; have 'Frame *(Flow *, const StreamSlice *, const uint32_t,  const int64_t,  int,  uint8_t)' {aka 'Frame *(struct Flow_ *, const StreamSlice *, const unsigned int,  const long int,  int,  unsigned char)'}
   83 | Frame *AppLayerFrameNewByRelativeOffset(Flow *f, const StreamSlice *stream_slice,
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5163:29: note: previous declaration of 'AppLayerFrameNewByRelativeOffset' with type 'const struct CFrame *(const Flow *, const struct StreamSlice *, uint32_t,  int64_t,  int32_t,  uint8_t)' {aka 'const struct CFrame *(const struct Flow_ *, const struct StreamSlice *, unsigned int,  long int,  int,  unsigned char)'}
 5163 | extern const struct CFrame *AppLayerFrameNewByRelativeOffset(const Flow *flow,
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:93:9: error: conflicting types for 'AppLayerFrameGetId'; have 'FrameId(Frame *)' {aka 'long int(Frame *)'}
   93 | FrameId AppLayerFrameGetId(Frame *r);
      |         ^~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5185:16: note: previous declaration of 'AppLayerFrameGetId' with type 'int64_t(const struct CFrame *)' {aka 'long int(const struct CFrame *)'}
 5185 | extern int64_t AppLayerFrameGetId(const struct CFrame *frame);
      |                ^~~~~~~~~~~~~~~~~~
app-layer-frames.h:95:6: error: conflicting types for 'AppLayerFrameAddEventById'; have 'void(Flow *, const int,  const FrameId,  uint8_t)' {aka 'void(struct Flow_ *, const int,  const long int,  unsigned char)'}
   95 | void AppLayerFrameAddEventById(Flow *f, const int dir, const FrameId id, uint8_t e);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5170:13: note: previous declaration of 'AppLayerFrameAddEventById' with type 'void(const Flow *, int32_t,  int64_t,  uint8_t)' {aka 'void(const struct Flow_ *, int,  long int,  unsigned char)'}
 5170 | extern void AppLayerFrameAddEventById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:97:6: error: conflicting types for 'AppLayerFrameSetLengthById'; have 'void(Flow *, const int,  const FrameId,  int64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long int)'}
   97 | void AppLayerFrameSetLengthById(Flow *f, const int dir, const FrameId id, int64_t len);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5175:13: note: previous declaration of 'AppLayerFrameSetLengthById' with type 'void(const Flow *, int32_t,  int64_t,  int64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long int)'}
 5175 | extern void AppLayerFrameSetLengthById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~
app-layer-frames.h:99:6: error: conflicting types for 'AppLayerFrameSetTxIdById'; have 'void(Flow *, const int,  const FrameId,  uint64_t)' {aka 'void(struct Flow_ *, const int,  const long int,  long unsigned int)'}
   99 | void AppLayerFrameSetTxIdById(Flow *f, const int dir, const FrameId id, uint64_t tx_id);
      |      ^~~~~~~~~~~~~~~~~~~~~~~~
./../rust/gen/rust-bindings.h:5180:13: note: previous declaration of 'AppLayerFrameSetTxIdById' with type 'void(const Flow *, int32_t,  int64_t,  uint64_t)' {aka 'void(const struct Flow_ *, int,  long int,  long unsigned int)'}
 5180 | extern void AppLayerFrameSetTxIdById(const Flow *flow,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:3512: app-layer-htp-file.o] Error 1
make[2]: Leaving directory '/usr/src/RPM/BUILD/suricata-7.0.5/src'
make[1]: *** [Makefile:2701: all] Error 2
make: *** [Makefile:495: all-recursive] Error 1
error: Bad exit status from /usr/src/tmp/rpm-tmp.82853 (%build)


RPM build errors:
    Bad exit status from /usr/src/tmp/rpm-tmp.82853 (%build)
Command exited with non-zero status 1
368.01user 33.66system 0:58.06elapsed 691%CPU (0avgtext+0avgdata 1549028maxresident)k
0inputs+0outputs (0major+5636241minor)pagefaults 0swaps
hsh-rebuild: rebuild of `suricata-7.0.5-alt1.src.rpm' failed.
Command exited with non-zero status 1
4.28user 2.96system 1:20.62elapsed 9%CPU (0avgtext+0avgdata 137212maxresident)k
9568inputs+0outputs (0major+236968minor)pagefaults 0swaps