Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525428 - dev-java/jsr173-1.0-r1 fails with dev-java/oracle-jre-bin
Summary: dev-java/jsr173-1.0-r1 fails with dev-java/oracle-jre-bin
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-14 19:03 UTC by Ville Aakko
Modified: 2015-07-06 14:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ville Aakko 2014-10-14 19:03:12 UTC
Hi!

dev-java/jsr173 fails with oracle-jre-bin(-1.7.0.65). Switching the system-vm to dev-java/oracle-jdk-bin(-1.7.0.67) via eselect fixes it. Maybe the ebuild should check and change to a working vm?

Build log: 

# cat /var/log/portage/dev-java:jsr173-1.0-r1:20141014-184725.log
 * Package:    dev-java/jsr173-1.0-r1
 * Repository: gentoo
 * Maintainer: java@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux policykit userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
!!! ERROR: The javac executable was not found in the Java path
 * Using: oracle-jre-bin-1.7
>>> Unpacking source...
* jar is not available for oracle-jre-bin-1.7 on x86_64
* IMPORTANT: some Java tools are not available on some VMs on some architectures
 * ERROR: dev-java/jsr173-1.0-r1::gentoo failed (unpack phase):
 *   failed to unpack
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_unpack
 *   environment, line 3903:  Called die
 * The specific snippet of code:
 *       jar xvf ${DISTDIR}/${A} || die "failed to unpack";
 * 
 * If you need support, post the output of `emerge --info '=dev-java/jsr173-1.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/jsr173-1.0-r1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jre-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jre-bin-1.7.0.65"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info =jsr173-1.0
 * The complete build log is located at '/var/log/portage/dev-java:jsr173-1.0-r1:20141014-184725.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-java/jsr173-1.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/jsr173-1.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/jsr173-1.0-r1/work'
 * S: '/var/tmp/portage/dev-java/jsr173-1.0-r1/work'
#### eng build log

# emerge --info
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.16.2-gentooVillenMyytti x86_64)
=================================================================
System uname: Linux-3.16.2-gentooVillenMyytti-x86_64-AMD_Athlon-tm-_Dual_Core_Processor_4850e-with-gentoo-2.2
KiB Mem:     6101432 total,    748988 free
KiB Swap:   19433468 total,  19371444 free
Timestamp of tree: Tue, 14 Oct 2014 17:00:01 +0000
ld GNU ld-versio (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.18.2-r1
dev-lang/python:          2.7.7, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo luman gamerlay daktak mythtv x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going -j 3 --load-average 1.90"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer 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="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
LANG="fi_FI.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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/luman /var/lib/layman/gamerlay /var/lib/layman/daktak /usr/local/mythtv_portage/Gentoo /usr/local/portage"
USE="32bit 3dnow 3dnowext S3TC X a52 aac aacplus aacs aalib ace acl acpi alsa amd64 apache2 bash-completion berkdb bittorrent bluetooth bluray branding bzip2 cairo cdda cddb cdio cdr cdrom chardet cli consolekit cracklib crypt cscope css cuda cups cxx dbus declarative dri dts dvb dvd dvdnav dvdr embedded emboss enca encode examples exif fam ffmpeg fftw fi firefox flac floppy fluidsynth fontconfig fortran ftp g3dvl gd gdbm gif git glamor google-gadgets goom gpm gtk hddtemp iconv icu id3 id3tag ieee1394 imlib ipod ipv6 ithreads jack java javascript joystick jpeg jpeg2k kde kdecards kdepim kipi latin1 lcd lcms ldap libnotify libsamplerate lirc lm_sensors logrotate mad maildir matroska mbox md5sum midi mikmod mixer mjpeg mmx mmxext mng mod modplug modules mp3 mp4 mpeg mplayer mtp multilib multiuser musepack music mysql mythtv ncurses nls nodrm nptl nsplugin ntfs ntfsprogs nvcontrol nvidia offensive ogg ogg123 openal opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds projectm projectx pvr qt3support qt4 quicktime rar readline real rpc rtc rtmp s3tc scanner screensaver sdl semantic-desktop sensord session sftp sid sndfile spell sse sse2 sse3 ssl startup-notification stk stream subtitles svg systray taglib tcpd test-programs tga theora threads tiff timidity tk transcode truetype udev udisks unicode unzip upower usb uvm v4l vaapi vcd vdpau vdr vhosts vim vim-pager vim-syntax vim-with-x vorbis vst wallpapers wavpack webdav webdav-neon win32 wma wxwidgets x264 xcb xcomposite xinerama xml xmltv xrandr xscreensaver xterm xv xvfb xvid zip zlib" ABI_X86="64" ALSA_CARDS="hda-intel virmidi" 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" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse joystick synaptics evdev" KERNEL="linux" LCD_DEVICES="imon" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="fi en_GB en" LIRC_DEVICES="userspace" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON



Reproducible: Always
Comment 1 Patrice Clement gentoo-dev 2015-07-06 14:11:34 UTC
BUILD SUCCESSFUL
Total time: 5 seconds
>>> Source compiled.
>>> Install jsr173-1.0-r1 into /var/tmp/portage/dev-java/jsr173-1.0-r1/image/ category dev-java
>>> Completed installing jsr173-1.0-r1 into /var/tmp/portage/dev-java/jsr173-1.0-r1/image/

$ eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-7
  [2]   icedtea-bin-6
  [3]   oracle-jdk-bin-1.8  system-vm user-vm

I cannot reproduce it.