* Package: dev-libs/modsecurity-3.0.13:0/3 * Repository: gentoo * Maintainer: hydrapolic@gmail.com proxy-maint@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux lua lua_single_target_lua5-1 * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Using lua5.1 to build >>> Unpacking source... >>> Unpacking modsecurity-v3.0.13.tar.gz to /var/tmp/portage/dev-libs/modsecurity-3.0.13/work >>> Source unpacked in /var/tmp/portage/dev-libs/modsecurity-3.0.13/work >>> Preparing source in /var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13 ... * econf: updating modsecurity-v3.0.13/config.guess with /usr/share/gnuconfig/config.guess * econf: updating modsecurity-v3.0.13/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-musl --host=x86_64-pc-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --disable-static --docdir=/usr/share/doc/modsecurity-3.0.13 --htmldir=/usr/share/doc/modsecurity-3.0.13/html --with-sysroot=/ --libdir=/usr/lib --without-ssdeep --without-geoip --without-maxmind --without-yajl --without-lmdb --with-lua --without-pcre2 configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-musl-g++... x86_64-pc-linux-musl-g++ 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-pc-linux-musl-g++ accepts -g... yes checking for x86_64-pc-linux-musl-g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-musl-g++... none checking for x86_64-pc-linux-musl-gcc... x86_64-pc-linux-musl-gcc checking whether the compiler supports GNU C... yes checking whether x86_64-pc-linux-musl-gcc accepts -g... yes checking for x86_64-pc-linux-musl-gcc option to enable C11 features... none needed checking whether x86_64-pc-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-musl-gcc... none checking for x86_64-pc-linux-musl-ar... x86_64-pc-linux-musl-ar checking the archiver (x86_64-pc-linux-musl-ar) interface... ar checking whether make sets $(MAKE)... (cached) yes checking for x86_64-pc-linux-musl-pkg-config... /usr/bin/x86_64-pc-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether x86_64-pc-linux-musl-g++ supports C++17 features with -std=c++17... yes configure: Support for YAJL was disabled by the utilization of --without-yajl or --with-yajl=no configure: Support for GeoIP was disabled by the utilization of --without-geoip or --with-geoip=no configure: Support for MaxMind was disabled by the utilization of --without-maxmind or --with-maxmind=no configure: Support for LMDB was disabled by the utilization of --without-lmdb or --with-lmdb=no configure: Support for SSDEEP was disabled by the utilization of --without-ssdeep or --with-ssdeep=no configure: LUA support was marked as mandatory by the utilization of --with-lua=yes *** LOOKING AT PATH: /usr/lib configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /usr/local/lib configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /usr/local/lib64 configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /usr/local/lua configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /usr/local/liblua configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /usr/local configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /opt configure: LUA library found at: /usr/lib//liblua5.4.so *** LOOKING AT PATH: /usr configure: LUA library found at: /usr/lib//liblua5.4.so configure: LUA headers found at: /usr/include/lua5.4 configure: LUA version from includes: 504 configure: using LUA -llua5.4 checking for libcurl config script... /usr/bin/curl-config configure: curl VERSION: 8.10.1 configure: curl LDADD: checking if libcurl is at least v... yes, 8.10.1 checking if libcurl is linked with gnutls... no configure: using curl v8.10.1 checking for libxml2 >= 2.6.29 via pkg-config... found version 2.12.8 configure: using libxml2 v2.12.8 checking for libpcre config script... checking for pcre-config... yes configure: pcre-config found in envinronment pcre-config configure: pcre VERSION: 8.45 configure: pcre LDADD: -lpcre configure: pcre PCRE_LD_PATH: /-lpcre checking for PCRE JIT... no configure: using pcre v8.45 configure: Support for PCRE2 was disabled by the utilization of --without-pcre2 or --with-pcre2=no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for string... no checking for iostream... no checking for sys/utsname.h... yes checking build system type... x86_64-pc-linux-musl checking host system type... x86_64-pc-linux-musl 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-pc-linux-musl-gcc... /usr/x86_64-pc-linux-musl/bin/ld checking if the linker (/usr/x86_64-pc-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-musl-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-musl-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert x86_64-pc-linux-musl file names to x86_64-pc-linux-musl format... func_convert_file_noop checking how to convert x86_64-pc-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-musl/bin/ld option to reload object files... -r checking for x86_64-pc-linux-musl-file... no checking for file... file checking for x86_64-pc-linux-musl-objdump... x86_64-pc-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-musl-dlltool... x86_64-pc-linux-musl-dlltool checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-musl-ar... (cached) x86_64-pc-linux-musl-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-musl-strip... x86_64-pc-linux-musl-strip checking for x86_64-pc-linux-musl-ranlib... x86_64-pc-linux-musl-ranlib checking command to parse /usr/bin/x86_64-pc-linux-musl-nm -B output from x86_64-pc-linux-musl-gcc object... ok checking for sysroot... / 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-pc-linux-musl-mt... no checking for mt... mt checking if mt is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-musl-gcc static flag -static works... yes checking if x86_64-pc-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-musl-gcc linker (/usr/x86_64-pc-linux-musl/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... no checking how to run the C++ preprocessor... x86_64-pc-linux-musl-g++ -std=c++17 -E checking for ld used by x86_64-pc-linux-musl-g++ -std=c++17... /usr/x86_64-pc-linux-musl/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-pc-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-pc-linux-musl-g++ -std=c++17 linker (/usr/x86_64-pc-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes grep: warning: stray \ before - checking for x86_64-pc-linux-musl-g++ -std=c++17 option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-musl-g++ -std=c++17 PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-musl-g++ -std=c++17 static flag -static works... yes checking if x86_64-pc-linux-musl-g++ -std=c++17 supports -c -o file.o... yes checking if x86_64-pc-linux-musl-g++ -std=c++17 supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-musl-g++ -std=c++17 linker (/usr/x86_64-pc-linux-musl/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 platform... Identified as Linux ./configure: line 21469: test: =: unary operator expected checking for x86_64-pc-linux-musl-doxygen... no checking for doxygen... /usr/bin/doxygen checking for x86_64-pc-linux-musl-perl... no checking for perl... /usr/bin/perl checking for valgrind... valgrind checking for Valgrind tool memcheck... yes checking for Valgrind tool helgrind... yes checking for Valgrind tool drd... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating modsecurity.pc config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating others/Makefile config.status: creating tools/Makefile config.status: creating tools/rules-check/Makefile config.status: creating examples/Makefile config.status: creating examples/simple_example_using_c/Makefile config.status: creating examples/multiprocess_c/Makefile config.status: creating examples/multithread/Makefile config.status: creating examples/reading_logs_with_offset/Makefile config.status: creating examples/reading_logs_via_rule_message/Makefile config.status: creating examples/using_bodies_in_chunks/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands ModSecurity - v3.0.12-236-g580fe192 for Linux Mandatory dependencies + libInjection ....v3.9.2-92-gb9fcaaf + Mbed TLS ....v3.6.0 + SecLang tests ....a3d4405 Optional dependencies + GeoIP/MaxMind ....disabled + LibCURL ....found v8.10.1 -lcurl, -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL + YAJL ....disabled + LMDB ....disabled + LibXML2 ....found v2.12.8 -lxml2, -I/usr/include/libxml2 -DWITH_LIBXML2 + SSDEEP ....disabled + LUA ....found v504 -llua5.4 -L/usr/lib/, -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 + PCRE2 ....disabled Other Options + Test Utilities ....disabled + Assertions ....disabled + SecDebugLog ....enabled + afl fuzzer ....disabled + library examples ....enabled + Building parser ....disabled + Treating pm operations as critical section ....disabled >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13 ... make -O -j4 Making all in others make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c -o mbedtls/library/libmbedtls_la-base64.lo `test -f 'mbedtls/library/base64.c' || echo './'`mbedtls/library/base64.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c mbedtls/library/base64.c -fPIC -DPIC -o mbedtls/library/.libs/libmbedtls_la-base64.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -c -o libinjection/src/la-libinjection_xss.lo `test -f 'libinjection/src/libinjection_xss.c' || echo './'`libinjection/src/libinjection_xss.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -c libinjection/src/libinjection_xss.c -fPIC -DPIC -o libinjection/src/.libs/la-libinjection_xss.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -c -o libinjection/src/la-libinjection_html5.lo `test -f 'libinjection/src/libinjection_html5.c' || echo './'`libinjection/src/libinjection_html5.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -c libinjection/src/libinjection_html5.c -fPIC -DPIC -o libinjection/src/.libs/la-libinjection_html5.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c -o mbedtls/library/libmbedtls_la-platform_util.lo `test -f 'mbedtls/library/platform_util.c' || echo './'`mbedtls/library/platform_util.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c mbedtls/library/platform_util.c -fPIC -DPIC -o mbedtls/library/.libs/libmbedtls_la-platform_util.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c -o mbedtls/library/libmbedtls_la-md5.lo `test -f 'mbedtls/library/md5.c' || echo './'`mbedtls/library/md5.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c mbedtls/library/md5.c -fPIC -DPIC -o mbedtls/library/.libs/libmbedtls_la-md5.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c -o mbedtls/library/libmbedtls_la-sha1.lo `test -f 'mbedtls/library/sha1.c' || echo './'`mbedtls/library/sha1.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -c mbedtls/library/sha1.c -fPIC -DPIC -o mbedtls/library/.libs/libmbedtls_la-sha1.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-musl-gcc -DMBEDTLS_CONFIG_FILE=\"mbedtls/mbedtls_config.h\" -Imbedtls/include -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o libmbedtls.la mbedtls/library/libmbedtls_la-base64.lo mbedtls/library/libmbedtls_la-md5.lo mbedtls/library/libmbedtls_la-sha1.lo mbedtls/library/libmbedtls_la-platform_util.lo libtool: link: x86_64-pc-linux-musl-ar cr .libs/libmbedtls.a mbedtls/library/.libs/libmbedtls_la-base64.o mbedtls/library/.libs/libmbedtls_la-md5.o mbedtls/library/.libs/libmbedtls_la-sha1.o mbedtls/library/.libs/libmbedtls_la-platform_util.o libtool: link: x86_64-pc-linux-musl-ranlib .libs/libmbedtls.a libtool: link: ( cd ".libs" && rm -f "libmbedtls.la" && ln -s "../libmbedtls.la" "libmbedtls.la" ) make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -c -o libinjection/src/la-libinjection_sqli.lo `test -f 'libinjection/src/libinjection_sqli.c' || echo './'`libinjection/src/libinjection_sqli.c libtool: compile: x86_64-pc-linux-musl-gcc -DHAVE_CONFIG_H -I. -I../src -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -c libinjection/src/libinjection_sqli.c -fPIC -DPIC -o libinjection/src/.libs/la-libinjection_sqli.o make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' make[1]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-musl-gcc -D LIBINJECTION_VERSION=\"\" -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -o libinjection.la libinjection/src/la-libinjection_html5.lo libinjection/src/la-libinjection_sqli.lo libinjection/src/la-libinjection_xss.lo libtool: link: x86_64-pc-linux-musl-ar cr .libs/libinjection.a libinjection/src/.libs/la-libinjection_html5.o libinjection/src/.libs/la-libinjection_sqli.o libinjection/src/.libs/la-libinjection_xss.o libtool: link: x86_64-pc-linux-musl-ranlib .libs/libinjection.a libtool: link: ( cd ".libs" && rm -f "libinjection.la" && ln -s "../libinjection.la" "libinjection.la" ) make[1]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/others' Making all in src make all-recursive make[3]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c -o libmodsecurity_la-anchored_variable.lo `test -f 'anchored_variable.cc' || echo './'`anchored_variable.cc libtool: compile: x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c anchored_variable.cc -fPIC -DPIC -o .libs/libmodsecurity_la-anchored_variable.o In file included from ../headers/modsecurity/collection/collections.h:31, from ../headers/modsecurity/transaction.h:48, from ../headers/modsecurity/modsecurity.h:85, from anchored_variable.cc:23: ../headers/modsecurity/collection/collection.h:57:52: error: 'int32_t' has not been declared 57 | virtual void setExpiry(const std::string& key, int32_t expiry_seconds) = 0; | ^~~~~~~ ../headers/modsecurity/collection/collection.h:119:9: error: 'int32_t' has not been declared 119 | int32_t expiry_seconds) { | ^~~~~~~ ../headers/modsecurity/collection/collection.h:126:35: error: 'int32_t' has not been declared 126 | std::string compartment2, int32_t expiry_seconds) { | ^~~~~~~ make[3]: *** [Makefile:2121: libmodsecurity_la-anchored_variable.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c -o libmodsecurity_la-anchored_set_variable.lo `test -f 'anchored_set_variable.cc' || echo './'`anchored_set_variable.cc libtool: compile: x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c anchored_set_variable.cc -fPIC -DPIC -o .libs/libmodsecurity_la-anchored_set_variable.o In file included from ../headers/modsecurity/collection/collections.h:31, from ../headers/modsecurity/transaction.h:48, from ../headers/modsecurity/modsecurity.h:85, from anchored_set_variable.cc:23: ../headers/modsecurity/collection/collection.h:57:52: error: 'int32_t' has not been declared 57 | virtual void setExpiry(const std::string& key, int32_t expiry_seconds) = 0; | ^~~~~~~ ../headers/modsecurity/collection/collection.h:119:9: error: 'int32_t' has not been declared 119 | int32_t expiry_seconds) { | ^~~~~~~ ../headers/modsecurity/collection/collection.h:126:35: error: 'int32_t' has not been declared 126 | std::string compartment2, int32_t expiry_seconds) { | ^~~~~~~ In file included from ../headers/modsecurity/rule_with_operator.h:32, from ../headers/modsecurity/rules.h:30, from ../headers/modsecurity/rules_set_phases.h:32, from ../headers/modsecurity/rules_set.h:35, from ../src/variables/variable.h:24, from anchored_set_variable.cc:26: ../headers/modsecurity/rule_with_actions.h:154:5: error: 'int64_t' does not name a type 154 | int64_t m_ruleId; | ^~~~~~~ ../headers/modsecurity/rule_with_actions.h:32:1: note: 'int64_t' is defined in header ''; this is probably fixable by adding '#include ' 31 | #include "modsecurity/rule.h" +++ |+#include 32 | ../headers/modsecurity/rule_with_actions.h: In copy constructor 'modsecurity::RuleWithActions::RuleWithActions(const modsecurity::RuleWithActions&)': ../headers/modsecurity/rule_with_actions.h:54:9: error: class 'modsecurity::RuleWithActions' does not have any field named 'm_ruleId' 54 | m_ruleId(r.m_ruleId), | ^~~~~~~~ ../headers/modsecurity/rule_with_actions.h:54:20: error: 'const class modsecurity::RuleWithActions' has no member named 'm_ruleId' 54 | m_ruleId(r.m_ruleId), | ^~~~~~~~ ../headers/modsecurity/rule_with_actions.h: In member function 'modsecurity::RuleWithActions& modsecurity::RuleWithActions::operator=(const modsecurity::RuleWithActions&)': ../headers/modsecurity/rule_with_actions.h:77:9: error: 'm_ruleId' was not declared in this scope 77 | m_ruleId = r.m_ruleId; | ^~~~~~~~ ../headers/modsecurity/rule_with_actions.h:77:22: error: 'const class modsecurity::RuleWithActions' has no member named 'm_ruleId' 77 | m_ruleId = r.m_ruleId; | ^~~~~~~~ ../headers/modsecurity/rule_with_operator.h: In member function 'virtual std::string modsecurity::RuleWithOperator::getReference()': ../headers/modsecurity/rule_with_operator.h:69:31: error: 'm_ruleId' was not declared in this scope 69 | return std::to_string(m_ruleId); | ^~~~~~~~ ../headers/modsecurity/rules.h: At global scope: ../headers/modsecurity/rules.h:50:47: error: 'int64_t' was not declared in this scope 50 | int append(Rules *from, const std::vector &ids, std::ostringstream *err) { | ^~~~~~~ ../headers/modsecurity/rules.h:32:1: note: 'int64_t' is defined in header ''; this is probably fixable by adding '#include ' 31 | #include "modsecurity/rule_with_actions.h" +++ |+#include 32 | ../headers/modsecurity/rules.h:50:54: error: template argument 1 is invalid 50 | int append(Rules *from, const std::vector &ids, std::ostringstream *err) { | ^ ../headers/modsecurity/rules.h:50:54: error: template argument 2 is invalid ../headers/modsecurity/rules.h:70:63: error: 'int64_t' was not declared in this scope 70 | bool insert(std::shared_ptr rule, const std::vector *ids, std::ostringstream *err) { | ^~~~~~~ ../headers/modsecurity/rules.h:70:63: note: 'int64_t' is defined in header ''; this is probably fixable by adding '#include ' ../headers/modsecurity/rules.h:70:70: error: template argument 1 is invalid 70 | bool insert(std::shared_ptr rule, const std::vector *ids, std::ostringstream *err) { | ^ ../headers/modsecurity/rules.h:70:70: error: template argument 2 is invalid ../headers/modsecurity/rules.h: In member function 'int modsecurity::Rules::append(modsecurity::Rules*, const int&, std::ostringstream*)': ../headers/modsecurity/rules.h:54:48: error: request for member 'begin' in 'ids', which is of non-class type 'const int' 54 | if (rule && std::binary_search(ids.begin(), ids.end(), rule->m_ruleId)) { | ^~~~~ ../headers/modsecurity/rules.h:54:61: error: request for member 'end' in 'ids', which is of non-class type 'const int' 54 | if (rule && std::binary_search(ids.begin(), ids.end(), rule->m_ruleId)) { | ^~~ ../headers/modsecurity/rules.h:54:74: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 54 | if (rule && std::binary_search(ids.begin(), ids.end(), rule->m_ruleId)) { | ^~~~~~~~ ../headers/modsecurity/rules.h:56:66: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 56 | *err << "Rule id: " << std::to_string(rule->m_ruleId) \ | ^~~~~~~~ ../headers/modsecurity/rules.h: In member function 'bool modsecurity::Rules::insert(std::shared_ptr, const int*, std::ostringstream*)': ../headers/modsecurity/rules.h:72:60: error: request for member 'begin' in '* ids', which is of non-class type 'const int' 72 | if (r && ids != nullptr && std::binary_search(ids->begin(), ids->end(), r->m_ruleId)) { | ^~~~~ ../headers/modsecurity/rules.h:72:74: error: request for member 'end' in '* ids', which is of non-class type 'const int' 72 | if (r && ids != nullptr && std::binary_search(ids->begin(), ids->end(), r->m_ruleId)) { | ^~~ ../headers/modsecurity/rules.h:72:84: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 72 | if (r && ids != nullptr && std::binary_search(ids->begin(), ids->end(), r->m_ruleId)) { | ^~~~~~~~ ../headers/modsecurity/rules.h:74:58: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 74 | *err << "Rule id: " << std::to_string(r->m_ruleId) \ | ^~~~~~~~ ../headers/modsecurity/rules_set.h: At global scope: ../headers/modsecurity/rules_set.h:85:5: error: 'uint8_t' does not name a type 85 | uint8_t m_secmarker_skipped; | ^~~~~~~ ../headers/modsecurity/rules_set.h:36:1: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' 35 | #include "modsecurity/rules_set_phases.h" +++ |+#include 36 | ../headers/modsecurity/rules_set.h: In constructor 'modsecurity::RulesSet::RulesSet()': ../headers/modsecurity/rules_set.h:53:10: error: class 'modsecurity::RulesSet' does not have any field named 'm_secmarker_skipped' 53 | ,m_secmarker_skipped(0) | ^~~~~~~~~~~~~~~~~~~ ../headers/modsecurity/rules_set.h: In constructor 'modsecurity::RulesSet::RulesSet(modsecurity::debug_log::DebugLog*)': ../headers/modsecurity/rules_set.h:60:10: error: class 'modsecurity::RulesSet' does not have any field named 'm_secmarker_skipped' 60 | ,m_secmarker_skipped(0) | ^~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:2114: libmodsecurity_la-anchored_set_variable.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' make[3]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c -o libmodsecurity_la-modsecurity.lo `test -f 'modsecurity.cc' || echo './'`modsecurity.cc libtool: compile: x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c modsecurity.cc -fPIC -DPIC -o .libs/libmodsecurity_la-modsecurity.o In file included from ../headers/modsecurity/collection/collections.h:31, from ../headers/modsecurity/transaction.h:48, from ../headers/modsecurity/modsecurity.h:85, from modsecurity.cc:17: ../headers/modsecurity/collection/collection.h:57:52: error: 'int32_t' has not been declared 57 | virtual void setExpiry(const std::string& key, int32_t expiry_seconds) = 0; | ^~~~~~~ ../headers/modsecurity/collection/collection.h:119:9: error: 'int32_t' has not been declared 119 | int32_t expiry_seconds) { | ^~~~~~~ ../headers/modsecurity/collection/collection.h:126:35: error: 'int32_t' has not been declared 126 | std::string compartment2, int32_t expiry_seconds) { | ^~~~~~~ make[3]: *** [Makefile:2163: libmodsecurity_la-modsecurity.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' make[3]: Entering directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' /bin/sh ../libtool --tag=CXX --mode=compile x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c -o libmodsecurity_la-transaction.lo `test -f 'transaction.cc' || echo './'`transaction.cc libtool: compile: x86_64-pc-linux-musl-g++ -std=c++17 -DHAVE_CONFIG_H -I. -I.. -g -I../others -I../others/mbedtls/include -fPIC -O3 -I../headers -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -DNDEBUG -DWITH_LUA -DWITH_LUA_5_4 -I/usr/include/lua5.4 -I/usr/include/libxml2 -DWITH_LIBXML2 -O2 -pipe -march=native -fno-diagnostics-color -c transaction.cc -fPIC -DPIC -o .libs/libmodsecurity_la-transaction.o In file included from ../headers/modsecurity/collection/collections.h:31, from ../headers/modsecurity/transaction.h:48, from transaction.cc:16: ../headers/modsecurity/collection/collection.h:57:52: error: 'int32_t' has not been declared 57 | virtual void setExpiry(const std::string& key, int32_t expiry_seconds) = 0; | ^~~~~~~ ../headers/modsecurity/collection/collection.h:119:9: error: 'int32_t' has not been declared 119 | int32_t expiry_seconds) { | ^~~~~~~ ../headers/modsecurity/collection/collection.h:126:35: error: 'int32_t' has not been declared 126 | std::string compartment2, int32_t expiry_seconds) { | ^~~~~~~ In file included from ../headers/modsecurity/rule_with_operator.h:32, from ../headers/modsecurity/rules.h:30, from ../headers/modsecurity/rules_set_phases.h:32, from ../headers/modsecurity/rules_set.h:35, from ../src/actions/disruptive/deny.h:19, from transaction.cc:36: ../headers/modsecurity/rule_with_actions.h:154:5: error: 'int64_t' does not name a type 154 | int64_t m_ruleId; | ^~~~~~~ ../headers/modsecurity/rule_with_actions.h:32:1: note: 'int64_t' is defined in header ''; this is probably fixable by adding '#include ' 31 | #include "modsecurity/rule.h" +++ |+#include 32 | ../headers/modsecurity/rule_with_actions.h: In copy constructor 'modsecurity::RuleWithActions::RuleWithActions(const modsecurity::RuleWithActions&)': ../headers/modsecurity/rule_with_actions.h:54:9: error: class 'modsecurity::RuleWithActions' does not have any field named 'm_ruleId' 54 | m_ruleId(r.m_ruleId), | ^~~~~~~~ ../headers/modsecurity/rule_with_actions.h:54:20: error: 'const class modsecurity::RuleWithActions' has no member named 'm_ruleId' 54 | m_ruleId(r.m_ruleId), | ^~~~~~~~ ../headers/modsecurity/rule_with_actions.h: In member function 'modsecurity::RuleWithActions& modsecurity::RuleWithActions::operator=(const modsecurity::RuleWithActions&)': ../headers/modsecurity/rule_with_actions.h:77:9: error: 'm_ruleId' was not declared in this scope 77 | m_ruleId = r.m_ruleId; | ^~~~~~~~ ../headers/modsecurity/rule_with_actions.h:77:22: error: 'const class modsecurity::RuleWithActions' has no member named 'm_ruleId' 77 | m_ruleId = r.m_ruleId; | ^~~~~~~~ ../headers/modsecurity/rule_with_operator.h: In member function 'virtual std::string modsecurity::RuleWithOperator::getReference()': ../headers/modsecurity/rule_with_operator.h:69:31: error: 'm_ruleId' was not declared in this scope 69 | return std::to_string(m_ruleId); | ^~~~~~~~ ../headers/modsecurity/rules.h: At global scope: ../headers/modsecurity/rules.h:50:47: error: 'int64_t' was not declared in this scope 50 | int append(Rules *from, const std::vector &ids, std::ostringstream *err) { | ^~~~~~~ ../headers/modsecurity/rules.h:32:1: note: 'int64_t' is defined in header ''; this is probably fixable by adding '#include ' 31 | #include "modsecurity/rule_with_actions.h" +++ |+#include 32 | ../headers/modsecurity/rules.h:50:54: error: template argument 1 is invalid 50 | int append(Rules *from, const std::vector &ids, std::ostringstream *err) { | ^ ../headers/modsecurity/rules.h:50:54: error: template argument 2 is invalid ../headers/modsecurity/rules.h:70:63: error: 'int64_t' was not declared in this scope 70 | bool insert(std::shared_ptr rule, const std::vector *ids, std::ostringstream *err) { | ^~~~~~~ ../headers/modsecurity/rules.h:70:63: note: 'int64_t' is defined in header ''; this is probably fixable by adding '#include ' ../headers/modsecurity/rules.h:70:70: error: template argument 1 is invalid 70 | bool insert(std::shared_ptr rule, const std::vector *ids, std::ostringstream *err) { | ^ ../headers/modsecurity/rules.h:70:70: error: template argument 2 is invalid ../headers/modsecurity/rules.h: In member function 'int modsecurity::Rules::append(modsecurity::Rules*, const int&, std::ostringstream*)': ../headers/modsecurity/rules.h:54:48: error: request for member 'begin' in 'ids', which is of non-class type 'const int' 54 | if (rule && std::binary_search(ids.begin(), ids.end(), rule->m_ruleId)) { | ^~~~~ ../headers/modsecurity/rules.h:54:61: error: request for member 'end' in 'ids', which is of non-class type 'const int' 54 | if (rule && std::binary_search(ids.begin(), ids.end(), rule->m_ruleId)) { | ^~~ ../headers/modsecurity/rules.h:54:74: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 54 | if (rule && std::binary_search(ids.begin(), ids.end(), rule->m_ruleId)) { | ^~~~~~~~ ../headers/modsecurity/rules.h:56:66: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 56 | *err << "Rule id: " << std::to_string(rule->m_ruleId) \ | ^~~~~~~~ ../headers/modsecurity/rules.h: In member function 'bool modsecurity::Rules::insert(std::shared_ptr, const int*, std::ostringstream*)': ../headers/modsecurity/rules.h:72:60: error: request for member 'begin' in '* ids', which is of non-class type 'const int' 72 | if (r && ids != nullptr && std::binary_search(ids->begin(), ids->end(), r->m_ruleId)) { | ^~~~~ ../headers/modsecurity/rules.h:72:74: error: request for member 'end' in '* ids', which is of non-class type 'const int' 72 | if (r && ids != nullptr && std::binary_search(ids->begin(), ids->end(), r->m_ruleId)) { | ^~~ ../headers/modsecurity/rules.h:72:84: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 72 | if (r && ids != nullptr && std::binary_search(ids->begin(), ids->end(), r->m_ruleId)) { | ^~~~~~~~ ../headers/modsecurity/rules.h:74:58: error: 'class modsecurity::RuleWithOperator' has no member named 'm_ruleId' 74 | *err << "Rule id: " << std::to_string(r->m_ruleId) \ | ^~~~~~~~ ../headers/modsecurity/rules_set.h: At global scope: ../headers/modsecurity/rules_set.h:85:5: error: 'uint8_t' does not name a type 85 | uint8_t m_secmarker_skipped; | ^~~~~~~ ../headers/modsecurity/rules_set.h:36:1: note: 'uint8_t' is defined in header ''; this is probably fixable by adding '#include ' 35 | #include "modsecurity/rules_set_phases.h" +++ |+#include 36 | ../headers/modsecurity/rules_set.h: In constructor 'modsecurity::RulesSet::RulesSet()': ../headers/modsecurity/rules_set.h:53:10: error: class 'modsecurity::RulesSet' does not have any field named 'm_secmarker_skipped' 53 | ,m_secmarker_skipped(0) | ^~~~~~~~~~~~~~~~~~~ ../headers/modsecurity/rules_set.h: In constructor 'modsecurity::RulesSet::RulesSet(modsecurity::debug_log::DebugLog*)': ../headers/modsecurity/rules_set.h:60:10: error: class 'modsecurity::RulesSet' does not have any field named 'm_secmarker_skipped' 60 | ,m_secmarker_skipped(0) | ^~~~~~~~~~~~~~~~~~~ In file included from ../src/actions/disruptive/deny.h:22: ../headers/modsecurity/rule_message.h: In constructor 'modsecurity::RuleMessage::RuleMessage(modsecurity::RuleWithActions*, modsecurity::Transaction*)': ../headers/modsecurity/rule_message.h:66:24: error: 'class modsecurity::RuleWithActions' has no member named 'm_ruleId' 66 | m_ruleId(rule->m_ruleId), | ^~~~~~~~ make[3]: *** [Makefile:2107: libmodsecurity_la-transaction.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13/src' make[2]: *** [Makefile:3482: all-recursive] Error 1 make[1]: *** [Makefile:1235: all] Error 2 make: *** [Makefile:1056: all-recursive] Error 1 * ERROR: dev-libs/modsecurity-3.0.13::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/modsecurity-3.0.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/modsecurity-3.0.13::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:modsecurity-3.0.13:20241029-115955.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/modsecurity-3.0.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/modsecurity-3.0.13/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13' * S: '/var/tmp/portage/dev-libs/modsecurity-3.0.13/work/modsecurity-v3.0.13'