Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159359 - php-4.3.11-r5 with xmlrpc useflag doesn't compile on gcc4
Summary: php-4.3.11-r5 with xmlrpc useflag doesn't compile on gcc4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 117482
  Show dependency tree
 
Reported: 2006-12-29 03:38 UTC by Ramon
Modified: 2006-12-29 08:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for ebuild (php-4.3.11-r5.ebuild.diff,961 bytes, patch)
2006-12-29 03:39 UTC, Ramon
Details | Diff
gcc4 compat patch for xmlrpc (php-4.3.6-xelement.patch,537 bytes, patch)
2006-12-29 03:39 UTC, Ramon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ramon 2006-12-29 03:38:00 UTC
The xmlrpc ext in php-4.3.11 isn't compatible with gcc4.
It fails compiling in xmlelement.c 

Yes I know it's ancient but we're still using it in production for the next two months at least until we've rewritten for php5

This guy:
http://www.mjmwired.net/linux/2005/10/23/php4-rpms-for-fedora-core-4/
has patched src.rpms for fedora3/4/5

I pulled the patch out and added it to the ebuild and all compiles magically again for me on amd64

Patch attached
Patch for the ebuild attached (also includes stable keyword on amd64)

Ramon
Comment 1 Ramon 2006-12-29 03:39:05 UTC
Created attachment 104922 [details, diff]
patch for ebuild

This patch adds the gcc4 patch, stable amd64 keyword and WANT_AUTOMAKE=1.5 to the ebuild
Comment 2 Ramon 2006-12-29 03:39:55 UTC
Created attachment 104923 [details, diff]
gcc4 compat patch for xmlrpc
Comment 3 Luca Longinotti (RETIRED) gentoo-dev 2006-12-29 07:29:45 UTC
The bug is known and was fixed in later 4.4 series releases, 4.3.11 is dead and unsupported, only kept for compatibility purposes for a few people who really still need it... Go for 4.4.4 at least, 4.3 has too much security issues too.
Best regards, CHTEKK.
Comment 4 Ramon 2006-12-29 08:45:19 UTC
I agree, but I am one of the few people that still need it until we finally make the move to php-5 somewhere next month.

I hoped the bug would provide reference for others with the same problem.
Closing it is fine as well