=> Bootstrap dependency digest>=20211023: found digest-20211023 ===> Skipping vulnerability checks. WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for php80-geoip-1.1.1 /bin/cp /amd/pkgsrc/CHROOT/P/pkgsrc/net/php-geoip/../../lang/php/ext.ini /tmp/net/php-geoip/work/geoip-1.1.1/geoip.ini --- geoip.lo --- /bin/sh /tmp/net/php-geoip/work/geoip-1.1.1/libtool --mode=compile gcc -I. -I/tmp/net/php-geoip/work/geoip-1.1.1 -I/tmp/net/php-geoip/work/geoip-1.1.1/include -I/tmp/net/php-geoip/work/geoip-1.1.1/main -I/tmp/net/php-geoip/work/geoip-1.1.1 -I/usr/pkg/include/php -I/usr/pkg/include/php/main -I/usr/pkg/include/php/TSRM -I/usr/pkg/include/php/Zend -I/usr/pkg/include/php/ext -I/usr/pkg/include/php/ext/date/lib -I/tmp/net/php-geoip/work/.buildlink/include -I/usr/pkg/include -I/usr/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -c /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c -o geoip.lo libtool: compile: gcc -I. -I/tmp/net/php-geoip/work/geoip-1.1.1 -I/tmp/net/php-geoip/work/geoip-1.1.1/include -I/tmp/net/php-geoip/work/geoip-1.1.1/main -I/tmp/net/php-geoip/work/.buildlink/include/php -I/tmp/net/php-geoip/work/.buildlink/include/php/main -I/tmp/net/php-geoip/work/.buildlink/include/php/TSRM -I/tmp/net/php-geoip/work/.buildlink/include/php/Zend -I/tmp/net/php-geoip/work/.buildlink/include/php/ext -I/tmp/net/php-geoip/work/.buildlink/include/php/ext/date/lib -I/tmp/net/php-geoip/work/.buildlink/include -DHAVE_CONFIG_H -O2 -fPIC -D_FORTIFY_SOURCE=2 -c /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c -fPIC -DPIC -o .libs/geoip.o /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'OnUpdateDirectory': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:141:75: error: expected ')' before 'TSRMLS_CC' return OnUpdateString(entry, new_value, mh_arg1, mh_arg2, mh_arg3, stage TSRMLS_CC); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_db_avail': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:264:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:264:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:270:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:270:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_db_filename': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:283:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:283:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "l", &edition) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:289:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:289:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_database_info': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:354:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:354:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|l", &edition) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:360:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:360:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Database type given is out of bound."); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:368:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:368:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:370:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available."); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:370:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available."); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:20:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name, GeoIP_country_code_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code3_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:21:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name, GeoIP_country_code3_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_name_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:22:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name, GeoIP_country_name_by_name, GEOIP_COUNTRY_EDITION) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code_by_name_v6': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:25:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code_by_name_v6, GeoIP_country_code_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_code3_by_name_v6': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:26:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_code3_by_name_v6, GeoIP_country_code3_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def: In function 'zif_geoip_country_name_by_name_v6': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:45: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:396:7: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:26: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:403:4: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[db_type]); \ ^ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.def:27:1: note: in expansion of macro 'GEOIPDEF' GEOIPDEF(geoip_country_name_by_name_v6, GeoIP_country_name_by_name_v6, GEOIP_COUNTRY_EDITION_V6) ^~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_continent_code_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:461:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:461:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:468:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:468:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_COUNTRY_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_org_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:498:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:498:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:505:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ORG_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:505:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ORG_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_asnum_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:536:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:536:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:543:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ASNUM_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:543:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ASNUM_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_domain_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:574:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:574:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:581:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_DOMAIN_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:581:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_DOMAIN_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_netspeedcell_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:613:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:613:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:620:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION_REV1]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:620:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION_REV1]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_record_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:652:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:652:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:663:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_CITY_EDITION_REV0]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:663:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_CITY_EDITION_REV0]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_id_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:722:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:722:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:729:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:729:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_NETSPEED_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_region_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:752:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:752:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:763:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_REGION_EDITION_REV0]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:763:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_REGION_EDITION_REV0]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_isp_by_name': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:800:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:800:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &hostname, &arglen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:807:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ISP_EDITION]); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:807:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "Required database not available at %s.", GeoIPDBFileName[GEOIP_ISP_EDITION]); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_region_name_by_code': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:838:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, ®ion_code, ®ionlen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:838:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "ss", &country_code, &countrylen, ®ion_code, ®ionlen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:843:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify the country and region codes."); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:843:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify the country and region codes."); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_time_zone_by_country_and_region': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:874:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, ®ion, &arg2len) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:874:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|s", &country, &countrylen, ®ion, &arg2len) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:879:25: error: expected ')' before 'TSRMLS_CC' php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify at least the country code."); ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:879:3: error: too few arguments to function 'php_error_docref' php_error_docref(NULL TSRMLS_CC, E_WARNING, "You need to specify at least the country code."); ^~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32:0: /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:341:23: note: declared here PHPAPI ZEND_COLD void php_error_docref(const char *docref, int type, const char *format, ...) ^~~~~~~~~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c: In function 'zif_geoip_setup_custom_directory': /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:908:44: error: expected ')' before 'TSRMLS_CC' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) { ^~~~~~~~~ /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:908:6: error: too few arguments to function 'zend_parse_parameters' if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s", &dir, &dirlen) == FAILURE) { ^~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/net/php-geoip/work/.buildlink/include/php/main/php.h:35:0, from /tmp/net/php-geoip/work/geoip-1.1.1/geoip.c:32: /tmp/net/php-geoip/work/.buildlink/include/php/Zend/zend_API.h:304:22: note: declared here ZEND_API zend_result zend_parse_parameters(uint32_t num_args, const char *type_spec, ...); ^~~~~~~~~~~~~~~~~~~~~ *** [geoip.lo] Error code 1 make: stopped in /tmp/net/php-geoip/work/geoip-1.1.1 1 error make: stopped in /tmp/net/php-geoip/work/geoip-1.1.1 *** Error code 2 Stop. make[1]: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/php-geoip *** Error code 1 Stop. make: stopped in /amd/pkgsrc/CHROOT/P/pkgsrc/net/php-geoip