Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52887 - PEAR ebuild Call to undefined function: _prependpath()
Summary: PEAR ebuild Call to undefined function: _prependpath()
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-03 09:08 UTC by Stefan de Konink
Modified: 2004-06-18 11:26 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 Stefan de Konink 2004-06-03 09:08:20 UTC
When ebuilding any PEAR ebuild a call to an undefined function happens. I presume there is an other dependancy.

Reproducible: Always
Steps to Reproduce:
1. emerge PEAR-[something]
2. get error

Actual Results:  
fabienne root # emerge PEAR-DB
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/PEAR-DB-1.6.4 to /
>>> md5 src_uri ;-) DB-1.6.4.tgz
>>> Unpacking source...
>>> Unpacking DB-1.6.4.tgz to /var/tmp/portage/PEAR-DB-1.6.4/work
tar: A lone zero block at 1117
>>> Source unpacked.

>>> Install PEAR-DB-1.6.4 into /var/tmp/portage/PEAR-DB-1.6.4/image/ category
dev-php

Fatal error: Call to undefined function:  _prependpath() in
/usr/lib/php/PEAR/Downloader.php on line 143

!!! ERROR: dev-php/PEAR-DB-1.6.4 failed.
!!! Function php-pear_src_install, Line 46, Exitcode 255
!!! (no error message)


Expected Results:  
Install done?

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://louise.tc2.utelisys.net/gentoo/
http://ftp.heanet.ie/pub/gentoo/
http://212.219.56.146/sites/www.ibiblio.org/gentoo/
http://212.219.247.18/sites/www.ibiblio.org/gentoo/
http://212.219.247.13/sites/www.ibiblio.org/gentoo/
http://194.83.57.7/sites/www.ibiblio.org/gentoo/ http://ftp.heanet.ie/pub/gentoo/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://louise.tc2.utelisys.net/gentoo-portage"
USE="acpi alsa apache2 apm berkdb crypt curl fam fastcgi flash gd gif gpm
imagemagick imap imlib ipv6 jpeg ldap libg++ libwww maildir mmx mysql ncurses
nls nptl odbc oss pam pdflib perl png postgres python readline sasl slang spell
sqlite sse ssl svga tiff truetype wmf x86 xml2 zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-06-18 01:50:32 UTC
emerge your php again, and please detail here which version you have installed.
I can't produce this with php-4.3.6-r1.
Comment 2 Stefan de Konink 2004-06-18 11:26:13 UTC
I think the installation was a bit mixed up, by unmerging php itself the pear versions changed back to php4 instead of php5 so lets say it was 'emerge sync'-magic.