First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 144681
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kasper K. Grubbe <kawsper@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 144681 depends on: Show dependency tree
Show dependency graph
Bug 144681 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-21 12:32 0000
I noticed a little
flaw in one of the packages.
I installed  dev-php5/pecl-apc and it told me:
 * The apc.php file shipped with this release of PECL-APC was
 * installed into /usr/share/php5/apc/.

After some investigation i notices that this wasn't true, i searched, and it
was extracted here instead:
>>> /usr/share/apc/
>>> /usr/share/apc/apc.php

------- Comment #1 From Jakub Moc (RETIRED) 2006-08-21 13:13:42 0000 -------
Certainly not here... Make sure you don't have any stale eclasses from overlays
anywhere.

------- Comment #2 From Kasper K. Grubbe 2006-08-21 15:19:27 0000 -------
I did have a overlay, but it was only containing some audio packages (xmms2). I
commented the overlay dir, emerge syncronized, emerge dev-php5/pecl-apc again,
and it placed it the same place.

Is there some more information i can provide you with to spot the problem?

------- Comment #3 From Jakub Moc (RETIRED) 2006-08-22 01:55:16 0000 -------
Please, apply the following patch to /usr/portage/eclass/depend.php.eclass and
try again:

<snip>
--- depend.php.eclass.orig      2006-08-07 09:36:43.000000000 +0200
+++ depend.php.eclass   2006-08-22 10:52:24.000000000 +0200
@@ -50,6 +50,7 @@
        PHPCGI="/usr/${libdir}/php4/bin/php-cgi"
        PHP_PKG="`best_version =dev-lang/php-4*`"
        PHPPREFIX="/usr/${libdir}/php4"
+       PHP_SHARED_CAT="php4"

        einfo
        einfo "Using ${PHP_PKG}"
@@ -87,6 +88,7 @@
        PHPCGI="/usr/${libdir}/php5/bin/php-cgi"
        PHP_PKG="`best_version =dev-lang/php-5*`"
        PHPPREFIX="/usr/${libdir}/php5"
+       PHP_SHARED_CAT="php5"

        einfo
        einfo "Using ${PHP_PKG}"
</snip>

------- Comment #4 From Luca Longinotti 2006-08-22 06:29:59 0000 -------
This is fixed in CVS now, please emerge --sync in a couple of hours to get the
fix.
The problem was the dev-php5/pecl-apc ebuild, it didn't use any need_php*
function and thus didn't define $PHP_SHARED_CAT, resulting in the wrong
placement of the file, this was now fixed. :) The dependency functions will
soon need a little overhaul, but for now this works.
Best regards, CHTEKK.

First Last Prev Next    No search results available      Search page      Enter new bug