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

Bug 22883

Summary: configuration of mod_php fails after fresh emerge
Product: Gentoo Linux Reporter: hal9000 <cat>
Component: New packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED DUPLICATE    
Severity: critical CC: k
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description hal9000 2003-06-15 14:05:37 UTC
after freshly emerging apache and mod_php, the mod_php ebuild ends with the
following error:

>>> Recording dev-php/mod_php in "world" favorites file...
/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required

trying to run the config ebuild gives the same error:

ebuild /var/db/pkg/dev-php/mod_php-4.3.2/mod_php-4.3.2.ebuild
config/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required


Reproducible: Always
Steps to Reproduce:
1. emerge apache
2. emerge mod_php
3.

Actual Results:  
results as in "Details" section

Expected Results:  
configured mod_php :-)
Comment 1 Aniruddha Shankar 2003-06-16 10:54:57 UTC
problem persists in dev-php/mod-php-4.3.2-r2
Comment 2 Aniruddha Shankar 2003-06-16 11:23:16 UTC
the last line's kind of ironic :)

emerge -u mod_php
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-php/mod_php-4.3.2 to /
/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
>>> md5 src_uri ;-) php-4.3.2.tar.bz2
/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
/usr/sbin/ebuild.sh: line 27: return: false: numeric argument required
>>> Unpacking source...
 * This ebuild should be very stable at this point.

Comment 3 Aniruddha Shankar 2003-06-16 11:46:58 UTC
after I had installed mod_php-4.3.2 squirrelmail stopped working. I got around this by manually editing ifdefines in /etc/apache/conf/apache.conf and corresponding stuff in /etc/conf.d/apache

thanks to orzel on irc.freenode.net 
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-18 19:55:07 UTC
Could you please state what you edited in etc/apache/conf/apache.conf and /etc/conf.d/apache ?
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-06-18 20:06:35 UTC

*** This bug has been marked as a duplicate of 22504 ***
Comment 6 hal9000 2003-06-19 09:13:10 UTC
i didn't change the config files manually, the problem appeared simply after emerging.
i have since retried using
USE="xml -java" emerge mod_php
and the ebuild worked. it seems to have failed because of lack of xml.