=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent", "PHP_VERSION_REQD=74"] ===> Building for php74-gd-7.4.33nb13 /bin/cp /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd/../../lang/php/ext.ini /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.ini --- gd.lo --- --- gd_compat.lo --- --- gd.lo --- /usr/bin/bash /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/libtool --mode=compile gcc -I. -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/main -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -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 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/fribidi -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/webp -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggres--- gd_compat.lo --- /usr/bin/bash /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/libtool --mode=compile gcc -I. -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/main -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -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 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/lib/glib-2.0/include -I/opt/pkg/include/fribidi -I/opt/pkg/include/freetype2 -I/opt/pkg/include/libpng16 -I/opt/pkg/include/webp -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggres--- gd.lo --- sive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/libxml2 -c /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c -o gd.lo --- gd_compat.lo --- sive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/php/7.4 -I/opt/pkg/include/libxml2 -c /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_compat.c -o gd_compat.lo --- gd.lo --- libtool: compile: gcc -I. -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4 -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/TSRM -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/Zend -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/ext -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/harfbuzz -I/tmp/work/graphics/php-gd/work/.buildlink/include/glib-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/lib/glib-2.0/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/fribidi -I/tmp/work/graphics/php-gd/work/.buildlink/include/freetype2 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libpng16 -I/tmp/work/graphics/php-gd/work/.buildlink/include/webp -I/tmp/work/graphics/php-gd/work/.buildlink/include/gio-unix-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c -fPIC -DPIC -o .libs/gd.o --- gd_compat.lo --- libtool: compile: gcc -I. -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4 -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/TSRM -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/Zend -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/ext -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/harfbuzz -I/tmp/work/graphics/php-gd/work/.buildlink/include/glib-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/lib/glib-2.0/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/fribidi -I/tmp/work/graphics/php-gd/work/.buildlink/include/freetype2 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libpng16 -I/tmp/work/graphics/php-gd/work/.buildlink/include/webp -I/tmp/work/graphics/php-gd/work/.buildlink/include/gio-unix-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_compat.c -fPIC -DPIC -o .libs/gd_compat.o libtool: compile: gcc -I. -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd -DPHP_ATOM_INC -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/include -I/tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4 -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/main -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/TSRM -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/Zend -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/ext -I/tmp/work/graphics/php-gd/work/.buildlink/include/php/7.4/ext/date/lib -I/tmp/work/graphics/php-gd/work/.buildlink/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/harfbuzz -I/tmp/work/graphics/php-gd/work/.buildlink/include/glib-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/lib/glib-2.0/include -I/tmp/work/graphics/php-gd/work/.buildlink/include/fribidi -I/tmp/work/graphics/php-gd/work/.buildlink/include/freetype2 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libpng16 -I/tmp/work/graphics/php-gd/work/.buildlink/include/webp -I/tmp/work/graphics/php-gd/work/.buildlink/include/gio-unix-2.0 -I/tmp/work/graphics/php-gd/work/.buildlink/include/libxml2 -DHAVE_CONFIG_H -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_compat.c -o gd_compat.o >/dev/null 2>&1 --- gd.lo --- In file included from /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:98: /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c: In function '_php_image_output_ctx': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:180:26: error: too many arguments to function 'func_p'; expected 0, have 3 180 | (*func_p)(im, ctx, q); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:186:26: error: too many arguments to function 'func_p'; expected 0, have 3 186 | (*func_p)(im, ctx, q); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:189:26: error: too many arguments to function 'func_p'; expected 0, have 4 189 | (*func_p)(im, ctx, q, f); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:200:34: error: too many arguments to function 'func_p'; expected 0, have 4 200 | (*func_p)(im, file ? file : "", q, ctx); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:202:34: error: too many arguments to function 'func_p'; expected 0, have 3 202 | (*func_p)(im, q, ctx); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:206:26: error: too many arguments to function 'func_p'; expected 0, have 3 206 | (*func_p)(im, ctx, (int) compressed); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:209:26: error: too many arguments to function 'func_p'; expected 0, have 2 209 | (*func_p)(im, ctx); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function '_php_image_create_from_string': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2344:15: error: too many arguments to function 'ioctx_func_p'; expected 0, have 1 2344 | im = (*ioctx_func_p)(io_ctx); | ~^~~~~~~~~~~~~~ ~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromstring': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2386:74: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2386 | im = _php_image_create_from_string(data, "JPEG", gdImageCreateFromJpegCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:72: /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:671:25: note: 'gdImageCreateFromJpegCtx' declared here 671 | BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2395:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2395 | im = _php_image_create_from_string(data, "PNG", gdImageCreateFromPngCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:659:25: note: 'gdImageCreateFromPngCtx' declared here 659 | BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2403:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2403 | im = _php_image_create_from_string(data, "GIF", gdImageCreateFromGifCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:664:25: note: 'gdImageCreateFromGifCtx' declared here 664 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2407:74: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2407 | im = _php_image_create_from_string(data, "WBMP", gdImageCreateFromWBMPCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:667:25: note: 'gdImageCreateFromWBMPCtx' declared here 667 | BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2411:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2411 | im = _php_image_create_from_string(data, "GD2", gdImageCreateFromGd2Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:742:25: note: 'gdImageCreateFromGd2Ctx' declared here 742 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2415:73: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2415 | im = _php_image_create_from_string(data, "BMP", gdImageCreateFromBmpCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:697:25: note: 'gdImageCreateFromBmpCtx' declared here 697 | BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2420:74: error: passing argument 3 of '_php_image_create_from_string' from incompatible pointer type [-Wincompatible-pointer-types] 2420 | im = _php_image_create_from_string(data, "WEBP", gdImageCreateFromWebpCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2333:77: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2333 | gdImagePtr _php_image_create_from_string(zval *data, char *tn, gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:677:25: note: 'gdImageCreateFromWebpCtx' declared here 677 | BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function '_php_image_create_from': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2504:31: error: too many arguments to function 'ioctx_func_p'; expected 0, have 5 2504 | im = (*ioctx_func_p)(io_ctx, srcx, srcy, width, height); | ~^~~~~~~~~~~~~~ ~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2506:31: error: too many arguments to function 'ioctx_func_p'; expected 0, have 1 2506 | im = (*ioctx_func_p)(io_ctx); | ~^~~~~~~~~~~~~~ ~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2522:39: error: too many arguments to function 'func_p'; expected 0, have 5 2522 | im = (*func_p)(fp, srcx, srcy, width, height); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2538:39: error: too many arguments to function 'func_p'; expected 0, have 1 2538 | im = (*func_p)(fp); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromgif': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2564:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2564 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageCreateFromGif, gdImageCreateFromGifCtx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:663:25: note: 'gdImageCreateFromGif' declared here 663 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGif (FILE * fd); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2564:115: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2564 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageCreateFromGif, gdImageCreateFromGifCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:664:25: note: 'gdImageCreateFromGifCtx' declared here 664 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGifCtx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromjpeg': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2573:94: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2573 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_JPG, "JPEG", gdImageCreateFromJpeg, gdImageCreateFromJpegCtx); | ^~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:669:25: note: 'gdImageCreateFromJpeg' declared here 669 | BGD_DECLARE(gdImagePtr) gdImageCreateFromJpeg (FILE * infile); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2573:117: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2573 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_JPG, "JPEG", gdImageCreateFromJpeg, gdImageCreateFromJpegCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:671:25: note: 'gdImageCreateFromJpegCtx' declared here 671 | BGD_DECLARE(gdImagePtr) gdImageCreateFromJpegCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefrompng': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2583:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2583 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_PNG, "PNG", gdImageCreateFromPng, gdImageCreateFromPngCtx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:658:25: note: 'gdImageCreateFromPng' declared here 658 | BGD_DECLARE(gdImagePtr) gdImageCreateFromPng (FILE * fd); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2583:115: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2583 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_PNG, "PNG", gdImageCreateFromPng, gdImageCreateFromPngCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:659:25: note: 'gdImageCreateFromPngCtx' declared here 659 | BGD_DECLARE(gdImagePtr) gdImageCreateFromPngCtx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromwebp': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2593:95: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2593 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageCreateFromWebp, gdImageCreateFromWebpCtx); | ^~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:675:25: note: 'gdImageCreateFromWebp' declared here 675 | BGD_DECLARE(gdImagePtr) gdImageCreateFromWebp (FILE * inFile); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2593:118: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2593 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageCreateFromWebp, gdImageCreateFromWebpCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:677:25: note: 'gdImageCreateFromWebpCtx' declared here 677 | BGD_DECLARE(gdImagePtr) gdImageCreateFromWebpCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromxbm': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2602:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2602 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_XBM, "XBM", gdImageCreateFromXbm, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:752:25: note: 'gdImageCreateFromXbm' declared here 752 | BGD_DECLARE(gdImagePtr) gdImageCreateFromXbm (FILE * in); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromxpm': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2611:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2611 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_XPM, "XPM", gdImageCreateFromXpm, NULL); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(char *) {aka struct gdImageStruct * (*)(char *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(char *)' {aka 'struct gdImageStruct * (*)(char *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:756:25: note: 'gdImageCreateFromXpm' declared here 756 | BGD_DECLARE(gdImagePtr) gdImageCreateFromXpm (char *filename); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromwbmp': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2620:94: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2620 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageCreateFromWBMP, gdImageCreateFromWBMPCtx); | ^~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:666:25: note: 'gdImageCreateFromWBMP' declared here 666 | BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMP (FILE * inFile); | ^~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2620:117: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2620 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageCreateFromWBMP, gdImageCreateFromWBMPCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:667:25: note: 'gdImageCreateFromWBMPCtx' declared here 667 | BGD_DECLARE(gdImagePtr) gdImageCreateFromWBMPCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromgd': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2628:91: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2628 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD, "GD", gdImageCreateFromGd, gdImageCreateFromGdCtx); | ^~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:737:25: note: 'gdImageCreateFromGd' declared here 737 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGd (FILE * in); | ^~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2628:112: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2628 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD, "GD", gdImageCreateFromGd, gdImageCreateFromGdCtx); | ^~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:738:25: note: 'gdImageCreateFromGdCtx' declared here 738 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGdCtx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromgd2': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2636:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2636 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2, "GD2", gdImageCreateFromGd2, gdImageCreateFromGd2Ctx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:741:25: note: 'gdImageCreateFromGd2' declared here 741 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2 (FILE * in); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2636:115: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2636 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2, "GD2", gdImageCreateFromGd2, gdImageCreateFromGd2Ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:742:25: note: 'gdImageCreateFromGd2Ctx' declared here 742 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Ctx(gdIOCtxPtr in); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromgd2part': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2644:97: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2644 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2PART, "GD2", gdImageCreateFromGd2Part, gdImageCreateFromGd2PartCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *, int, int, int, int) {aka struct gdImageStruct * (*)(FILE *, int, int, int, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *, int, int, int, int)' {aka 'struct gdImageStruct * (*)(FILE *, int, int, int, int)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:745:25: note: 'gdImageCreateFromGd2Part' declared here 745 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2Part (FILE * in, int srcx, int srcy, int w, | ^~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2644:123: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2644 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2PART, "GD2", gdImageCreateFromGd2Part, gdImageCreateFromGd2PartCtx); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *, int, int, int, int) {aka struct gdImageStruct * (*)(struct gdIOCtx *, int, int, int, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *, int, int, int, int)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *, int, int, int, int)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:747:25: note: 'gdImageCreateFromGd2PartCtx' declared here 747 | BGD_DECLARE(gdImagePtr) gdImageCreateFromGd2PartCtx(gdIOCtxPtr in, int srcx, int srcy, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefrombmp': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2653:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2653 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_BMP, "BMP", gdImageCreateFromBmp, gdImageCreateFromBmpCtx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:695:25: note: 'gdImageCreateFromBmp' declared here 695 | BGD_DECLARE(gdImagePtr) gdImageCreateFromBmp (FILE * inFile); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2653:115: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2653 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_BMP, "BMP", gdImageCreateFromBmp, gdImageCreateFromBmpCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:697:25: note: 'gdImageCreateFromBmpCtx' declared here 697 | BGD_DECLARE(gdImagePtr) gdImageCreateFromBmpCtx(gdIOCtxPtr infile); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagecreatefromtga': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2663:93: error: passing argument 5 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2663 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_TGA, "TGA", gdImageCreateFromTga, gdImageCreateFromTgaCtx); | ^~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(FILE *) {aka struct gdImageStruct * (*)(FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:105: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(FILE *)' {aka 'struct gdImageStruct * (*)(FILE *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:691:25: note: 'gdImageCreateFromTga' declared here 691 | BGD_DECLARE(gdImagePtr) gdImageCreateFromTga( FILE * fp ); | ^~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2663:115: error: passing argument 6 of '_php_image_create_from' from incompatible pointer type [-Wincompatible-pointer-types] 2663 | _php_image_create_from(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_TGA, "TGA", gdImageCreateFromTga, gdImageCreateFromTgaCtx); | ^~~~~~~~~~~~~~~~~~~~~~~ | | | gdImage * (*)(struct gdIOCtx *) {aka struct gdImageStruct * (*)(struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2443:129: note: expected 'gdImage * (*)(void)' {aka 'struct gdImageStruct * (*)(void)'} but argument is of type 'gdImage * (*)(struct gdIOCtx *)' {aka 'struct gdImageStruct * (*)(struct gdIOCtx *)'} 2443 | static void _php_image_create_from(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, gdImagePtr (*func_p)(), gdImagePtr (*ioctx_func_p)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:692:25: note: 'gdImageCreateFromTgaCtx' declared here 692 | BGD_DECLARE(gdImagePtr) gdImageCreateFromTgaCtx(gdIOCtxPtr ctx); | ^~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function '_php_image_output': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2723:34: error: too many arguments to function 'func_p'; expected 0, have 2 2723 | (*func_p)(im, fp); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2729:34: error: too many arguments to function 'func_p'; expected 0, have 4 2729 | (*func_p)(im, fp, q, t); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2759:34: error: too many arguments to function 'func_p'; expected 0, have 2 2759 | (*func_p)(im, tmp); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2765:34: error: too many arguments to function 'func_p'; expected 0, have 4 2765 | (*func_p)(im, tmp, q, t); | ~^~~~~~~~ ~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagexbm': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2789:92: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2789 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_XBM, "XBM", gdImageXbmCtx); | ^~~~~~~~~~~~~ | | | void (*)(gdImage *, char *, int, struct gdIOCtx *) {aka void (*)(struct gdImageStruct *, char *, int, struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, char *, int, struct gdIOCtx *)' {aka 'void (*)(struct gdImageStruct *, char *, int, struct gdIOCtx *)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:753:19: note: 'gdImageXbmCtx' declared here 753 | BGD_DECLARE(void) gdImageXbmCtx(gdImagePtr image, char* file_name, int fg, gdIOCtxPtr out); | ^~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagegif': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2797:92: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2797 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GIF, "GIF", gdImageGifCtx); | ^~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1100:19: note: 'gdImageGifCtx' declared here 1100 | BGD_DECLARE(void) gdImageGifCtx(gdImagePtr im, gdIOCtxPtr out); | ^~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagepng': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2806:92: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2806 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_PNG, "PNG", gdImagePngCtxEx); | ^~~~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1114:19: note: 'gdImagePngCtxEx' declared here 1114 | BGD_DECLARE(void) gdImagePngCtxEx(gdImagePtr im, gdIOCtxPtr out, int level); | ^~~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagewebp': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2817:94: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2817 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WEBP, "WEBP", gdImageWebpCtx); | ^~~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1155:19: note: 'gdImageWebpCtx' declared here 1155 | BGD_DECLARE(void) gdImageWebpCtx(gdImagePtr im, gdIOCtxPtr outfile, int quantization); | ^~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagejpeg': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2828:93: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2828 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_JPG, "JPEG", gdImageJpegCtx); | ^~~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1133:19: note: 'gdImageJpegCtx' declared here 1133 | BGD_DECLARE(void) gdImageJpegCtx(gdImagePtr im, gdIOCtxPtr out, int quality); | ^~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagewbmp': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2837:93: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2837 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_WBM, "WBMP", gdImageWBMPCtx); | ^~~~~~~~~~~~~~ | | | void (*)(gdImage *, int, struct gdIOCtx *) {aka void (*)(struct gdImageStruct *, int, struct gdIOCtx *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, int, struct gdIOCtx *)' {aka 'void (*)(struct gdImageStruct *, int, struct gdIOCtx *)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1117:19: note: 'gdImageWBMPCtx' declared here 1117 | BGD_DECLARE(void) gdImageWBMPCtx(gdImagePtr image, int fg, gdIOCtxPtr out); | ^~~~~~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagegd': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2845:86: error: passing argument 5 of '_php_image_output' from incompatible pointer type [-Wincompatible-pointer-types] 2845 | _php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD, "GD", gdImageGd); | ^~~~~~~~~ | | | void (*)(gdImage *, FILE *) {aka void (*)(struct gdImageStruct *, FILE *)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2670:94: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, FILE *)' {aka 'void (*)(struct gdImageStruct *, FILE *)'} 2670 | static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1240:19: note: 'gdImageGd' declared here 1240 | BGD_DECLARE(void) gdImageGd (gdImagePtr im, FILE * out); | ^~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagegd2': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2853:88: error: passing argument 5 of '_php_image_output' from incompatible pointer type [-Wincompatible-pointer-types] 2853 | _php_image_output(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_GD2, "GD2", gdImageGd2); | ^~~~~~~~~~ | | | void (*)(gdImage *, FILE *, int, int) {aka void (*)(struct gdImageStruct *, FILE *, int, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2670:94: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, FILE *, int, int)' {aka 'void (*)(struct gdImageStruct *, FILE *, int, int)'} 2670 | static void _php_image_output(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1241:19: note: 'gdImageGd2' declared here 1241 | BGD_DECLARE(void) gdImageGd2 (gdImagePtr im, FILE * out, int cs, int fmt); | ^~~~~~~~~~ /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c: In function 'zif_imagebmp': /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd.c:2862:92: error: passing argument 5 of '_php_image_output_ctx' from incompatible pointer type [-Wincompatible-pointer-types] 2862 | _php_image_output_ctx(INTERNAL_FUNCTION_PARAM_PASSTHRU, PHP_GDIMG_TYPE_BMP, "BMP", gdImageBmpCtx); | ^~~~~~~~~~~~~ | | | void (*)(gdImage *, struct gdIOCtx *, int) {aka void (*)(struct gdImageStruct *, struct gdIOCtx *, int)} /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/gd_ctx.c:80:98: note: expected 'void (*)(void)' but argument is of type 'void (*)(gdImage *, struct gdIOCtx *, int)' {aka 'void (*)(struct gdImageStruct *, struct gdIOCtx *, int)'} 80 | static void _php_image_output_ctx(INTERNAL_FUNCTION_PARAMETERS, int image_type, char *tn, void (*func_p)()) | ~~~~~~~^~~~~~~~~ /tmp/work/graphics/php-gd/work/.buildlink/include/gd.h:1107:19: note: 'gdImageBmpCtx' declared here 1107 | BGD_DECLARE(void) gdImageBmpCtx(gdImagePtr im, gdIOCtxPtr out, int compression); | ^~~~~~~~~~~~~ *** [gd.lo] Error code 1 bmake: stopped making "all" in /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd bmake: 1 error bmake: stopped making "all" in /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/graphics/php-gd