Bug 679715

Summary: gv.so (php module) does not load: undefined symbol: zend_error_noreturn
Product: Red Hat Enterprise Linux 6 Reporter: Pierre Amadio <pamadio>
Component: graphvizAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: jorton, jskarvad, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Unspecified   
Whiteboard:
Fixed In Version: graphviz-2.26.0-5.el6 Doc Type: Bug Fix
Doc Text:
When using the graphviz utility with PHP, the gv.so module did not load and displayed the following error message: /usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0 This was caused by the SWIG tool which used the zend_error_noreturn() function to build the PHP module. SWIG has been modified and the bug no longer occurs.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-20 12:27:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 679713    
Bug Blocks:    

Description Pierre Amadio 2011-02-23 10:21:38 UTC
This is the same as fedora bz#641639
With graphviz-2.26.0-4.el6, the php gv.so module does not load and generate the following warning:

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0

This seems due to the fact that the swig library used to build the php module is still using zend_error_noreturn function (see bz#679713)

Rebuilding the graphviz with a modified swig (with change zend_error_noreturn to zend_error available in bz#679713) fixed the problem.

Comment 1 RHEL Program Management 2011-02-23 10:38:00 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 2 Jaroslav Škarvada 2011-04-17 22:05:33 UTC
*** Bug 681956 has been marked as a duplicate of this bug. ***

Comment 3 Eliska Slobodova 2011-07-14 14:54:02 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When using the graphviz utility with PHP, the gv.so module did not load and displayed the following error message:

    /usr/lib64/php/modules/gv.so' - /usr/lib64/php/modules/gv.so: undefined symbol: zend_error_noreturn in Unknown on line 0 

This was caused by the SWIG tool which used the zend_error_noreturn() function to build the PHP module. SWIG has been modified and the bug no longer occurs.

Comment 5 errata-xmlrpc 2011-07-20 12:27:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0965.html