Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 413451

Summary: www-apps/mantisbt uses system adodb, breaks Mantis' SOAP API
Product: Gentoo Linux Reporter: Dirk Olmes <dirk.olmes>
Component: New packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED WONTFIX    
Severity: normal CC: alienpenguin, david
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Dirk Olmes 2012-04-25 06:54:51 UTC
The mantisbt ebuild removes the adodb that comes packaged along with the release tarball which breaks the SOAP API:

[Wed Apr 25 06:58:28 2012] [error] [client 192.168.21.204] PHP Fatal error:  require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'adodb/adodb.inc.php' (include_path='/var/www/localhost/htdocs/mantisbt/core/:/var/www/localhost/htdocs/mantisbt/library:../../library') in /var/www/localhost/htdocs/mantisbt/core/database_api.php on line 35

Adding a symlink to the system adodb in mantisbt/library seems to resolve the issue.

I don't know what the correct fix for this issue would be but as last resort it would be nice if the ebulid could put the synlink in place while installing, maybe?
Comment 1 Francesco Lamonica 2012-07-26 13:32:53 UTC
I do not know if it is related to this bug, however i had a problem not being able to use mantisbt after upgrade to 1.2.8 due to wrong/bad adodb file placement.

basically it was looking for some files in /usr/share/php/adodb/drivers but the required files were in /usr/share/php/adodb so i added symlink and created a loop.
Comment 2 Pacho Ramos gentoo-dev 2016-08-06 09:40:49 UTC
this is not in the tree anymore