Date: Wed, 3 Nov 2021 19:38:03 GMT From: pkg-fallout@FreeBSD.org To: joneum@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [package - main-amd64-default][security/modsecurity3-apache] Failed for modsecurity3-apache-0.0.9.b1.19_1 in build Message-ID: <202111031938.1A3Jc37V098765@beefy18.nyi.freebsd.org>
next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: joneum@FreeBSD.org Log URL: http://beefy18.nyi.freebsd.org/data/main-amd64-default/p106d1fb70db7_s5a95a6e8e4/logs/modsecurity3-apache-0.0.9.b1.19_1.log Build URL: http://beefy18.nyi.freebsd.org/build.html?mastername=main-amd64-default&build=p106d1fb70db7_s5a95a6e8e4 Log: =>> Building security/modsecurity3-apache build started at Wed Nov 3 19:37:39 UTC 2021 port directory: /usr/ports/security/modsecurity3-apache package name: modsecurity3-apache-0.0.9.b1.19_1 building for: FreeBSD main-amd64-default-job-09 14.0-CURRENT FreeBSD 14.0-CURRENT 1400040 amd64 maintained by: joneum@FreeBSD.org Makefile ident: Poudriere version: 3.2.8-21-g883afb07 Host OSVERSION: 1400008 Jail OSVERSION: 1400040 Job Id: 09 !!! Jail is newer than host. (Jail: 1400040, Host: 1400008) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/sh OSVERSION=1400040 UNAME_v=FreeBSD 14.0-CURRENT 1400040 UNAME_r=14.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-21-g883afb07 MASTERMNT=/usr/local/poudriere/data/.m/main-amd64-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=main-amd64-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for modsecurity3-apache-0.0.9.b1.19_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- joneum@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- V3LIB=/usr/local/lib V3INCLUDE=/usr/local/include XDG_DATA_HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work/.cache HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/modsecurity3-apache/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work XDG_CACHE_HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work/.cache HOME=/wrkdirs/usr/ports/security/modsecurity3-apache/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/security/modsecurity3-apache/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local LOCALBASE=/usr/local CC="gcc10" CFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib /gcc10 -fno-strict-aliasing " CPP="cpp10" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -L/usr/local/lib/gcc10 " LIBS="" CXX="g++10" CXXFLAGS="-O2 -pipe -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc10 -Wl,-rpath=/usr/local/lib/gcc10 " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" APACHEMODDIR="libexec/apache24" APACHEINCLUDEDIR="include/apache24" APACHEETCDIR="etc/apache24" APACHE_VERSION="2.4" AP_NAME="modsecurity3-apache" AP_MODULE="modsecurity3-apache.so" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib AP_MOD_EN="-A" DOCSDIR="share/doc/modsecurity3-apache" EXAMPLESDIR="share/examples/modsecurity3-apache" DATADIR="share/modsecurity3-apache" WWWDIR="www/modsecurity3-apache" ETCDIR="etc/modsecurity3-apache" --End PLIST_SUB-- --SUB_LIST-- APACHEMODDIR="libexec/apache24" APACHEETCDIR="etc/apache24" APACHE_VERSION="2.4" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/modsecurity3-apache DOCSDIR=/usr/local/share/doc/modsecurity3-apache EXAMPLESDIR=/usr/local/share/examples/modsecurity3-apache WWWDIR=/usr/local/www/modsecurity3-apache ETCDIR=/usr/local/etc/modsecurity3-apache --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=amd64 OPSYS=FreeBSD _OSRELEASE=14.0-CURRENT OSREL=14.0 OSVERSION=1400040 PYTHONBASE=/usr/local HAVE_COMPAT_IA32_KERN=YES CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 1024 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =======================<phase: check-sanity >============================ ===> License APACHE20 accepted by the user =========================================================================== =======================<phase: pkg-depends >============================ ===> modsecurity3-apache-0.0.9.b1.19_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.17.3.pkg [main-amd64-default-job-09] Installing pkg-1.17.3... [main-amd64-default-job-09] Extracting pkg-1.17.3: .......... done ===> modsecurity3-apache-0.0.9.b1.19_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of modsecurity3-apache-0.0.9.b1.19_1 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by modsecurity3-apache-0.0.9.b1.19_1 for building =========================================================================== =======================<phase: checksum >============================ ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by modsecurity3-apache-0.0.9.b1.19_1 for building => SHA256 Checksum OK for SpiderLabs-ModSecurity-apache-v0.0.9-beta1-19-gf76aaae_GH0.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License APACHE20 accepted by the user ===> Fetching all distfiles required by modsecurity3-apache-0.0.9.b1.19_1 for building ===> Extracting for modsecurity3-apache-0.0.9.b1.19_1 => SHA256 Checksum OK for SpiderLabs-ModSecurity-apache-v0.0.9-beta1-19-gf76aaae_GH0.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for modsecurity3-apache-0.0.9.b1.19_1 =========================================================================== =======================<phase: build-depends >============================ ===> modsecurity3-apache-0.0.9.b1.19_1 depends on file: /usr/local/sbin/apxs - not found ===> Installing existing package /packages/All/apache24-2.4.51.pkg [main-amd64-default-job-09] Installing apache24-2.4.51... [main-amd64-default-job-09] `-- Installing apr-1.7.0.1.6.1_1... [main-amd64-default-job-09] | `-- Installing db5-5.3.28_7... [main-amd64-default-job-09] | `-- Extracting db5-5.3.28_7: .......... done <snip> -- To run apache www server from startup, add apache24_enable="yes" in your /etc/rc.conf. Extra options can be found in startup script. Your hostname must be resolvable using at least 1 mechanism in /etc/nsswitch.conf typically DNS or /etc/hosts or apache might have issues starting depending on the modules you are using. - apache24 default build changed from static MPM to modular MPM - more modules are now enabled per default in the port - icons and error pages moved from WWWDIR to DATADIR If build with modular MPM and no MPM is activated in httpd.conf, then mpm_prefork will be activated as default MPM in etc/apache24/modules.d to keep compatibility with existing php/perl/python modules! Please compare the existing httpd.conf with httpd.conf.sample and merge missing modules/instructions into httpd.conf! ===> modsecurity3-apache-0.0.9.b1.19_1 depends on file: /usr/local/sbin/apxs - found ===> Returning to build of modsecurity3-apache-0.0.9.b1.19_1 ===> modsecurity3-apache-0.0.9.b1.19_1 depends on executable: gcc10 - not found ===> Installing existing package /packages/All/gcc10-10.3.0.pkg [main-amd64-default-job-09] Installing gcc10-10.3.0... [main-amd64-default-job-09] `-- Installing binutils-2.37_1,1... [main-amd64-default-job-09] `-- Extracting binutils-2.37_1,1: .......... done [main-amd64-default-job-09] `-- Installing gmp-6.2.1... [main-amd64-default-job-09] `-- Extracting gmp-6.2.1: .......... done [main-amd64-default-job-09] `-- Installing mpc-1.2.1... [main-amd64-default-job-09] | `-- Installing mpfr-4.1.0_1... [main-amd64-default-job-09] | `-- Extracting mpfr-4.1.0_1: .......... done [main-amd64-default-job-09] `-- Extracting mpc-1.2.1: ......... done [main-amd64-default-job-09] Extracting gcc10-10.3.0: .......... done ===== Message from gcc10-10.3.0: -- To ensure binaries built with this toolchain find appropriate versions of the necessary run-time libraries, you may want to link using -Wl,-rpath=/usr/local/lib/gcc10 For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens transparently. ===> modsecurity3-apache-0.0.9.b1.19_1 depends on executable: gcc10 - found ===> Returning to build of modsecurity3-apache-0.0.9.b1.19_1 ===> modsecurity3-apache-0.0.9.b1.19_1 depends on file: /usr/local/bin/as - found ===> modsecurity3-apache-0.0.9.b1.19_1 depends on package: autoconf>=2.69 - not found ===> Installing existing package /packages/All/autoconf-2.69_3.pkg [main-amd64-default-job-09] Installing autoconf-2.69_3... [main-amd64-default-job-09] `-- Installing autoconf-wrapper-20131203... [main-amd64-default-job-09] `-- Extracting autoconf-wrapper-20131203: .......... done [main-amd64-default-job-09] `-- Installing m4-1.4.19,1... [main-amd64-default-job-09] `-- Extracting m4-1.4.19,1: .......... done [main-amd64-default-job-09] Extracting autoconf-2.69_3: .......... done ===> modsecurity3-apache-0.0.9.b1.19_1 depends on package: autoconf>=2.69 - found ===> Returning to build of modsecurity3-apache-0.0.9.b1.19_1 ===> modsecurity3-apache-0.0.9.b1.19_1 depends on package: automake>=1.16.1 - not found ===> Installing existing package /packages/All/automake-1.16.4.pkg [main-amd64-default-job-09] Installing automake-1.16.4... [main-amd64-default-job-09] Extracting automake-1.16.4: .......... done ===> modsecurity3-apache-0.0.9.b1.19_1 depends on package: automake>=1.16.1 - found ===> Returning to build of modsecurity3-apache-0.0.9.b1.19_1 =========================================================================== =======================<phase: lib-depends >============================ ===> modsecurity3-apache-0.0.9.b1.19_1 depends on shared library: libmodsecurity.so - not found ===> Installing existing package /packages/All/modsecurity3-3.0.5.pkg [main-amd64-default-job-09] Installing modsecurity3-3.0.5... [main-amd64-default-job-09] `-- Installing libmaxminddb-1.6.0... [main-amd64-default-job-09] `-- Extracting libmaxminddb-1.6.0: .......... done [main-amd64-default-job-09] `-- Installing yajl-2.1.0... [main-amd64-default-job-09] `-- Extracting yajl-2.1.0: .......... done [main-amd64-default-job-09] Extracting modsecurity3-3.0.5: .......... done ===> modsecurity3-apache-0.0.9.b1.19_1 depends on shared library: libmodsecurity.so - found (/usr/local/lib/libmodsecurity.so) ===> Returning to build of modsecurity3-apache-0.0.9.b1.19_1 =========================================================================== =======================<phase: configure >============================ ===> Configuring for modsecurity3-apache-0.0.9.b1.19_1 configure.ac:10: installing './compile' configure.ac:8: installing './install-sh' configure.ac:8: installing './missing' configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: looking for Apache module support via DSO through APXS configure: found APXS at /usr/local/sbin/apxs checking whether make supports the include directive... yes (GNU style) checking for gcc... gcc10 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc10 accepts -g... yes checking for gcc10 option to accept ISO C89... none needed checking whether gcc10 understands -c and -o together... yes checking dependency style of gcc10... none checking how to run the C preprocessor... cpp10 checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes configure: looking for libmodsecurity checking for msc_init in -lmodsecurity... yes checking modsecurity/modsecurity.h usability... yes checking modsecurity/modsecurity.h presence... yes checking for modsecurity/modsecurity.h... yes checking if apache is wanted... yes checking for httpd... /usr/local/sbin/httpd checking apache modules... not found checking for perl... /usr/local/bin/perl AH00557: httpd: apr_sockaddr_info_get() failed for main-amd64-default-job-09 AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message AH00557: httpd: apr_sockaddr_info_get() failed for main-amd64-default-job-09 AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message Found Apache with MPM prefork, shared. checking for gcc... (cached) gcc10 checking whether we are using the GNU C compiler... (cached) yes checking whether gcc10 accepts -g... (cached) yes checking for gcc10 option to accept ISO C89... (cached) none needed checking whether gcc10 understands -c and -o together... (cached) yes checking dependency style of gcc10... (cached) none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/apxs-wrapper config.status: creating tests/regression/server_root/conf/httpd.conf config.status: creating tests/regression/misc/40-secRemoteRules.t config.status: creating tests/regression/misc/60-pmfromfile-external.t config.status: creating tests/regression/misc/50-ipmatchfromfile-external.t config.status: creating tests/run-regression-tests.pl config.status: executing depfiles commands =========================================================================== =======================<phase: build >============================ ===> Building for modsecurity3-apache-0.0.9.b1.19_1 --- all --- chmod +x build/apxs-wrapper build/apxs-wrapper /usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include/apache24 -I/usr/local/include/apr-1 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include -I/usr/local/include/db5 -fPIC -O0 -I/usr/local/include -c -o src/mod_security3.lo src/mod_security3.c && touch src/mod_security3.slo In file included from src/mod_security3.c:4: In file included from src/mod_security3.h:27: In file included from src/msc_filters.h:17: src/mod_security3.h:49:5: error: unknown type name 'Rules' Rules *rules_set; ^ src/mod_security3.c:151:21: error: expected expression (Rules *)z->rules_set, unique_id, (void *)r); ^ src/mod_security3.c:151:14: error: use of undeclared identifier 'Rules' (Rules *)z->rules_set, unique_id, (void *)r); ^ src/mod_security3.c:154:21: error: expected expression (Rules *)z->rules_set, (void *)r); ^ src/mod_security3.c:154:14: error: use of undeclared identifier 'Rules' (Rules *)z->rules_set, (void *)r); ^ src/mod_security3.c:503:44: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msc_add_request_header(msr->t, key, val); ^~~ /usr/local/include/modsecurity/transaction.h:651:75: note: passing argument to parameter 'key' here int msc_add_request_header(Transaction *transaction, const unsigned char *key, ^ src/mod_security3.c:503:49: warning: passing 'const char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msc_add_request_header(msr->t, key, val); ^~~ /usr/local/include/modsecurity/transaction.h:652:26: note: passing argument to parameter 'value' here const unsigned char *value); ^ 2 warnings and 5 errors generated. apxs:Error: Command failed with rc=65536
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202111031938.1A3Jc37V098765>