Bug 476004 - [PATCH]: Fix phpize with libtool 2.2 in php 5.2.8
Summary: [PATCH]: Fix phpize with libtool 2.2 in php 5.2.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: php
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Remi Collet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-12-11 14:59 UTC by Nicholas Wourms
Modified: 2009-01-22 21:16 UTC (History)
3 users (show)

Fixed In Version: 5.2.8-2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-01-22 21:16:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to fix phpize builds (637 bytes, patch)
2008-12-11 14:59 UTC, Nicholas Wourms
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.