Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-java/icedtea-7.2.4.6 fails at initializing jre [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu Apr 17, 2014 4:20 pm    Post subject: dev-java/icedtea-7.2.4.6 fails at initializing jre [SOLVED] Reply with quote

Here's the output from the log:
Code:
Linking launcher...
cc -m64 -Xlinker -O1   -Xlinker -z -Xlinker noexecstack -m64 -Xlinker -export-dynamic  -L `pwd` -o gamma launcher/java_md.o launcher/java.o launcher/jli_util.o launcher/wildcard.o -ljvm -lm -ldl -lpthread
make[7]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk.build-boot/hotspot/outputdir/linux_amd64_compiler2/product'
All done.
make[6]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk.build-boot/hotspot/outputdir/linux_amd64_compiler2/product'
cd linux_amd64_compiler2/product && ./test_gamma
Using java runtime at: /var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/bootstrap/jdk1.6.0/jre
Error occurred during initialization of VM
java.lang.UnsatisfiedLinkError: java.lang.Class.desiredAssertionStatus0(Ljava/lang/Class;)Z
        <<no stack trace available>>

/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk-boot/hotspot/make/linux/Makefile:290: recipe for target 'product' failed
make[5]: *** [product] Error 1
make[5]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk.build-boot/hotspot/outputdir'
Makefile:191: recipe for target 'generic_build2' failed
make[4]: *** [generic_build2] Error 2
make[4]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk-boot/hotspot/make'
Makefile:151: recipe for target 'product' failed
make[3]: *** [product] Error 2
make[3]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk-boot/hotspot/make'
make/hotspot-rules.gmk:112: recipe for target 'hotspot-build' failed
make[2]: *** [hotspot-build] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk-boot'
Makefile:251: recipe for target 'build_product_image' failed
make[1]: *** [build_product_image] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6/openjdk-boot'
Makefile:2471: recipe for target 'stamps/icedtea-boot.stamp' failed
make: *** [stamps/icedtea-boot.stamp] Error 2
 * ERROR: dev-java/icedtea-7.2.4.6::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-java/icedtea-7.2.4.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/icedtea-7.2.4.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/icedtea-7.2.4.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-7.2.4.6/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6'
 * S: '/var/tmp/portage/dev-java/icedtea-7.2.4.6/work/icedtea-2.4.6'
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =icedtea-7.2.4.6

Is this a legitimate but with the icedtea ebuild, or do I have something misconfigured?

Cheers,

EE


Last edited by ExecutorElassus on Thu Apr 17, 2014 9:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
TomWij
Retired Dev
Retired Dev


Joined: 04 Jul 2012
Posts: 1553

PostPosted: Thu Apr 17, 2014 7:55 pm    Post subject: Reply with quote

A bit hard to tell; one possibility is that your icedtea-bin-6 VM is broken, the other might be that there's an actual bug. This explanation I have found which might make sense; it is intializing the VM here, thus it might be loading its libraries and have an unsatisfied linking error while doing that. In this case I'd suggest to try with a different VM; perhaps with icedtea-bin-7, which is built by one of the developers from the Gentoo Java project.
Back to top
View user's profile Send private message
ExecutorElassus
Veteran
Veteran


Joined: 11 Mar 2004
Posts: 1435
Location: Berlin, Germany

PostPosted: Thu Apr 17, 2014 9:43 pm    Post subject: Reply with quote

well, I'm not sure if it's due to a bug, or simply that the VM has to match the icedtea version, but switching to the icendtea-7 VM solved the problem with compiling. Thanks for the help!

Cheers,

EE
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 591
Location: Australia

PostPosted: Sun Dec 14, 2014 11:28 pm    Post subject: Reply with quote

Looks like this is a kinda-bug. I tripped over it moving iced-tea to ~amd64

Seems you need to emerge the upgraded icedtea-bin so you have a jre to build the upgraded icedtea jdk, or it will throw the msgs in this thread.

Ian
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum