PEAR-DB fails to emerge with this error: >>> Emerging (1 of 1) dev-php/PEAR-DB-1.7.6-r1 to / * Previously fetched: DB-1.7.6.tgz size ;-) ... [ ok ] * Previously fetched: DB-1.7.6.tgz RMD160 ;-) ... [ ok ] * Previously fetched: DB-1.7.6.tgz SHA256 ;-) ... [ ok ] * Previously fetched: DB-1.7.6.tgz MD5 ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking DB-1.7.6.tgz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking DB-1.7.6.tgz to /var/tmp/portage/PEAR-DB-1.7.6-r1/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/PEAR-DB-1.7.6-r1/work/DB-1.7.6 ... >>> Source compiled. >>> 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 !!! ERROR: dev-php/PEAR-DB-1.7.6-r1 failed. Call stack: ebuild.sh, line 1543: Called dyn_install ebuild.sh, line 1017: Called src_install ebuild.sh, line 1252: Called php-pear-r1_src_install php-pear-r1.eclass, line 66: Called die !!! Unable to install PEAR package !!! If you need support, post the topmost build error, and the call stack if relevant. Unsure if this is related but PEAR-PEAR installs, but also display's these errors: >>> /tmp/pear/ >>> /tmp/pear/cache/ >>> /tmp/pear/cache/.keep_dev-php_PEAR-PEAR-0 Command 'pear.php.net' is not valid, try 'pear help' Command 'pear.php.net' is not valid, try 'pear help' Command 'pecl.php.net' is not valid, try 'pear help' Command 'pecl.php.net' is not valid, try 'pear help' Command 'components.ez.no' is not valid, try 'pear help' Command 'components.ez.no' is not valid, try 'pear help' Command 'pear.phpdb.org' is not valid, try 'pear help' Command 'pear.phpdb.org' is not valid, try 'pear help' Command 'pear.phing.info' is not valid, try 'pear help' Command 'pear.phing.info' is not valid, try 'pear help' Command 'pear.symfony-project.com' is not valid, try 'pear help' Command 'pear.symfony-project.com' is not valid, try 'pear help' >>> Regenerating /etc/ld.so.cache... >>> dev-php/PEAR-PEAR-1.4.10 merged. >>> Recording dev-php/PEAR-PEAR in "world" favorites file... So far I've tried a heap of different versions of PHP (both PHP4 & PHP5 and minor versions of both) upgrading sandbox, upgrading all of the applications that PEAR-PEAR and PEAR-DB depend on, different use flags, different versions of PEAR-PEAR, uninstalling and manually deleting /usr/share/php and /etc/pear.conf and reinstalling and still can't make it work. I'm not the only person who has this problem (see http://forums.gentoo.org/viewtopic-t-476928-highlight-peardb.html). One of the configurations that I have tried should definately work (as far as I can tell) as I'm running the exact same versions on other computers here so I can't work out what is going wrong. emerge --info Portage 2.1.1_pre4-r1 (default-linux/x86/no-nptl/2.4, gcc-3.3.6, glibc-2.3.5-r1, 2.4.28-gentoo-r9 i686) ================================================================= System uname: 2.4.28-gentoo-r9 i686 Intel(R) Celeron(R) CPU 2.40GHz Gentoo Base System version 1.4.16 app-admin/eselect-compiler: [Not Present] dev-lang/python: 2.2.3-r6, 2.3.5-r2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/gcc-config: 1.3.12-r2 sys-devel/libtool: 1.4.3-r4, 1.5.22 virtual/os-headers: 2.4.19-r1, 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://tlinux/gentoo-portage" USE="x86 X alsa apache2 avi berkdb bitmap-fonts clearpasswd cli crypt dlloader dri eds emboss encode fbcon fortran gd gdbm gif gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg ncurses nls ogg opengl oss pam pcre pdflib perl php png pppd python qt qt3 qt4 quicktime radeon readline reflection samba sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts v4l vorbis xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Please, rm -f /etc/pear.conf, upgrade to PEAR-PEAR-1.4.11 and try again. Report back if it helped or not. Thanks!
I encountered a similar problem, upgrade to PEAR-PEAR 1.4.11 helped, eventually -- after pear clear-cache. I suggest that pear clear-cache be done in pkg_postinst for PEAR-PEAR before the channel-discover stuff.
(In reply to comment #2) > I suggest that pear clear-cache be done in pkg_postinst for PEAR-PEAR before the > channel-discover stuff. Done, thanks.
*** Bug 157129 has been marked as a duplicate of this bug. ***
*** Bug 157364 has been marked as a duplicate of this bug. ***
*** Bug 179794 has been marked as a duplicate of this bug. ***