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

Bug 121287

Summary: Joomla ebuild fails when it can't find dev-lang/php
Product: Gentoo Linux Reporter: James Pattinson <jamesp>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description James Pattinson 2006-02-02 04:44:25 UTC
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Pentium(R) 4 CPU 1700MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=pentium4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -march=pentium4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://calculon/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode esd expat foomaticdb fortran gdbm gif gmp gpm gstreamer gtk gtk2 imlib ipv6 jpeg libg++ libwww mad mhash mikmod motif mp3 mpeg mysql ncurses nls nptl nptlonly ogg opengl oss pam passfile pcre pdflib perl png python qt quicktime readline samba spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

============================================================================

When I emerge joomla I get the following output:

greebo ~ # emerge joomla
Calculating dependencies ...done!
>>> emerge (1 of 1) www-apps/joomla-1.0.7 to /
>>> md5 files   ;-) joomla-1.0.7.ebuild
>>> md5 files   ;-) files/digest-joomla-1.0.7
>>> md5 files   ;-) files/postinstall-en.txt
>>> md5 src_uri ;-) joomla-1.0.7.tar.bz2

!!! ERROR: www-apps/joomla-1.0.7 failed.
!!! Function has_php, Line 233, Exitcode 1
!!! Unable to find an installed dev-lang/php package
!!! If you need support, post the topmost build error, NOT this status message.

Now, I do have php installed:

greebo ~ # equery list | grep php
dev-php/mod_php-4.4.0-r9
dev-php/php-4.4.0-r4

If I try and emerge dev-lang/php I get this:

greebo ~ # emerge -p dev-lang/php

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B     ] dev-php/mod_php (is blocking dev-lang/php-5.0.5-r5)
[blocks B     ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[ebuild  N    ] app-admin/php-toolkit-1.0-r2  
[ebuild  N    ] dev-lang/php-5.0.5-r5
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-02-02 04:49:46 UTC
dev-php/php and dev-php/mod_php are deprecated, you need to switch to dev-lang/php

http://www.gentoo.org/proj/en/php/php-upgrading.xml