Bug 476004

Summary: [PATCH]: Fix phpize with libtool 2.2 in php 5.2.8
Product: [Fedora] Fedora Reporter: Nicholas Wourms <nwourms>
Component: phpAssignee: Remi Collet <fedora>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: fedora, jorton, rpm
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.2.8-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-01-22 21:16:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to fix phpize builds none

Description Nicholas Wourms 2008-12-11 14:59:08 UTC
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):
5.2.8-1

How reproducible:
Always

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
  
Actual results:
Build of syck-0.61-6.1 fails on the php component because 

Expected results:
Build of syck-0.61-6.1 succeeds.

Additional info:
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.

Comment 1 Remi Collet 2008-12-13 08:50:50 UTC
Thanks for the report

Patch applied in rawhide (5.2.8-2)

Comment 2 Nicholas Wourms 2008-12-13 19:14:40 UTC
Could you rebuild the syck package against it?

Comment 3 Nicholas Wourms 2009-01-22 21:16:46 UTC
I'm marking this closed since it has been in rawhide for awhile now with no further incident.