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

Bug 95253

Summary: PEAR-Mail doesn't depend on PEAR-PEAR
Product: Gentoo Linux Reporter: Bruno Lustosa <bruno>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED LATER    
Severity: minor CC: wendallc
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bruno Lustosa 2005-06-06 12:39:10 UTC
That's a problem, because PEAR-Mail's Mail.php includes PEAR.php, located in the
package PEAR-PEAR (the base PEAR system).

Reproducible: Always
Steps to Reproduce:
1. emerge PEAR-Mail
2. try to include Mail.php

Actual Results:  
Complains about PEAR.php not found.

Expected Results:  
PEAR-Mail should depend on PEAR-PEAR.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Sempron(tm) 2300+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May 25 2005, 13:09:49)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowext X aalib acl acpi aim alsa apm arts avi
bash-completion berkdb bitmap-fonts bonobo bzip2 bzlib cddb cjk crypt cups curl
eds emboss encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk
gtk2 gtkhtml guile icq imagemagick imap imlib ipv6 irc java jpeg junit libg++
libwww mad mbox mikmod mime mmx mmxext mozilla moznocompose moznoirc moznomail
mp3 mpeg msn ncurses nis nls offensive ogg oggvorbis opengl oss pam pdflib perl
php png postgres procmail python quicktime readline recode samba sdl spell sse
sse2 ssl svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode
vorbis xml xml2 xmms xv yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-06 12:42:50 UTC
Oops, did not mean to assign to perl devs. :/
Comment 2 Wendall Cada 2005-07-05 11:54:19 UTC
Have created a new bug to address this issue here:
http://bugs.gentoo.org/show_bug.cgi?id=98035

You'll need to install PEAR-PEAR to resolve this issue.

Wendall
Comment 3 Wendall Cada 2005-07-05 12:13:24 UTC
Sorry, I didn't test. There are several other things broken. You'll need to
install PEAR-PEAR like this:

emerge --oneshot --nodeps PEAR-PEAR

There are several dependency issues that need resolved for this to work properly.

Wendall
Comment 4 Wendall Cada 2005-07-05 12:43:00 UTC
Ok, I'm not testing stuff before I actually look on a broken system. You'll want
to unmask and add the ~x86 keyword for PEAR-PEAR-1.3.5-r1

Sorry about the bad information.

Wendall
Comment 5 Sebastian Bergmann (RETIRED) gentoo-dev 2005-07-05 13:36:21 UTC
Only package.masked versions of PHP (php, php-cgi, and mod_php packages) do not
install PEAR.

If you use PHP 5.1 and want to emerge PEAR-* packages you have to unmask and
install PEAR-PEAR-1.3.5-r1.

If you use PHP 5.1 and want to emerge PECL-* packages you have to unmask and
install phpconfig.