Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56235 - portage has wrong emerge order: turck-mmcache dependent on php-cli, not the other way round
Summary: portage has wrong emerge order: turck-mmcache dependent on php-cli, not the o...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on: 33440
Blocks:
  Show dependency tree
 
Reported: 2004-07-06 05:49 UTC by Jo Havik
Modified: 2005-02-14 00:11 UTC (History)
1 user (show)

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 Jo Havik 2004-07-06 05:49:42 UTC
I emerged turck-mmcache, which prompted (naturally) the emerge of mod_php.
After installing mod_php, the emerge of turck-mmcache fails.

turck-mmcache uses phpize, which is part of the php-cli package. Installing php-cli manually solves the problem.

Sorry, but i'm a newbie with gentoo/emerge, and have no time to pinpoint the error.


Reproducible: Always
Steps to Reproduce:
1. emerge turck-mmcache (without having php installed)
2.
3.

Actual Results:  
configure of mmcache fails

Expected Results:  
emerged php-cli before, not after, mmcache
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-06 15:39:05 UTC
on a box without any php/mod_php/php-cgi or turck-mmcache installed:

hevesy-int root # emerge -p turck-mmcache
[ebuild  N    ] dev-php/mod_php-4.3.7-r1
[ebuild  N    ] dev-php/turck-mmcache-2.4.6
[ebuild  N    ] dev-php/php-4.3.7-r1

This is clearly incorrect.
turck-mmcache needs dev-php/php, as it's eclass (php-ext-source) has it as a DEPEND. It also has virtual/php as an RDEPEND.
mod_php has PDEPEND="dev-php/php" again via it's eclass (php-sapi).

hevesy-int root # emerge info
Portage 2.0.51_pre12 (!/usr/portage/profiles/default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.6-mm3)
=================================================================
System uname: 2.6.6-mm3 i686 AMD Athlon(TM) XP 2200+
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
Binutils: sys-devel/binutils-2.14.90.0.8-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/gentoo-distfiles"
FEATURES="autoaddcvs buildpkg ccache cvs digest distcc sandbox"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.seren.com/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/gentoo-packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/gentoo-cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC=""
USE="3dnow X aalib acl acpi alsa amd apache2 apm arts berkdb bots cdr clearpasswd crypt curl directfb dvd encode esd ethereal expat fbcon gd gdbm gif gmtfull gmthigh gmtsuppl gmttria gpm gtkhtml imap imlib ipalias ipv6 jikes jpeg junit kde ldap libg++ libwww lirc mad maildir mcal md5sum mikmod mmx motif mozilla mpeg mpi multilib nas ncurses nls oav offensive oggvorbis ospfapi oss pam pcap pdflib perl pic png pnp python qhull qt readline samba scanner sdl slang slp snmp socks5 spell sse ssl tcpd tetex tiff truetype type1 ungif usagi usb v4l vscan wmf wxwindows x86 xml xml2 xmms xv zlib"

Comment 2 Brian Harring (RETIRED) gentoo-dev 2004-08-04 20:05:40 UTC
I can't duplicate this w/ pre13 when I tested it, nor with pre15.  Still an issue?
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2004-08-05 08:04:39 UTC
It's not a circular dependency, but it's in the same class of dep calculation error.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-14 00:11:25 UTC
this no longer seems to be broken, so closig it.