>>> Unpacking source... >>> Unpacking modsecurity-apache_2.5.9.tar.gz to /var/tmp/portage/www-apache/mod_security-2.5.9-r1/work * Applying mod_security-2.5.9-broken-autotools.patch ...  [ ok ] * Applying mod_security-2.5.9-as-needed.patch ...  [ ok ] * Running eautoreconf in '/var/tmp/portage/www-apache/mod_security-2.5.9-r1/work/modsecurity-apache_2.5.9/apache2' ... * Running aclocal ...  [ ok ] * Running autoconf ...  [ ok ] * Running autoheader ...  [ ok ] * Running elibtoolize in: modsecurity-apache_2.5.9/apache2/build * Applying portage-2.2.patch ... * Applying sed-1.5.6.patch ... * Applying as-needed-2.2.6.patch ... >>> Source unpacked in /var/tmp/portage/www-apache/mod_security-2.5.9-r1/work >>> Compiling source in /var/tmp/portage/www-apache/mod_security-2.5.9-r1/work/modsecurity-apache_2.5.9 ... ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-apxs=/usr/sbin/apxs2 --without-curl --without-lua configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for perl... /usr/bin/perl checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for atexit... yes checking for fchmod... yes checking for getcwd... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes configure: looking for Apache module support via DSO through APXS configure: found apxs at /usr/sbin/apxs2 configure: checking httpd version configure: httpd is recent enough checking for libpcre config script... /usr/bin/pcre-config configure: using '-L/usr/lib -lpcre' for pcre Library checking for libapr config script... /usr/bin/apr-1-config configure: using ' -luuid -lrt -lcrypt -lpthread -ldl' for apr Library checking for libapr-util config script... /usr/bin/apu-1-config configure: using ' -L/usr/lib -laprutil-1' for apu Library checking for libxml2 config script... /usr/bin/xml2-config configure: using '-lxml2 -lz -lm' for libxml Library configure: not using optional lua library checking for libcurl config script... no configure: *** curl library not found. configure: NOTE: curl library is only required for building mlogc configure: creating ./config.status config.status: creating Makefile config.status: creating build/apxs-wrapper config.status: creating mlogc-src/mlogc-batch-load.pl config.status: creating t/run-unit-tests.pl config.status: creating t/run-regression-tests.pl config.status: creating t/gen_rx-pm.pl config.status: creating t/csv_rx-pm.pl config.status: creating t/regression/server_root/conf/httpd.conf config.status: creating ../tools/rules-updater.pl config.status: creating mlogc-src/Makefile config.status: creating mod_security2_config.h make -j14 'APXS_CFLAGS=-O2 -pipe' APXS_LDFLAGS=-Wl,-O1 'APXS_EXTRA_CFLAGS= -Wc,-O2 -Wc,-pipe -Wl,-Wl,-O1' /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o mod_security2.lo mod_security2.c && touch mod_security2.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o apache2_config.lo apache2_config.c && touch apache2_config.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o apache2_io.lo apache2_io.c && touch apache2_io.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o apache2_util.lo apache2_util.c && touch apache2_util.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o re.lo re.c && touch re.slo re.c: In function 'execute_operator': re.c:1688: warning: passing argument 1 of 'ap_strchr' discards qualifiers from pointer target type /usr/include/apache2/httpd.h:1867: note: expected 'char *' but argument is of type 'const char *' /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o re_operators.lo re_operators.c && touch re_operators.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o re_actions.lo re_actions.c && touch re_actions.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o re_tfns.lo re_tfns.c && touch re_tfns.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o re_variables.lo re_variables.c && touch re_variables.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_logging.lo msc_logging.c && touch msc_logging.slo msc_logging.c: In function 'sanitise_request_line': msc_logging.c:294: warning: passing argument 1 of 'ap_strstr' discards qualifiers from pointer target type /usr/include/apache2/httpd.h:1871: note: expected 'char *' but argument is of type 'const char *' /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_xml.lo msc_xml.c && touch msc_xml.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_multipart.lo msc_multipart.c && touch msc_multipart.slo msc_multipart.c: In function 'multipart_init': msc_multipart.c:721: warning: passing argument 1 of 'ap_strstr' discards qualifiers from pointer target type /usr/include/apache2/httpd.h:1871: note: expected 'char *' but argument is of type 'const char *' /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o modsecurity.lo modsecurity.c && touch modsecurity.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_parsers.lo msc_parsers.c && touch msc_parsers.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_util.lo msc_util.c && touch msc_util.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_pcre.lo msc_pcre.c && touch msc_pcre.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o persist_dbm.lo persist_dbm.c && touch persist_dbm.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_reqbody.lo msc_reqbody.c && touch msc_reqbody.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o pdf_protect.lo pdf_protect.c && touch pdf_protect.slo pdf_protect.c: In function 'verify_token': pdf_protect.c:179: warning: passing argument 1 of 'ap_strstr' discards qualifiers from pointer target type /usr/include/apache2/httpd.h:1871: note: expected 'char *' but argument is of type 'const char *' /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_geo.lo msc_geo.c && touch msc_geo.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o acmp.lo acmp.c && touch acmp.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_lua.lo msc_lua.c && touch msc_lua.slo /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -prefer-pic -O2 -pipe -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DAP_DEBUG -pthread -I/usr/include/apache2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/db4.7 -O2 -pipe -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -c -o msc_release.lo msc_release.c && touch msc_release.slo /usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc -o mod_security2.la -O1 -Wl,-O1 -rpath /usr/lib/apache2/modules -module -avoid-version msc_release.lo msc_lua.lo acmp.lo msc_geo.lo pdf_protect.lo msc_reqbody.lo persist_dbm.lo msc_pcre.lo msc_util.lo msc_parsers.lo modsecurity.lo msc_multipart.lo msc_xml.lo msc_logging.lo re_variables.lo re_tfns.lo re_actions.lo re_operators.lo re.lo apache2_util.lo apache2_io.lo apache2_config.lo mod_security2.lo -L/usr/lib -lpcre -lxml2 -lz -lm -L/usr/lib -lm -L/usr/lib -lpcre -luuid -lrt -lcrypt -lpthread -ldl -L/usr/lib -lapr-1 -lldap -llber -llber -ldb-4.7 -lgdbm -lexpat -L/usr/lib -laprutil-1 >>> Source compiled. * /etc/portage/bashrc QA notice: 'make' called by src_test make -j14 test /usr/bin/libtool --silent --mode=compile i686-pc-linux-gnu-gcc -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -O2 -pipe -pthread -O2 -g -Wall -I/usr/include/apache2 -I/usr/include/apache2 -I. -I/usr/include/apr-1 -I/usr/include/db4.7 -I/usr/include -I/usr/include/libxml2 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/usr/include/apr-1 -I/usr/include/db4.7 -o msc_test.lo -c msc_test.c objs=""; \ for f in re re_operators re_actions re_tfns re_variables msc_logging msc_xml msc_multipart modsecurity msc_parsers msc_util msc_pcre persist_dbm msc_reqbody msc_geo acmp msc_lua msc_release; do \ objs="$objs $f.lo"; \ done; \ /usr/bin/libtool --silent --mode=link i686-pc-linux-gnu-gcc $objs -o msc_test msc_test.lo -Wl,-O1 -L/usr/lib -lpcre -lxml2 -lz -lm -L/usr/lib -lm -L/usr/lib -lpcre -luuid -lrt -lcrypt -lpthread -ldl -L/usr/lib -lapr-1 -lldap -llber -llber -ldb-4.7 -lgdbm -lexpat -L/usr/lib -laprutil-1 -L/usr/lib -lapr-1 -L/usr/lib -laprutil-1 .libs/re.o: In function `rule_id_in_range': re.c:(.text+0x28b): undefined reference to `ap_strstr' .libs/re.o: In function `execute_operator': re.c:(.text+0x9d3): undefined reference to `ap_strchr' .libs/re_operators.o: In function `msre_op_validateByteRange_init': re_operators.c:(.text+0xbb3): undefined reference to `ap_strstr' .libs/re_actions.o: In function `expand_macros': re_actions.c:(.text+0x3241): undefined reference to `ap_strstr' re_actions.c:(.text+0x34d0): undefined reference to `ap_strstr' .libs/re_actions.o: In function `msre_action_initcol_execute': re_actions.c:(.text+0x3ae0): undefined reference to `ap_strstr' .libs/re_actions.o: In function `msre_action_deprecatevar_execute': re_actions.c:(.text+0x3bc9): undefined reference to `ap_strstr' .libs/re_actions.o:re_actions.c:(.text+0x3c9f): more undefined references to `ap_strstr' follow .libs/msc_logging.o: In function `sec_audit_logger': msc_logging.c:(.text+0x5fc): undefined reference to `ap_strchr' msc_logging.c:(.text+0x662): undefined reference to `ap_strstr' msc_logging.c:(.text+0x8d2): undefined reference to `ap_strchr' msc_logging.c:(.text+0x904): undefined reference to `ap_strchr' msc_logging.c:(.text+0x99c): undefined reference to `ap_strchr' msc_logging.c:(.text+0xb52): undefined reference to `ap_strchr' msc_logging.c:(.text+0xbd8): undefined reference to `ap_strchr' .libs/msc_logging.o:msc_logging.c:(.text+0x1464): more undefined references to `ap_strchr' follow .libs/msc_multipart.o: In function `multipart_process_chunk': msc_multipart.c:(.text+0x1901): undefined reference to `ap_strstr' .libs/msc_multipart.o: In function `multipart_count_boundary_params': msc_multipart.c:(.text+0x27ff): undefined reference to `ap_strchr' msc_multipart.c:(.text+0x2814): undefined reference to `ap_strstr' .libs/msc_multipart.o: In function `multipart_init': msc_multipart.c:(.text+0x2982): undefined reference to `ap_strstr' msc_multipart.c:(.text+0x2a04): undefined reference to `ap_strchr' .libs/modsecurity.o: In function `modsecurity_tx_init': modsecurity.c:(.text+0x81e): undefined reference to `ap_strstr' .libs/msc_parsers.o: In function `parse_cookies_v0': msc_parsers.c:(.text+0xae0): undefined reference to `ap_strstr' .libs/msc_util.o: In function `file_dirname': msc_util.c:(.text+0x2251): undefined reference to `ap_strrchr' .libs/msc_util.o: In function `file_basename': msc_util.c:(.text+0x22c1): undefined reference to `ap_strrchr' msc_util.c:(.text+0x22d9): undefined reference to `ap_strrchr' collect2: ld returned 1 exit status make: *** [msc_test] Error 1 * * ERROR: www-apache/mod_security-2.5.9-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_test * environment, line 3109: Called die * The specific snippet of code: * make test || die * The die message: * (no error message) * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/www-apache/mod_security-2.5.9-r1:20090725-200214.log'. * The ebuild environment file is located at '/var/tmp/portage/www-apache/mod_security-2.5.9-r1/temp/environment'. * >>> Install mod_security-2.5.9-r1 into /var/tmp/portage/www-apache/mod_security-2.5.9-r1/image/ category www-apache >>> Completed installing mod_security-2.5.9-r1 into /var/tmp/portage/www-apache/mod_security-2.5.9-r1/image/ strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/apache2/modules/mod_security2.so * Removing /usr/share/doc * Removing /usr/share/man * Removing /usr/share/info * Please note that the core rule set distributed with mod_security is quite * draconic. If you're using this on a blog, a forum or another user-submitted * web application where you might talk about standard Unix paths (such as /etc * or /bin), you might want to disable at least rule 950005 (command injection) * if you're sure it might not be a security risk. * * To do that on the most limited case you might want to use something like * the following code (this comes from a Typo weblog instance): * * * SecRuleRemoveById 950005 * *