Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002584graphvizBuild/Installpublic2016-01-07 02:202016-07-15 07:49
Reporterhdezela 
Assigned To 
PrioritynormalSeverityblockReproducibilityalways
StatusnewResolutionopen 
PlatformLinuxOSCentOSOS Version7
Summary0002584: Build against PHP 7.0.1
DescriptionWhen trying to build against PHP 7.0.1, there are a number of zval errors, from what I can see, this relates to PHP completely changing zval (https://wiki.php.net/phpng-upgrading#zval [^]) in this version.
Steps To ReproduceCompile against PHP 7+
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSION2.38.0
Attached Files

- Relationships

-  Notes
User avatar (0001005)
ellson (administrator)
2016-01-07 10:20

I gather you must be installing php-7.0.1 from source, since the centos7 distro is atphp-5.4.16 ? Even Rawhide only has php-5.6.17.

The use of zval is in SWIG generated code, so could you report this problem to http://www.swig.org/bugs.html [^] and perhaps crossreference to this report for tracking?

Not much I can do until php-7.0.1 appears in the regular Centos/Fedora distros and SWIG has been updated to support it.
User avatar (0001006)
ellson (administrator)
2016-01-07 10:27

To build the rest of graphviz in the presence of php-7, you can use:

    ./configure --disable-php ....
User avatar (0001007)
hdezela (reporter)
2016-01-07 19:05

I just checked and SWIG already has the report (https://github.com/swig/swig/issues/571 [^]), although the response from the maintainer is not too positive:

"I've done most of the PHP backend work recently, but this is not something I'm likely to have time to work on in the near future. I can probably make time to review a patch.

No more "me too" comments please - they just waste my time, which if anything makes it less likely I'll find time to work on this."

As per his request for no more "me too" comments, I haven't referenced this.
User avatar (0001057)
Jaroslav Skarvada (reporter)
2016-07-15 07:49

This starts to be an issue for Fedora 25. I have to disable php support for graphviz to build. Maybe the pecl-compat could be a workaround,
see https://github.com/swig/swig/issues/571 [^]

- Issue History
Date Modified Username Field Change
2016-01-07 02:20 hdezela New Issue
2016-01-07 10:20 ellson Note Added: 0001005
2016-01-07 10:27 ellson Note Added: 0001006
2016-01-07 19:05 hdezela Note Added: 0001007
2016-07-15 07:49 Jaroslav Skarvada Note Added: 0001057


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker