Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 554884 - dev-java/antlr-3.1.3-r3: building v3 grammars failed (probably a java 8 issue)
Summary: dev-java/antlr-3.1.3-r3: building v3 grammars failed (probably a java 8 issue)
Status: RESOLVED DUPLICATE of bug 506678
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-14 11:48 UTC by Kornel
Modified: 2015-07-19 10:54 UTC (History)
0 users

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


Attachments
build log (build.log,12.04 KB, text/x-log)
2015-07-14 11:49 UTC, Kornel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kornel 2015-07-14 11:48:19 UTC
Emerging dev-java/antlr-3.1.3-r3 fails with "building v3 grammars failed" error message. Probably due to oracle-jdk-bin-1.8 being a system-vm. See:
http://stackoverflow.com/questions/22366415/antlr-plugin-in-eclipse

Reproducible: Always

Steps to Reproduce:
1. emerge -av1 =dev-java/antlr-3.1.3-r3::gentoo

Actual Results:  
Installation fails.

Expected Results:  
Installation succeeds.

GENTOO_VM=oracle-jdk-bin-1.8  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.45"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"

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


$ emerge --info
Portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.4, glibc-2.20-r2, 4.1.2-gentookm x86_64)
=================================================================
System uname: Linux-4.1.2-gentookm-x86_64-Intel-R-_Core-TM-_i7-4500U_CPU_@_1.80GHz-with-gentoo-2.2
KiB Mem:    16311184 total,   6304500 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Tue, 14 Jul 2015 09:45:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo
dev-util/cmake:           3.2.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo
sys-devel/binutils:       2.24-r3::gentoo
sys-devel/gcc:            4.8.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.uk.gentoo.org/gentoo-portage
    priority: -1000

luman
    location: /var/lib/layman/luman
    masters: gentoo
    priority: 0

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 1

bumblebee
    location: /var/lib/layman/bumblebee
    masters: gentoo
    priority: 2

trash
    location: /var/lib/layman/trash
    masters: gentoo
    priority: 3

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 4

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA NVIDIA-CUDA google-chrome skype-4.0.0.7-copyright Google-TOS"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="${CONFIG_PROTECT} /etc /etc/idea/conf /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-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 xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.gg3.net/ http://ftp.daum.net/gentoo/ http://www.mirrorservice.org/sites/distfiles.gentoo.org/ http://tux.rainside.sk/gentoo/"
LANG="pl_PL.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="/tmp"
USE="3ds R X a2ps a52 aac aacplus aacs aalib accessibility acl acpi addressbook aec aes aesicm aff afp aften aim aio airdrop-ng airgraph-ng akonadi alert alevt all_sfx alsa amavis amd64 amr amrenc amrnb android animgif annotations ap apng applet appletalk archive armadillo asf asm aspell asyncns attica audacious audio audio-sdl audioeffects audiofile audioscrobbler aura auth-dns autofs autoipd automount autoreplace autotools autotrace avahi avatars avcodec avformat avg avs avx avx2 awt bash-completion bazaar bearer berkdb binary-drivers bittorrent blas blender bluetooth bluray boost branding bs2b btrfs bzip2 cairo calendar canusb caps captcha cb cdda cddb cdinstall cdio cdr cdrom celt cg charmap clang cli cmake collada colord colordiff colorio colorpicker compress compressed-lumas connection-sharing connectivity conntrack contactnotes contacts context contrast contrib corefonts cover cpufreq cpufreq_bench cpuload cracklib crypt cryptsetup cscope css cuda cue cups curl curlwrappers cursors cvs cxx cycles dane darcs data dbi dbus declarative demosaic designer designer-plugin desktop-notify desktopglobe desktopswitch detex developer devhelp devil dga dhcp-tools dia diff digital dirac djvu dnotify dnstap docbook doctool dos dot dpi dri dts dv dvb dvd dvdnav dvdr dvi dvi2tty dvipdfm ebook eclipse egl eglfs eigen elbeem elfutils embedded emboss emovix enchant encode epspdf epub equalizer evdev exif expat expoblending extensible-exceptions-in-base extensions extra extra-algorithms extra-ciphers extras f2fs faac faad facebook facedetect fakevim fam farstream fast-bignum fast-libs fastcgi fasteap fasttrack fasttree fat fbcon feedback ffmpeg fftw firefox firefox-bookmarks firewalld fits flac flash flickr fltk fluidsynth font-styles fontconfig fontforge fonts foomatic foomaticdb fortran fpx frei0r fuse g726 g729 gadu gallery games gbm gcdmaster gcj gcrypt gd gda gdbm geo geoip geoloc geolocation geos gflags gfxnvidia ggz gif gimp git github glamor gles gles2 glew glfw gltf glut gmath gmcp gme gmp gnome-keyring gnome-online-accounts gnome-shell gnumeric gnuplot gnutls go gocr goffice gold google googledrive gost gpac gpg gphoto2 gpl gpm gps gpsbabel gpssync gptfdisk gpu gpx-extensions grammar graphics graphicsmagick graphite graphviz groupwise gsf gsl gsm gstreamer gtalk gtk gtk3 gtkhotkey gtkhtml gtkstyle gtp gts gucharmap gui gzip h224 h281 h323 hbci hdf5 hdri hidpi highlight hipe hscolour html http humanities hunspell hyphenation i18n ibus iconv icq icu id3tag ide idn ilbc ilbc-webrtc image image-cache imagemagick imaging imap imlib importfilter infinality inkjar inotify int-quality int64 ios ipfilter iplayer ipod iptc ipv6 irrlicht iso ivr jabber jabbersearch jack jadetex java javascript jbig jce jingle jit jpeg jpeg2k json kate kdcraw kde kdecards kdenlive kdepim kdm kexiv2 keyboard kipi konqueror kontact kpathsea kpoll kross ladspa lame lapack laptop lash lasi lastfm latex latexmk lcms ldap ldns lensfun libass libburn libcaca libextractor libffi libgda libgig libguess libkms libmpv libnotify libproxy libsamplerate libsecret libsoxr libtar libtiger libvisual listen-queue live llvm llvm-shared-libs lm_sensors localstorage location lqr lto lua luatex lv2 lz4 lzma lzo mad madde map marble math mathml matplotlib matroska mdnsresponder-compat meanwhile mediaplayer mediawiki melt mercurial messaging metapost metis metric midi migrator mikmod mikrokopter mjpeg mktemp mms mms-agent mmx mmxext mng mobi mod modemmanager modplug modules mono monolithic-build mouse mozdom mp3 mp3rtp mp3tunes mp4 mpd mpeg mpi-threads mplayer mtp mudflap multilib multimedia musepack music nas ncap2 ncat ncurses ndiff netbeans network networking networkmanager networkmonitor new-clx new-login nis nls nmap nmap-update nntp nokia nping npm npp nptl nsplugin ntfs ntfsdecrypt nut nvidia oauth objc objc++ objc-gc ocaml ocamlopt ocr ocrad octave odbc ofa offensive office offscreen ofx ogg okteta okular omega omxil openal opencl openclipart openclipartcards openconnect opencv openexr opengl opengtl openimageio openmp openssl opensslcrypt openstreetmap openvg optimization opus orc organizer oscar osmesa otr ots p2p pam pango panorama pari parse-clocks passwdqc passwordsave pasteafter patented pch pci pcre pcre-jit pcre16 pcre32 pdf pdf-writer pdfannotextractor pdftk perl pgf pgo pgp phonon pipelight pkcs11 plasma player playlist plotutils plugins plymouth png policykit portmidi positioning postproc postscript povray ppds printsupport prison profiler projectm pronounce psd psf pstricks publishers publishsubscribe pulseaudio pvr pyqt4 python qalculate qimageblitz qml qos qrcode qrupdate qscintilla qt-dbus qt-faststart qt3support qt4 qt5 qthelp quicklaunch quicktime quotes quvi qwt r600-llvm-compiler rar raw rcs rdp readline realtime redeyes reiser4 reiserfs remote reports resize-optimization reviewboard rfc2307 rplay rss rtaudio rtc rtf rtmp rtsp samba sasl sbsms scanfolder scanner schroedinger schur science scipy screen screensaver script scripting scripts scripttools scsi sctp sdl sdl-image sdlgfx secure secure-messaging secure-updates security semantic-desktop sensord sensors serialport servicediscovery serviceframework session shapefile sharedclient shout showdesktop sift sigsegv silk sip sipe sipim skins skype smi smp sms sndfile sniffer snmp soap socks soundtouch sox spatialite speech speechd speex spell spice sqlite srt srtp sse sse2 sse2_4way sse3 sse4_1 sse4_2 ssh ssh-agent ssh-askpass ssl ssse3 staging startup-notification steam strong-optimization subtitles subversion supernodal svg swap-remote swig swipl switcher system-binutils system-boost system-cairo system-cxx-headers system-icu system-jpeg system-libCg system-libs system-libvpx system-libyaml system-mpmath system-mupdf system-qemu system-renpy system-sqlite systemd systeminfo systemlib systray sysv-utils szip t1lib taglib tbb tcl tcpd teamd telepathy tellico templates terminal tesseract testlib tex tex4ht texi2html texmacs tga themedesigner theora thesaurus thin-splines threads threadsafe thumbnail thumbnails thunderbird tiff tilepath timezone timidity tk tls toolame toolbar tools truetype tslib tta tts tty-helpers twolame type3 udev udis86 udisks umfpack unicode upnp upnp-av upower usb utilities utils uudeview uuencode uuid uvm uxa v4l v4l2 vaapi vamp vangog vc vcd vcdx vdpau vdr versit vf-dlopen video videoslideshow vim-pager vimeo virtfs virtualbox vlc vlm vnc vorbis vpx vxml wallpapers wav waveform wavelet wavpack wayland wayland-compositor weather web-services webcam webgl webkit webp webphoto webpresence webrtc-aec websockets webstart widevine widgets wifi wiimote windeco winpopup wireshark wireshark-plugins wma wmf word-perfect wps wxwidgets x11 x11extras x11vnc x264 x265 xa xanim xattr xbase xcap xcb xcomposite xetex xface xfig xforward xhtml xindy xine xinerama xml xmlpatterns xmlreader xmlrpc xmltv xmlwriter xmp xmpp xpm xps xrandr xrender xscreensaver xv xvid xvmc xwayland xz yahoo yaz yuv4mpeg zenmap zephyr zeroconf zip zlib" ABI_X86="64 32" 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" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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="efi-64" INPUT_DEVICES="evdev keyboard mouse mutouch synaptics wacom elographics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-minimizer scripting-beanshell scripting-javascript wiki-publisher" LINGUAS="pl pl_PL en en_GB en_US" NETBEANS_MODULES="apisupport java javafx profiler websvccommon cnd ergonomics mobility php webcommon extide" 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="intel nouveau i915 radeon modesetting i965 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Kornel 2015-07-14 11:49:29 UTC
Created attachment 406780 [details]
build log
Comment 2 Kornel 2015-07-14 12:04:56 UTC
Emerging with icedtea-bin-7 as a system-vm works.
Comment 3 James Le Cuirot gentoo-dev 2015-07-17 14:51:46 UTC
Each major ANTLR release is compatible with the last so, in theory, we could drop v3 but there are two problems. Firstly the v4 ebuild only support Java at the moment and secondly, v4 requires v3 to build. The v4 ebuild uses a prebuilt copy of v3 while v3 actually depends on the v2 ebuild. I don't like ANTLR ebuilds depending on each other but I don't like prebuilt stuff either so what I would really like is solely a v4 ebuild that builds a new v3 using the prebuilt v3 and then builds v4.
Comment 4 James Le Cuirot gentoo-dev 2015-07-19 10:54:34 UTC

*** This bug has been marked as a duplicate of bug 506678 ***