Log
[1m===> Building for php71-opcache-7.1.32[0m
/bin/sh /magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/libtool --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache -DPHP_ATOM_INC -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/include -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/main -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -c /magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c -o ZendAccelerator.lo
mkdir .libs
cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -I. -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache -DPHP_ATOM_INC -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/include -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/main -I/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache -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 -isystem /usr/local/include -DHAVE_CONFIG_H -O2 -pipe -isystem /usr/local/include -fno-strict-aliasing -c /magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c -fPIC -DPIC -o .libs/ZendAccelerator.o
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:495:22: error: expression is not assignable
GC_REFCOUNT(p->key) = 1;
~~~~~~~~~~~~~~~~~~~ ^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:524:5: error: no member named 'empty_string' in 'struct _zend_compiler_globals'
CG(empty_string) = accel_new_interned_string(CG(empty_string));
~~~^~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:34:34: note: expanded from macro 'CG'
# define CG(v) (compiler_globals.v)
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:524:50: error: no member named 'empty_string' in 'struct _zend_compiler_globals'
CG(empty_string) = accel_new_interned_string(CG(empty_string));
~~~^~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:34:34: note: expanded from macro 'CG'
# define CG(v) (compiler_globals.v)
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:529:6: error: no member named 'one_char_string' in 'struct _zend_compiler_globals'
CG(one_char_string)[j] = accel_new_interned_string(zend_string_init(s, 1, 0));
~~~^~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:34:34: note: expanded from macro 'CG'
# define CG(v) (compiler_globals.v)
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:531:21: error: no member named 'known_strings_count' in 'struct _zend_compiler_globals'
for (j = 0; j < CG(known_strings_count); j++) {
~~~^~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:34:34: note: expanded from macro 'CG'
# define CG(v) (compiler_globals.v)
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:532:6: error: no member named 'known_strings' in 'struct _zend_compiler_globals'
CG(known_strings)[j] = accel_new_interned_string(CG(known_strings)[j]);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:34:34: note: expanded from macro 'CG'
# define CG(v) (compiler_globals.v)
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:532:55: error: no member named 'known_strings' in 'struct _zend_compiler_globals'
CG(known_strings)[j] = accel_new_interned_string(CG(known_strings)[j]);
~~~^~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_globals_macros.h:34:34: note: expanded from macro 'CG'
# define CG(v) (compiler_globals.v)
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:706:112: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
zend_accel_error(ACCEL_LOG_WARNING, "Forced restart at %ld (after " ZEND_LONG_FMT " seconds), locked by %d", time(NULL), ZCG(accel_directives).force_restart_timeout, mem_usage_check.l_pid);
~~~ ^~~~~~~~~~
%d
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2271:9: error: expression is not assignable
if (--GC_REFCOUNT(ref) == 0) {
^ ~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2339:11: error: expression is not assignable
if (--GC_REFCOUNT(func->op_array.static_variables) == 0) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2361:14: error: expression is not assignable
if (--GC_REFCOUNT(func->op_array.static_variables) == 0) {
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2414:10: error: no member named 'flags' in 'struct _zend_constant'
if (c->flags & CONST_PERSISTENT) {
~ ^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2570:27: warning: incompatible pointer types assigning to 'zend_string *(*)(zend_string *)' from 'zend_new_interned_string_func_t' (aka 'zend_string *(*)(zend_string *) __attribute__((fastcall))') [-Wincompatible-pointer-types]
orig_new_interned_string = zend_new_interned_string;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2571:35: error: use of undeclared identifier 'zend_interned_strings_snapshot'; did you mean 'orig_interned_strings_snapshot'?
orig_interned_strings_snapshot = zend_interned_strings_snapshot;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
orig_interned_strings_snapshot
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:348:15: note: 'orig_interned_strings_snapshot' declared here
static void (*orig_interned_strings_snapshot)(void);
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2572:34: error: use of undeclared identifier 'zend_interned_strings_restore'
orig_interned_strings_restore = zend_interned_strings_restore;
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2573:27: warning: incompatible pointer types assigning to 'zend_new_interned_string_func_t' (aka 'zend_string *(*)(zend_string *) __attribute__((fastcall))') from 'zend_string *(zend_string *)' [-Wincompatible-pointer-types]
zend_new_interned_string = accel_new_interned_string_for_php;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2574:2: error: use of undeclared identifier 'zend_interned_strings_snapshot'; did you mean 'orig_interned_strings_snapshot'?
zend_interned_strings_snapshot = accel_interned_strings_snapshot_for_php;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
orig_interned_strings_snapshot
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:348:15: note: 'orig_interned_strings_snapshot' declared here
static void (*orig_interned_strings_snapshot)(void);
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2575:2: error: use of undeclared identifier 'zend_interned_strings_restore'; did you mean 'orig_interned_strings_restore'?
zend_interned_strings_restore = accel_interned_strings_restore_for_php;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
orig_interned_strings_restore
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:349:15: note: 'orig_interned_strings_restore' declared here
static void (*orig_interned_strings_restore)(void);
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2837:30: warning: incompatible pointer types assigning to 'zend_string *(*)(zend_string *)' from 'zend_new_interned_string_func_t' (aka 'zend_string *(*)(zend_string *) __attribute__((fastcall))') [-Wincompatible-pointer-types]
orig_new_interned_string = zend_new_interned_string;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2838:38: error: use of undeclared identifier 'zend_interned_strings_snapshot'; did you mean 'orig_interned_strings_snapshot'?
orig_interned_strings_snapshot = zend_interned_strings_snapshot;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
orig_interned_strings_snapshot
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:348:15: note: 'orig_interned_strings_snapshot' declared here
static void (*orig_interned_strings_snapshot)(void);
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2839:37: error: use of undeclared identifier 'zend_interned_strings_restore'
orig_interned_strings_restore = zend_interned_strings_restore;
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2841:30: warning: incompatible pointer types assigning to 'zend_new_interned_string_func_t' (aka 'zend_string *(*)(zend_string *) __attribute__((fastcall))') from 'zend_string *(zend_string *)' [-Wincompatible-pointer-types]
zend_new_interned_string = accel_new_interned_string_for_php;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2842:5: error: use of undeclared identifier 'zend_interned_strings_snapshot'; did you mean 'orig_interned_strings_snapshot'?
zend_interned_strings_snapshot = accel_interned_strings_snapshot_for_php;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
orig_interned_strings_snapshot
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:348:15: note: 'orig_interned_strings_snapshot' declared here
static void (*orig_interned_strings_snapshot)(void);
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2843:5: error: use of undeclared identifier 'zend_interned_strings_restore'; did you mean 'orig_interned_strings_restore'?
zend_interned_strings_restore = accel_interned_strings_restore_for_php;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
orig_interned_strings_restore
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:349:15: note: 'orig_interned_strings_restore' declared here
static void (*orig_interned_strings_restore)(void);
^
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2906:37: warning: incompatible pointer types assigning to 'zend_string *(*)(const char *, int)' from 'zend_string *(*)(const char *, size_t)' [-Wincompatible-pointer-types]
accelerator_orig_zend_resolve_path = zend_resolve_path;
^ ~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2907:20: warning: incompatible pointer types assigning to 'zend_string *(*)(const char *, size_t)' from 'zend_string *(const char *, int)' [-Wincompatible-pointer-types]
zend_resolve_path = persistent_zend_resolve_path;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2912:14: warning: incompatible pointer types assigning to 'void (*)(zend_execute_data *, zval *)' from 'zif_handler' (aka 'void (*)(zend_execute_data *, zval *) __attribute__((fastcall))') [-Wincompatible-pointer-types]
orig_chdir = func->internal_function.handler;
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache/ZendAccelerator.c:2978:27: warning: incompatible pointer types assigning to 'zend_new_interned_string_func_t' (aka 'zend_string *(*)(zend_string *) __attribute__((fastcall))') from 'zend_string *(*)(zend_string *)' [-Wincompatible-pointer-types]
zend_new_interned_string = orig_new_interned_string;
^ ~~~~~~~~~~~~~~~~~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
9 warnings and 20 errors generated.
*** [ZendAccelerator.lo] Error code 1
make[1]: stopped in /magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache
1 error
make[1]: stopped in /magus/work/usr/mports/www/php71-opcache/work-php73/php-7.1.32/ext/opcache
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/www/php71-opcache