Date: Sat, 27 Jun 2020 09:39:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 247578] graphics/mapserver: compilation error: use of undeclared identifier 'ZVAL_STRING' Message-ID: <bug-247578-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247578 Bug ID: 247578 Summary: graphics/mapserver: compilation error: use of undeclared identifier 'ZVAL_STRING' Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: wen@FreeBSD.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(wen@FreeBSD.org) Assignee: wen@FreeBSD.org Port fails to compile on 12-STABLE and CURRENT jails in poudriere (poudrier= e is hosted by most recent CURRENT), see below. [...] =3D>> Building graphics/mapserver build started at Sat Jun 27 08:38:53 UTC 2020 port directory: /usr/ports/graphics/mapserver package name: mapserver-7.6.0_1 building for: FreeBSD freebsd.gdr 12.1-STABLE FreeBSD 12.1-STABLE 1201518 a= md64 maintained by: wen@FreeBSD.org Makefile ident: $FreeBSD: head/graphics/mapserver/Makefile 539491 2020-06-17 18:17:18Z sunpoet $ Poudriere version: 3.3.4 Host OSVERSION: 1300100 Jail OSVERSION: 1201518 Job Id: 04 ---Begin Environment--- SHELL=3D/bin/csh OSVERSION=3D1201518 UNAME_v=3DFreeBSD 12.1-STABLE 1201518 UNAME_r=3D12.1-STABLE BLOCKSIZE=3DK MAIL=3D/var/mail/root STATUS=3D1 HOME=3D/root PATH=3D/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/b= in LOCALBASE=3D/usr/local USER=3Droot LIBEXECPREFIX=3D/usr/local/libexec/poudriere POUDRIERE_VERSION=3D3.3.4 MAKEOBJDIRPREFIX=3D/pool/sources/12-STABLE/obj/ MASTERMNT=3D/pool/poudriere/data/.m/12-amd64-head-default/ref POUDRIERE_BUILD_TYPE=3Dbulk PACKAGE_BUILDING=3Dyes SAVED_TERM=3Dscreen PWD=3D/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool P_PORTS_FEATURES=3DFLAVORS SELECTED_OPTIONS MASTERNAME=3D12-amd64-head-default SCRIPTPREFIX=3D/usr/local/share/poudriere OLDPWD=3D/pool/poudriere/data/.m/12-amd64-head-default/ref/.p SCRIPTPATH=3D/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=3D/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS=3D PKGENV=3D FLAVOR=3D DEPENDS_ARGS=3D MAKE_ARGS=3D ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for mapserver-= 7.6.0_1: CAIRO=3Don: Cairo graphics library support CAIRO_SVG=3Don: Cairo SVG parser support CLIENT_WFS=3Doff CLIENT_WMS=3Doff CURL=3Don: Data transfer support via cURL DEBUG=3Doff: Build with debugging support FASTCGI=3Doff: FastCGI protocol support FRIBIDI=3Don: Fribidi library support GDAL=3Don: GDAL library support GEOS=3Don: GEOS Geometry Engine support HARFBUZZ=3Don KML=3Doff: KML support PERL=3Don: Perl scripting language support PHP=3Don: PHP bindings or support POSTGIS=3Don: PostGIS geographic support for PostgreSQL PROTOBUFC=3Don PYTHON=3Don: Python bindings or support WCS=3Don: WCS Server support WFS=3Don: WFS Server support WMS=3Don: WMS Server support =3D=3D=3D> Use 'make config' to modify these settings ---End OPTIONS List--- [...] FAILED: mapscript/php/CMakeFiles/php_mapscript.dir/error.c.o=20 /usr/bin/cc -DCOMPILE_DL=3D1 -DPROJ_VERSION_MAJOR=3D6 -Dphp_mapscript_EXPOR= TS -I. -I/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/renderers/agg/= include -I/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/v8 -I/usr/local/include/freetype2 -Irenderers/mvt -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/cairo -I/usr/local/include/libxml2 -I/usr/include/php -I/usr/local/include/php -I/usr/local/apache/php -I/usr/local/include/php/Zend -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/= INTERNAL -I"/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php= /PHP include paths" -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Werror=3Dformat-security -O2= -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -fPIC -std=3Dc99 -MD -MT mapscript/php/CMakeFiles/php_mapscript.dir/error.c.o -MF mapscript/php/CMakeFiles/php_mapscript.dir/error.c.o.d -o mapscript/php/CMakeFiles/php_mapscript.dir/error.c.o -c /wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/er= ror.c /wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/er= ror.c:95:8: error: too few arguments provided to function-like macro invocation else IF_GET_STRING("routine", php_errobj->error->routine) ^ /wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/ph= p_mapscript_util.h:262:9: note: expanded from macro 'IF_GET_STRING' MAPSCRIPT_RETVAL_STRING( (value ? value:"") , 1); \ ^ /wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/ph= p_mapscript.h:78:39: note: expanded from macro 'MAPSCRIPT_RETVAL_STRING' #define MAPSCRIPT_RETVAL_STRING(a, b) RETVAL_STRING(a) ^ /usr/local/include/php/Zend/zend_API.h:643:57: note: expanded from macro 'RETVAL_STRING' #define RETVAL_STRING(s)=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20 ZVAL_STRING(return_value, s) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 ^ /wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/er= ror.c:46:9: note: macro 'ZVAL_STRING' defined here #define ZVAL_STRING(z, s, duplicate) do { \ ^ /wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/er= ror.c:95:8: error: use of undeclared identifier 'ZVAL_STRING' else IF_GET_STRING("routine", php_errobj->error->routine) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247578-7788>