Red Hat Bugzilla – Bug 476004
[PATCH]: Fix phpize with libtool 2.2 in php 5.2.8
Last modified: 2009-01-22 16:16:46 EST
Created attachment 326627 [details]
Patch to fix phpize builds
(NOTE: I originally e-mailed Rex with this, Rex suggested I file a bug instead).
Description of problem:
The phpize script encounters autotools errors when used to build extensions
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Install libtool 2.2
2. Install php 5.2.8
3. Attempt to rebuild the syck-0.61-6.1 package
Build of syck-0.61-6.1 fails on the php component because
Build of syck-0.61-6.1 succeeds.
This is just a small patch to fix building php extensions outside of the php
build using phpize. The problem is that phpize's own build/libtool.m4
is missing autoconf macro definitions, due to the fact that libtool 2.2 now splits its macros into several files. In the specfile for php, there is a fix for using the new libtool for building the php package itself. However, the fix is not extended to the distributed libtools macro file used by phpize. To fix that, I have modified the specfile to concatenate all the the needed libtool 2.2 macros into build/libtool.m4, which is similar to the fix used building the php package itself with the new libtool. After applying this fix and installing the subsequent php packages, I am able to successfully rebuild syck-0.61-6.1.
Thanks for the report
Patch applied in rawhide (5.2.8-2)
Could you rebuild the syck package against it?
I'm marking this closed since it has been in rawhide for awhile now with no further incident.