Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125326 - pear-db emerge fails (solution proposed)
Summary: pear-db emerge fails (solution proposed)
Status: RESOLVED DUPLICATE of bug 120309
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-06 21:13 UTC by mathew
Modified: 2006-03-06 23:59 UTC (History)
0 users

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 mathew 2006-03-06 21:13:42 UTC
Trying to emerge dev-php/PEAR-DB-1.7.6-r1, the following output occurs:

>>> Unpacking source...
>>> Unpacking DB-1.7.6.tgz to /var/tmp/portage/PEAR-DB-1.7.6-r1/work
tar: A lone zero block at 1436
>>> Source unpacked.
>>> Test phase [not enabled]: dev-php/PEAR-DB-1.7.6-r1

>>> Install PEAR-DB-1.7.6-r1 into /var/tmp/portage/PEAR-DB-1.7.6-r1/image/ category dev-php
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update
Cannot install, php_dir for channel "pear.php.net" is not writeable by the current user

!!! ERROR: dev-php/PEAR-DB-1.7.6-r1 failed.
!!! Function php-pear-r1_src_install, Line 64, Exitcode 1
!!! Unable to install PEAR package
!!! If you need support, post the topmost build error, NOT this status message.

As suggested by '' on the forums, this can be fixed by changing line 61 of php-pear-r1.eclass:
  if has_version '=dev-php/PEAR-PEAR-1.3*' ; then 
to
  if has_version '>=dev-php/PEAR-PEAR-1.3*' ; then 

Not sure what the implications of this change are.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-06 23:59:35 UTC

*** This bug has been marked as a duplicate of 120309 ***