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

Bug 122833

Summary: emerge lighttpd exits without an error message
Product: Gentoo Linux Reporter: Janosch Kalateh <jani80k>
Component: [OLD] ServerAssignee: Aaron Walker (RETIRED) <ka0ttic>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Janosch Kalateh 2006-02-14 12:33:16 UTC
Hi I am trying to install the 1.4.x version of lighttpd. 1.3.16 runs fine.
When I do an "emerge lighttpd" after setting "www-servers/lighttpd ~x86" in /etc/portage/package.mask, emerge just exits after the md5-checking without any error message.

root@server:/usr/portage/www-servers/lighttpd#emerge lighttpd
Calculating dependencies ...done!
>>> emerge (1 of 1) www-servers/lighttpd-1.4.10 to /
>>> md5 files   ;-) lighttpd-1.3.16.ebuild
>>> md5 files   ;-) lighttpd-1.4.10.ebuild
>>> md5 files   ;-) lighttpd-1.4.7.ebuild
>>> md5 files   ;-) lighttpd-1.4.8.ebuild
>>> md5 files   ;-) lighttpd-1.3.13-r3.ebuild
>>> md5 files   ;-) files/digest-lighttpd-1.3.16
>>> md5 files   ;-) files/digest-lighttpd-1.4.10
>>> md5 files   ;-) files/lighttpd-1.3.10.initd
>>> md5 files   ;-) files/lighttpd.initd
>>> md5 files   ;-) files/lighttpd.logrotate
>>> md5 files   ;-) files/spawn-fcgi.confd
>>> md5 files   ;-) files/spawn-fcgi.initd
>>> md5 files   ;-) files/digest-lighttpd-1.3.13-r3
>>> md5 files   ;-) files/lighttpd-1.3.11-gentoo.diff
>>> md5 files   ;-) files/lighttpd-1.3.13-php.diff
>>> md5 files   ;-) files/lighttpd-1.3.13-pam-name.diff
>>> md5 files   ;-) files/lighttpd-1.3.13-valid-user.diff
>>> md5 files   ;-) files/lighttpd-1.3.13-zope-deserves-lovins-too.diff
>>> md5 files   ;-) files/lighttpd-1.3.13-ldap-binddn.diff
>>> md5 files   ;-) files/lighttpd-1.3.13-no-mysql-means-no-mysql.diff
>>> md5 files   ;-) files/digest-lighttpd-1.4.7
>>> md5 files   ;-) files/digest-lighttpd-1.4.8
>>> md5 files   ;-) files/conf/lighttpd.conf
>>> md5 files   ;-) files/conf/mime-types.conf
>>> md5 files   ;-) files/conf/mod_cgi.conf
>>> md5 files   ;-) files/conf/mod_fastcgi.conf
>>> md5 src_uri ;-) lighttpd-1.4.10.tar.gz
root@server:/usr/portage/www-servers/lighttpd#

I also tried the other ebuilds from the 1.4.x tree. Same thing.

Here's my info:

Portage 2.0.54 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) MP 1800+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
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.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -fomit-frame-pointer -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -fomit-frame-pointer -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.inode.at/ http://ftp.lug.ro/gentoo/"
LC_ALL="de_DE@euro"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext 7zip X509 acl acpi apache2 audiofile bash-completion berkdb bzip2 cdparanoia cdr clamav clamd crypt cups encode erandom ethereal exif extensions fastcgi foomaticdb ftp gdbm gif gimpprint iconv icq idn imap imlib imlib2 ipv6 jp2 jpeg jpeg2k ldap libg++ libwww lm_sensors mad maildir mhash mjpeg mmx mmx2 mmxext mp3 mpeg mysql ncurses nls no-htdocs no-old-linux nptl nptlonly oav offensive ogg oggvorbis oscar pam pcre pdflib perl pic png posix python quicktime quotas readline samba spell sse ssl symlink sysvipc szip tcpd threads tiff udev userlocales vorbis wifi withsamplescripts xml xml2 xpm zip zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Janosch Kalateh 2006-02-17 05:02:55 UTC
I got it fixed. It is more likely a problem with emerge than an error in the ebuild. When I emerged lighttpd with -php, it started compiling and didn't just exit. I started investigating and ended up replacing dev-php/php-4.4.0 and php-cgi-4.4.0 with dev-lang/php-5.0.5 and it worked. I think emerge shows some really weird behaviour by just exiting and not printing any error message.

Similar situation with net-p2p/mldonkey when compiling with +gd and gd isn't compiled with +truetype, emerge shouldn't just exit without giving out any warnings. It should print an error message. The relevant code is here:

    if use gd && !(built_with_use media-libs/gd truetype); then
        eerror "media-libs/gd must be built with the 'truetype' to compile"
        eerror "mldonkey with gd support"
        die "Recompile media-libs/gd with enabled truetype USE flag"
    fi

Anything wrong with my emerge?
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2006-02-25 17:10:39 UTC
I have no earthly idea what may have caused that unfortunately.  Closing INVALID since it has nothing to do with lighttpd itself.