Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 257103 - app-misc/strigi-0.6.3 compilation failure
Summary: app-misc/strigi-0.6.3 compilation failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-01-31 15:05 UTC by Igor Ulyanov
Modified: 2009-05-18 12:57 UTC (History)
0 users

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


Attachments
compilation log (build.log,41.02 KB, text/plain)
2009-01-31 15:06 UTC, Igor Ulyanov
Details
emerge --info (einfo.txt,4.13 KB, text/plain)
2009-01-31 15:08 UTC, Igor Ulyanov
Details
ulimit -a (ulimits.txt,700 bytes, text/plain)
2009-01-31 15:09 UTC, Igor Ulyanov
Details
free (free.txt,230 bytes, text/plain)
2009-01-31 15:15 UTC, Igor Ulyanov
Details
patch fixing this bug (killjava.patch,784 bytes, patch)
2009-02-28 21:31 UTC, Igor Ulyanov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Ulyanov 2009-01-31 15:05:21 UTC
strigi compilation failed with message:
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread

There is no java dependency in ebuild, and i have 4Gb free RAM and java installed.

Reproducible: Always

Steps to Reproduce:
emerge -v strigi
Actual Results:  
Error occurred during initialization of VM
java.lang.OutOfMemoryError: unable to create new native thread
Comment 1 Igor Ulyanov 2009-01-31 15:06:32 UTC
Created attachment 180418 [details]
compilation log
Comment 2 Igor Ulyanov 2009-01-31 15:08:13 UTC
Created attachment 180420 [details]
emerge --info
Comment 3 Igor Ulyanov 2009-01-31 15:09:25 UTC
Created attachment 180422 [details]
ulimit -a
Comment 4 Igor Ulyanov 2009-01-31 15:15:43 UTC
Created attachment 180423 [details]
free
Comment 5 Igor Ulyanov 2009-02-03 00:38:16 UTC
strigi-0.6.4 compilation fails the same way
Comment 6 Lori 2009-02-03 08:12:17 UTC
(In reply to comment #5)
> strigi-0.6.4 compilation fails the same way
> 

For me, strigi-0.6.4 fails with the following:

Exception in thread "main" java.lang.ClassFormatError: Truncated class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: xsdparser.xsdparser.  Program will exit.
make[2]: *** [src/xsd/metadataproperties.cpp] Error 1
make[1]: *** [src/xsd/CMakeFiles/metadataproperties.dir/all] Error 2
Comment 7 Lori 2009-02-03 09:11:21 UTC
My bug is not reproducible though... on a second try it did compile.
Comment 8 Igor Ulyanov 2009-02-03 16:13:18 UTC
I dont understand why do KDE need such Java dependency. Still reproducible for me. I think KDE should live without Java. Some people dont need and dont have Java.
Comment 9 Igor Ulyanov 2009-02-28 21:31:23 UTC
Created attachment 183526 [details, diff]
patch fixing this bug

patch with removed java dependency
Comment 10 Tomáš Chvátal (RETIRED) gentoo-dev 2009-05-18 12:57:06 UTC
Fixed.
Thx for patch and your patience ;]