+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=81 WRKLOG=/tmp/bulklog/php81-geoip-1.1.1/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PHP_VERSION_REQD=81 WRKLOG=/tmp/bulklog/php81-geoip-1.1.1/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 ===> Building for php81-geoip-1.1.1 /bin/cp /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/php-geoip/../../lang/php/ext.ini /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.ini /usr/bin/bash /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/libtool --mode=compile gcc -I. -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1 -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1/include -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1/main -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1 -I/opt/local/include/php -I/opt/local/include/php/main -I/opt/local/include/php/TSRM -I/opt/local/include/php/Zend -I/opt/local/include/php/ext -I/opt/local/include/php/ext/date/lib -I/home/pbulk/build/net/php-geoip/work/.buildlink/include -I/opt/local/include -I/usr/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -DZEND_COMPILE_DL_EXT=1 -c /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c -o geoip.lo -MMD -MF geoip.dep -MT geoip.lo libtool: compile: gcc -I. -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1 -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1/include -I/home/pbulk/build/net/php-geoip/work/geoip-1.1.1/main -I/home/pbulk/build/net/php-geoip/work/.buildlink/include/php -I/home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main -I/home/pbulk/build/net/php-geoip/work/.buildlink/include/php/TSRM -I/home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend -I/home/pbulk/build/net/php-geoip/work/.buildlink/include/php/ext -I/home/pbulk/build/net/php-geoip/work/.buildlink/include/php/ext/date/lib -I/home/pbulk/build/net/php-geoip/work/.buildlink/include -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -DZEND_COMPILE_DL_EXT=1 -c /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c -MMD -MF geoip.dep -MT geoip.lo -fPIC -DPIC -o .libs/geoip.o /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'OnUpdateDirectory': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:141:74: error: expected ')' before 'TSRMLS_CC' 141 | return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); | ^~~~~~~~~~ | ) /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_db_avail': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:264:44: error: expected ')' before 'TSRMLS_CC' 264 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:264:6: error: too few arguments to function 'zend_parse_parameters' 264 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:270:25: error: expected ')' before 'TSRMLS_CC' 270 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:270:3: error: too few arguments to function 'php_error_docref' 270 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_db_filename': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:283:44: error: expected ')' before 'TSRMLS_CC' 283 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:283:6: error: too few arguments to function 'zend_parse_parameters' 283 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:289:25: error: expected ')' before 'TSRMLS_CC' 289 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:289:3: error: too few arguments to function 'php_error_docref' 289 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_database_info': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:354:44: error: expected ')' before 'TSRMLS_CC' 354 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:354:6: error: too few arguments to function 'zend_parse_parameters' 354 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:360:25: error: expected ')' before 'TSRMLS_CC' 360 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:360:3: error: too few arguments to function 'php_error_docref' 360 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:368:26: error: expected ')' before 'TSRMLS_CC' 368 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:368:4: error: too few arguments to function 'php_error_docref' 368 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:370:26: error: expected ')' before 'TSRMLS_CC' 370 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available."); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:370:4: error: too few arguments to function 'php_error_docref' 370 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available."); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' 20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' 20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' 20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' 20 | GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code3_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' 21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' 21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' 21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' 21 | GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_name_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' 22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' 22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' 22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' 22 | GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code_by_name_v6': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' 25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' 25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' 25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' 25 | GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code3_by_name_v6': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' 26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' 26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' 26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' 26 | GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_name_by_name_v6': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' 27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' 396 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' 27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' 27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' 403 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' 27 | GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) | ^~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_continent_code_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:461:44: error: expected ')' before 'TSRMLS_CC' 461 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:461:6: error: too few arguments to function 'zend_parse_parameters' 461 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:468:25: error: expected ')' before 'TSRMLS_CC' 468 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:468:3: error: too few arguments to function 'php_error_docref' 468 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_org_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:498:44: error: expected ')' before 'TSRMLS_CC' 498 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:498:6: error: too few arguments to function 'zend_parse_parameters' 498 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:505:25: error: expected ')' before 'TSRMLS_CC' 505 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ORG_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:505:3: error: too few arguments to function 'php_error_docref' 505 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ORG_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_asnum_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:536:44: error: expected ')' before 'TSRMLS_CC' 536 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:536:6: error: too few arguments to function 'zend_parse_parameters' 536 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:543:25: error: expected ')' before 'TSRMLS_CC' 543 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ASNUM_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:543:3: error: too few arguments to function 'php_error_docref' 543 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ASNUM_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_domain_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:574:44: error: expected ')' before 'TSRMLS_CC' 574 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:574:6: error: too few arguments to function 'zend_parse_parameters' 574 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:581:25: error: expected ')' before 'TSRMLS_CC' 581 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_DOMAIN_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:581:3: error: too few arguments to function 'php_error_docref' 581 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_DOMAIN_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_netspeedcell_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:613:44: error: expected ')' before 'TSRMLS_CC' 613 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:613:6: error: too few arguments to function 'zend_parse_parameters' 613 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:620:25: error: expected ')' before 'TSRMLS_CC' 620 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION_REV1]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:620:3: error: too few arguments to function 'php_error_docref' 620 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION_REV1]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_record_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:652:44: error: expected ')' before 'TSRMLS_CC' 652 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:652:6: error: too few arguments to function 'zend_parse_parameters' 652 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:663:25: error: expected ')' before 'TSRMLS_CC' 663 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_CITY_EDITION_REV0]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:663:3: error: too few arguments to function 'php_error_docref' 663 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_CITY_EDITION_REV0]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_id_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:722:44: error: expected ')' before 'TSRMLS_CC' 722 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:722:6: error: too few arguments to function 'zend_parse_parameters' 722 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:729:25: error: expected ')' before 'TSRMLS_CC' 729 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:729:3: error: too few arguments to function 'php_error_docref' 729 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_region_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:752:44: error: expected ')' before 'TSRMLS_CC' 752 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:752:6: error: too few arguments to function 'zend_parse_parameters' 752 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:763:25: error: expected ')' before 'TSRMLS_CC' 763 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_REGION_EDITION_REV0]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:763:3: error: too few arguments to function 'php_error_docref' 763 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_REGION_EDITION_REV0]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_isp_by_name': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:800:44: error: expected ')' before 'TSRMLS_CC' 800 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:800:6: error: too few arguments to function 'zend_parse_parameters' 800 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:807:25: error: expected ')' before 'TSRMLS_CC' 807 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ISP_EDITION]); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:807:3: error: too few arguments to function 'php_error_docref' 807 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ISP_EDITION]); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_region_name_by_code': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:838:44: error: expected ')' before 'TSRMLS_CC' 838 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, ®ion_code, ®ionlen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:838:6: error: too few arguments to function 'zend_parse_parameters' 838 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, ®ion_code, ®ionlen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:843:25: error: expected ')' before 'TSRMLS_CC' 843 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify the country and region codes."); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:843:3: error: too few arguments to function 'php_error_docref' 843 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify the country and region codes."); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_time_zone_by_country_and_region': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:874:44: error: expected ')' before 'TSRMLS_CC' 874 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, ®ion, &arg2len) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:874:6: error: too few arguments to function 'zend_parse_parameters' 874 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, ®ion, &arg2len) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:879:25: error: expected ')' before 'TSRMLS_CC' 879 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify at least the country code."); | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:879:3: error: too few arguments to function 'php_error_docref' 879 | php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify at least the country code."); | ^~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:327:23: note: declared here 327 | PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) | ^~~~~~~~~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_setup_custom_directory': /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:908:44: error: expected ')' before 'TSRMLS_CC' 908 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) { | ^~~~~~~~~ /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:908:6: error: too few arguments to function 'zend_parse_parameters' 908 | if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) { | ^~~~~~~~~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/main/php.h:35, from /home/pbulk/build/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /home/pbulk/build/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:335:22: note: declared here 335 | ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); | ^~~~~~~~~~~~~~~~~~~~~ *** [geoip.lo] Error code 1 bmake: stopped in /home/pbulk/build/net/php-geoip/work/geoip-1.1.1 1 error bmake: stopped in /home/pbulk/build/net/php-geoip/work/geoip-1.1.1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/php-geoip *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/net/php-geoip