Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 112058 - ERROR: dev-php/PEAR-PEAR-1.3.6 failed
Summary: ERROR: dev-php/PEAR-PEAR-1.3.6 failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 116867 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-11-10 02:20 UTC by Sander Smeenk
Modified: 2006-01-04 03:34 UTC (History)
1 user (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 Sander Smeenk 2005-11-10 02:20:30 UTC
After following the php upgrade guide and installing dev-lang/php I try to 
emerge pear. This failes for some reason:

These are the packages that I would merge, in order:

Calculating world dependencies ...done!
[ebuild  N    ] dev-php/PEAR-PEAR-1.3.6  26 kB
[ebuild  N    ] dev-php/PEAR-Archive_Tar-1.3.1-r1  0 kB
[ebuild  N    ] dev-php/PEAR-XML_RPC-1.4.4  23 kB
[ebuild  N    ] dev-php/PEAR-Console_Getopt-1.2-r1  0 kB
[ebuild  N    ] dev-php/PEAR-DB-1.7.6-r1  121 kB

Total size of downloads: 172 kB

Do you want me to merge these packages? [Yes/No] y
>>> emerge (1 of 5) dev-php/PEAR-PEAR-1.3.6 to /
>>> Downloading ftp://ftp.nluug.nl/pub/os/Linux/distr/gentoo/distfiles/XML_RPC-
1.4.1.tgz
--10:57:25--  ftp://ftp.nluug.nl/pub/os/Linux/distr/gentoo/distfiles/XML_RPC-
1.4.1.tgz
           => `/usr/portage/distfiles/XML_RPC-1.4.1.tgz'
Resolving ftp.nluug.nl... 192.87.102.36
Connecting to ftp.nluug.nl|192.87.102.36|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/os/Linux/distr/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR XML_RPC-1.4.1.tgz ... done.
Length: 26,941 (26K) (unauthoritative)

100%
[===============================================================================
===>] 26,941       145.95K/s

10:57:26 (145.79 KB/s) - `/usr/portage/distfiles/XML_RPC-1.4.1.tgz' saved 
[26941]

>>> md5 files   ;-) PEAR-PEAR-1.3.6-r1.ebuild
>>> md5 files   ;-) PEAR-PEAR-1.3.6.ebuild
>>> md5 files   ;-) PEAR-PEAR-1.3.5-r1.ebuild
>>> md5 files   ;-) PEAR-PEAR-1.3.5.ebuild
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.5
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.6
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.5-r1
>>> md5 files   ;-) files/digest-PEAR-PEAR-1.3.6-r1
>>> md5 src_uri ;-) Archive_Tar-1.3.1.tgz
>>> md5 src_uri ;-) Console_Getopt-1.2.tgz
>>> md5 src_uri ;-) XML_RPC-1.4.1.tgz
>>> md5 src_uri ;-) PEAR-1.3.6.tgz
 *
 * Using dev-lang/php-4.4.1-r2
 *
 * Checking for required PHP feature(s):
>>> Unpacking source...
>>> Unpacking Archive_Tar-1.3.1.tgz to /var/tmp/portage/PEAR-PEAR-1.3.6/work
tar: A lone zero block at 168
>>> Unpacking Console_Getopt-1.2.tgz to /var/tmp/portage/PEAR-PEAR-1.3.6/work
tar: A lone zero block at 27
>>> Unpacking XML_RPC-1.4.1.tgz to /var/tmp/portage/PEAR-PEAR-1.3.6/work
tar: A lone zero block at 254
>>> Unpacking PEAR-1.3.6.tgz to /var/tmp/portage/PEAR-PEAR-1.3.6/work
tar: A lone zero block at 1089
>>> Source unpacked.
>>> Test phase [not enabled]: dev-php/PEAR-PEAR-1.3.6

>>> Install PEAR-PEAR-1.3.6 into /var/tmp/portage/PEAR-PEAR-1.3.6/image/ 
category dev-php
>>> dobin: making pear executable...
WARNING: running in safe mode requires that all files created be the same uid 
as the current script.  PHP reports this script is uid: 0, and current user is: 
root
could not create directory: /var/tmp/portage/homedir

!!! ERROR: dev-php/PEAR-PEAR-1.3.6 failed.
!!! Function install_pear_after_bootstrap, Line 107, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Help me :)
Comment 1 Sander Smeenk 2005-11-10 02:57:28 UTC
doing 
# rm -rf /var/tmp/portage
and retrying doesn't help.

After the failing emerge, this is the content of /var/tmp/portage:

# ll /var/tmp/portage
total 0
drwxr-xr-x  6 portage portage 240 Nov 10 11:28 PEAR-PEAR-1.3.6
drwxrws---  2 portage portage  48 Nov 10 11:23 homedir
Comment 2 Jan Vansteenkiste 2005-12-28 04:43:30 UTC
Same using
apache mpm-worker
dev-lang/php-5.0.0.5-r4 hardenedphp
Comment 3 Jan Vansteenkiste 2005-12-28 04:55:44 UTC
Solution:
USE="-hardenedphp" emerge dev-lang/php
Comment 4 Jan Vansteenkiste 2005-12-28 04:59:10 UTC
Bug is duplicate of http://bugs.gentoo.org/show_bug.cgi?id=116867
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-28 05:02:26 UTC
*** Bug 116867 has been marked as a duplicate of this bug. ***
Comment 6 Luca Longinotti (RETIRED) gentoo-dev 2006-01-04 03:34:50 UTC
The new revisions of dev-lang/php are in the tree, wich should fix this by using the updated Hardened-PHP patch (0.4.8).
Best regards, CHTEKK.