Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Sep 2019 07:16:46 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv7-default][net/pecl-oauth2] Failed for php74-pecl-oauth-2.0.3 in build
Message-ID:  <201909230716.x8N7GkDB061095@beefy12.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:     dbaio@FreeBSD.org
Last committer: rene@FreeBSD.org
Ident:          $FreeBSD: head/net/pecl-oauth2/Makefile 489349 2019-01-05 15:47:56Z rene $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-armv7-default/p512545_s352585/logs/php74-pecl-oauth-2.0.3.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p512545_s352585
Log:

=>> Building net/pecl-oauth2
build started at Mon Sep 23 07:15:55 UTC 2019
port directory: /usr/ports/net/pecl-oauth2
package name: php74-pecl-oauth-2.0.3
building for: FreeBSD head-armv7-default-job-11 13.0-CURRENT FreeBSD 13.0-CURRENT 1300047 arm
maintained by: dbaio@FreeBSD.org
Makefile ident:      $FreeBSD: head/net/pecl-oauth2/Makefile 489349 2019-01-05 15:47:56Z rene $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300040
Jail OSVERSION: 1300047
Job Id: 11




!!! 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
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-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---
---End OPTIONS List---

--MAINTAINER--
dbaio@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
CFLAGS="-O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing " LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " --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/net/pecl-oauth2/work-php74  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/pecl-oauth2/work-php74  HOME=/wrkdirs/usr/ports/net/pecl-oauth2/work-php74 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/pecl-oauth2/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/net/pecl-oauth2/work-php74  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/pecl-oauth2/work-php74  HOME=/wrkdirs/usr/ports/net/pecl-oauth2/work-php74 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/pecl-oauth2/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -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/oauth"  EXAMPLESDIR="share/examples/oauth"  DATADIR="share/oauth"  WWWDIR="www/oauth"  ETCDIR="etc/oauth"
--End PLIST_SUB--

--SUB_LIST--
PHP_EXT_DIR=20190902 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/oauth DOCSDIR=/usr/local/share/doc/oauth EXAMPLESDIR=/usr/local/share/examples/oauth  WWWDIR=/usr/local/www/oauth ETCDIR=/usr/local/etc/oauth
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv7
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 8.0.1 (tags/RELEASE_801/final 366581) (based on LLVM 8.0.1) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300047
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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 BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   php74-pecl-oauth-2.0.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.12.0.txz
[head-armv7-default-job-11] Installing pkg-1.12.0...
[head-armv7-default-job-11] Extracting pkg-1.12.0: .......... done
===>   php74-pecl-oauth-2.0.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of php74-pecl-oauth-2.0.3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
<snip>
checking whether /nxb-bin/usr/bin/cc accepts -g... yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp
checking for icc... no
checking for suncc... no
checking for system library directory... lib
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking build system type... armv7-portbld-freebsd13.0
checking host system type... armv7-portbld-freebsd13.0
checking target system type... armv7-portbld-freebsd13.0
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/20190902
checking for PHP installed headers prefix... /usr/local/include/php
checking if debug is enabled... no
checking if zts is enabled... no
checking for gawk... (cached) /usr/bin/awk
checking if /usr/bin/awk is broken... no
checking for oauth support... yes, shared
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 pcre.h usability... yes
checking pcre.h presence... no
configure: WARNING: pcre.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: pcre.h: proceeding with the compiler's result
checking for pcre.h... yes
checking for cURL in default path... found in /usr/local
checking for a sed that does not truncate output... /usr/bin/sed
checking for ld used by /nxb-bin/usr/bin/cc... /nxb-bin/usr/bin/ld
checking if the linker (/nxb-bin/usr/bin/ld) is GNU ld... yes
checking for /nxb-bin/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 /nxb-bin/usr/bin/cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC
checking if /nxb-bin/usr/bin/cc PIC flag -fPIC works... yes
checking if /nxb-bin/usr/bin/cc static flag -static works... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes
checking whether the /nxb-bin/usr/bin/cc linker (/nxb-bin/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 /nxb-bin/usr/bin/c++ linker (/nxb-bin/usr/bin/ld) supports shared libraries... yes
checking for /nxb-bin/usr/bin/c++ option to produce PIC... 
checking if /nxb-bin/usr/bin/c++ static flag  works... yes
checking if /nxb-bin/usr/bin/c++ supports -c -o file.o... yes
checking whether the /nxb-bin/usr/bin/c++ linker (/nxb-bin/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-oauth-2.0.3
/bin/sh /wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/libtool --mode=compile /nxb-bin/usr/bin/cc  -I. -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/include -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/main -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3 -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 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -Wall -g   -c /wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c -o oauth.lo
mkdir .libs
 /nxb-bin/usr/bin/cc -I. -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3 -DPHP_ATOM_INC -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/include -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/main -I/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3 -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 -I/usr/local/include -fstack-protector-strong -fno-strict-aliasing -Wall -g -c /wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c  -fPIC -DPIC -o .libs/oauth.o
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:415:7: error: expected ';' after expression
        ulong num_index;
             ^
             ;
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:415:2: error: use of undeclared identifier 'ulong'
        ulong num_index;
        ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:415:8: error: use of undeclared identifier 'num_index'
        ulong num_index;
              ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:423:94: error: use of undeclared identifier 'num_index'
                                 HASH_KEY_NON_EXISTENT != (hash_key_type = zend_hash_get_current_key_ex(args, &cur_key, &num_index, &pos));
                                                                                                                         ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:435:93: error: use of undeclared identifier 'num_index'
                                HASH_KEY_NON_EXISTENT != (hash_key_type = zend_hash_get_current_key_ex(args, &cur_key, &num_index, &pos));
                                                                                                                        ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:489:44: error: use of undeclared identifier 'num_index'
                                smart_string_append_unsigned(&keyname, num_index);
                                                                       ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:713:7: error: expected ';' after expression
        ulong num_key;
             ^
             ;
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:713:2: error: use of undeclared identifier 'ulong'
        ulong num_key;
        ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:713:8: error: use of undeclared identifier 'num_key'; did you mean 'cur_key'?
        ulong num_key;
              ^~~~~~~
              cur_key
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:712:15: note: 'cur_key' declared here
        zend_string *cur_key;
                     ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:720:52: error: use of undeclared identifier 'num_key'; did you mean 'cur_key'?
                zend_hash_get_current_key(oauth_args, &cur_key, &num_key);
                                                                 ^~~~~~~
                                                                 cur_key
/usr/local/include/php/Zend/zend_hash.h:248:46: note: expanded from macro 'zend_hash_get_current_key'
        zend_hash_get_current_key_ex(ht, str_index, num_index, &(ht)->nInternalPointer)
                                                    ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:712:15: note: 'cur_key' declared here
        zend_string *cur_key;
                     ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:713:8: warning: expression result unused [-Wunused-value]
        ulong num_key;
              ^~~~~~~
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:785:18: warning: passing 'const smart_string *' to parameter of type 'smart_string *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                smart_string_0(payload);
                               ^~~~~~~
/usr/local/include/php/Zend/zend_smart_string.h:75:61: note: passing argument to parameter 'str' here
static zend_always_inline void smart_string_0(smart_string *str) {
                                                            ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:800:8: error: expected ';' after expression
                ulong num_key;
                     ^
                     ;
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:800:3: error: use of undeclared identifier 'ulong'
                ulong num_key;
                ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:800:9: error: use of undeclared identifier 'num_key'; did you mean 'cur_key'?
                ulong num_key;
                      ^~~~~~~
                      cur_key
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:799:16: note: 'cur_key' declared here
                zend_string *cur_key;
                             ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:809:69: error: use of undeclared identifier 'num_key'; did you mean 'cur_key'?
                        switch (zend_hash_get_current_key_ex(request_headers, &cur_key, &num_key, &pos)) {
                                                                                         ^~~~~~~
                                                                                         cur_key
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:799:16: note: 'cur_key' declared here
                zend_string *cur_key;
                             ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:800:9: warning: expression result unused [-Wunused-value]
                ulong num_key;
                      ^~~~~~~
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:892:48: warning: address of array 'soo->last_location_header' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        if (HTTP_IS_REDIRECT(response_code) && soo->last_location_header) {
                                                            ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1038:7: error: expected ';' after expression
        ulong num_key;
             ^
             ;
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1038:2: error: use of undeclared identifier 'ulong'
        ulong num_key;
        ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1038:8: error: use of undeclared identifier 'num_key'
        ulong num_key;
              ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1053:66: error: use of undeclared identifier 'num_key'; did you mean 'cur_key'?
                        switch (zend_hash_get_current_key(request_headers, &cur_key, &num_key)) {
                                                                                      ^~~~~~~
                                                                                      cur_key
/usr/local/include/php/Zend/zend_hash.h:248:46: note: expanded from macro 'zend_hash_get_current_key'
        zend_hash_get_current_key_ex(ht, str_index, num_index, &(ht)->nInternalPointer)
                                                    ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1040:15: note: 'cur_key' declared here
        zend_string *cur_key;
                     ^
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1206:48: warning: address of array 'soo->last_location_header' will always evaluate to 'true' [-Wpointer-bool-conversion]
                        if (HTTP_IS_REDIRECT(response_code) && soo->last_location_header) {
                                                            ~~ ~~~~~^~~~~~~~~~~~~~~~~~~~
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:1305:42: warning: format specifies type 'long' but the argument has type 'zend_long' (aka 'int') [-Wformat]
                spprintf(&nonce, 0, "%ld%08x%05x%.8f", php_rand(), sec, usec, php_combined_lcg() * 10);
                                     ~~~               ^~~~~~~~~~
                                     %d
/wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3/oauth.c:2718:36: warning: incompatible pointer types assigning to 'zend_object_write_property_t' (aka 'struct _zval_struct *(*)(struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)') from 'void (zval *, zval *, zval *, void **)' (aka 'void (struct _zval_struct *, struct _zval_struct *, struct _zval_struct *, void **)') [-Wincompatible-pointer-types]
        so_object_handlers.write_property = oauth_write_member;
                                          ^ ~~~~~~~~~~~~~~~~~~
7 warnings and 18 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/pecl-oauth2/work-php74/oauth-2.0.3
*** Error code 1

Stop.
make: stopped in /usr/ports/net/pecl-oauth2



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