Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 251070 - dev-db/phpmyadmin requires dev-lang/php[spl]
Summary: dev-db/phpmyadmin requires dev-lang/php[spl]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-15 22:51 UTC by Alex
Modified: 2008-12-28 20:52 UTC (History)
0 users

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


Attachments
add check for spl use flag && added spl and ctype use flags to error message (phpmyadmin-3.0.1.1.ebuild.diff,732 bytes, patch)
2008-12-15 22:53 UTC, Alex
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex 2008-12-15 22:51:03 UTC
When built without the spl use flag, phpMyAdmin fails to run with the error:

Fatal error: Class 'ArrayObject' not found in /var/www/localhost/htdocs/phpmyadmin/libraries/List.class.php on line 14

because the Standard PHP Library isn't installed (and phpMyAdmin expects it to be installed)

Reproducible: Always

Steps to Reproduce:
1. install dev-lang/php without spl use flag
2. install dev-db/phpmyadmin-3.0.1.1
3. try running phpmyadmin

Actual Results:  
Fails with:

Fatal error: Class 'ArrayObject' not found in /var/www/localhost/htdocs/phpmyadmin/libraries/List.class.php on line 14

Expected Results:  
Runs without fatal error because of undefined classes defined in the SPL extension
Comment 1 Alex 2008-12-15 22:53:12 UTC
Created attachment 175378 [details, diff]
add check for spl use flag && added spl and ctype use flags to error message
Comment 2 Gunnar Wrobel (RETIRED) gentoo-dev 2008-12-28 20:52:35 UTC
thanks for the report and the fix! in cvs.