I tried to install mediawiki (and about 20 dependencies apache mysql ...) everithing went fine, but mediawiki stoped after the md5check with that error (I know what this error message tells me about how to post that error ;-) . . . >>> md5 src_uri ;-) mediawiki-1.5.1.tar.gz !!! ERROR: www-apps/mediawiki-1.5.1 failed. !!! Function has_php, Line 228, Exitcode 1 !!! Unable to find an installed dev-lang/php package !!! If you need support, post the topmost build error, NOT this status message. So I uninstalled mod_php which got installed by emerge mediawiki and installed dev-lang/php. After that emerge mediawiki worked Reproducible: Couldn't Reproduce Steps to Reproduce: The problem is reproduceable until you install php manualy, after that even an emerge -e mediawiki installs dev-lang/php and not mod_php (btw blocking each other). Before that I made an emerge -e mediawiki. I thought it was my fault, because I added the thread use flag the day before. emerge stoped with the error above. Expected Results: Install dev-lang/php and not dev-php/mod_php as dependency ACCEPT_KEYWORDS="~x86" USE="X nvidia gtk gnome live vcd cddb cda cdio matroska aac dts freetype stream a52 acpi alsa apm arts audiofile avi bzlib cdr crypt cups dga dio directfb -doc dri dvd dvdr encode ethereal exif extras fame fbcon ffmpeg flac ftp gif gpm gps gtk2 icq imagemagick imlib ipv6 jpeg kde kerberos krb4 lcms libwww lzo gimpprint gnutls rtc tga lzw-tiff mad mhash mjpeg mmx mmx2 mng motif mozilla mpeg network ncurses nocd ogg oggvorbis openal opengl pdflib pic png pnp posix qt quicktime readline samba scanner sdl session sockets socks5 speex spell sse sse2 ssl svg svga sysvipc szip tcltk theora tidy tiff truetype trusted unicode usb v4l wmf xface xine xml2 jabber xmms xpm xv xvid zlib i8x0 -java 3dnow 3dnowext dvb cdparanoia dvdread vorbis real v4l2 win32codecs on-the-fly-crypt mmxext mozsvg java bzip2 pcre apache2 threads dba gd"
That's a feature. Either use stable mediawiki versions with mod_php or switch to dev-lang/php. The old dev-php/{mod_}php ebuilds will be removed from portage in a couple of months anyway.
Uh, so mediawiki requires dev-lang/php and doesn't have that as a dependency, and that's a feature? That doesn't sound right...
(In reply to comment #2) > Uh, so mediawiki requires dev-lang/php and doesn't have that as a dependency, > and that's a feature? That doesn't sound right... No, mediawiki >=1.5.0 does *not* support the old dev-php/{mod_}php ebuilds, it depends on dev-lang/php via inherit depend.php ;)
Ugh, OK, sorry for the confusion. I've misread the somewhat messy description... @trapni, please: - either replace need_php_httpd with need_php (won't be compatible with dev-php/{mod_}php ebuilds then, but will depend correctly on dev-lang/php) - or replace require_php_with_use and require_gd checks in pkg_setup() with built_with_use; the above two checks call has_php function from depend.php eclass, which checks for dev-lang/php, not dev-php/{mod_}php.
(In reply to comment #4) > - either replace need_php_httpd with need_php (won't be compatible with > dev-php/{mod_}php ebuilds then, but will depend correctly on dev-lang/php) (so I should use this then) > - or replace require_php_with_use and require_gd checks in pkg_setup() with > built_with_use; the above two checks call has_php function from depend.php > eclass, which checks for dev-lang/php, not dev-php/{mod_}php. Um, hmm... well, Hi, but anyway, I did certainly *not* want to support legacy dev-php/{mod_,}php in 1.5.x line. Is this bad? (why?)
well, ya. check it out and/or update from cvs/rsync and feel free to blame me ;)
(In reply to comment #5) > Um, hmm... well, Hi, but anyway, I did certainly *not* want to support legacy > dev-php/{mod_,}php in 1.5.x line. > > Is this bad? (why?) No, it's not bad, but it breaks dependency tree (you are missing dev-lang/php dependency then). Seems fixed now, thanks. :)