Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Icedtea/Java Emerge Failure
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
psva00
n00b
n00b


Joined: 05 Sep 2011
Posts: 16

PostPosted: Sun Jan 25, 2015 12:08 am    Post subject: [SOLVED] Icedtea/Java Emerge Failure Reply with quote

Edit: Solved by using layman to build 2.5.4.

Post: https://forums.gentoo.org/viewtopic-p-7677976.html?sid=cb9664dab5915c43d4d7eb439282240a
Bug: https://bugs.gentoo.org/show_bug.cgi?id=534118



Hello!

I have been struggling trying to emerge Icedtea. I am on a fairly new (~2mo) Gentoo install on my laptop. I have a very similar setup on my desktop, and had no issue getting Icedtea, so I'm not sure what I'm doing wrong here. I've even compared world files between the two, as well as use and package.use variables.

It sems to be always in the same place that it stops (icedtea-boot.stamp failed).

I have followed the bootstrapping instructions here:

https://forums.gentoo.org/viewtopic-t-901036-start-0.html

I have tried using oracle-jdk-bin as recommended here:

https://forums.gentoo.org/viewtopic-t-1004478-highlight-icedtea.html

I have done various emerges, re-emerges, updates, java-configs, anything I can think of, and I cannot seem to get past this. See below for latest failure logs. Any help here at all is very much appreciated.

Regards,
Patrick


Code:

Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.17.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.7-gentoo-x86_64-AMD_A6-4400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2
KiB Mem:     5560024 total,    313900 free
KiB Swap:    6291452 total,   6280764 free
Timestamp of tree: Sat, 24 Jan 2015 16:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r2
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6-r1, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo steam-overlay sublime-text
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=bdver2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=bdver2"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://lug.mtu.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/steam-overlay /var/lib/layman/sublime-text"
SYNC="rsync://rsync24.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor golang gpm gstreamer iconv ipv6 javascript jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg mplayer multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support readline sdl session spell sse sse2 ssl startup-notification svg tcpd tiff truetype type1 udev udisks unicode upower usb vim-syntax vorbis wxwidgets x x264 xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_us" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


_______________________________________

[ebuild  N    ] dev-java/icedtea-7.2.5.3  USE="X alsa cups javascript jbootstrap nsplugin nss pulseaudio source webstart -cacao -cjk -debug -doc -examples -infinality -jamvm -kerberos -pax_kernel (-selinux) -smartcard -sunec {-test} -zero"
[ebuild  N    ] dev-java/icedtea-web-1.5.1-r1  USE="icedtea7 javascript nsplugin -doc -tagsoup {-test}"



The failed build log:
https://dl.dropboxusercontent.com/u/40848878/icedtea_fail.txt


Last edited by psva00 on Mon Feb 02, 2015 4:15 am; edited 1 time in total
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 592
Location: Australia

PostPosted: Sun Jan 25, 2015 1:23 am    Post subject: Reply with quote

Hi,

From your paste

Code:

GENTOO_VM=icedtea-bin-6  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""


You can't compile Icedtea7 with the icedtea6 compiler

What does
Code:
 java-config --list-available-vms
return?

this is what worked for me when I struck this issue
Code:

emerge -upv icedtea


Read the output and make any required changes to /etc/portage/package.accept_keywords to enable a build of icedtea7

then

Code:

emerge -1 icedtea-bin


after you've installed the binary, you should be able to

Code:

java-config --set-system-vm (to the icedtea7 you just installed)


Code:

emerge -uD icedtea


And your jdk should build.
Back to top
View user's profile Send private message
psva00
n00b
n00b


Joined: 05 Sep 2011
Posts: 16

PostPosted: Mon Jan 26, 2015 1:23 am    Post subject: Reply with quote

I wondered the same thing (even though the bootstrapping post linked above says to use icedtea 6), and have tried with icedtea 7, as well as oracle 7 jdk. All have failed.

I've just tried again, java-config has system vm set to IcedTea JDK 7 and the build failed with the same error messages.

Any other ideas?
Back to top
View user's profile Send private message
ian.au
Guru
Guru


Joined: 07 Apr 2011
Posts: 592
Location: Australia

PostPosted: Mon Jan 26, 2015 4:26 am    Post subject: Reply with quote

psva00 wrote:
I wondered the same thing (even though the bootstrapping post linked above says to use icedtea 6), and have tried with icedtea 7, as well as oracle 7 jdk. All have failed.

I've just tried again, java-config has system vm set to IcedTea JDK 7 and the build failed with the same error messages.

Any other ideas?


Oh, sorry that didn't work for you, I described the procedure I'd just completed (and have used before) to get the icedtea upgrade installed on my desktop.

In fact I was here reading java related threads in case my plan didn't work out ;) when I saw your post.

Despite the instructions saying it's possible, I've never managed to build an icedtea unless the virtual/jdk package is at the same release as the build target. I've never really bothered to investigate that, as I can usually build via the process I described. I know from countless threads here that I'm not alone seeing this behaviour, though, and I don't think I've ever seen it really explained.

In any case, by way of an (essentially unhelpful) update: I have another practically identical desktop machine here, and decided to upgrade that using the method that worked on my desktop yesterday: it has just returned a similar error to yours, and won't build with the icedtea7-bin.

So, in short no, I don't have any further ideas, yet :evil: . I'll post back with whatever works to get this second desktop emerging icedtea in case it helps (assuming it proves within my capacities to do so 8O )

The only real difference between these two machines' setup was that my desktop only had icedtea installed and the one that failed a few minutes ago had oracle-jdk:1.7.0.76 installed also.

I'm guessing something is screwing with the virtual/jdk as a result of some contest between the packages for the right to be latest ~amd

[rant] Java implementation is a real remaining pita- between license hassles, fetch restrictions (try dealing with those when you're shelled in to update your desktop remotely from an Android device), and the various hoops that present when trying to keep icedtea slotted nicely when you need the Oracle version too has had me pulling hair a few times. [/rant]

I see here that emerge tried to pull in Oracle-jdk:1.8.0 on this upgrade, I've masked that for the time being. I'm assuming you are using a 1.7.0.?? for the failed build?

List available vms here; your package.accept_keywords
Code:
grep -E "jdk|java" /etc/portage/package.accept_keywords
and make.conf and link a paste-bin of the latest failed build logs here and you will almost certainly attract better advice from those far more experienced with this than me.

Good Luck and cheers,
Back to top
View user's profile Send private message
psva00
n00b
n00b


Joined: 05 Sep 2011
Posts: 16

PostPosted: Mon Feb 02, 2015 4:17 am    Post subject: Reply with quote

Solved by using layman to build Icedtea 7.2.5.4.

During subsequent attempts to emerge Icedtea, I found a more descriptive error message further up in the logs about a date being off by 10 years, and some googling found the posts below.

Post: https://forums.gentoo.org/viewtopic-p-7677976.html?sid=cb9664dab5915c43d4d7eb439282240a
Bug: https://bugs.gentoo.org/show_bug.cgi?id=534118
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