Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98939 - cacti depends on mod_php instead of virtual/httpd-php
Summary: cacti depends on mod_php instead of virtual/httpd-php
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-13 16:59 UTC by Philipp Morger
Modified: 2005-11-18 05:38 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 Philipp Morger 2005-07-13 16:59:55 UTC
cacti depends on mod_php instead of virtual/httpd-php, this might also happen to
other ebuilds than cacti

The problem is easy fixable by adjusting the DEPEND statement...

Reproducible: Always
Steps to Reproduce:
1. Install php-cgi to have php in apache
2. Try to install cacti


Actual Results:  
cacti ebuild depends on mod_php

Expected Results:  
the ebuild should depend on virtual/httpd-php, and when done that should not
only check if php was build with mysql but also mysqli (which is new in php5)

Portage 2.0.51.22-r1 (selinux/2005.1/x86, gcc-3.4.4-hardened, glibc-2.3.5-r0,
2.6.11-hardened-r15 i686)
=================================================================
System uname: 2.6.11-hardened-r15 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/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/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks loadpolicy sandbox selinux sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.inode.at/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://src.gentoo.pl
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/
http://ds.thn.htu.se/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/
http://mirror.switch.ch/ftp/mirror/gentoo/
http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://gentoo.ynet.sk/pub
http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
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 X a52 alsa apache2 bash-completion berkdb bzip2 cdr cjk codecs cracklib
crypt cscope css ctype cups dba dbus distcache eds fam fastcgi ffmpeg flac
foomaticdb gd gif gimpprint gnome gnome-print gnutls gpm gstreamer gtk hal iconv
idea imagemagick imlib imlib2 innodb ipv6 jpeg lesstif libwww mad maildir
memlimit mhash mime mjpeg mozilla moznoirc moznomail mozsvg mplayer mpm-worker
mysql nagios-dns nagios-ping nagios-ssh ncurses nls ogg opengl pam pam-mysql
pam_chroot pam_console pam_timestamp pcre pdflib perl php pie png python
readline samba sasl scanner sdl selinux session skey slang smartcard smime snmp
sounds sse sse2 ssl syslog threads tidy tiff unicode utf8 vim vim-pager vorbis
xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-07-25 21:22:46 UTC
This sounds good, and mod_php is the default for virtual/httpd-php.

I'm in doubt, however, in relation to "built_with_use dev-php/mod_php mysql" in
pkg_setup().

Can anyone clarify if:

1) Does built_with_use work with virtuals?
2) Do all virtual/httpd-php packages support mysql?
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2005-11-18 05:38:36 UTC
Looks like this has been taken care of. Please reopen if thats not the case.