Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75108 - Horde forces USE=session for php-4.x
Summary: Horde forces USE=session for php-4.x
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 15:12 UTC by James Gatt
Modified: 2005-01-16 19:00 UTC (History)
3 users (show)

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 James Gatt 2004-12-20 15:12:22 UTC
I already have horde-2.2.5 installed. There are two contradictions in this report:

1. Can the installation be upgraded or not? First the suggestion is no, then the statement is yes.

2. nls is definitely in my "USE". (I assume this is also shown by the line before "you MUST re- emerge...".) However the report says I must have at least one of "nls session", which I have. I don't think I had session when I installed horde-2.2.5. I have set up postgresql to store settings.


Reproducible: Always
Steps to Reproduce:
1. Start on a system with horde-2.2.5 already installed.
2. emerge horde
3.

Actual Results:  
>>> emerge (1 of 1) www-apps/horde-2.2.7 to /
>>> md5 src_uri ;-) horde-2.2.7.tar.gz
 * You already have something installed in /var/www/localhost/htdocs/horde
 * Are you trying to install over the top of something I cannot upgrade?
 * 
 * I can upgrade the contents of /var/www/localhost/htdocs/horde
 * 
nls
 * You MUST re-emerge  with at least one of
 * the following options in your USE:
 *  nls session

!!! ERROR: www-apps/horde-2.2.7 failed.
!!! Function horde_pkg_setup, Line 61, Exitcode 0
!!! current mod_php install cannot support horde
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Upgrade to horde-2.2.7 with me then having to merge in the changes I made to 
the horde config files in /var/www/localhost/htdocs/horde/ using etc-update.

Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-
r1, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /
usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/s
hare/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/t
ex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/alias /var/qmail/c
ontrol"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d alsa apache2 apm atm avi berkdb bitmap-fonts bmp crypt cscope cups 
directfb doc dvb dvd encode esd f77 fam fbcon flac foomaticdb fortran fusion 
gdbm gif gnome gpm gtk gtk2 imap imlib innodb java jikes joystick jpeg junit 
kde lesstif libg++ libwww lirc mad maildir matrox mikmod mmx motif mozilla mpeg 
mysql ncurses nls nocd odbc oggvorbis opengl oss pam pdflib perl png postgres 
python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd 
tetex tiff truetype usb videos x86 xml xml2 xmms xv zlib video_cards_matrox"
Comment 1 Simone Gotti (RETIRED) gentoo-dev 2004-12-20 15:29:58 UTC
I think that the problem is the wrong use of "built_with_use"

" if ! built_with_use mod_php ${HORDE_PHP_FEATURES} ; then "

will be ok only if both "nls" and "session" are active in mod_php.

This will never happen as "session" is not a useflag of mod_php-4*
Comment 2 Simone Gotti (RETIRED) gentoo-dev 2004-12-20 15:36:57 UTC
Another little typo is that "phpver" is never defined, and it should say not [only] the version but at least the package name "mod_php":

'You MUST re-emerge  with at least one of"
                 ^^^^^^
Comment 3 bravecobra 2004-12-20 19:38:58 UTC
Having the same problem here. Strangely enough that same USE flag is also in horde-2.2.5, so did it get added after I emerged it without incrementing to an r2?
Comment 4 Martin Tsachev 2004-12-23 01:40:44 UTC
I just remoted session from the list of required PHP features and it installed. It's not a valid flag anyway.

grep session /var/db/pkg/dev-php/mod_php-4.3.10/IUSE
Comment 5 SpanKY gentoo-dev 2004-12-23 23:16:46 UTC
fixed in cvs
Comment 6 Morten Mertner 2005-01-16 19:00:53 UTC
The fix does not work when you have both PHP4 and PHP5 installed. The ebuild should check which is the default (by checking /etc/conf.d/apache[2]).