Bug 679713

Summary: swig use non existing zend_error_noreturn function.
Product: Red Hat Enterprise Linux 6 Reporter: Pierre Amadio <pamadio>
Component: swigAssignee: Adam Tkac <atkac>
Status: CLOSED ERRATA QA Contact: qe-baseos-tools-bugs
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: jskarvad, ovasik, pkovar, pmuller, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Prior to this update, the swig utility emitted a nonexistent "zend_error_noreturn" function call instead of the "zend_error" call into a generated PHP code. This bug has been fixed in this update, and swig now correctly emits only the "zend_error" call as expected.
Story Points: ---
Clone Of:
: 1431238 (view as bug list) Environment:
Last Closed: 2011-07-13 08:38:09 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:    
Bug Blocks: 679715    
Attachments:
Description Flags
change zend_error_noreturn to zend_error none

Description Pierre Amadio 2011-02-23 10:13:03 UTC
Created attachment 480402 [details]
change zend_error_noreturn to zend_error

swig-1.3.40-5.el6

This is the same problem as:
http://stackoverflow.com/questions/2556113/swig-generated-code-fails-to-run-on-php-5-3-2-undefined-symbol-zend-error-noretu

swig-1.3.40/Source/Modules/php.cxx mention zend_error_noreturn .
This function does not exist in php-5.3.2 (zend_error should be used instead).

php module build with the current swig such as the graphiz extension fail to load because of this function call (see fedora bz#641639)

Comment 1 RHEL Program Management 2011-02-23 10:18:16 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 4 Petr Kovar 2011-07-04 17:12:30 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:
Prior to this update, the swig utility emitted a nonexistent "zend_error_noreturn" function call instead of the "zend_error" call into a generated PHP code. This bug has been fixed in this update, and swig now correctly emits only the "zend_error" call as expected.

Comment 6 errata-xmlrpc 2011-07-13 08:38:09 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-0933.html