=> "/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 --- /usr/bin/bash /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/libtool --mode=compile gcc -std=gnu23 -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-aggressive-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 --- /usr/bin/bash /tmp/work/graphics/php-gd/work/php-7.4.33/ext/gd/libtool --mode=compile gcc -std=gnu23 -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-aggressive-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 libtool: compile: gcc -std=gnu23 -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 -std=gnu23 -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 --- 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' 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' 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' 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' 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' 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' 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' 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' 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)()) | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /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/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/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/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/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/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/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' 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' 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' 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' 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/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/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/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/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/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/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)()) | ~~~~~~~~~~~~~^~~~~~~~~ --- gd_compat.lo --- libtool: compile: gcc -std=gnu23 -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 --- /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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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' 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' 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' 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' 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/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/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/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/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/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/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/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/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)()) | ~~~~~~~^~~~~~~~~ *** [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