Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 66025 - dev-php/php ebuilds do not PROVIDE="virtual/php"
Summary: dev-php/php ebuilds do not PROVIDE="virtual/php"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-01 07:55 UTC by Sebastian Bergmann (RETIRED)
Modified: 2004-10-01 13:07 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 Sebastian Bergmann (RETIRED) gentoo-dev 2004-10-01 07:55:29 UTC
PEAR ebuilds have a dependency on virtual/php. The dev-php/php ebuilds for the PHP CLI SAPI do not contain

  PROVIDE="virtual/php-${PV}"

while the dev-php/mod_php ebuilds have

  PROVIDE="virtual/php-${PV} virtual/httpd-php-${PV}"

Reproducible: Always
Steps to Reproduce:
1. emerge dev-php/php
2. emerge dev-php/PEAR-Log

Actual Results:  
portage wants to emerge dev-php/mod_php

Expected Results:  
portage should not dev-php/mod_php

Portage 2.0.51_rc7 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2,
glibc-2.3.4.20040808-r0, 2.6.8-gentoo-r5 i686)
=================================================================
System uname: 2.6.8-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -mno-sse2 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -mno-sse2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox sfperms"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bitmap-fonts cdr crypt cscope cups dvd dvdr eds
encode esd evo foomaticdb gdbm gif gnome gpm gtk gtk2 hal howl imlib java jpeg
libg++ libwww mad mikmod mmx mono motif mozilla moznocompose moznoirc moznomail
mpeg ncurses nls nntp oggvorbis opengl oss pam pdflib perl png python quicktime
readline samba sdl slang spell sse ssl svg svga tcltk tcpd tiff truetype x86
xml2 xmms xprint xv zlib"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-10-01 08:58:28 UTC
I could 
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-10-01 09:10:23 UTC
Umm, I could have sworn that dev-php/php had the virtual as well, but I can't find where it's gone.

Regardless, I've revision bumped to dev-php/php-5.0.2-r1 that does provide it now.
Comment 3 Sebastian Bergmann (RETIRED) gentoo-dev 2004-10-01 12:20:35 UTC
Please do the same for the php-4.3.9.ebuild so that people who package.mask >=php-5.0.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-10-01 13:07:34 UTC
it is already in place for them.

The original of the problem was that the PHP4 series has the PROVIDE statements in the eclass, but for PHP5, we wanted to move it to the ebuilds.