Bug #74552 [Opn->Nab]: package fails to build from ports tree

From: Date: Sun, 07 May 2017 11:17:17 +0000
Subject: Bug #74552 [Opn->Nab]: package fails to build from ports tree
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208986@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=74552&edit=1 ID: 74552 Updated by: ab@php.net Reported by: philmail at marples dot org dot uk Summary: package fails to build from ports tree -Status: Open +Status: Not a bug Type: Bug Package: *General Issues Operating System: freebsd 10.3 PHP Version: 5.6.30 Block user comment: N Private report: N New Comment: Version mismatch, so not a bug. Thanks. Previous Comments: ------------------------------------------------------------------------ [2017-05-06 18:49:09] philmail at marples dot org dot uk My apologies, builds against php70 please close/delete, posted in haste. For your information FreeBSD uses a build from source 'ports tree' https://www.freshports.org ------------------------------------------------------------------------ [2017-05-06 15:42:04] danack@php.net What is the 'ports tree'? Is it from somewhere other that pecl.php.net? ------------------------------------------------------------------------ [2017-05-06 15:40:44] spam2 at rhsoft dot net how is that a bug when you use a no longer maintained PHP version and don't read the dependencies on bottom of https://pecl.php.net/package/APCu Dependencies Release 5.1.8: PHP Version: PHP 7.0.0-dev or newer PEAR Package: PEAR 1.10 or newer Release 5.1.7: PHP Version: PHP 7.0.0-dev or newer PEAR Package: PEAR 1.10 or newer Release 5.1.6: PHP Version: PHP 7.0.0-dev or newer PEAR Package: PEAR 1.10 or newer Dependencies for older releases can be found on the release overview page. ------------------------------------------------------------------------ [2017-05-06 15:32:31] philmail at marples dot org dot uk Description: ------------ /usr/ports/devel/pecl-APCu # portmaster -v ===>>> Port directory: /usr/ports/devel/pecl-APCu ===>>> Gathering distinfo list for installed ports ===>>> Launching 'make checksum' for devel/pecl-APCu in background ===>>> Gathering dependency list for devel/pecl-APCu from ports ===>>> Starting dependency check ===>>> Checking dependency: devel/autoconf ===>>> Checking dependency: lang/php56 ===>>> Checking dependency: ports-mgmt/pkg ===>>> Initial dependency check complete for devel/pecl-APCu ===>>> Starting build for devel/pecl-APCu <<<=== ===>>> All dependencies are up to date ===> Cleaning for pecl-APCu-5.1.8 ===> License PHP301 accepted by the user ===> pecl-APCu-5.1.8 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by pecl-APCu-5.1.8 for building ===> Extracting for pecl-APCu-5.1.8 => SHA256 Checksum OK for PECL/apcu-5.1.8.tgz. ===> Patching for pecl-APCu-5.1.8 ===> pecl-APCu-5.1.8 depends on file: /usr/local/bin/phpize - found ===> pecl-APCu-5.1.8 depends on file: /usr/local/bin/autoconf-2.69 - found ===> PHPizing for pecl-APCu-5.1.8 Configuring for: PHP Api Version: 20131106 Zend Module Api No: 20131226 Zend Extension Api No: 220131226 ===> Configuring for pecl-APCu-5.1.8 configure: loading site script /usr/ports/Templates/config.site checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for a sed that does not truncate output... /usr/bin/sed 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 cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp 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... no checking if compiler supports -Wl,-rpath,... yes checking build system type... amd64-portbld-freebsd10.3 checking host system type... amd64-portbld-freebsd10.3 checking target system type... amd64-portbld-freebsd10.3 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/20131226 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... (cached) /usr/bin/awk checking if /usr/bin/awk is broken... no checking whether to enable APCu support... yes, shared checking if APCu should be allowed to use rwlocks... yes checking if APCu should be built in debug mode... no checking if APCu should clear on SIGUSR1... no checking if APCu will use mmap or shm... mmap checking if APCu should utilize spinlocks before flocks... no Unable to set PTHREAD_PROCESS_SHARED (pthread_rwlockattr_setpshared), your system may not support shared rwlock's. configure: WARNING: It doesn't appear that pthread rwlocks are supported on your system Unable to set PTHREAD_PROCESS_SHARED (pthread_mutexattr_setpshared), your system may not support shared mutex's. configure: WARNING: It doesn't appear that pthread mutexes are supported on your system configure: WARNING: APCu file locking enabled checking for sigaction... (cached) yes checking for union semun... yes 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 checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for shm_open in -lrt... yes checking whether to include code coverage symbols... no 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 dlfcn.h... (cached) 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... yes 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... freebsd10.3 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... freebsd10.3 ld.so (cached) (cached) checking how to hardcode library paths into programs... unsupported configure: creating ./config.status config.status: creating config.h fails on build at --- apc.lo --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- apc_sma.lo --- In file included from /usr/ports/devel/pecl-APCu/work/apcu-5.1.8/apc_sma.c:33: In file included from ./apc_globals.h:38: In file included from ./apc_cache.h:40: ./apc_cache_api.h:103:5: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long ttl; /* if slot is needed and entry's access time is older than this ttl, remove it */ ^~~~~~~~~ zend_ulong /usr/local/include/php/Zend/zend_types.h:28:23: note: 'zend_ulong' declared here typedef unsigned long zend_ulong; ^ --- php_apc.lo --- In file included from /usr/ports/devel/pecl-APCu/work/apcu-5.1.8/php_apc.c:35: In file included from ./apc_cache.h:40: ./apc_cache_api.h:87:5: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long mem_size; /* used */ ^~~~~~~~~ zend_ulong /usr/local/include/php/Zend/zend_types.h:28:23: note: 'zend_ulong' declared here typedef unsigned long zend_ulong; ^ --- apc_sma.lo --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- php_apc.lo --- In file included from /usr/ports/devel/pecl-APCu/work/apcu-5.1.8/php_apc.c:35: In file included from ./apc_cache.h:40: ./apc_cache_api.h:101:5: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long nslots; /* number of slots in cache */ ^~~~~~~~~ zend_ulong /usr/local/include/php/Zend/zend_types.h:28:23: note: 'zend_ulong' declared here typedef unsigned long zend_ulong; ^ In file included from /usr/ports/devel/pecl-APCu/work/apcu-5.1.8/php_apc.c:35: In file included from ./apc_cache.h:40: ./apc_cache_api.h:102:5: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long gc_ttl; /* maximum time on GC list for a slot */ ^~~~~~~~~ zend_ulong /usr/local/include/php/Zend/zend_types.h:28:23: note: 'zend_ulong' declared here typedef unsigned long zend_ulong; ^ In file included from /usr/ports/devel/pecl-APCu/work/apcu-5.1.8/php_apc.c:35: In file included from ./apc_cache.h:40: ./apc_cache_api.h:103:5: error: unknown type name 'zend_long'; did you mean 'zend_ulong'? zend_long ttl; /* if slot is needed and entry's access time is older than this ttl, remove it */ ^~~~~~~~~ zend_ulong /usr/local/include/php/Zend/zend_types.h:28:23: note: 'zend_ulong' declared here typedef unsigned long zend_ulong; ^ --- apc_sma.lo --- 20 errors generated. --- php_apc.lo --- fatal error: too many errors emitted, stopping now [-ferror-limit=] --- apc.lo --- 20 errors generated. --- apc_sma.lo --- *** [apc_sma.lo] Error code 1 make[1]: stopped in /usr/ports/devel/pecl-APCu/work/apcu-5.1.8 --- apc.lo --- *** [apc.lo] Error code 1 make[1]: stopped in /usr/ports/devel/pecl-APCu/work/apcu-5.1.8 --- apc_cache.lo --- 20 errors generated. *** [apc_cache.lo] Error code 1 make[1]: stopped in /usr/ports/devel/pecl-APCu/work/apcu-5.1.8 --- php_apc.lo --- 20 errors generated. *** [php_apc.lo] Error code 1 make[1]: stopped in /usr/ports/devel/pecl-APCu/work/apcu-5.1.8 6 errors make[1]: stopped in /usr/ports/devel/pecl-APCu/work/apcu-5.1.8 ===> Compilation failed unexpectedly. Have omitted some of the errors, can post all if you wish ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=74552&edit=1

« previous php.bugs (#208986) next »