=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/php-enchant", "all", "PHP_VERSION_REQD=74", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for php74-enchant-7.4.33nb8 /bin/cp /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/php-enchant/../../lang/php/ext.ini /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.ini --- enchant.lo --- /opt/pkg/bin/mksh /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/libtool --mode=compile clang -std=gnu23 -I. -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant -DPHP_ATOM_INC -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/include -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/main -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/php/7.4/main -I/opt/pkg/include/php/7.4/TSRM -I/opt/pkg/include/php/7.4/Zend -I/opt/pkg/include/php/7.4/ext -I/opt/pkg/include/php/7.4/ext/date/lib -I/opt/pkg/include/enchant-2 -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/libxml2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -DHAVE_CONFIG_H -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/libxml2 -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -c /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c -o enchant.lo libtool: compile: clang -std=gnu23 -I. -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant -DPHP_ATOM_INC -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/include -I/var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/main -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4 -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/main -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/TSRM -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/ext -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/ext/date/lib -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/enchant-2 -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/glib-2.0 -I/var/tmp/work/textproc/php-enchant/work/.buildlink/lib/glib-2.0/include -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/libxml2 -I/var/tmp/work/textproc/php-enchant/work/.buildlink/include/gio-unix-2.0 -DHAVE_CONFIG_H -pipe -Os -c /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c -fno-common -DPIC -o .libs/enchant.o /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:403:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 403 | msg = enchant_broker_get_error(pbroker->pbroker); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:741:4: error: use of undeclared identifier 'enchant_dict_free_suggestions'; did you mean 'enchant_dict_suggest'? 741 | enchant_dict_free_suggestions(pdict->pdict, suggs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | enchant_dict_suggest /var/tmp/work/textproc/php-enchant/work/.buildlink/include/enchant-2/enchant.h:194:8: note: 'enchant_dict_suggest' declared here 194 | char **enchant_dict_suggest (EnchantDict * dict, const char *const word, | ^ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:741:53: error: too few arguments to function call, expected 4, have 2 741 | enchant_dict_free_suggestions(pdict->pdict, suggs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/enchant-2/enchant.h:194:8: note: 'enchant_dict_suggest' declared here 194 | char **enchant_dict_suggest (EnchantDict * dict, const char *const word, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | ssize_t len, size_t * out_n_suggs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:796:3: error: use of undeclared identifier 'enchant_dict_free_suggestions'; did you mean 'enchant_dict_suggest'? 796 | enchant_dict_free_suggestions(pdict->pdict, suggs); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | enchant_dict_suggest /var/tmp/work/textproc/php-enchant/work/.buildlink/include/enchant-2/enchant.h:194:8: note: 'enchant_dict_suggest' declared here 194 | char **enchant_dict_suggest (EnchantDict * dict, const char *const word, | ^ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:796:52: error: too few arguments to function call, expected 4, have 2 796 | enchant_dict_free_suggestions(pdict->pdict, suggs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/enchant-2/enchant.h:194:8: note: 'enchant_dict_suggest' declared here 194 | char **enchant_dict_suggest (EnchantDict * dict, const char *const word, | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 195 | ssize_t len, size_t * out_n_suggs); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:816:2: error: use of undeclared identifier 'enchant_dict_add_to_personal'; did you mean 'zif_enchant_dict_add_to_personal'? 816 | enchant_dict_add_to_personal(pdict->pdict, word, wordlen); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | zif_enchant_dict_add_to_personal /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:803:1: note: 'zif_enchant_dict_add_to_personal' declared here 803 | PHP_FUNCTION(enchant_dict_add_to_personal) | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/main/php.h:382:24: note: expanded from macro 'PHP_FUNCTION' 382 | #define PHP_FUNCTION ZEND_FUNCTION | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:64:52: note: expanded from macro 'ZEND_FUNCTION' 64 | #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(ZEND_FN(name)) | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:61:23: note: expanded from macro 'ZEND_FN' 61 | #define ZEND_FN(name) zif_##name | ^ :63:1: note: expanded from here 63 | zif_enchant_dict_add_to_personal | ^ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:816:51: error: too many arguments to function call, expected 2, have 3 816 | enchant_dict_add_to_personal(pdict->pdict, word, wordlen); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:803:1: note: 'zif_enchant_dict_add_to_personal' declared here 803 | PHP_FUNCTION(enchant_dict_add_to_personal) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/main/php.h:382:24: note: expanded from macro 'PHP_FUNCTION' 382 | #define PHP_FUNCTION ZEND_FUNCTION | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:64:52: note: expanded from macro 'ZEND_FUNCTION' 64 | #define ZEND_FUNCTION(name) ZEND_NAMED_FUNCTION(ZEND_FN(name)) | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:61:23: note: expanded from macro 'ZEND_FN' 61 | #define ZEND_FN(name) zif_##name | ^ :63:1: note: expanded from here 63 | zif_enchant_dict_add_to_personal | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:63:55: note: expanded from macro 'ZEND_NAMED_FUNCTION' 63 | #define ZEND_NAMED_FUNCTION(name) void ZEND_FASTCALL name(INTERNAL_FUNCTION_PARAMETERS) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:854:14: error: use of undeclared identifier 'enchant_dict_is_in_session'; did you mean 'enchant_dict_add_to_session'? 854 | RETURN_BOOL(enchant_dict_is_in_session(pdict->pdict, word, wordlen)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | enchant_dict_add_to_session /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:639:43: note: expanded from macro 'RETURN_BOOL' 639 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:620:52: note: expanded from macro 'RETVAL_BOOL' 620 | #define RETVAL_BOOL(b) ZVAL_BOOL(return_value, b) | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_types.h:775:5: note: expanded from macro 'ZVAL_BOOL' 775 | (b) ? IS_TRUE : IS_FALSE; \ | ^ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/enchant-2/enchant.h:214:6: note: 'enchant_dict_add_to_session' declared here 214 | void enchant_dict_add_to_session (EnchantDict * dict, const char *const word, ssize_t len); | ^ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:854:2: error: used type 'void' where arithmetic or pointer type is required 854 | RETURN_BOOL(enchant_dict_is_in_session(pdict->pdict, word, wordlen)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:639:31: note: expanded from macro 'RETURN_BOOL' 639 | #define RETURN_BOOL(b) { RETVAL_BOOL(b); return; } | ^~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_API.h:620:28: note: expanded from macro 'RETVAL_BOOL' 620 | #define RETVAL_BOOL(b) ZVAL_BOOL(return_value, b) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/work/textproc/php-enchant/work/.buildlink/include/php/7.4/Zend/zend_types.h:775:8: note: expanded from macro 'ZVAL_BOOL' 775 | (b) ? IS_TRUE : IS_FALSE; \ | ~~~ ^ /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant/enchant.c:895:6: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] 895 | msg = enchant_dict_get_error(pdict->pdict); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 8 errors generated. *** [enchant.lo] Error code 1 bmake: stopped making "all" in /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant bmake: 1 error bmake: stopped making "all" in /var/tmp/work/textproc/php-enchant/work/php-7.4.33/ext/enchant *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/php-enchant *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/textproc/php-enchant