Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413451 - www-apps/mantisbt uses system adodb, breaks Mantis' SOAP API
Summary: www-apps/mantisbt uses system adodb, breaks Mantis' SOAP API
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 06:54 UTC by Dirk Olmes
Modified: 2016-08-06 09:40 UTC (History)
2 users (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 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