Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 03:47:35 GMT
From:      pkg-fallout@FreeBSD.org
To:        oliver@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-amd64-default][devel/pecl-yac] Failed for php74-pecl-yac-2.0.2, 1 in build
Message-ID:  <201909220347.x8M3lZ6r075157@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:     oliver@FreeBSD.org
Last committer: rene@FreeBSD.org
Ident:          $FreeBSD: head/devel/pecl-yac/Makefile 489349 2019-01-05 15:47:56Z rene $
Log URL:        http://beefy18.nyi.freebsd.org/data/head-amd64-default/p512545_s352585/logs/php74-pecl-yac-2.0.2,1.log
Build URL:      http://beefy18.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p512545_s352585
Log:

=>> Building devel/pecl-yac
build started at Sun Sep 22 03:47:21 UTC 2019
port directory: /usr/ports/devel/pecl-yac
package name: php74-pecl-yac-2.0.2,1
building for: FreeBSD head-amd64-default-job-09 13.0-CURRENT FreeBSD 13.0-CURRENT 1300047 amd64
maintained by: oliver@FreeBSD.org
Makefile ident:      $FreeBSD: head/devel/pecl-yac/Makefile 489349 2019-01-05 15:47:56Z rene $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300040
Jail OSVERSION: 1300047
Job Id: 09




!!! Jail is newer than host. (Jail: 1300047, Host: 1300040) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300047
UNAME_v=FreeBSD 13.0-CURRENT 1300047
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-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=php74
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=php74
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for php74-pecl-yac-2.0.2,1:
     MSGPACK=off: Enable MSGPACK module
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
oliver@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-php-config=/usr/local/bin/php-config --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/pecl-yac/work-php74  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-yac/work-php74  HOME=/wrkdirs/usr/ports/devel/pecl-yac/work-php74 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-yac/work-php74/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/devel/pecl-yac/work-php74  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/pecl-yac/work-php74  HOME=/wrkdirs/usr/ports/devel/pecl-yac/work-php74 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/pecl-yac/work-php74/.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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  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--
PHP_EXT_DIR=20190902 OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/yac"  EXAMPLESDIR="share/examples/yac"  DATADIR="share/yac"  WWWDIR="www/yac"  ETCDIR="etc/yac"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20190902 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/yac DOCSDIR=/usr/local/share/doc/yac EXAMPLESDIR=/usr/local/share/examples/yac  WWWDIR=/usr/local/www/yac ETCDIR=/usr/local/etc/yac
--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

# stable/10 includes src.conf too late but make.conf is in sys.mk
.if ${.CURDIR:M/poudriere/jails/10*/usr/src/usr.bin/xlint*}
# Disable build of llib now that head no longer has lint(1)
LINT=	true
.endif
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.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 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300047
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=262144
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 PHP301 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   php74-pecl-yac-2.0.2,1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[head-amd64-default-job-09] Installing pkg-1.12.0...
[head-amd64-default-job-09] Extracting pkg-1.12.0: .......... done
===>   php74-pecl-yac-2.0.2,1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php74-pecl-yac-2.0.2,1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php74-pecl-yac-2.0.2,1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php74-pecl-yac-2.0.2,1 for building
=> SHA256 Checksum OK for PECL/yac-2.0.2.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License PHP301 accepted by the user
===> Fetching all distfiles required by php74-pecl-yac-2.0.2,1 for building
===>  Extracting for php74-pecl-yac-2.0.2,1
=> SHA256 Checksum OK for PECL/yac-2.0.2.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for php74-pecl-yac-2.0.2,1
===========================================================================
=======================<phase: build-depends  >============================
===>   php74-pecl-yac-2.0.2,1 depends on file: /usr/local/bin/phpize - not found
===>   Installing existing package /packages/All/php74-7.4.0.r1.txz
<snip>
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
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 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... freebsd13.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
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... freebsd13.0 ld.so
(cached) (cached) checking how to hardcode library paths into programs... unsupported
configure: patching config.h.in
configure: creating ./config.status
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for php74-pecl-yac-2.0.2,1
--- yac.lo ---
--- storage/yac_storage.lo ---
--- yac.lo ---
/bin/sh /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/include -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/main -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -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 -pipe -fstack-protector-strong -fno-strict-aliasing   -c /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c -o yac.lo
--- storage/yac_storage.lo ---
/bin/sh /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/libtool --mode=compile cc  -I. -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/include -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/main -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -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 -pipe -fstack-protector-strong -fno-strict-aliasing   -c /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c -o storage/yac_storage.lo
--- yac.lo ---
mkdir .libs
 cc -I. -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/include -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/main -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -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 -pipe -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c  -fPIC -DPIC -o .libs/yac.o
--- storage/yac_storage.lo ---
mkdir storage/.libs
 cc -I. -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/include -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/main -I/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2 -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 -pipe -fstack-protector-strong -fno-strict-aliasing -c /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c  -fPIC -DPIC -o storage/.libs/yac_storage.o
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:70:15: error: unknown type name 'ulong'
static inline ulong yac_inline_hash_func1(char *data, unsigned int len) {
              ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:142:15: error: unknown type name 'ulong'
static inline ulong yac_inline_hash_func2(char *key, uint len) {
              ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:143:11: error: unknown type name 'ulong'
        register ulong hash = 5381;
                 ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:296:7: error: expected ';' after expression
        ulong h, hash, seed;
             ^
             ;
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:296:2: error: use of undeclared identifier 'ulong'
        ulong h, hash, seed;
        ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:296:8: error: use of undeclared identifier 'h'
        ulong h, hash, seed;
              ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:296:11: error: use of undeclared identifier 'hash'
        ulong h, hash, seed;
                 ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:296:17: error: use of undeclared identifier 'seed'; did you mean 'send'?
        ulong h, hash, seed;
                       ^~~~
                       send
/usr/include/sys/socket.h:680:9: note: 'send' declared here
ssize_t send(int, const void *, size_t, int);
        ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:300:2: error: use of undeclared identifier 'hash'
        hash = h = yac_inline_hash_func1(key, len);
        ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:300:9: error: use of undeclared identifier 'h'
        hash = h = yac_inline_hash_func1(key, len);
               ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:301:22: error: use of undeclared identifier 'h'
        p = &(YAC_SG(slots)[h & YAC_SG(slots_mask)]);
                            ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:306:14: error: use of undeclared identifier 'hash'
                if (k.h == hash && YAC_KEY_KLEN(k) == len) {
                           ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:341:3: error: use of undeclared identifier 'seed'
                seed = yac_inline_hash_func2(key, len);
                ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:343:4: error: use of undeclared identifier 'h'
                        h += seed & YAC_SG(slots_mask);
                        ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:343:9: error: use of undeclared identifier 'seed'; did you mean 'send'?
                        h += seed & YAC_SG(slots_mask);
                             ^~~~
                             send
/usr/include/sys/socket.h:680:9: note: 'send' declared here
ssize_t send(int, const void *, size_t, int);
        ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:343:14: error: invalid operands to binary expression ('ssize_t (int, const void *, size_t, int)' (aka 'long (int, const void *, unsigned long, int)') and 'unsigned int')
                        h += seed & YAC_SG(slots_mask);
                             ~~~~ ^ ~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:344:24: error: use of undeclared identifier 'h'
                        p = &(YAC_SG(slots)[h & YAC_SG(slots_mask)]);
                                            ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:346:15: error: use of undeclared identifier 'hash'
                        if (k.h == hash && YAC_KEY_KLEN(k) == len) {
                                   ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/storage/yac_storage.c:364:7: error: expected ';' after expression
        ulong hash, h, seed;
             ^
             ;
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
*** [storage/yac_storage.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2
--- yac.lo ---
In file included from /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:33:
./php_yac.h:51:2: error: unknown type name 'ulong'
        ulong compress_threshold;
        ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:150:8: error: use of undeclared identifier 'IS_CONSTANT'
                case IS_CONSTANT:
                     ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:158:85: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
                                                php_error_docref(NULL, E_WARNING, "Value is too long(%d bytes) to be stored", Z_STRLEN_P(value));
                                                                                                     ~~                       ^~~~~~~~~~~~~~~~~
                                                                                                     %zu
/usr/local/include/php/Zend/zend_types.h:691:30: note: expanded from macro 'Z_STRLEN_P'
#define Z_STRLEN_P(zval_p)                      Z_STRLEN(*(zval_p))
                                                ^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:690:27: note: expanded from macro 'Z_STRLEN'
#define Z_STRLEN(zval)                          ZSTR_LEN(Z_STR(zval))
                                                ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_string.h:53:25: note: expanded from macro 'ZSTR_LEN'
#define ZSTR_LEN(zstr)  (zstr)->len
                        ^~~~~~~~~~~
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:177:85: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat]
                                                php_error_docref(NULL, E_WARNING, "Value is too long(%d bytes) to be stored", Z_STRLEN_P(value));
                                                                                                     ~~                       ^~~~~~~~~~~~~~~~~
                                                                                                     %zu
/usr/local/include/php/Zend/zend_types.h:691:30: note: expanded from macro 'Z_STRLEN_P'
#define Z_STRLEN_P(zval_p)                      Z_STRLEN(*(zval_p))
                                                ^~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_types.h:690:27: note: expanded from macro 'Z_STRLEN'
#define Z_STRLEN(zval)                          ZSTR_LEN(Z_STR(zval))
                                                ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/php/Zend/zend_string.h:53:25: note: expanded from macro 'ZSTR_LEN'
#define ZSTR_LEN(zstr)  (zstr)->len
                        ^~~~~~~~~~~
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:350:9: error: use of undeclared identifier 'IS_CONSTANT'
                        case IS_CONSTANT:
                             ^
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:482:9: error: use of undeclared identifier 'ulong'; did you mean 'long'?
                tv = (ulong)time(NULL);
                      ^~~~~
                      long
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:482:6: error: assigning to 'time_t' (aka 'long') from incompatible type '<overloaded function type>'
                tv = (ulong)time(NULL);
                   ^ ~~~~~~~
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:1014:37: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
                snprintf(buf, sizeof(buf), "%ld", inf->segment_size);
                                            ~~~   ^~~~~~~~~~~~~~~~~
                                            %u
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:1016:37: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
                snprintf(buf, sizeof(buf), "%ld", inf->segments_num);
                                            ~~~   ^~~~~~~~~~~~~~~~~
                                            %u
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:1018:37: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
                snprintf(buf, sizeof(buf), "%ld", inf->slots_size);
                                            ~~~   ^~~~~~~~~~~~~~~
                                            %u
/wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2/yac.c:1020:37: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
                snprintf(buf, sizeof(buf), "%ld", inf->slots_num);
                                            ~~~   ^~~~~~~~~~~~~~
                                            %u
6 warnings and 5 errors generated.
*** [yac.lo] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2
2 errors

make[1]: stopped in /wrkdirs/usr/ports/devel/pecl-yac/work-php74/yac-2.0.2
===> 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/ports/devel/pecl-yac



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909220347.x8M3lZ6r075157>