Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69979 - sun-jdk-1.5.0 missing library libjava_crw_demo_g.so
Summary: sun-jdk-1.5.0 missing library libjava_crw_demo_g.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
: 78218 97016 (view as bug list)
Depends on: 114334
Blocks:
  Show dependency tree
 
Reported: 2004-11-03 14:38 UTC by Christopher O'Neill
Modified: 2005-12-07 15:07 UTC (History)
2 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 Christopher O'Neill 2004-11-03 14:38:16 UTC
Whilst performing a revdep-rebuild:

Checking dynamic linking consistency...
  broken /opt/sun-jdk-1.5.0/share/demo/jvmti/mtrace/lib/libmtrace_g.so (requires libjava_crw_demo_g.so)
  broken /opt/sun-jdk-1.5.0/share/demo/jvmti/heapTracker/lib/libheapTracker_g.so (requires libjava_crw_demo_g.so)
 done.

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   Rf  ] dev-java/sun-jdk-1.5.0

Re-emerging sun-jdk-1.5.0 does not resolve this problem, the specified library file is missing.  It appears this is only required by the demo apps, so is more of a nuisance than anything (hence the low priority).
Comment 1 boris64 2004-12-11 05:45:46 UTC
yet another "same here".
Comment 2 Thomas Matthijs (RETIRED) gentoo-dev 2005-01-16 07:24:42 UTC
*** Bug 78218 has been marked as a duplicate of this bug. ***
Comment 3 Rainer Koschnick 2005-02-06 13:26:46 UTC
Same problem here on AMD64.  Might be a JDK problem though which cannot be fixed in the ebuild.
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-04-04 10:24:39 UTC
upstream bug, not possible for us to fix it:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6227549
Comment 5 Leo Laursen 2005-05-05 02:58:06 UTC
Seeing that it is still in jdk-1.5.0_03. It seems to be fixed by linking
ln -s libjava_crw_demo_g.so libjava_crw_demo.so
in /opt/sun-jdk-1.5.0.03/jre/lib/i386
Comment 6 Leo Laursen 2005-05-05 03:08:21 UTC
sorry; I had the wrong order arguments before. :( It should be,
ln -s libjava_crw_demo.so libjava_crw_demo_g.so
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2005-06-26 02:19:43 UTC
*** Bug 97016 has been marked as a duplicate of this bug. ***
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2005-06-26 02:42:31 UTC
I think we should put the symlink to the ebuild because it seems to solve this
problem.
Comment 9 Mikko Tiihonen 2005-06-26 10:13:56 UTC
This wasn't fixed in sun 5.0_04 release either and most likely wont be ever fixed.

I think the ebuild should just run
find -name "*_g.so" -exec rm {} \;
after extracting the jdk. The sun bug mentions that the _g (debug libraries)
should not even be in the distribution package.
Comment 10 Mikko Tiihonen 2005-12-03 06:41:37 UTC
The upstreadm sun-jdk-1.5.0_06 has fixed this problem. I just verified this by
creating my own ebuild for it.

This means that this bug can be closed after #114334 has been fixed.
Comment 11 Petteri Räty (RETIRED) gentoo-dev 2005-12-07 15:07:33 UTC
06 is now in the tree and running ~x86 revdep-rebuild with it does not give any
complaints. Thanks for everyone who participated in this bug and reopen if this
issue pops up again.