Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420517 - dev-php/adodb-5.17 installs files(?) in wrong locations
Summary: dev-php/adodb-5.17 installs files(?) in wrong locations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jorge Manuel B. S. Vicetto
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-10 17:09 UTC by Federico Cuello
Modified: 2013-02-05 02:58 UTC (History)
5 users (show)

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


Attachments
dev-php/adodb-5.17 file list (adodb-filelist,15.55 KB, text/plain)
2012-06-11 13:54 UTC, Federico Cuello
Details
Fix src_install() (adodb-5.17.ebuild-fix-install.patch,607 bytes, patch)
2012-08-05 03:44 UTC, Federico Cuello
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Federico Cuello 2012-06-10 17:09:37 UTC
dev-php/adodb doesn't preserve directory structure on install, causing failure to find included files.

Reproducible: Always
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-06-11 10:12:28 UTC
Can you please attach/comment the output of
`emerge -pv dev-php/adodb` and `qlist dev-php/adodb`
thanks.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-06-11 11:31:30 UTC
qlist is installed by app-portage/portage-utils...
Comment 3 Federico Cuello 2012-06-11 13:52:26 UTC
(In reply to comment #1)
> Can you please attach/comment the output of
> `emerge -pv dev-php/adodb` and `qlist dev-php/adodb`
> thanks.

I've downgraded the package as it breaks my cacti installation.


$ emerge -pv dev-php/adodb

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-php/adodb-5.17 [5.14] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB


This change is the culprit (from diff -u /usr/portage/dev-php/adodb/adodb-5.14.ebuild /usr/portage/dev-php/adodb/adodb-5.17.ebuild):

 src_install() {
-       # install php files
-       php-lib-r1_src_install . $(find . -name '*.php' -print)
+       insinto "/usr/share/php/${PN}"
+       doins $(find . -name '*.php' -print)
+       doins xsl/*.xsl
Comment 4 Federico Cuello 2012-06-11 13:54:49 UTC
Created attachment 315007 [details]
dev-php/adodb-5.17 file list

Output of find /var/tmp/portage/dev-php/adodb-5.17/image/

after "ebuild /usr/portage/dev-php/adodb/adodb-5.17.ebuild install"
Comment 5 Federico Cuello 2012-07-05 18:57:23 UTC
Any news about this?
Comment 6 Federico Cuello 2012-08-05 03:44:43 UTC
Created attachment 320418 [details, diff]
Fix src_install()
Comment 7 Brandon Penglase 2012-09-30 03:20:58 UTC
Patch in Comment 6 works for me. This also broke my install, and I figured there was a better way then editing adodb.inc.php. Thanks!
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-02-05 02:58:01 UTC
02:56 < irker747> gentoo-x86: jmbsvicetto dev-php/adodb: Revert dev-php/adodb-5.17 to the old instalattion method to fix the directory strcture - fixes bug 420517.

Please test adodb-5.17-r1.
This issue should be fixed now. Feel free to reopen the bug if it's not.