When trying to emerge horde, it complains about some missing USE flags nls session and xml, yet after reading the ebuild, they seem to be set dependent on what PHP version is found. So it seems like a combination of bad error reporting and not finding the PHP version it wants. Reproducible: Always Steps to Reproduce: 1. emerge horde 2. 3. Actual Results: Failed to install. Expected Results: Successfully installed. >>> md5 files ;-) files/digest-horde-2.2.7 >>> md5 src_uri ;-) horde-3.0.2.tar.gz * You MUST re-emerge with at least one of * the following options in your USE: * nls session xml !!! ERROR: www-apps/horde-3.0.2 failed. !!! Function horde_pkg_setup, Line 67, Exitcode 0 !!! current mod_php install cannot support horde !!! If you need support, post the topmost build error, NOT this status message. ----------------------------------------- Portage 2.0.51-r15 (selinux/2004.1/x86, gcc-3.4.3, glibc-2.3.4.20050125-r0, 2.6.7-hardened-r18 i686) ================================================================= System uname: 2.6.7-hardened-r18 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 13:28:54)] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.5, 1.4_p6, 1.6.3, 1.7.9-r1, 1.8.5-r3 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr" CHOST="i386-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fforce-addr" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages loadpolicy nostrip sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirror.isp.net.au/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="apache2 bash-completion berkdb cpdflib crypt cups curl dba debug dvd exif fam ftp gd gdbm hardened hardenedphp imap innodb ipv6 jabber jpeg ldap mad maildir mcal mhash mmx mysql ncurses nls oggvorbis pam pcntl pcre perl pic pie png postgres python readline samba selinux session simplexml slang snmp sockets spell sqlite ssl tcpd tidy tiff tokenizer truetype usb vhosts wddx x86 xml xml2 xmlrpc zaptel zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
what does `emerge mod_php -pv` show
[ebuild R ] dev-php/mod_php-5.0.3 -adabas +apache2 -bcmath +berkdb -birdstep -bzlib -calendar -cdb +cpdflib +crypt -ctype +curl -curlwrappers -db2 +dba -dbase -dbm -dbmaker -dbx +debug -dio -empress -empress-bcs -esoob +exif +fam -fdftk -filepro -flatfile -frontbase +ftp +gd -gd-external +gdbm* -gmp -hyperwave-api -iconv +imap -informix -ingres -inifile -interbase -iodbc +jpeg -kerberos +ldap -libedit -mcve -memlimit +mhash -mime -ming -mnogosearch -msession -msql -mssql +mysql -mysqli +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos +pcntl +pcre -pfpro +png -posix +postgres -qdbm +readline -recode -sapdb -sasl +session -shared -sharedmem +simplexml +snmp -soap +sockets -solid +spell -spl +sqlite +ssl -sybase -sybase-ct -sysvipc +tidy +tiff +tokenizer +truetype +wddx +xml2 +xmlrpc -xpm -xsl +zlib 0 kB
it has nothing to do with version ... it used to be USE=xml but now it's xml2 updated the ebuild as such
that's not fixed, 3.0.4 has the same bug. please fix again
looking in eclass i see: if ! built_with_use ${param} mod_php ${HORDE_PHP_FEATURES} ; then eerror "You MUST re-emerge ${phpver} with at least one of" eerror "the following options in your USE:" eerror " ${HORDE_PHP_FEATURES}" die "current mod_php install cannot support ${HORDE_PN}" fi the $phpver var is not setted (in fact that's a blank space in the horde message) these checks are not perfect, please fix
${phpver} being unset doesnt matter, it doesnt affect the check check works just fine for me
ok vapier, but it doesn't emerge, even if i recompiled with xml2 and nls flasg my php build. only session flag is off. what should i do?
your problem is pretty clear and has nothing to do with this bug report