Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32012 - php eclass and java-config
Summary: php eclass and java-config
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
: 32031 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-26 00:28 UTC by Bernardo S. A. Silva
Modified: 2003-10-26 13:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fixed eclass... (php.eclass,16.40 KB, application/octet-stream)
2003-10-26 00:29 UTC, Bernardo S. A. Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernardo S. A. Silva 2003-10-26 00:28:21 UTC
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!
Comment 1 Bernardo S. A. Silva 2003-10-26 00:29:23 UTC
Created attachment 19803 [details]
Fixed eclass...

This eclass are fixed... :)
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-26 01:41:20 UTC
fixed in CVS.
Comment 3 Aquila 2003-10-26 06:17:28 UTC
*** Bug 32013 has been marked as a duplicate of this bug. ***
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2003-10-26 06:19:51 UTC
*** Bug 32031 has been marked as a duplicate of this bug. ***
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2003-10-26 11:58:22 UTC
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
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-10-26 11:58:59 UTC
maybe something like:

 mount -o bind /proc /chroot/proc
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-26 13:01:14 UTC
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.