Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302997 - dev-java/icedtea6-bin works on i686 only
Summary: dev-java/icedtea6-bin works on i686 only
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-31 16:08 UTC by CaptainBlood
Modified: 2010-01-31 22:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/environment (environment,159.85 KB, text/plain)
2010-01-31 16:12 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2010-01-31 16:08:55 UTC
While building vuze, an issue was raised when building dev-java/ant-core-1.7.1-r4.Infortunatly a power failure occured within the same time frame. I can't not say whether the building error had raised before power outage.
All items reported are result of a "emerge --resume vuze" command.

Gentoo system was recently initialized (1 week ago):
uname -a
Linux m 2.6.31-gentoo-r6 #10 Thu Jan 28 17:12:56 CET 2010 i586 AMD-K6(tm) 3D processor AuthenticAMD GNU/Linux

Now the logs :

emerge --info =dev-java/ant-core-1.7.1-r4
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 i586)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i586-AMD-K6-tm-_3D_processor-with-gentoo-1.12.13
Timestamp of tree: Sat, 30 Jan 2010 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -pipe -mmmx -m3dnow -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k6-2 -pipe -mmmx -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/ http://de-mirror.org/distro/gentoo/"
LANG="fr_FR.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-e"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cairo cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline reflection session spl ssl sysfs tcpd unicode x86 xorg xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY



cat /var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/build.log
 * CPV:  dev-java/ant-core-1.7.1-r4
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Using: icedtea6-bin
>>> Unpacking source...
>>> Unpacking apache-ant-1.7.1-src.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.7.1-r4/work
>>> Unpacking ant-1.7.1-gentoo.tar.bz2 to /var/tmp/portage/dev-java/ant-core-1.7.1-r4/work
>>> Source unpacked in /var/tmp/portage/dev-java/ant-core-1.7.1-r4/work
>>> Preparing source in /var/tmp/portage/dev-java/ant-core-1.7.1-r4/work/apache-ant-1.7.1 ...
removed `lib/xercesImpl.jar'
removed `lib/xml-apis.jar'
 * Applying 1.7.1-pkg-info.patch ...                                                                                        [ ok ]
 * Applying 1.7.1-jdk4-javadoc.patch ...                                                                                    [ ok ]
Rewriting attributes
Rewriting build.xml
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-java/ant-core-1.7.1-r4/work/apache-ant-1.7.1 ...
Rewriting attributes
Rewriting ./build.xml
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-java/ant-core-1.7.1-r4/work/apache-ant-1.7.1 ...
... Bootstrapping Ant Distribution
... Compiling Ant Classes
./bootstrap.sh: line 137:  4706 Illegal instruction     "${JAVAC}" $BOOTJAVAC_OPTS -d ${CLASSDIR} ${TOOLS}/bzip2/*.java ${TOOLS}/tar/*.java ${TOOLS}/zip/*.java ${TOOLS}/ant/util/regexp/RegexpMatcher.java ${TOOLS}/ant/util/regexp/RegexpMatcherFactory.java ${TOOLS}/ant/types/*.java ${TOOLS}/ant/types/resources/*.java ${TOOLS}/ant/*.java ${TOOLS}/ant/taskdefs/*.java ${TOOLS}/ant/taskdefs/compilers/*.java ${TOOLS}/ant/taskdefs/condition/*.java
... Failed compiling Ant classes !
Bootstrap FAILED
 * ERROR: dev-java/ant-core-1.7.1-r4 failed:
 *   build failed
 *
 * Call stack:
 *     ebuild.sh, line  54:  Called src_compile
 *   environment, line 4315:  Called die
 * The specific snippet of code:
 *       CLASSPATH="$(java-config -t)" ./build.sh ${bsyscp} jars-core internal_dist $(use_doc javadocs) || die "build failed"
 *
 * If you need support, post the output of 'emerge --info =dev-java/ant-core-1.7.1-r4',
 * the complete build log and the output of 'emerge -pqv =dev-java/ant-core-1.7.1-r4'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.6.2"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/environment'.
 * S: '/var/tmp/portage/dev-java/ant-core-1.7.1-r4/work/apache-ant-1.7.1'



emerge -pqv =dev-java/ant-core-1.7.1-r4
[ebuild  N    ] dev-java/ant-core-1.7.1-r4  USE="-doc -source"
Comment 1 CaptainBlood 2010-01-31 16:12:35 UTC
Created attachment 217996 [details]
/var/tmp/portage/dev-java/ant-core-1.7.1-r4/temp/environment
Comment 2 CaptainBlood 2010-01-31 16:14:57 UTC
emerge --info =dev-java/ant-core-1.7.1-r4
Portage 2.1.7.16 (default/linux/x86/10.0, gcc-4.3.4, glibc-2.10.1-r1,
2.6.31-gentoo-r6 i586)
=================================================================
                        System Settings
=================================================================
System uname:
Linux-2.6.31-gentoo-r6-i586-AMD-K6-tm-_3D_processor-with-gentoo-1.12.13
Timestamp of tree: Sat, 30 Jan 2010 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i486-pc-linux-gnu"
CFLAGS="-O2 -march=k6-2 -pipe -mmmx -m3dnow -fomit-frame-pointer"
CHOST="i486-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d
/etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k6-2 -pipe -mmmx -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.mneisen.org/
http://de-mirror.org/distro/gentoo/"
LANG="fr_FR.UTF-8@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-e"
PORTAGE_CONFIGROOT="/"
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl berkdb bzip2 cairo cli cracklib crypt cups cxx dri fortran gdbm gpm
iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd
python readline reflection session spl ssl sysfs tcpd unicode x86 xorg
xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
cmipci emu10k1 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="keyboard mouse" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev
glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via
vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL,
PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 3 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-01-31 16:23:01 UTC
icedtea6-bin is currently compiled only for i686, you have i586. Please try sun-jdk instead.
Comment 4 CaptainBlood 2010-01-31 18:28:13 UTC
(In reply to comment #3)
> icedtea6-bin is currently compiled only for i686, you have i586. Please try
> sun-jdk instead.
> 

Ok, I'll try that. Should be mentionned icedtea6-bin install what included in the wuze install process.

emerge reports sun-jdk to be masked. Hope it doesn't mean I should do it.
I don't know how to do this yet. Will google it.

Once sun-jdk installed, I hope vuze install will notice icetea6-bin install step is to be skipped.

Thks for support
Comment 5 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-01-31 22:14:45 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > icedtea6-bin is currently compiled only for i686, you have i586. Please try
> > sun-jdk instead.
> > 
> 
> Ok, I'll try that. Should be mentionned icedtea6-bin install what included in
> the wuze install process.

Not sure how, yet.

> emerge reports sun-jdk to be masked. Hope it doesn't mean I should do it.
> I don't know how to do this yet. Will google it.

It's masked by license. Add dlj-1.1 in ACCEPT_LICENSE in make.conf, see man make.conf

> Once sun-jdk installed, I hope vuze install will notice icetea6-bin install
> step is to be skipped.
>

Yes it will.

> Thks for support
> 

Comment 6 CaptainBlood 2010-01-31 22:23:44 UTC
/etc/make.conf had to be updated with line
ACCEPT_LICENSE="dlj-1.1"
in order to have functional "emerge sun-jdk"

Thereafter, "emerge vuze" worked like a charm.

I think a bug should be opened pointing the indadequacy of the vuze portage for
i486 because of the incompatibility of its embedded java jdk and the aimed i486
environment.

Many Thanks for your help.