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 Previous  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
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Tue Oct 07, 2008 3:40 am    Post subject: Reply with quote

I emerged Icedtea6 and although it works in firefox, seamonkey is a no go.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Tue Oct 21, 2008 6:07 pm    Post subject: Reply with quote

Hi all,

icedtea6-1.2 from the java-overlay fails to build for me:

Code:
-def-check:

-check-boot.java.home:

-def-pcompile:
    [mkdir] Created dir: /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/control/build/linux-amd64/langtools/build/toolclasses
    [javac] Compiling 2 source files to /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/control/build/linux-amd64/langtools/build/toolclasses
    [javac] ----------
    [javac] 1. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/CompileProperties/CompileProperties.java (at line 220)
    [javac]    List<String> sortedKeys = new ArrayList<String>();
    [javac]    ^^^^
    [javac] The type List is not generic; it cannot be parameterized with arguments <String>
    [javac] ----------
    [javac] 2. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/Co
    [javac] mpileProperties/CompileProperties.java (at line 220)
    [javac]    List<String> sortedKeys = new ArrayList<String>();
    [javac]         ^^^^^^
    [javac] Syntax error, parameterized types are only available if source level is 5.0
    [javac] ----------
    [javac] 3. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/CompileProperties/CompileProperties.java (at line 220)
    [javac]    List<String> sortedKeys = new ArrayList<String>();
    [javac]                                  ^^^^^^^^^
    [javac] The type ArrayList is not generic; it cannot be parameterized with arguments <String>
    [javac] ----------
    [javac] 4. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/Co
    [javac] mpileProperties/CompileProperties.java (at line 220)
    [javac]    List<String> sortedKeys = new ArrayList<String>();
    [javac]                                            ^^^^^^
    [javac] Syntax error, parameterized types are only available if source level is 5.0
    [javac] ----------
    [javac] 5. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/CompileProperties/CompileProperties.java (at line 221)
    [javac]    for ( Object key : p.keySet() ) {
    [javac]          ^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error, 'for each' statements are only available if source level is 5.0
    [javac] ----------
    [javac] 6. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/Co
    [javac] mpileProperties/CompileProperties.java (at line 221)
    [javac]    for ( Object key : p.keySet() ) {
    [javac]                       ^^^^^^^^^^
    [javac] Can only iterate over an array or an instance of java.lang.Iterable
    [javac] ----------
    [javac] ----------
    [javac] 7. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/CompileProperties/CompilePropertiesTask.java (at line 60)
    [javac]    List<String> mainOpts = new ArrayList<String>();
    [javac]    ^^^^
    [javac] The type List is not generic; it cannot be parameterized with arguments <String>
    [javac] ----------
    [javac] 8. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/Co
    [javac] mpileProperties/CompilePropertiesTask.java (at line 60)
    [javac]    List<String> mainOpts = new ArrayList<String>();
    [javac]         ^^^^^^
    [javac] Syntax error, parameterized types are only available if source level is 5.0
    [javac] ----------
    [javac] 9. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/CompileProperties/CompilePropertiesTask.java (at line 60)
    [javac]    List<String> mainOpts = new ArrayList<String>();
    [javac]                                ^^^^^^^^^
    [javac] The type ArrayList is not generic; it cannot be parameterized with arguments <String>
    [javac] ----------
    [javac] 10. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/C
    [javac] ompileProperties/CompilePropertiesTask.java (at line 60)
    [javac]    List<String> mainOpts = new ArrayList<String>();
    [javac]                                          ^^^^^^
    [javac] Syntax error, parameterized types are only available if source level is 5.0
    [javac] ----------
    [javac] 11. ERROR in /var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/tools/CompileProperties/CompilePropertiesTask.java (at line 63)
    [javac]    for (String path: s.getIncludedFiles()) {
    [javac]         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    [javac] Syntax error, 'for each' statements are only available if source level is 5.0
    [javac] ----------
    [javac] 11 problems (11 errors)

BUILD FAILED
/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make/build.xml:566: Compile failed; see the compiler error output for details.

Total time: 2 seconds
make[2]: *** [build] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/langtools/make'
make[1]: *** [langtools-build] Fehler 2
make[1]: Leaving directory `/var/tmp/portage/dev-java/icedtea6-1.2/work/icedtea6-1.2/openjdk/control/make'
make: *** [icedtea] Fehler 2
 *
 * ERROR: dev-java/icedtea6-1.2 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 4609:  Called die
 * The specific snippet of code:
 * emake -j 1 || die "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/tmp/portage/dev-java/icedtea6-1.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.2/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=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info


My emerge --info:
Code:
Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Tue, 21 Oct 2008 12:18:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inode.at"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sectools /usr/local/portage/layman/java-overlay /usr/local/portage/overlays/myoverlay"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 audiofile avi bash-completion berkdb bzip2 cairo cdr cli cracklib crypt cups dbus dga directfb divx dri dvd dvdr dvdread encode fam firefox flac flash font-config fortran freetype gcj gdbm gif gmedia gnome gnome-keyring gpm gstreamer gtk gtk2 hal iconv imagemagick imap imlib ipv6 isdnlog java jce jpeg jpeg2k lame laptop mad midi mikmod mmx mng mp2 mp3 mpeg mudflap multilib musepack nautilus ncurses networkmanager nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre perl png pppd python quicktime readline realmedia reflection samba sdl seahorse session slang sndfile speex spell spl sse sse2 sse3 ssh ssl ssse3 svg synaptics sysfs tcpd tga theora thunderbird tiff truetype unicode usb userlocales videos vorbis wifi wmp x264 xanim xml xorg xulrunner xv xvid xvmc zlib zoran" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Thanks in advance!

Best regards
Chris
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Wed Oct 22, 2008 2:17 pm    Post subject: Reply with quote

OK, icedtea6-1.2 did compile now. :)

I cannot say what it was exactly, but I changed 2 things:
- I removed the global USE flag "gcj" and added it to gcc only.
- I masked ant-core >=1.7.1 so that the version from java-overlay was used.

Now I try the upgrade to icedtea6-1.3-r1


Last edited by Schwinni on Wed Oct 22, 2008 2:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Wed Oct 22, 2008 2:31 pm    Post subject: Reply with quote

OK, icedtea6-1.3.-r1 doesn't compile.

If I choose gcj-jdk with java-config I get:

Code:
 * The IcedTea6 1.3 tarball is broken with respect to bootstrapping.
 *
 * ERROR: dev-java/icedtea6-1.3-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 4605:  Called die
 * The specific snippet of code:
 * die "IcedTea 1.3 can not be bootstrapped.  You need IcedTea6 1.2 to build this.";
 * The die message:
 * IcedTea 1.3 can not be bootstrapped.  You need IcedTea6 1.2 to build this.
 *
 * 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-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.3-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'



When using icedtea6 as VM I get:

Code:
>>> Emerging (1 of 1) dev-java/icedtea6-1.3-r1
 * openjdk-6-src-b12-28_aug_2008.tar.gz RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * icedtea6-1.3.tar.gz RMD160 SHA1 SHA256 size ;-) ...                   [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking icedtea6-1.3.tar.gz to /var/tmp/portage/dev-java/icedtea6-1.3-r1/work
 * Applying cacao-1.3.patch ...                                           [ ok ]
 * Applying memory_limit-1.3.patch ...                                    [ ok ]
 * Applying icedtea6-1.3-autoconf.patch ...                               [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-java/icedtea6-1.3-r1/work/icedtea6-1.3' ...
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running automake --add-missing --copy ...                              [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/icedtea6-1.3-r1/work/icedtea6-1.3 ...
 * Configuring using --with-parallel-jobs=3
 * econf: updating icedtea6-1.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating icedtea6-1.3/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-icedtea --with-icedtea-home=/usr/lib/icedtea6 --with-parallel-jobs=3 --disable-cacao --with-openjdk-src-zip=/var/tmp/portage/dev-java/icedtea6-1.3-r1/distdir/openjdk-6-src-b12-28_aug_2008.tar.gz --with-cacao-src-zip=/var/tmp/portage/dev-java/icedtea6-1.3-r1/distdir/cacao-0.99.3.tar.gz --with-java=/usr/lib/jvm/icedtea6/bin/java --with-javac=/usr/lib/jvm/icedtea6/bin/javac --with-javah=/usr/lib/jvm/icedtea6/bin/javah --enable-optimizations --disable-docs --enable-gcjwebplugin --without-rhino --disable-zero --disable-shark --disable-pulse-java --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a pax tar archive... gnutar
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking for x86_64-pc-linux-gnu-make... no
checking for make... /usr/bin/make
checking for x86_64-pc-linux-gnu-gzip... no
checking for gzip... /bin/gzip
checking for x86_64-pc-linux-gnu-ant... no
checking for ant... /usr/bin/ant
checking for x86_64-pc-linux-gnu-find... no
checking for find... /usr/bin/find
checking for x86_64-pc-linux-gnu-patch... no
checking for patch... /usr/bin/patch
checking for x86_64-pc-linux-gnu-tar... no
checking for tar... /bin/tar
checking for x86_64-pc-linux-gnu-chmod... no
checking for chmod... /bin/chmod
checking for x86_64-pc-linux-gnu-md5sum... no
checking for md5sum... /usr/bin/md5sum
checking for x86_64-pc-linux-gnu-wget... no
checking for wget... /usr/bin/wget
checking for x86_64-pc-linux-gnu-zip... no
checking for zip... /usr/bin/zip
checking for x86_64-pc-linux-gnu-unzip... no
checking for unzip... /usr/bin/unzip
checking for x86_64-pc-linux-gnu-cpio... no
checking for cpio... /bin/cpio
checking for x86_64-pc-linux-gnu-file... no
checking for file... /usr/bin/file
checking for x86_64-pc-linux-gnu-fastjar... no
checking for x86_64-pc-linux-gnu-jar... no
checking for fastjar... no
checking for jar... jar
checking for x86_64-pc-linux-gnu-gawk... no
checking for gawk... /bin/gawk
checking for x86_64-pc-linux-gnu-hg... no
checking for hg... no
checking whether to include Javascript support via Rhino... no
checking openjdk source zip... /var/tmp/portage/dev-java/icedtea6-1.3-r1/distdir/openjdk-6-src-b12-28_aug_2008.tar.gz
checking openjdk sources... /var/tmp/portage/dev-java/icedtea6-1.3-r1/work/icedtea6-1.3/openjdk
checking visualvm source zip... not specified
checking netbeans profiler source zip... not specified
checking alternate jar command... not specified
checking whether to use CACAO as VM... no
checking CACAO home directory... $(abs_top_builddir)/cacao/install
checking CACAO source zip... /var/tmp/portage/dev-java/icedtea6-1.3-r1/distdir/cacao-0.99.3.tar.gz
checking whether to disable optimizations... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to use the zero-assembler port... no
checking whether to use the Shark JIT... no
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking cups/ppd.h usability... yes
checking cups/ppd.h presence... yes
checking for cups/ppd.h... yes
checking X11/X.h usability... yes
checking X11/X.h presence... yes
checking for X11/X.h... yes
checking for main in -ljpeg... yes
checking for main in -lgif... yes
checking for main in -lz... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XPROTO... yes
checking for XT... yes
checking for XP... yes
checking for X11... yes
checking for XINERAMA... yes
checking for LIBPNG... yes
checking for XTST... yes
checking for FREETYPE2... yes
checking for ALSA... yes
checking for MOZILLA... yes
checking for GLIB... yes
checking for GTK... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating platform_zero
config.status: creating jvm.cfg
config.status: creating ergo.c
config.status: executing depfiles commands
mkdir -p bootstrap
rm -f bootstrap/jdk1.6.0
ln -sf /usr/lib/icedtea6 bootstrap/jdk1.6.0; \
   if ! bootstrap/jdk1.6.0/bin/java -version ; \
         then \
           echo "bootstrap/jdk1.6.0/bin/java" \
               "cannot be found or is corrupted." ; \
           exit 1; \
        fi
/bin/sh: line 1: bootstrap/jdk1.6.0/bin/java: Datei oder Verzeichnis nicht gefunden
bootstrap/jdk1.6.0/bin/java cannot be found or is corrupted.
make: *** [stamps/bootstrap-directory-symlink.stamp] Fehler 1
 *
 * ERROR: dev-java/icedtea6-1.3-r1 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 4628:  Called die
 * The specific snippet of code:
 * emake -j 1 || die "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/tmp/portage/dev-java/icedtea6-1.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/icedtea6-1.3-r1/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/portage/layman/java-overlay/'


Anybody any ideas? :?

Best regards
Chris
Back to top
View user's profile Send private message
DanceTrend
n00b
n00b


Joined: 05 Mar 2003
Posts: 35
Location: Netherlands

PostPosted: Wed Oct 22, 2008 9:15 pm    Post subject: Reply with quote

Schwinni wrote:
Hi all,

icedtea6-1.2 from the java-overlay fails to build for me:

[cut]

Thanks in advance!

Best regards
Chris


Same error for me :( My emerge --info:
Code:

Portage 2.2_rc12 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.27-gentoo x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T5500_@_1.66GHz-with-glibc2.2.5
Timestamp of tree: Wed, 22 Oct 2008 15:00:04 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ "
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB en_US nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/java-overlay /usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amarok amd64 apm automount berkdb bittorrent bluetooth bzip2 cairo cdr cisco cli cracklib crypt cups cursors custom-cflags dbus divx dri dvd dvdr dvdread ffmpeg fontconfig fortran ftp gdbm gif gimp gnome gpm grub gtk hal hddtemp icons iconv ieee1394 ipv6 ipw3945 isdnlog java jpeg laptop lm_sensors midi mmx mp3 mp4 mpeg mplayer msn mudflap multilib nautilus ncurses nls nptl nptlonly ntfs opengl openmp pam pcre pdf perl pixmaps png pppd python rar readline reflection session sftp spl sse sse2 ssl subversion svg sysfs tcpd truetype unicode wifi wmf wmp x264 xfce xorg xosd xpm xulrunner zip 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 mmap_emul 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="mouse synaptics keyboard wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB en_US nl" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Wed Oct 22, 2008 10:59 pm    Post subject: Reply with quote

Did you read my post afterwards?
Quote:
I cannot say what it was exactly, but I changed 2 things:
- I removed the global USE flag "gcj" and added it to gcc only.
- I masked ant-core >=1.7.1 so that the version from java-overlay was used.


I see that you use the stable tree, but have gcc 4.3.2 installed.
So you know how to set ~amd64 for certain packages.
You have to do that for some dependencies for icedtea also:
http://icedtea.classpath.org/wiki/GentooBuildInstructions

Together with the 2 things I did (although you probably won't have to mask ant-core-1.7.1-r1, because it is ~amd64) it should work.
Back to top
View user's profile Send private message
DanceTrend
n00b
n00b


Joined: 05 Mar 2003
Posts: 35
Location: Netherlands

PostPosted: Thu Oct 23, 2008 9:11 am    Post subject: Reply with quote

Schwinni wrote:
Did you read my post afterwards?
Quote:
I cannot say what it was exactly, but I changed 2 things:
- I removed the global USE flag "gcj" and added it to gcc only.
- I masked ant-core >=1.7.1 so that the version from java-overlay was used.


I see that you use the stable tree, but have gcc 4.3.2 installed.
So you know how to set ~amd64 for certain packages.
You have to do that for some dependencies for icedtea also:
http://icedtea.classpath.org/wiki/GentooBuildInstructions

Together with the 2 things I did (although you probably won't have to mask ant-core-1.7.1-r1, because it is ~amd64) it should work.

I never had a global gcj use flag. I enabled the gcj use flag only for gcc through package.use.

When I add dev-java/ant-core to package.keywords and then do emerge ant-core it still somes with ant-core-1.7.1-r1... No higher version :? should there be a higher version?

I also followed the guide you refer to, but no success...
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Thu Oct 23, 2008 9:55 am    Post subject: Reply with quote

No, no higher version, a lower version.
The current (testing) version in portage is ant-core-1.7.1-r1, the version in java-overlay is 1.7.0-r3.

In order to use this one, you have to add ant-core to package.keywords, but mask 1.7.1 at the same time:
Code:
echo ">=dev-java/ant-core-1.7.1" >> /etc/portage/package.mask


Now you'll use 1.7.0-r3.

Ah yes, when the dependencies for icedtea6-1.2 have been built, and icedtea fails, try to set you VM to gcj-jdk:
Code:
java-config -L
java-config -S <number of gcj-jdk>


Then run "emerge =dev-java/icedtea6-1.2" again.
Back to top
View user's profile Send private message
DanceTrend
n00b
n00b


Joined: 05 Mar 2003
Posts: 35
Location: Netherlands

PostPosted: Thu Oct 23, 2008 10:00 am    Post subject: Reply with quote

Schwinni wrote:
No, no higher version, a lower version.
The current (testing) version in portage is ant-core-1.7.1-r1, the version in java-overlay is 1.7.0-r3.

Ah I see. I'll try building icedtea again with the lower ant-core version.
Back to top
View user's profile Send private message
jeffreyh
n00b
n00b


Joined: 24 Oct 2008
Posts: 1

PostPosted: Fri Oct 24, 2008 3:21 am    Post subject: Re: icedtea6-1.3-r1 doesn't compile Reply with quote

Schwinni,

I just finished an install of icedtea6-1.2, tried to to upgrade to icedtea6-1.3 and got the same error:


Code:
bootstrap/jdk1.6.0/bin/java cannot be found or is corrupted.


It looks like the ebuild is running the command:
Code:

ln -sf /usr/lib/icedtea6 bootstrap/jdk1.6.0


But on my system the directory /usr/lib/icedtea6 didn't exist, instead I had /usr/lib/icedtea6-1.2

I went with a dirty fix (the fix that often leads to pain later) and created a symbolic link

Code:
cd /usr/lib
ln -s ./icedtea6-1.2 ./icedtea6


emerge -v =dev-java/icedtea6-1.3-r1 then completed without error but it ended up installing the new version of Icedtea inside of the directory pointed to by the symbolic link so I could do the following:

Code:
fox bin # /usr/lib/icedtea6-1.2/bin/java -version
java version "1.6.0_0"
IcedTea6 1.3 Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)


Not good, so I ended up removing the symbolic link and just moving the directory

Code:
fox ~ # cd /usr/lib 
fox lib # ls -lsah ./icedtea6
0 lrwxrwxrwx 1 root root 14 Oct 23 19:28 ./icedtea6 -> ./icedtea6-1.2
fox lib # rm ./icedtea6
fox lib # mv ./icedtea6-1.2 ./icedtea6     
fox lib # /usr/lib/icedtea6/bin/java -version
java version "1.6.0_0"
IcedTea6 1.3 Runtime Environment (build 1.6.0_0-b12)
OpenJDK 64-Bit Server VM (build 1.6.0_0-b12, mixed mode)


On the surface that seems to work but I have not tested very much. Anyone out there have any advice on how to correctly address this problem?
_________________
Wish I had something witty to say ... :(
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Fri Oct 24, 2008 7:20 am    Post subject: Reply with quote

That screams for icedtea6-1.3-r2! ;)
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Tue Oct 28, 2008 1:28 pm    Post subject: Reply with quote

icedtea6-1.3.1 compiles now... :D
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Tue Oct 28, 2008 11:22 pm    Post subject: Reply with quote

Yes it build BUT.

Quote:

GCJ PLUGIN: thread 0x10acf70: NP_Initialize
GCJ PLUGIN: thread 0x10acf70: plugin_test_appletviewer
gcjwebplugin.cc:1045: thread 0x10acf70: Error: Failed to spawn applet viewer: Misslyckades med att köra barnprocessen "/usr/lib64/icedtea6/jre/lib/amd64/../../bin/pluginappletviewer" (Filen eller katalogen finns inte)
GCJ PLUGIN: thread 0x10acf70: plugin_test_appletviewer return
GCJ PLUGIN: thread 0x10acf70: plugin_display_failure_dialog
GCJ PLUGIN: thread 0x10acf70: plugin_display_failure_dialog return


What it say is that the 'pluginappletviewer' does not exist, and it can not spawn the applet viewer.
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Wed Oct 29, 2008 12:22 am    Post subject: Reply with quote

Oh no, I didn't try applets earlier that day. :o
Gonna downgrade to 1.2 again...
Back to top
View user's profile Send private message
NTICompass
Apprentice
Apprentice


Joined: 11 Jun 2008
Posts: 171
Location: /home/nticompass/

PostPosted: Wed Oct 29, 2008 3:39 am    Post subject: Reply with quote

I got IcedTea6-1.2 to compile, then I followed your steps to compile IcedTea6-1.3. The install finished correctly, but I got an error trying to run java or javac. It said it couldn't find libjli.so.

I just unmerged 1.3 and went back to 1.2.

How can I get 1.3 running?

(I'm running a 64-bit system FYI)


Last edited by NTICompass on Mon Nov 10, 2008 2:07 pm; edited 2 times in total
Back to top
View user's profile Send private message
absoluteflatness
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jan 2007
Posts: 138
Location: Blacksburg or Falls Church, VA

PostPosted: Thu Oct 30, 2008 12:16 am    Post subject: Reply with quote

keyson wrote:
Yes it build BUT.

Quote:

GCJ PLUGIN: thread 0x10acf70: NP_Initialize
GCJ PLUGIN: thread 0x10acf70: plugin_test_appletviewer
gcjwebplugin.cc:1045: thread 0x10acf70: Error: Failed to spawn applet viewer: Misslyckades med att köra barnprocessen "/usr/lib64/icedtea6/jre/lib/amd64/../../bin/pluginappletviewer" (Filen eller katalogen finns inte)
GCJ PLUGIN: thread 0x10acf70: plugin_test_appletviewer return
GCJ PLUGIN: thread 0x10acf70: plugin_display_failure_dialog
GCJ PLUGIN: thread 0x10acf70: plugin_display_failure_dialog return


What it say is that the 'pluginappletviewer' does not exist, and it can not spawn the applet viewer.


Same issue here. The error in English is
Code:
Error: Failed to spawn applet viewer: Failed to execute child process "/usr/lib64/icedtea6/jre/lib/amd64/../../bin/pluginappletviewer" (No such file or directory)


A "locate pluginappletviewer" command returns nothing.

This is the icedtea6-1.3.1 ebuild from java-overlay. I'm trying again right now using the already-built icedtea6 to bootstrap, but I'm not enthusiastic. And yes, I do have the nsplugin use flag.
Back to top
View user's profile Send private message
loftwyr
l33t
l33t


Joined: 29 Dec 2004
Posts: 970
Location: 43°38'23.62"N 79°27'8.60"W

PostPosted: Thu Oct 30, 2008 1:18 am    Post subject: Reply with quote

I linked jre/bin/appletviewer to pluginappletviewer and that silenced the error.

It seems to work for root but not as a user.
_________________
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Back to top
View user's profile Send private message
billydv
l33t
l33t


Joined: 22 Dec 2006
Posts: 911
Location: Mount Vernon, NY

PostPosted: Thu Oct 30, 2008 1:03 pm    Post subject: Reply with quote

icedtea6-1.3.1 ebuild from java-overlay build but same error, java applets cannot initialize.
_________________
Billy DeVincentis
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Fri Oct 31, 2008 9:28 am    Post subject: Reply with quote

What about icedtea6-1.3.1-r1?
Anyone tested it?

BTW, why don't the devs write in this thread anymore - like they used to do on the first pages? :(
Back to top
View user's profile Send private message
keyson
l33t
l33t


Joined: 10 Jun 2003
Posts: 830
Location: Sweden

PostPosted: Fri Oct 31, 2008 6:32 pm    Post subject: Reply with quote

Hi,

Yes the latest update to the icedtea ebuild have fixed things up.
So now it put the pluginappletviewer in place and it work.

Code:

equery l icedtea6
[ Searching for package 'icedtea6' in all categories among: ]
 * installed packages
[I--] [ ~] dev-java/icedtea6-1.3.1-r1 (0)
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sat Nov 01, 2008 10:32 pm    Post subject: Reply with quote

As seen earlier in this thread, I've done some stuff with the Java overlay, but I can't seem to check it out again. I've tried 'svn co' with https://overlays.gentoo.org/svn/proj/java/java-overlay, http://overlays.gentoo.org/svn/proj/java/java-overlay, and svn://overlays.gentoo.org/svn/proj/java/java-overlay , and none of them work. The first two cause the command to return with an exit value of 1, and the last one says "No repository found in ..."

What's the proper way to sync?
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Sun Nov 02, 2008 4:15 am    Post subject: Reply with quote

For the Java overlay you can use layman:
Code:
layman -a java-overlay

Then you can sync all overlays added with layman with
Code:
layman -S


Ah yes, icedtea6-1.3.1-r1 works now.
But I had to unmerge 1.2 before, because it forced to build with icedtea vm and there was an error.
After unmerging 1.2 the 1.3.1-r1 used gcj-sdk to build it.

Also you still may not upgrade to ant-core-1.7.1 from the portage tree, but have to stay with version 1.7.0 from java-overlay. I tested it. ;)
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Sun Nov 02, 2008 5:36 pm    Post subject: Reply with quote

Layman doesn't work:
Code:
* Running command "/usr/bin/svn co "http://overlays.gentoo.org/svn/proj/java/java-overlay//" "/usr/local/portage/layman/java-overlay""...
* Failed to add overlay "java-overlay".
* Error was: Adding the overlay failed!
I use Paludis, and that's one of the same URLs I mentioned trying in my post above.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
Back to top
View user's profile Send private message
Schwinni
Apprentice
Apprentice


Joined: 02 Sep 2004
Posts: 214
Location: quadrant1.earth. germany.wuerzburg

PostPosted: Sun Nov 02, 2008 9:03 pm    Post subject: Reply with quote

have you compiled layman with svn support?
Code:
echo "app-portage/layman git subversion" >> /etc/portage/package.use
emerge -uDN @world
Back to top
View user's profile Send private message
Kenji Miyamoto
Veteran
Veteran


Joined: 28 May 2005
Posts: 1452
Location: Looking over your shoulder.

PostPosted: Mon Nov 03, 2008 5:08 pm    Post subject: Reply with quote

I built it with USE="subversion" in the first place.
_________________
[ Kawa-kun, new and improved!! ]

Alex Libman seems to be more of an anarchist than a libertarian.
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 Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 6 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