


Code: Select all
ebuild N ] dev-java/icedtea6-1.3.1-r1 USE="javascript nsplugin -cacao -debug -doc -examples -pulseaudio -shark -zero" 5,537 kB 



Code: Select all
config.status: executing gjavah commands config.status: executing gen-classlist commands config.status: executing copy-vmresources commands make -j3 Making all in lib make[1]: Entering directory `/var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/lib' mkdir -p ../gnu/java/locale ../scripts/generate-locale-list.sh > ../gnu/java/locale/LocaleData.java true top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'. Adding java source files from VM directory ../vm/reference
ecj -nowarn -J-Xmx768M -source 1.5 -target 1.5 -bootclasspath '' -classpath ../vm/reference:..:../external/w3c_dom:../external/sax:../external/relaxngDatatype:../external/jsr166:.:: -d . @classes /usr/lib64/portage/pym/portage_dep.py:39: DeprecationWarning: DEPRECATION NOTICE: The portage_dep module was replaced by portage.dep
touch resources #
# An unexpected error has been detected by Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00002b8aec63225a, pid=4516, tid=1083795792 #
# Java VM: Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode linux-amd64)
# Problematic frame:
# V [libjvm.so+0x1f125a]
#
# An error report file with more information is saved as:
# /var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/lib/hs_err_pid4516.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#


Code: Select all
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../include -Wall -DAPPLETVIEWER_EXECUTABLE=\"/usr/gnu-classpath-0.97/bin/gappletviewer\" -I/usr/include/xulrunner-1.9/stable -I/usr/include/nspr -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -march=core2 -O2 -pipe -c gcjwebplugin.cc -fPIC -DPIC -o .libs/libgcjwebplugin_la-gcjwebplugin.o
gcjwebplugin.cc:61:31: error: nsIPluginInstance.h: No such file or directory
gcjwebplugin.cc:62:35: error: nsIPluginInstancePeer.h: No such file or directory
gcjwebplugin.cc:63:31: error: nsIPluginTagInfo2.h: No such file or directory
gcjwebplugin.cc:145: error: ISO C++ forbids declaration of 'NS_DEFINE_IID' with no type
gcjwebplugin.cc:145: error: 'kIPluginTagInfo2IID' was not declared in this scope
gcjwebplugin.cc:145: error: 'NS_IPLUGINTAGINFO2_IID' was not declared in this scope
gcjwebplugin.cc:145: error: initializer expression list treated as compound expression
gcjwebplugin.cc:203: error: ISO C++ forbids declaration of 'nsIPluginTagInfo2' with no type
gcjwebplugin.cc:203: error: expected ';' before '*' token
gcjwebplugin.cc: In function 'gchar* plugin_get_documentbase(NPP_t*)':
gcjwebplugin.cc:868: error: 'nsIPluginInstance' was not declared in this scope
gcjwebplugin.cc:868: error: 'xpcom_instance' was not declared in this scope
gcjwebplugin.cc:869: error: 'nsIPluginInstancePeer' was not declared in this scope
gcjwebplugin.cc:869: error: 'peer' was not declared in this scope
gcjwebplugin.cc:870: error: 'nsresult' was not declared in this scope
gcjwebplugin.cc:870: error: expected `;' before 'result'
gcjwebplugin.cc:871: error: 'nsIPluginTagInfo2' was not declared in this scope
gcjwebplugin.cc:871: error: 'pluginTagInfo2' was not declared in this scope
gcjwebplugin.cc:876: error: expected primary-expression before ')' token
gcjwebplugin.cc:890: error: 'union info_union' has no member named 'info_field'
gcjwebplugin.cc:892: error: 'result' was not declared in this scope
gcjwebplugin.cc:892: error: 'kIPluginTagInfo2IID' was not declared in this scope
gcjwebplugin.cc:912: error: 'NS_RELEASE' was not declared in this scope
gcjwebplugin.cc: At global scope:
gcjwebplugin.cc:145: warning: 'NS_DEFINE_IID' defined but not used
make[2]: *** [libgcjwebplugin_la-gcjwebplugin.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/native/plugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-java/gnu-classpath-0.97.2-r1/work/classpath-0.97.2/native'
make: *** [all-recursive] Error 1
Code: Select all
38% ] * broken /usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
[ 52% ] * broken /usr/lib64/gcc/x86_64-pc-linux-gnu/4.3.2/libgij.la (requires /usr/lib/../lib64/libgcj.la)
* broken /usr/lib64/gcj-4.3.2-9/libjvm.la (requires /usr/lib/../lib64/libgcj.la)
[ 100% ]

Yup:DaggyStyle wrote:anyone knows how to fix it?

did that, broken links are gone, still fails at the same point for the same reasonSchwinni wrote:Yup:DaggyStyle wrote:anyone knows how to fix it?
http://bugs.gentoo.org/show_bug.cgi?id=125728#c152


* die "Install a GNU Classpath JDK (gcj-jdk, cacao)";
* The die message:
* Install a GNU Classpath JDK (gcj-jdk, cacao)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'
*
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea CLASSPATH="" JAVA_HOME="/usr/lib/icedtea-6.1.1"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
>>> Failed to emerge dev-java/icedtea6-1.3.1-r1, Log file:
>>> '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/build.log'
* Messages for package dev-java/icedtea6-1.3.1-r1:
* IcedTea must be built with either a JDK based on GNU Classpath or an existing build of IcedTea.
*
* ERROR: dev-java/icedtea6-1.3.1-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 4631: Called die
* The specific snippet of code:
* die "Install a GNU Classpath JDK (gcj-jdk, cacao)";
* The die message:
* Install a GNU Classpath JDK (gcj-jdk, cacao)
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.3.1-r1/temp/environment'.
* This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'
*

Code: Select all
emerge gcj-jdk

missing patch?Schwinni wrote:@ both of you:
It's in the java overlay...Code: Select all
emerge gcj-jdk
Code: Select all
patching file openjdk/jdk/make/sun/font/Makefile
Checking patches/icedtea-ant.patch
The text leading up to this was:
--------------------------
|--- openjdk.orig/langtools/make/Makefile 2007-10-12 03:47:30.000000000 -0400
|+++ openjdk/langtools/make/Makefile 2007-10-12 17:11:46.000000000 -0400
--------------------------
No file to patch. Skipping patch.
1 out of 1 hunk ignored
ERROR patch patches/icedtea-ant.patch FAILED!
WARNING make clean-patch before retrying a fix
make: *** [stamps/patch.stamp] Error 2
Maybe you can try the solution I've posted: http://forums.gentoo.org/viewtopic-t-71 ... t-gcc.htmlBrummieJim wrote:I can't build gcc-4.3.2 with the gcj option, it's broken. Hence I can't build gcj-jdk.

the ebuilds work for you?cgits wrote:Thank you very much for the ebuilds.
I have a question: Can the fonts be configured in some way? Where are the fonts? They look much different than when running Sun's JDK. Of course, with IBM's JDK they also look different, but here the differences are bigger. For example there is a Java app that needs to use a monospace font because it has a console, but the font actually used makes things really ugly.
Code: Select all
desktop-alex alextz # emerge icedtea6
Calculating dependencies... done!
[ebuild N ] dev-java/icedtea6-1.3.1-r1 USE="javascript nsplugin -cacao -debug -doc -examples -pulseaudio -shark -zero"
!!! Error: circular dependencies:
('ebuild', '/', 'dev-java/icedtea6-1.3.1-r1', 'merge') depends on
('ebuild', '/', 'dev-java/icedtea6-1.3.1-r1', 'merge') (hard)
!!! Note that circular dependencies can often be avoided by temporarily
!!! disabling USE flags that trigger optional dependencies.