[ice-php] PHP 5.4 patch

number80number80 Member Haikel GuemarOrganization: fedoraproject.orgProject: Zeroc ICE fedora packaging
Hi, I maintain the ice package for Fedora. Our current developement branch (what will become Fedora 17) is moving to php 5.4, the php maintainer (Remi Collet) was kind enough to provide me a patch to fix compilation of the php wrapper with PHP 5.4. It should be backward compatible with previous php releases (tested with php 5.3.x).

https://github.com/remicollet/remirepo/blob/5bffe46723937624ae26dc944b8afce4f25b4fa2/ice/ice-3.4.2-php54.patch

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    Welcome to the forum, and thanks for the patch.

    Unfortunately, although this patch fixes the compilation errors, my testing with PHP 5.4.0RC4 shows that the Ice extension crashes at run time with a segmentation fault. I do not recommend including this patch in your Ice RPM for Fedora.

    Regards,
    Mark
  • number80number80 Member Haikel GuemarOrganization: fedoraproject.orgProject: Zeroc ICE fedora packaging
    Remi Collet noticed me yesterday, we will working on fixing this issue. I'll keep updating this thread as soon as we get new stuff.
  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    I've attached a patch for Ice 3.4.2 that corrects the compatibility issues with PHP 5.4 and allows our test suite to run without errors.

    Regards,
    Mark
Sign In or Register to comment.