=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for php70-imagick-3.1.2 --- imagick_file.lo --- --- imagick_class.lo --- --- imagick_file.lo --- /bin/sh /scratch/graphics/php-imagick/work/imagick-3.1.2/libtool --mode=compile gcc -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -I. -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -DPHP_ATOM_INC -I/scratch/graphics/php-imagick/work/imagick-3.1.2/include -I/scratch/graphics/php-imagick/work/imagick-3.1.2/main -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -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/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c -o imagick_file.lo --- imagick_class.lo --- /bin/sh /scratch/graphics/php-imagick/work/imagick-3.1.2/libtool --mode=compile gcc -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -I. -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -DPHP_ATOM_INC -I/scratch/graphics/php-imagick/work/imagick-3.1.2/include -I/scratch/graphics/php-imagick/work/imagick-3.1.2/main -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -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/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c -o imagick_class.lo --- imagick_file.lo --- mkdir .libs gcc -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -I. -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -DPHP_ATOM_INC -I/scratch/graphics/php-imagick/work/imagick-3.1.2/include -I/scratch/graphics/php-imagick/work/imagick-3.1.2/main -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -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/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c -fPIC -DPIC -o .libs/imagick_file.o --- imagick_class.lo --- gcc -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -I. -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -DPHP_ATOM_INC -I/scratch/graphics/php-imagick/work/imagick-3.1.2/include -I/scratch/graphics/php-imagick/work/imagick-3.1.2/main -I/scratch/graphics/php-imagick/work/imagick-3.1.2 -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/usr/pkg/include/ImageMagick-6 -I/usr/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -I/usr/pkg/include -I/usr/X11R7/include -I/usr/include -I/usr/X11R7/include/freetype2 -c /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c -fPIC -DPIC -o .libs/imagick_class.o /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_pingimagefile': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:46:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval(stream, &zstream); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:28:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagematte': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:276:2: warning: 'MagickGetImageMatte' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:82) [-Wdeprecated-declarations] matte = MagickGetImageMatte(intern->magick_wand); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageproperty': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:797:45: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)value, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:797:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, (char *)value, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:797:3: note: each undeclared identifier is reported only once for each function it appears in /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_paintfloodfillimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1034:3: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:99) [-Wdeprecated-declarations] status = MagickPaintFloodfillImage(intern->magick_wand, channel, intern_fill->pixel_wand, fuzz, NULL, x, y); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1037:3: warning: 'MagickPaintFloodfillImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:99) [-Wdeprecated-declarations] status = MagickPaintFloodfillImage(intern->magick_wand, channel, intern_fill->pixel_wand, fuzz, intern_border->pixel_wand, x, y); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageproperties': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1113:61: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, properties[i], property, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1113:4: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, properties[i], property, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1120:4: error: too many arguments to function 'add_next_index_string' add_next_index_string(return_value, properties[i], 1); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageprofiles': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1161:67: error: macro "add_assoc_stringl" passed 5 arguments, but takes just 4 add_assoc_stringl(return_value, profiles[i], profile, length, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1161:4: error: 'add_assoc_stringl' undeclared (first use in this function) add_assoc_stringl(return_value, profiles[i], profile, length, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1168:4: error: too many arguments to function 'add_next_index_string' add_next_index_string(return_value, profiles[i], 1); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_writeimagefile': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1233:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval(stream, &zstream); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:28:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_writeimagesfile': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1262:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval(stream, &zstream); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:28:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_recolorimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1420:2: warning: 'MagickRecolorImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:113) [-Wdeprecated-declarations] status = MagickRecolorImage(intern->magick_wand, order, array); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getfont': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1499:36: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, font, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:1499:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, font, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageartifact': --- imagick_file.lo --- /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c: In function 'php_imagick_is_url': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c:52:2: warning: passing argument 2 of 'php_stream_locate_url_wrapper' from incompatible pointer type [enabled by default] if (php_stream_locate_url_wrapper(filename, &path_for_open, STREAM_LOCATE_WRAPPERS_ONLY TSRMLS_CC)) { ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:394:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php_streams.h:569:28: note: expected 'const char **' but argument is of type 'char **' PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const char **path_for_open, int options); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c: In function 'php_imagick_read_image_using_php_streams': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c:156:58: error: 'ENFORCE_SAFE_MODE' undeclared (first use in this function) stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_ERRORS, NULL); ^ /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php_streams.h:572:107: note: in definition of macro 'php_stream_open_wrapper' #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_file.c:156:58: note: each undeclared identifier is reported only once for each function it appears in stream = php_stream_open_wrapper(file->filename, "rb", (ENFORCE_SAFE_MODE|IGNORE_PATH) & ~REPORT_ERRORS, NULL); ^ /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php_streams.h:572:107: note: in definition of macro 'php_stream_open_wrapper' #define php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mode), (options), (opened), NULL STREAMS_CC) ^ *** [imagick_file.lo] Error code 1 make: stopped in /scratch/graphics/php-imagick/work/imagick-3.1.2 --- imagick_class.lo --- /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2408:24: error: macro "RETVAL_STRING" passed 2 arguments, but takes just 1 RETVAL_STRING(value, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2408:2: error: 'RETVAL_STRING' undeclared (first use in this function) RETVAL_STRING(value, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick___construct': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2523:4: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_data_ex(Z_ARRVAL_P(files), (void**)&ppzval, &pos) == FAILURE) { ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend.h:36:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_hash.h:171:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2523:4: error: too many arguments to function 'zend_hash_get_current_data_ex' if (zend_hash_get_current_data_ex(Z_ARRVAL_P(files), (void**)&ppzval, &pos) == FAILURE) { ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend.h:36:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_hash.h:171:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2523:80: warning: comparison between pointer and integer [enabled by default] if (zend_hash_get_current_data_ex(Z_ARRVAL_P(files), (void**)&ppzval, &pos) == FAILURE) { ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2527:4: warning: passing argument 2 of 'php_imagick_file_init' makes pointer from integer without a cast [enabled by default] if (!php_imagick_file_init(&file, Z_STRVAL_PP(ppzval), Z_STRLEN_PP(ppzval) TSRMLS_CC)) { ^ In file included from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:25:0: /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick_file.h:62:11: note: expected 'const char *' but argument is of type 'int' zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2535:5: warning: passing argument 1 of '_estrdup' makes pointer from integer without a cast [enabled by default] filename = estrdup(Z_STRVAL_PP(ppzval)); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend.h:33:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_alloc.h:84:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick___tostring': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2563:34: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, "", 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2563:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, "", 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2570:34: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, "", 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2577:57: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(return_value, (char *)image, image_size, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2577:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(return_value, (char *)image, image_size, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_queryformats': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2601:3: error: too many arguments to function 'add_next_index_string' add_next_index_string(return_value, supported_formats[i], 1); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_queryfonts': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2628:3: error: too many arguments to function 'add_next_index_string' add_next_index_string(return_value, fonts[i], 1); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_readimages': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2825:3: warning: passing argument 2 of 'zend_hash_get_current_data_ex' from incompatible pointer type [enabled by default] if (zend_hash_get_current_data_ex(Z_ARRVAL_P(files), (void**)&ppzval, &pos) == FAILURE) { ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend.h:36:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_hash.h:171:30: note: expected 'HashPosition *' but argument is of type 'void **' ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2825:3: error: too many arguments to function 'zend_hash_get_current_data_ex' if (zend_hash_get_current_data_ex(Z_ARRVAL_P(files), (void**)&ppzval, &pos) == FAILURE) { ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend.h:36:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_hash.h:171:30: note: declared here ZEND_API zval* ZEND_FASTCALL zend_hash_get_current_data_ex(HashTable *ht, HashPosition *pos); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2825:79: warning: comparison between pointer and integer [enabled by default] if (zend_hash_get_current_data_ex(Z_ARRVAL_P(files), (void**)&ppzval, &pos) == FAILURE) { ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2829:3: warning: passing argument 2 of 'php_imagick_file_init' makes pointer from integer without a cast [enabled by default] if (!php_imagick_file_init(&file, Z_STRVAL_PP(ppzval), Z_STRLEN_PP(ppzval) TSRMLS_CC)) { ^ In file included from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:25:0: /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick_file.h:62:11: note: expected 'const char *' but argument is of type 'int' zend_bool php_imagick_file_init(struct php_imagick_file_t *file, const char *filename, size_t filename_len TSRMLS_DC); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2837:4: warning: passing argument 1 of '_estrdup' makes pointer from integer without a cast [enabled by default] filename = estrdup(Z_STRVAL_PP(ppzval)); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend.h:33:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:35, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_alloc.h:84:31: note: expected 'const char *' but argument is of type 'int' ZEND_API char* ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC) ZEND_ATTRIBUTE_MALLOC; ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_readimagefile': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:2893:2: warning: passing argument 1 of 'zend_fetch_resource2_ex' from incompatible pointer type [enabled by default] php_stream_from_zval(stream, &zstream); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:28:0, from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_list.h:66:16: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API void *zend_fetch_resource2_ex(zval *res, const char *resource_type_name, int resource_type, int resource_type2); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_colorfloodfillimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:3423:2: warning: 'MagickColorFloodfillImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:75) [-Wdeprecated-declarations] status = MagickColorFloodfillImage(intern->magick_wand, intern_fill->pixel_wand, fuzz, intern_border->pixel_wand, x, y); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_mapimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:3763:2: warning: 'MagickMapImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:86) [-Wdeprecated-declarations] status = MagickMapImage(intern->magick_wand, intern_map->magick_wand, dither); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_mattefloodfillimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:3796:2: warning: 'MagickMatteFloodfillImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:88) [-Wdeprecated-declarations] status = MagickMatteFloodfillImage(intern->magick_wand, alpha, fuzz, internp->pixel_wand, x, y); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_medianfilterimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:3823:2: warning: 'MagickMedianFilterImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/magick-image.h:221) [-Wdeprecated-declarations] status = MagickMedianFilterImage(intern->magick_wand, radius); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_paintopaqueimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:3886:2: warning: 'MagickPaintOpaqueImageChannel' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:104) [-Wdeprecated-declarations] status = MagickPaintOpaqueImageChannel(intern->magick_wand, channel, intern_target->pixel_wand, intern_fill->pixel_wand, fuzz); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_painttransparentimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:3949:2: warning: 'MagickPaintTransparentImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:107) [-Wdeprecated-declarations] status = MagickPaintTransparentImage(intern->magick_wand, internp->pixel_wand, alpha, fuzz); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_reducenoiseimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:4092:2: warning: 'MagickReduceNoiseImage' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/magick-image.h:268) [-Wdeprecated-declarations] status = MagickReduceNoiseImage(intern->magick_wand, radius); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_removeimageprofile': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:4131:46: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, (char *)profile, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:4131:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, (char *)profile, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageattribute': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5101:2: warning: 'MagickGetImageAttribute' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:59) [-Wdeprecated-declarations] attribute = MagickGetImageAttribute(intern->magick_wand, key); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5107:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, attribute, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5107:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, attribute, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagechannelextrema': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5288:2: warning: 'MagickGetImageChannelExtrema' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:78) [-Wdeprecated-declarations] status = MagickGetImageChannelExtrema(intern->magick_wand, channel_type, &minima, &maxima); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageextrema': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5542:2: warning: 'MagickGetImageExtrema' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:80) [-Wdeprecated-declarations] status = MagickGetImageExtrema(intern->magick_wand, &min, &max); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageprofile': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5857:48: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(return_value, profile, length, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5857:3: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(return_value, profile, length, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagesignature': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5982:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, signature, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:5982:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, signature, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageindex': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6383:2: warning: 'MagickGetImageIndex' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:65) [-Wdeprecated-declarations] status = MagickGetImageIndex(intern->magick_wand); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_setimageindex': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6408:2: warning: 'MagickSetImageIndex' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:117) [-Wdeprecated-declarations] status = MagickSetImageIndex(intern->magick_wand, index); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagefilename': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6468:39: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, filename, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6468:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, filename, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagesize': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6486:2: warning: 'MagickGetImageSize' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:144) [-Wdeprecated-declarations] ZVAL_LONG(return_value, (long)MagickGetImageSize(intern->magick_wand)); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageblob': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6515:66: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(return_value, (char *)image_contents, image_size, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6515:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(return_value, (char *)image_contents, image_size, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagesblob': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6573:66: error: macro "ZVAL_STRINGL" passed 4 arguments, but takes just 3 ZVAL_STRINGL(return_value, (char *)image_contents, image_size, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6573:2: error: 'ZVAL_STRINGL' undeclared (first use in this function) ZVAL_STRINGL(return_value, (char *)image_contents, image_size, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimageformat': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6596:37: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, format, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6596:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, format, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getimagemimetype': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6626:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, mime_type, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6626:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, mime_type, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 's_add_assoc_str': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6636:59: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string (array, key, value ? value : "", copy); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6636:5: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string (array, key, value ? value : "", copy); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 's_add_named_strings': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6672:3: warning: passing argument 1 of 'php_trim' from incompatible pointer type [enabled by default] char *trim = php_trim (line, strlen(line), NULL, 0, NULL, 3 TSRMLS_CC); ^ In file included from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:61:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/ext/standard/php_string.h:135:21: note: expected 'struct zend_string *' but argument is of type 'char *' PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6672:3: warning: passing argument 2 of 'php_trim' makes pointer from integer without a cast [enabled by default] char *trim = php_trim (line, strlen(line), NULL, 0, NULL, 3 TSRMLS_CC); ^ In file included from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:61:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/ext/standard/php_string.h:135:21: note: expected 'char *' but argument is of type 'size_t' PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6672:3: warning: passing argument 3 of 'php_trim' makes integer from pointer without a cast [enabled by default] char *trim = php_trim (line, strlen(line), NULL, 0, NULL, 3 TSRMLS_CC); ^ In file included from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:61:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/ext/standard/php_string.h:135:21: note: expected 'size_t' but argument is of type 'void *' PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6672:3: error: too many arguments to function 'php_trim' char *trim = php_trim (line, strlen(line), NULL, 0, NULL, 3 TSRMLS_CC); ^ In file included from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:61:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/ext/standard/php_string.h:135:21: note: declared here PHPAPI zend_string *php_trim(zend_string *str, char *what, size_t what_len, int mode); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6672:16: warning: initialization from incompatible pointer type [enabled by default] char *trim = php_trim (line, strlen(line), NULL, 0, NULL, 3 TSRMLS_CC); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6677:75: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string (array, arr_keys [i], trim + strlen (str_keys [i]), 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6677:5: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string (array, arr_keys [i], trim + strlen (str_keys [i]), 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_identifyimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6755:59: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string (return_value, "rawOutput", identify, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6755:3: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string (return_value, "rawOutput", identify, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_setimageattribute': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:6861:2: warning: 'MagickSetImageAttribute' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:115) [-Wdeprecated-declarations] status = MagickSetImageAttribute(intern->magick_wand, key, attribute); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_flattenimages': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:7108:2: warning: 'MagickFlattenImages' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:136) [-Wdeprecated-declarations] tmp_wand = MagickFlattenImages(intern->magick_wand); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_averageimages': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:8154:2: warning: 'MagickAverageImages' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:135) [-Wdeprecated-declarations] tmp_wand = MagickAverageImages(intern->magick_wand); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_mosaicimages': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:8593:2: warning: 'MagickMosaicImages' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:139) [-Wdeprecated-declarations] tmp_wand = MagickMosaicImages(intern->magick_wand); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_radialblurimage': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:8712:2: warning: 'MagickRadialBlurImageChannel' is deprecated (declared at /scratch/graphics/php-imagick/work/.buildlink/include/ImageMagick-6/wand/deprecate.h:111) [-Wdeprecated-declarations] status = MagickRadialBlurImageChannel(intern->magick_wand, channel, angle); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getpixeliterator': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:8951:2: error: too many arguments to function 'add_next_index_string' add_next_index_string(method_array, "newpixeliterator", 1); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:8954:2: warning: passing argument 6 of 'call_user_function' from incompatible pointer type [enabled by default] call_user_function(EG(function_table), NULL, method_array, &retval, 1, args TSRMLS_CC); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:471:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[]); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getpixelregioniterator': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:8996:2: error: too many arguments to function 'add_next_index_string' add_next_index_string(method_array, "newpixelregioniterator", 1); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:432:14: note: declared here ZEND_API int add_next_index_string(zval *arg, const char *str); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9003:2: warning: passing argument 6 of 'call_user_function' from incompatible pointer type [enabled by default] call_user_function(EG(function_table), NULL, method_array, &retval, 5, args TSRMLS_CC); ^ In file included from /scratch/graphics/php-imagick/work/.buildlink/include/php/main/php.h:39:0, from /scratch/graphics/php-imagick/work/imagick-3.1.2/php_imagick.h:40, from /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:21: /scratch/graphics/php-imagick/work/.buildlink/include/php/Zend/zend_API.h:471:14: note: expected 'struct zval *' but argument is of type 'struct zval **' ZEND_API int call_user_function(HashTable *function_table, zval *object, zval *function_name, zval *retval_ptr, uint32_t param_count, zval params[]); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getcopyright': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9060:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, copyright, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9060:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, copyright, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getfilename': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9081:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, filename, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9081:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, filename, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getformat': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9104:38: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, format, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9104:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, format, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_gethomeurl': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9124:40: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, home_url, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9124:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, home_url, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getoption': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9165:37: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, value, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9165:3: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, value, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getpackagename': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9184:43: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, package_name, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9184:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, package_name, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getquantumdepth': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9235:71: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "quantumDepthString", quantum_depth, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9235:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "quantumDepthString", quantum_depth, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getquantumrange': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9257:71: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "quantumRangeString", quantum_range, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9257:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "quantumRangeString", quantum_range, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getreleasedate': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9274:43: error: macro "ZVAL_STRING" passed 3 arguments, but takes just 2 ZVAL_STRING(return_value, release_date, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9274:2: error: 'ZVAL_STRING' undeclared (first use in this function) ZVAL_STRING(return_value, release_date, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c: In function 'zim_imagick_getversion': /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9380:67: error: macro "add_assoc_string" passed 4 arguments, but takes just 3 add_assoc_string(return_value, "versionString", version_string, 1); ^ /scratch/graphics/php-imagick/work/imagick-3.1.2/imagick_class.c:9380:2: error: 'add_assoc_string' undeclared (first use in this function) add_assoc_string(return_value, "versionString", version_string, 1); ^ *** [imagick_class.lo] Error code 1 make: stopped in /scratch/graphics/php-imagick/work/imagick-3.1.2 2 errors make: stopped in /scratch/graphics/php-imagick/work/imagick-3.1.2 *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/graphics/php-imagick *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/graphics/php-imagick