Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49853 - emerge dev-java/sun-j2sdk
Summary: emerge dev-java/sun-j2sdk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 55163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-05-03 08:57 UTC by Marc Raphael
Modified: 2004-07-14 04:45 UTC (History)
2 users (show)

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


Attachments
output of emerge --info (as requested) (emerge-info.txt,1.32 KB, text/plain)
2004-05-03 16:16 UTC, Marc Raphael
Details
fix (sun-j2sdk-1.4.1-r1.ebuild-fix-sandbox-nofetch.patch,2.07 KB, patch)
2004-06-22 08:40 UTC, Thomas Matthijs (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marc Raphael 2004-05-03 08:57:10 UTC
(from emerge dev-java/blackdown-jdk
>>> Install blackdown-jdk-1.4.1 into /var/tmp/portage/blackdown-jdk-1.4.1/image/ category dev-java
cp: failed to preserve ownership for /var/tmp/portage/blackdown-jdk-1.4.1/image//opt/blackdown-jdk-1.4.1/jre/lib/i386/client/libjsig.so: No such file or directory
cp: failed to preserve ownership for /var/tmp/portage/blackdown-jdk-1.4.1/image//opt/blackdown-jdk-1.4.1/jre/lib/i386/server/libjsig.so: No such file or directory
cp: failed to preserve ownership for /var/tmp/portage/blackdown-jdk-1.4.1/image//opt/blackdown-jdk-1.4.1/man/ja: No such file or directory


frmm emerge dev-java/sun-j2sdk
 * Applying patch gcc3.3-fixes
patching file hotspot/src/share/vm/prims/jni.cpp
patching file hotspot/src/share/vm/runtime/jvmdiInterfaceSupport.hpp
patching file hotspot/src/share/vm/runtime/mutexLocker.cpp
>>> Source unpacked.
Traceback (most recent call last):
  File "/usr/bin/java-config", line 14, in ?
    from java_config import jc_options
  File "/usr/lib/python2.3/site-packages/java_config/jc_options.py", line 18, in ?
    from jc_util import get_line_from_env_file
  File "/usr/lib/python2.3/site-packages/java_config/jc_util.py", line 17, in ?
    USER_ENV_DIR = os.path.join(env['HOME'], '.gentoo')
  File "/usr/lib/python2.3/UserDict.py", line 19, in __getitem__
    def __getitem__(self, key): return self.data[key]
KeyError: 'HOME'
linux i586 1.4.1-internal build started: 04-05-03 08:54
mkdir -p ../build/linux-i586/hotspot-i586/tmp
(cd  ./../build/linux-i586/hotspot-i586/tmp; \
  make -f /var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/hotspot/build/linux/Makefile product \
        HOTSPOT_BUILD_VERSION=1.4.1-internal-_03_may_2004_08_54  GAMMADIR=/var/tmp/portage/sun-j2sdk-
1.4.1-r1/work/j2sdk/hotspot ; )
make[1]: Entering directory `/var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/control/build/linux-i586/
hotspot-i586/tmp'
sh /var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/hotspot/build/linux/makefiles/buildATree.sh compile
r2 /var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/hotspot linux i486
(cd linux_i486_compiler2/product; make)
make[2]: Entering directory `/var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/control/build/linux-i586/
hotspot-i586/tmp/linux_i486_compiler2/product'
make[2]: javac: Command not found
make[2]: *** [../generated/MakeDeps.class] Error 127
make[2]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/control/build/linux-i586/h
otspot-i586/tmp/linux_i486_compiler2/product'
make[1]: *** [product] Error 2
make[1]: Leaving directory `/var/tmp/portage/sun-j2sdk-1.4.1-r1/work/j2sdk/control/build/linux-i586/h
otspot-i586/tmp'
make: *** [product] Error 2

!!! ERROR: dev-java/sun-j2sdk-1.4.1-r1 failed.
!!! Function src_compile, Line 141, Exitcode 2
!!! (no error message)
Comment 1 Joseph Booker 2004-05-03 15:29:49 UTC
please show the output of emerge --info
Comment 2 Marc Raphael 2004-05-03 16:16:26 UTC
Created attachment 30654 [details]
output of emerge --info (as requested)
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2004-06-22 08:40:31 UTC
Created attachment 33846 [details, diff]
fix
Comment 4 James Ward 2004-06-23 02:21:53 UTC
The attached fix worked for me.
Comment 5 Chris Aniszczyk (RETIRED) gentoo-dev 2004-06-27 10:46:08 UTC
*** Bug 55163 has been marked as a duplicate of this bug. ***
Comment 6 Voicu Liviu 2004-06-27 11:06:40 UTC
This worked for me too, THANK YOU
Comment 7 Martijn Kruiswijk 2004-06-27 12:41:30 UTC
Works for me too!
Comment 8 Thomas Matthijs (RETIRED) gentoo-dev 2004-07-14 04:45:30 UTC
fixed in tree