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

Bug 125326

Summary: pear-db emerge fails (solution proposed)
Product: Gentoo Linux Reporter: mathew <mathew.paulyn>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2005.1   
Hardware: All   
OS: Linux   
URL: http://forums.gentoo.org/viewtopic-t-426711-highlight-peardb.html
Whiteboard:
Package list:
Runtime testing required: ---

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 ***