[Bug 247578] graphics/mapserver: compilation error: use of undeclared identifier 'ZVAL_STRING'
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Jun 27 09:39:13 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247578
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 at FreeBSD.org
Reporter: ohartmann at walstatt.org
Flags: maintainer-feedback?(wen at FreeBSD.org)
Assignee: wen at FreeBSD.org
Port fails to compile on 12-STABLE and CURRENT jails in poudriere (poudriere is
hosted by most recent CURRENT), see below.
[...]
=>> 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 amd64
maintained by: wen at 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=/bin/csh
OSVERSION=1201518
UNAME_v=FreeBSD 12.1-STABLE 1201518
UNAME_r=12.1-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.4
MAKEOBJDIRPREFIX=/pool/sources/12-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/12-amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=12-amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/12-amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---
---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---
---Begin OPTIONS List---
===> The following configuration options are available for mapserver-7.6.0_1:
CAIRO=on: Cairo graphics library support
CAIRO_SVG=on: Cairo SVG parser support
CLIENT_WFS=off
CLIENT_WMS=off
CURL=on: Data transfer support via cURL
DEBUG=off: Build with debugging support
FASTCGI=off: FastCGI protocol support
FRIBIDI=on: Fribidi library support
GDAL=on: GDAL library support
GEOS=on: GEOS Geometry Engine support
HARFBUZZ=on
KML=off: KML support
PERL=on: Perl scripting language support
PHP=on: PHP bindings or support
POSTGIS=on: PostGIS geographic support for PostgreSQL
PROTOBUFC=on
PYTHON=on: Python bindings or support
WCS=on: WCS Server support
WFS=on: WFS Server support
WMS=on: WMS Server support
===> Use 'make config' to modify these settings
---End OPTIONS List---
[...]
FAILED: mapscript/php/CMakeFiles/php_mapscript.dir/error.c.o
/usr/bin/cc -DCOMPILE_DL=1 -DPROJ_VERSION_MAJOR=6 -Dphp_mapscript_EXPORTS -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=format-security -O2 -pipe
-DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include
-fno-strict-aliasing -fPIC -std=c99 -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/error.c
/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/error.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/php_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/php_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)
ZVAL_STRING(return_value, s)
^
/wrkdirs/usr/ports/graphics/mapserver/work/mapserver-7.6.0/mapscript/php/error.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/error.c:95:8:
error: use of undeclared identifier 'ZVAL_STRING'
else IF_GET_STRING("routine", php_errobj->error->routine)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list