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

Bug 121653

Summary: www-servers/lighttpd-1.3.16 still depends dev-php/php
Product: Gentoo Linux Reporter: Phattanon Duangdara <phattanon>
Component: New packagesAssignee: Aaron Walker (RETIRED) <ka0ttic>
Status: RESOLVED FIXED    
Severity: normal CC: bart.braem, dev, faircloth, php-bugs, www-servers+disabled
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: lighttpd-1.3.16.ebuild patch

Description Phattanon Duangdara 2006-02-05 05:05:49 UTC
I think emerge --info is not needed.

dev-php/php will be deprecated soon because of the stabilize of dev-lang/php.

But _STABLE_ www-servers/lighttpd-1.3.16 ebuild still depends on dev-php/php.

This cause lighttpd to require dev-php/php and then block dev-lang/php.



Needed either new fixed version bump of lighttpd-1.3.16 ebuild or stabilize of lighttpd-1.4.x.



Note:
lighttpd-1.4.x tells me errors about "gamin" and cannot be compiled.
I think lighttpd-1.4.x ebuilds also missing 'app-admin/fam dependencies'

------------------------------
emereg --info:
Portage 2.0.54 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 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.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://202.142.215.9/pub/mirrors/gentoo http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://202.142.215.9/gentoo-portage"
USE="amd64 X acpi alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 crypt cups curl eds emboss encode esd ethereal expat fam foomaticdb fortran gd gdbm geoip gif glut gmp gnome gpm gstreamer gtk gtk2 idn imagemagick imap imlib ipv6 java jpeg ldap libwww lzw lzw-tiff mhash mp3 mpeg mysql ncurses nls nptl odbc opengl pam pcre pdflib perl perlsuid php png python quicktime readline samba sasl sdl slang snmp spell ssl tcltk tcpd threads tiff truetype truetype-fonts type1-fonts udev usb userlocales vhosts xml xml2 xpm xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Alex Tomkins 2006-02-09 16:59:55 UTC
Created attachment 79387 [details, diff]
lighttpd-1.3.16.ebuild patch

Patch for lighttpd-1.3.16 to use virtual/httpd-php, checks for CGI support - copied from the 1.4 ebuilds.

lighttpd-1.3.13-r3 also suffers from the same problem.

I'd prefer lighttpd-1.4.8 to go stable though.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2006-02-23 21:39:06 UTC
 # python -c 'import portage; print portage.settings.virtuals["virtual/httpd-php"]'
['dev-lang/php', 'dev-php/mod_php']

This appears incorrect to me. lighttpd doesn't work with mod_php. Shouldn't the dependency be directly on dev-lang/php ? Either that, or perhaps a "virtual/cgi-php" should be created.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-02-24 02:22:05 UTC
(In reply to comment #2)
> This appears incorrect to me. lighttpd doesn't work with mod_php. Shouldn't the
> dependency be directly on dev-lang/php ? Either that, or perhaps a
> "virtual/cgi-php" should be created.

The virtuals are changed over to dev-lang/php now (except for mips/osx profiles). 

Comment 4 Aquila 2006-03-05 04:13:22 UTC
This bug gives blocker problems in clean Gentoo setups. 
Are there any solutions apart from unmasking lighttpd-1.4.x?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-03-14 02:59:28 UTC
Ping! Unless maintainer fixes this in a couple of days, php herd will fix the ebuild - it's breaking deptree on stable.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-03-20 13:23:24 UTC
*** Bug 127007 has been marked as a duplicate of this bug. ***
Comment 7 Luca Longinotti (RETIRED) gentoo-dev 2006-03-20 14:10:31 UTC
www-servers/lighttpd-1.3.16 was fixed in CVS now, the changes are safe and really minor, backported from the newer ebuilds, thanks to Alex Tomkins for the patch.
Closing this bug now, finally. :)
Best regards, CHTEKK.