Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82891 - horde-3.0.2 fails to emerge, due to mod_php version (5.0.3 installed)
Summary: horde-3.0.2 fails to emerge, due to mod_php version (5.0.3 installed)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 16:10 UTC by Nathan Sullivan
Modified: 2005-04-29 12:52 UTC (History)
0 users

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 Nathan Sullivan 2005-02-21 16:10:45 UTC
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
Comment 1 SpanKY gentoo-dev 2005-02-22 14:36:22 UTC
what does `emerge mod_php -pv` show
Comment 2 Nathan Sullivan 2005-02-22 15:53:44 UTC
[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
Comment 3 SpanKY gentoo-dev 2005-02-22 16:02:13 UTC
it has nothing to do with version ... it used to be USE=xml but now it's xml2

updated the ebuild as such
Comment 4 Patrizio Bassi 2005-04-29 09:46:49 UTC
that's not fixed, 3.0.4 has the same bug.

please fix again
Comment 5 Patrizio Bassi 2005-04-29 09:51:14 UTC
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
Comment 6 SpanKY gentoo-dev 2005-04-29 11:12:37 UTC
${phpver} being unset doesnt matter, it doesnt affect the check

check works just fine for me
Comment 7 Patrizio Bassi 2005-04-29 11:40:35 UTC
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?
Comment 8 SpanKY gentoo-dev 2005-04-29 12:52:16 UTC
your problem is pretty clear and has nothing to do with this bug report