Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Howto: IcedTea 64bit java plugin (the gentoo way)
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Tue Dec 25, 2007 4:40 pm    Post subject: Howto: IcedTea 64bit java plugin (the gentoo way) Reply with quote

Following on from this thread: Howto: IcedTea 64bit java plugin (the ugly way).

I have made an overlay which will enable you to compile your own java 64bit plugin. This ebuild is very experimental and only designed for testing use.

The old dependancy on gcj is now gone, you just need gcc compiled with the 'gcj' use flag. This was tested with a gcc-4.3 snapshot so I do not know if it works with the gcc-4.2.x from the tree.

Merry Chiristmas,

IcedTea is now in the java-experimental overlay.


Last edited by b33fc0d3 on Mon Apr 21, 2008 12:24 pm; edited 2 times in total
Back to top
View user's profile Send private message
Belliash
Advocate
Advocate


Joined: 24 Nov 2004
Posts: 2503
Location: Wroclaw, Poland

PostPosted: Tue Dec 25, 2007 4:53 pm    Post subject: Reply with quote

binary version already in Arcon Overlay!

If you agree i can also put that ebuild there...

I don't see any reason for putting 1 ebuild in few overlays...
_________________
Asio Software Technologies
Belliash IT Weblog
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Tue Dec 25, 2007 4:59 pm    Post subject: Reply with quote

Do whatever you want with it, but will you update the overlay if this ebuild changes? Also, there are some other ebuilds in this overlay (jdk virtual override and sun-jdk-1.7*)
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Tue Dec 25, 2007 8:12 pm    Post subject: SVN Access Reply with quote

IcedTea is now in the java-experimental overlay.

Last edited by b33fc0d3 on Mon Apr 21, 2008 12:23 pm; edited 1 time in total
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Thu Dec 27, 2007 4:08 pm    Post subject: Reply with quote

I tested the ebuild with gcc-4.2.2 with gcj useflag enabled.
I needed to unmask dev-java/sun-jdk * in keywords.conf.
I removed the nspr dependency line in the ebuild and used the one from portage.

Test on http://javatester.org/version.html passed OK. :D

BTW: all done by paludis.

-- edit ---
arch: ~amd64
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu


Last edited by zxy on Thu Dec 27, 2007 5:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Thu Dec 27, 2007 5:07 pm    Post subject: Reply with quote

zxy wrote:
I removed the nspr dependency line in the ebuild and used the one from portage.

Fixed in the SVN now.
Thanks.
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Fri Dec 28, 2007 12:53 pm    Post subject: Reply with quote

zxy wrote:
I tested the ebuild with gcc-4.2.2 with gcj useflag enabled.
I needed to unmask dev-java/sun-jdk * in keywords.conf.
I removed the nspr dependency line in the ebuild and used the one from portage.

Test on http://javatester.org/version.html passed OK. :D

BTW: all done by paludis.

-- edit ---
arch: ~amd64


What ebuild did you use to satisify the sun-jdk-1.7 requirement? The alpha24 ebuild I found on the svn won't emerge due to an error:
Quote:
sed: can't read /var/tmp/portage/dev-java/sun-jdk-1.7.0.0_alpha24/image//opt/sun-jdk-1.7.0.0_alpha24/jre/plugin/desktop/sun_java.desktop: No such file or directory
Back to top
View user's profile Send private message
zxy
Veteran
Veteran


Joined: 06 Jan 2006
Posts: 1160
Location: in bed in front of the computer

PostPosted: Fri Dec 28, 2007 1:07 pm    Post subject: Reply with quote

PraetorZero wrote:
zxy wrote:
I tested the ebuild with gcc-4.2.2 with gcj useflag enabled.
I needed to unmask dev-java/sun-jdk * in keywords.conf.
I removed the nspr dependency line in the ebuild and used the one from portage.

Test on http://javatester.org/version.html passed OK. :D

BTW: all done by paludis.

-- edit ---
arch: ~amd64


What ebuild did you use to satisify the sun-jdk-1.7 requirement? The alpha24 ebuild I found on the svn won't emerge due to an error:
Quote:
sed: can't read /var/tmp/portage/dev-java/sun-jdk-1.7.0.0_alpha24/image//opt/sun-jdk-1.7.0.0_alpha24/jre/plugin/desktop/sun_java.desktop: No such file or directory


I used sun-jdk-1.7.0.0_alpha24 that b33fc0de gave me.
_________________
Nature does not hurry, yet everything is accomplished.
Lao Tzu
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Fri Dec 28, 2007 2:20 pm    Post subject: Reply with quote

PraetorZero wrote:
ebuild I found on the svn won't emerge due to an error:
Quote:
sed: can't read /var/tmp/portage/dev-java/sun-jdk-1.7.0.0_alpha24/image//opt/sun-jdk-1.7.0.0_alpha24/jre/plugin/desktop/sun_java.desktop: No such file or directory


Are you compiling on x86? I have no issues with that sed line, and it's not even arch dependant.
Back to top
View user's profile Send private message
wolfden
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2004
Posts: 102
Location: Midwest

PostPosted: Fri Dec 28, 2007 9:26 pm    Post subject: Reply with quote

EDIT

had to get the .env file and all built here
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Fri Dec 28, 2007 11:52 pm    Post subject: Reply with quote

b33fc0d3 wrote:
PraetorZero wrote:
ebuild I found on the svn won't emerge due to an error:
Quote:
sed: can't read /var/tmp/portage/dev-java/sun-jdk-1.7.0.0_alpha24/image//opt/sun-jdk-1.7.0.0_alpha24/jre/plugin/desktop/sun_java.desktop: No such file or directory


Are you compiling on x86? I have no issues with that sed line, and it's not even arch dependant.


Unfortunately, no. I'm on amd64. I've unmerged/emerged twice with the same results. I'll try to dig into it a little more when I get home.
Back to top
View user's profile Send private message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Sat Dec 29, 2007 10:18 am    Post subject: Reply with quote

Trying to emerge icedtea-1.4, but I am running into the error below. Thanks

Code:
# Running javac:
/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/bootstrap/jdk1.6.0/bin/java -Xmx896m -Xms128m -XX:PermSize=32m -XX:MaxPerm
Size=160m -Xbootclasspath/p:/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/control/build/linux-amd64/langtools/di
st/bootstrap/lib/javac.jar -cp /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/control/build/linux-amd64/classes -
jar /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/control/build/linux-amd64/langtools/dist/bootstrap/lib/javac.j
ar -source 1.5 -target 5 -encoding ascii -Xbootclasspath:/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/control/b
uild/linux-amd64/classes -cp /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/control/build/linux-amd64/classes -J-
XX:ThreadStackSize=1536 -J-Xmx896m -J-Xms128m -J-XX:PermSize=32m -J-XX:MaxPermSize=160m -cp /var/tmp/portage/dev-java/icedtea-1.4
/work/icedtea-1.4/openjdk/control/build/linux-amd64/classes -sourcepath /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/op
enjdk/control/build/linux-amd64/gensrc:../../../src/solaris/classes:../../../src/share/classes -d /var/tmp/portage/dev-java/icedt
ea-1.4/work/icedtea-1.4/openjdk/control/build/linux-amd64/classes @/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk
/control/build/linux-amd64/tmp/java/java.lang/java/.classes.list
javac: invalid flag: -J-XX:ThreadStackSize=1536
Usage: javac <options> <source files>
use -help for a list of possible options
make[4]: *** [.compile.classlist] Error 2
make[4]: Leaving directory `/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/j2se/make/java/java'
make[3]: *** [all] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/j2se/make/java'
make[2]: *** [all] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/j2se/make'
make[1]: *** [j2se-build] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/openjdk/control/make'
make: *** [icedtea] Error 2
 *
 * ERROR: dev-java/icedtea-1.4 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 4053:  Called die
 * The specific snippet of code:
 *       emake -j1 COMPILER_WARNINGS_FATAL=false MILESTONE=experimental BUILD_NUMBER=gentoo-${P} || diefunc "$FUNCNAME" "$LINENO"
 "$?" 'make failed'
 *  The die message:
 *   make failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-java:icedtea-1.4:20071229-095811.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea-1.4/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/'
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info



Code:

Portage 2.1.4_rc11 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo x86_64)
=================================================================
System uname: 2.6.23-gentoo x86_64 Dual Core AMD Opteron(tm) Processor 175
Timestamp of tree: Thu, 27 Dec 2007 17:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -fgcse-after-reload -fno-ident -fweb -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -fgcse-after-reload -fno-ident -fweb -msse3 -pipe -fno-enforce-eh-specs -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="C"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 artworkextra avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dio directfb divx dv dvd dvdr dvdread emboss emul-linux-x86 encode evo fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glibc-omitfp glut gnome gpm gstreamer gtk gtk2 gtstreamer hal iconv ieee1394 ipv6 isdnlog ithreads java javascript jpeg kdeenablefinal kdehiddenvisibility kerberos ldap lm_sensors mad madwifi midi mikmod mmx mmxext mng mp3 mpeg mudflap ncurses nfs nls nptl nptlonly nsplugin offensive ogg openal opengl openmp oss pam pcmcia pcre pdf perl php png pni pppd python qt3support quicktime readline reflection samba sdl session smp spell spl sse sse2 ssl svg symlink tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb videos vorbis wifi xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nv nvidia vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1

Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Sat Dec 29, 2007 1:02 pm    Post subject: Reply with quote

PraetorZero wrote:
b33fc0d3 wrote:
PraetorZero wrote:
ebuild I found on the svn won't emerge due to an error:
Quote:
sed: can't read /var/tmp/portage/dev-java/sun-jdk-1.7.0.0_alpha24/image//opt/sun-jdk-1.7.0.0_alpha24/jre/plugin/desktop/sun_java.desktop: No such file or directory


Are you compiling on x86? I have no issues with that sed line, and it's not even arch dependant.


Unfortunately, no. I'm on amd64. I've unmerged/emerged twice with the same results. I'll try to dig into it a little more when I get home.


I found my mistake. :oops: I thought I had everything in the /files directory, but I missed the .env. I'm now getting the same error LoSeR_5150 is getting.

edit
Got it figured out. I disabled distcc and ccache and it emerged fine. :D
Back to top
View user's profile Send private message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Sat Dec 29, 2007 5:11 pm    Post subject: Reply with quote

PraetorZero:

I am not using distcc or ccache, any other suggestions to fix the error?
_________________
Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1

Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Sun Dec 30, 2007 10:19 pm    Post subject: Reply with quote

LoSeR_5150 wrote:
PraetorZero:

I am not using distcc or ccache, any other suggestions to fix the error?

Which sun-jdk do you have and use?

Code:
java-config -L
Back to top
View user's profile Send private message
LoSeR_5150
Guru
Guru


Joined: 20 Mar 2005
Posts: 455
Location: San Francisco, CA

PostPosted: Wed Jan 02, 2008 7:27 pm    Post subject: Reply with quote

b33fc0d3: I am using the sun-jdk from the SVN link... I have selected the sun jdk 1.7.0 for the user and system VM. I am currently at work, and my laptop is at my house so I wont be able to post the results of java-config -L. Should I be using the OpenJDK 1.7? Thanks

Update:

Code:
loser@Hell ~ $ java-config -L
The following VMs are available for generation-2:
1)      Blackdown JDK 1.4.2.03 [blackdown-jdk-1.4.2]
2)      Sun 32bit JRE 1.6.0.03 [emul-linux-x86-java-1.6]
3)      Sun JDK 1.5.0.13 [sun-jdk-1.5]
4)      Sun JDK 1.6.0.03 [sun-jdk-1.6]
*)      Sun JDK 1.7.0.0_alpha24 [sun-jdk-1.7]



Code:
loser@Hell ~ $ javac -version
javac 1.7.0-ea

_________________
Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1

Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1


Last edited by LoSeR_5150 on Thu Jan 03, 2008 6:30 am; edited 1 time in total
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Jan 02, 2008 8:01 pm    Post subject: Reply with quote

Wow, nice!

I'd like to try it, but I do have gcj-4.3.0_alpha20071207 from java-overlay installed, and also gcj-jdk to play around with. So I cannot have gcc installed with gcj useflag. /me goes ebuild hacking...

Okay.. just disabled the check for gcc with gcj useflag.
24GB swap activated: check.
Compiling...

Hmm.. died here too with:
Code:
javac: invalid flag: -J-XX:ThreadStackSize=1536
Usage: javac <options> <source files>
use -help for a list of possible options
make[4]: *** [.compile.classlist] Error 2


Code:
# javac -version
javac 1.7.0-ea

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Wed Jan 02, 2008 10:29 pm    Post subject: Reply with quote

Interesting,

Ok I had tested this with gcj too, all you need to change is the configure line, where it tells icedtea where the libgcj*.jar is.

And the reason that error is happening is because of one of my patches, I needed to add those flags to allow it ito use more heap space.

When it dies, can someone please tell me the output of
Code:
readlink /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/bootstrap/jdk1.6.0
Back to top
View user's profile Send private message
gimpel
Advocate
Advocate


Joined: 15 Oct 2004
Posts: 2720
Location: Munich, Bavaria

PostPosted: Wed Jan 02, 2008 11:20 pm    Post subject: Reply with quote

b33fc0d3 wrote:
Interesting,

Ok I had tested this with gcj too, all you need to change is the configure line, where it tells icedtea where the libgcj*.jar is.

Will test that again maybe, but already failed so often on 1.4, so i'll try 1.5 from hg, based on openjdk b24.
(24GB swap still activated: check!)

Quote:
When it dies, can someone please tell me the output of
Code:
readlink /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/bootstrap/jdk1.6.0

That returns
Code:
/opt/sun-jdk-1.7.0.0_alpha24

_________________
http://proaudio.tuxfamily.org/wiki - pro-audio software overlay
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Fri Jan 04, 2008 2:19 pm    Post subject: Reply with quote

Building icedtea-1.5 now,
Have also moved back to gcj ebuild (not gcc with gcj useflag). Currently using icedtea-1.4 to build 1.5, which has removed the need for some patches I was using.

EDIT Haven't got anywhere with icedtea-1.5, will have another attempt later.
Back to top
View user's profile Send private message
simcop2387
Apprentice
Apprentice


Joined: 14 Aug 2002
Posts: 200
Location: Galactic Sector ZZ9 Plural Z Alpha

PostPosted: Sat Jan 05, 2008 1:44 am    Post subject: Reply with quote

can't get icedtea 1.4 to work at all, compiles fine with gcc 4.2.2 (with gcj flag on) but when looking at about:plugins i see nothing about it, "eselect java-nsplugin list" shows that it is picked, and an ldd on the file shows its all linked, and running firefox in a terminal produces not apparant output different to if its there or not, any tips for figuring out whats going on?
_________________
1+1=11=2
Back to top
View user's profile Send private message
salfter
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 89

PostPosted: Mon Jan 07, 2008 10:40 pm    Post subject: Reply with quote

LoSeR_5150 wrote:
Trying to emerge icedtea-1.4, but I am running into the error below. Thanks

Code:
javac: invalid flag: -J-XX:ThreadStackSize=1536


I'm running into the same error. I've tried the various solutions others suggested, but they've not made any difference.

emerge --info:

Code:
Portage 2.1.4_rc14 (default-linux/amd64/2006.1, gcc-4.2.2, glibc-2.6.1-r0, 2.6.23-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r5 x86_64 Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Timestamp of tree: Tue, 01 Jan 2008 20:00:03 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.3
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/linamh /usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 arts berkdb bitmap-fonts cdparanoia cdr cli cpudetection cracklib crypt css cups cvs dbus directfb djvu doc dri dts dvd dvdnav dvdr dvdread encode exif fbcon ffmpeg flac foomaticdb fortran gcj gdbm gif gimpprint gpm gstreamer gtk hal iconv ieee1394 ilbc ipod ipv6 isdnlog javascript jpeg kde kdeenablefinal kdehiddenvisibility kqemu lame mad midi mozbranding mp2 mp3 mp4 mplayer mudflap mysql ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam paste64 pcre pdf perl png pnm postgres ppds pppd python qt qt3 quicktime readline reflection rt73usb rtc samba scanner server session snmp speex spl sse3 ssl ssse3 subversion svg tcl tcpd theora threads threadsafe tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wifi wxwindows x264 xcomposite xinerama xorg xprint xterm xv xvid xvmc zlib zrtp" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


java-config -l:

Code:
The following VMs are available for generation-2:
1)      Sun JDK 1.6.0.03 [sun-jdk-1.6]
*)      Sun JDK 1.7.0.0_alpha24 [sun-jdk-1.7]


gcc-config -l: (was using 4.1.2 for everything previously)

Code:
 [1] x86_64-pc-linux-gnu-4.1.2
 [2] x86_64-pc-linux-gnu-4.2.2 *


readlink /var/tmp/portage/dev-java/icedtea-1.4/work/icedtea-1.4/bootstrap/jdk1.6.0:

Code:
/opt/sun-jdk-1.7.0.0_alpha24
Back to top
View user's profile Send private message
b33fc0d3
Retired Dev
Retired Dev


Joined: 22 Jun 2006
Posts: 128

PostPosted: Tue Jan 08, 2008 2:00 am    Post subject: Reply with quote

Made a minor modification to the ebuild. Try again.
Back to top
View user's profile Send private message
salfter
Tux's lil' helper
Tux's lil' helper


Joined: 02 Jan 2003
Posts: 89

PostPosted: Tue Jan 08, 2008 6:55 am    Post subject: Reply with quote

b33fc0d3 wrote:
Made a minor modification to the ebuild. Try again.


It got much further along than it did before, but now I get a sandbox violation:

Code:
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-19742.log"

unlink:    /usr/share/java-config-2/pym/java_config/__init__.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/__init__.pyc
unlink:    /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
unlink:    /usr/share/java-config-2/pym/java_config/FileParser.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/FileParser.pyc
unlink:    /usr/share/java-config-2/pym/java_config/Errors.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/Errors.pyc
unlink:    /usr/share/java-config-2/pym/java_config/VM.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/VM.pyc
unlink:    /usr/share/java-config-2/pym/java_config/__init__.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/__init__.pyc
unlink:    /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
unlink:    /usr/share/java-config-2/pym/java_config/FileParser.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/FileParser.pyc
unlink:    /usr/share/java-config-2/pym/java_config/Errors.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/Errors.pyc
unlink:    /usr/share/java-config-2/pym/java_config/VM.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/VM.pyc
unlink:    /usr/share/java-config-2/pym/java_config/__init__.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/__init__.pyc
unlink:    /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
unlink:    /usr/share/java-config-2/pym/java_config/FileParser.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/FileParser.pyc
unlink:    /usr/share/java-config-2/pym/java_config/Errors.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/Errors.pyc
unlink:    /usr/share/java-config-2/pym/java_config/VM.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/VM.pyc
unlink:    /usr/share/java-config-2/pym/java_config/__init__.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/__init__.pyc
unlink:    /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
unlink:    /usr/share/java-config-2/pym/java_config/FileParser.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/FileParser.pyc
unlink:    /usr/share/java-config-2/pym/java_config/Errors.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/Errors.pyc
unlink:    /usr/share/java-config-2/pym/java_config/VM.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/VM.pyc
unlink:    /usr/share/java-config-2/pym/java_config/__init__.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/__init__.pyc
unlink:    /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/OutputFormatter.pyc
unlink:    /usr/share/java-config-2/pym/java_config/FileParser.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/FileParser.pyc
unlink:    /usr/share/java-config-2/pym/java_config/Errors.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/Errors.pyc
unlink:    /usr/share/java-config-2/pym/java_config/VM.pyc
open_wr:   /usr/share/java-config-2/pym/java_config/VM.pyc
--------------------------------------------------------------------------------
Back to top
View user's profile Send private message
jonnevers
Veteran
Veteran


Joined: 02 Jan 2003
Posts: 1594
Location: Gentoo64 land

PostPosted: Wed Jan 09, 2008 3:36 pm    Post subject: Reply with quote

I'm very interested in icedtea for all sorts of reasons, so I think it's cool that a gentoo dev has his hands in it like this. kudos!

I was able to get icedtea working as a java plugin in firefox but I had to use icedtea-bin because I cannot get icedtea to compile.

investigating, i stumbled upon the following two links:
gentoo oriented instructions for building icedtea from the java-overlay using gcj 4.3 alpha via the java-gcj-overlay.
how to build gcj 4.3 alpha and make it primary compile time JDK

that method didn't work, gcj got built properly but icedtea fails with:
Code:
1. ERROR in ../../../../src/share/classes/org/omg/CORBA/Any.java (at line 612)
        @Deprecated
        ^^^^^^^^^^^
Syntax error, annotations are only available if source level is 5.0
----------
2. ERROR in ../../../../src/share/classes/org/omg/CORBA/Any.java (at line 628)
        @Deprecated
        ^^^^^^^^^^^
Syntax error, annotations are only available if source level is 5.0


so i'm clearing out everything I've added to date related to icedtea and I am going to start fresh using the method in *this* thread again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
Page 1 of 8

 
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