Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20909 - PHP eclass needs testing
Summary: PHP eclass needs testing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Highest critical (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-13 05:52 UTC by Robin Johnson
Modified: 2003-06-26 11:57 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-13 05:52:23 UTC
Would all php-bugs trackers please try to emerge dev-php/php-4.3.1-r2 and dev-
php/mod_php-4.3.1-r3? They are currently masked in packages.mask. 
Please note all items that are wrong here.

If nothing serious comes up, I want to move this to ~x86 in 36 hours and to 
stable inside the next 5 days.

The install sections could still use a little bit of a cleanup, but the main 
stuff is done. All hard to handle java/QT bugs from previously should be 
resolved in this.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Dave Nellans 2003-05-29 20:40:55 UTC
mod_php ebuild -r3 breaks the phpsysinfo package under both apache 1.3.x and 2.0.x.  the easy fix is to go back to mod_php-4.3.1-r2.  the error is in regards to XPath and it can't find the xml_create_parser() function.  i checked the phpinfo and it says XPath is configured correctly however its obviously not working right.  let me know if you need any more details than this.

dave
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-05-31 17:43:31 UTC
Dave: it works perfectly for me with 4.3.1-r3 and 4.3.2
Check it here:
http://sloth.games.techbc.ca/phpsysinfo/
Comment 3 Dave Nellans 2003-06-01 23:56:41 UTC
tested 4.3.2 to see if it fixed the issue and it did not.  to verify its not just something about my machine i tried it on another gentoo box as well with the same results; no luck.  the exact error reads:

Fatal error: Call to undefined function: xml_parser_create() in /home/httpd/htdocs/phpsysinfo/includes/XPath.class.php

similarly to before downgrading to 4.3.1-r2 fixes the problem on all machines affected.

dave
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-02 03:18:10 UTC
Dave:
could you please include your 'emerge info' output.
I now suspect your USE flags don't include the 'xml' and 'xml2' items needed to build that support in PHP.
Comment 5 Dave Nellans 2003-06-02 14:47:31 UTC
I just checked my use flags and it does indeed work with xml2 and xml enabled, but  NOT with only xml2 enabled, and i haven't tested with only xml enabled but i suspect its going to work.  this is quite unituitive because xml2 is enabled in the x86 base profile USE flags but xml is not.  should the ebuild abort if xml is not set because it will not work if mod_php is not built with xml disabled (which it is in the base profile).  I know you don't want to check on "if another ebuild was merged with X set of flags" but this is a real pita, because only with the php.eclass did this issue arrise.  any thoughts? (by the way i have it all working 100% finally)

dave
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-02 16:05:46 UTC
I'm actually considering forcing xml and xml2 stuff into PHP, as it looks like the PEAR stuff needs it.
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-26 11:57:40 UTC
Works now.