It is an very simple bug: The old version ov java-config works with: java-config -v But the new one does not. It only works with: java-config --java-version So, the php.eclass has a little bug on line 176. just fix it and it is OK!!! Thanx a lot... Bernardo S. A. Silva Reproducible: Always Steps to Reproduce: 1. Install an JDK (>=1.4) 2. Try to instal mod_php 3. CRASH!
Created attachment 19803 [details] Fixed eclass... This eclass are fixed... :)
fixed in CVS.
*** Bug 32013 has been marked as a duplicate of this bug. ***
*** Bug 32031 has been marked as a duplicate of this bug. ***
in a chroot without /proc the following command: JDKVER="$(java-config --java-version | head -n1 | cut -d\" -f2)" prints: Java HotSpot(TM) Client VM warning: Cannot read /proc/self/stat. maybe this could be checked too in eclass
maybe something like: mount -o bind /proc /chroot/proc
mholzer: I've added this: [ -f "/proc/self/stat" ] || die "You need /proc mounted for configure to complete correctly!" as /proc is needed for more things during the compile.