pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/56409: pkgsrc/graphics/php-gd fails to compile on NetBSD/amd64
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
>Number: 56409
>Category: pkg
>Synopsis: pkgsrc/graphics/php-gd fails to compile on NetBSD/amd64
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Sep 18 16:00:00 +0000 2021
>Originator: John Klos
>Release: NetBSD 9.0_STABLE
>Organization:
>Environment:
System: NetBSD daisy.zia.io 9.0_STABLE NetBSD 9.0_STABLE (DAISY) #0: Tue Jul 28 04:48:43 UTC 2020 john%daisy.zia.io@localhost:/usr/obj-amd64/sys/arch/amd64/compile/DAISY amd64
Architecture: x86_64
Machine: amd64
>Description:
Attempting to update pkgsrc/graphics/php-gd with php 7.4.23 fails with:
/bin/sh /usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/libtool --mode=compile gcc -I. -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd -DPHP_ATOM_INC -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/include -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/main -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -I/usr/local/include -I/usr/local/include/libpng16 -I/usr/X11R7/include/freetype2 -I/usr/X11R7/include -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -c /usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c -o gd.lo
libtool: compile: gcc -I. -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd -DPHP_ATOM_INC -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/include -I/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/main -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/main -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/TSRM -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/Zend -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/ext -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/ext/date/lib -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include -I/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/libpng16 -I/usr/pkgsrc/graphics/php-gd/work/.x11-buildlink/include/freetype2 -I/usr/pkgsrc/graphics/php-gd/work/.x11-buildlink/include -DHAVE_CONFIG_H -O2 -D_FORTIFY_SOURCE=2 -c /usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c -fPIC -DPIC -o .libs/gd.o
In file included from /usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/main/php.h:441:0,
from /usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:30:
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c: In function 'zm_startup_gd':
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:1140:48: error: 'GD_FLIP_HORINZONTAL' undeclared (first use in this function); did you mean 'GD_AFFINE_SHEAR_HORIZONTAL'?
REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
^
/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/Zend/zend_constants.h:53:105: note: in definition of macro 'REGISTER_LONG_CONSTANT'
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
^~~~
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:1140:48: note: each undeclared identifier is reported only once for each function it appears in
REGISTER_LONG_CONSTANT("IMG_FLIP_HORIZONTAL", GD_FLIP_HORINZONTAL, CONST_CS | CONST_PERSISTENT);
^
/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/Zend/zend_constants.h:53:105: note: in definition of macro 'REGISTER_LONG_CONSTANT'
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
^~~~
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:1141:46: error: 'GD_FLIP_VERTICAL' undeclared (first use in this function); did you mean 'GD_FLIP_HORINZONTAL'?
REGISTER_LONG_CONSTANT("IMG_FLIP_VERTICAL", GD_FLIP_VERTICAL, CONST_CS | CONST_PERSISTENT);
^
/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/Zend/zend_constants.h:53:105: note: in definition of macro 'REGISTER_LONG_CONSTANT'
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
^~~~
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:1142:42: error: 'GD_FLIP_BOTH' undeclared (first use in this function); did you mean 'GD_IO_H'?
REGISTER_LONG_CONSTANT("IMG_FLIP_BOTH", GD_FLIP_BOTH, CONST_CS | CONST_PERSISTENT);
^
/usr/pkgsrc/graphics/php-gd/work/.buildlink/include/php/Zend/zend_constants.h:53:105: note: in definition of macro 'REGISTER_LONG_CONSTANT'
#define REGISTER_LONG_CONSTANT(name, lval, flags) zend_register_long_constant((name), sizeof(name)-1, (lval), (flags), module_number)
^~~~
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c: In function 'zif_imageflip':
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:4699:8: error: 'GD_FLIP_VERTICAL' undeclared (first use in this function); did you mean '_LIB_VERSION'?
case GD_FLIP_VERTICAL:
^~~~~~~~~~~~~~~~
_LIB_VERSION
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:4703:8: error: 'GD_FLIP_HORINZONTAL' undeclared (first use in this function); did you mean 'GD_FLIP_VERTICAL'?
case GD_FLIP_HORINZONTAL:
^~~~~~~~~~~~~~~~~~~
GD_FLIP_VERTICAL
/usr/pkgsrc/graphics/php-gd/work/php-7.4.23/ext/gd/gd.c:4707:8: error: 'GD_FLIP_BOTH' undeclared (first use in this function); did you mean 'GD_IO_H'?
case GD_FLIP_BOTH:
^~~~~~~~~~~~
GD_IO_H
*** Error code 1
>How-To-Repeat:
>Fix:
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index