Date: Sun, 6 Jun 2010 12:46:23 GMT From: Mats Dufberg <mats@dufberg.se> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/147561: security/php5-filter from ports failed to build Message-ID: <201006061246.o56CkN9T051545@www.freebsd.org> Resent-Message-ID: <201006061250.o56Co3xT004309@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 147561 >Category: ports >Synopsis: security/php5-filter from ports failed to build >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 06 12:50:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mats Dufberg >Release: 7.2-RELEASE-p8 >Organization: private >Environment: FreeBSD azlan.narnia.pp.se 7.2-RELEASE-p8 FreeBSD 7.2-RELEASE-p8 #14: Mon May 31 12:55:56 CEST 2010 dufberg@azlan.narnia.pp.se:/usr/obj/usr/src/sys/AZLAN i386 >Description: Installation of security/php5-filter fails even though php is updated. It is installed as php5-5.3.2_1. Installation was done as a clean install, i.e. php and every ports dependent on it was removed. Then devel/pcre (pcre-8.02) was reinstalled and then php and sup-ports were installed from scratch. Everything except php5-filter and php5-extensions (requires php5-filters) succeded. ---> Fresh installation of security/php5-filter started at: Sun, 06 Jun 2010 12:38:37 +0200 ---> Installing 'php5-filter-5.3.2_1' from a port (security/php5-filter) ---> Build of security/php5-filter started at: Sun, 06 Jun 2010 12:38:38 +0200 ---> Building '/usr/ports/security/php5-filter' ===> Cleaning for php5-filter-5.3.2_1 ===> License check disabled, port has not defined LICENSE ===> Extracting for php5-filter-5.3.2_1 => MD5 Checksum OK for php-5.3.2.tar.bz2. => SHA256 Checksum OK for php-5.3.2.tar.bz2. ===> Patching for php5-filter-5.3.2_1 ===> Applying FreeBSD patches for php5-filter-5.3.2_1 ===> php5-filter-5.3.2_1 depends on file: /usr/local/bin/phpize - found ===> php5-filter-5.3.2_1 depends on file: /usr/local/bin/autoconf-2.62 - found ===> PHPizing for php5-filter-5.3.2_1 Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 ===> Configuring for php5-filter-5.3.2_1 checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for a sed that does not truncate output... /usr/bin/sed 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cc -E checking for icc... no checking for suncc... no checking whether cc understands -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... yes checking build system type... i386-portbld-freebsd7.2 checking host system type... i386-portbld-freebsd7.2 checking target system type... i386-portbld-freebsd7.2 checking for PHP prefix... /usr/local checking for PHP includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib checking for PHP extension directory... /usr/local/lib/php/20090626 checking for PHP installed headers prefix... /usr/local/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... nawk checking if nawk is broken... no checking whether to enable input filter support... yes, shared checking pcre install prefix... /usr/local checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes checking how to recognize dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... (cached) 262144 checking command to parse /usr/bin/nm -B output from cc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if cc supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC checking if cc PIC flag -fPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd7.2 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 creating libtool appending configuration tag "CXX" to libtool checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking for c++ option to produce PIC... checking if c++ static flag works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... freebsd7.2 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h ===> Building for php5-filter-5.3.2_1 /bin/sh /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/libtool --mode=compile cc -I. -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -DPHP_ATOM_INC -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/include -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/main -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/filter.c -o filter.lo mkdir .libs cc -I. -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -DPHP_ATOM_INC -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/include -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/main -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/filter.c -fPIC -DPIC -o .libs/filter.o /bin/sh /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/libtool --mode=compile cc -I. -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -DPHP_ATOM_INC -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/include -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/main -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/sanitizing_filters.c -o sanitizing_filters.lo cc -I. -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -DPHP_ATOM_INC -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/include -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/main -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/sanitizing_filters.c -fPIC -DPIC -o .libs/sanitizing_filters.o /bin/sh /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/libtool --mode=compile cc -I. -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -DPHP_ATOM_INC -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/include -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/main -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c -o logical_filters.lo cc -I. -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -DPHP_ATOM_INC -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/include -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter/main -I/local/ports/security/php5-filter/work/php-5.3.2/ext/filter -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c -fPIC -DPIC -o .libs/logical_filters.o In file included from /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25: /usr/local/include/php/ext/pcre/php_pcre.h:29:18: error: pcre.h: No such file or directory In file included from /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:25: /usr/local/include/php/ext/pcre/php_pcre.h:37: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:38: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token /usr/local/include/php/ext/pcre/php_pcre.h:44: error: expected specifier-qualifier-list before 'pcre' /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c: In function 'php_filter_validate_regexp': /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: error: 'pcre' undeclared (first use in this function) /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: error: (Each undeclared identifier is reported only once /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: error: for each function it appears in.) /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:412: error: 're' undeclared (first use in this function) /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:413: error: 'pcre_extra' undeclared (first use in this function) /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c: In function 'php_filter_validate_email': /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500: error: 'pcre' undeclared (first use in this function) /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:500: error: 're' undeclared (first use in this function) /local/ports/security/php5-filter/work/php-5.3.2/ext/filter/logical_filters.c:501: error: 'pcre_extra' undeclared (first use in this function) *** Error code 1 1 error *** Error code 1 Stop in /local/ports/security/php5-filter. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall20100606-31372-1cjt5l4-0 env make ** Fix the problem and try again. ---> Build of security/php5-filter ended at: Sun, 06 Jun 2010 12:39:38 +0200 (consumed 00:01:00) ---> Fresh installation of security/php5-filter ended at: Sun, 06 Jun 2010 12:39:38 +0200 (consumed 00:01:00) >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006061246.o56CkN9T051545>