Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153895 - problem compiling dev-java/antlr-2.7.5-r2 on amd64
Summary: problem compiling dev-java/antlr-2.7.5-r2 on amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 20:14 UTC by John J. Aylward
Modified: 2006-11-20 07:03 UTC (History)
0 users

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


Attachments
output of "emerge antlr" (make.out,45.39 KB, text/plain)
2006-11-02 20:18 UTC, John J. Aylward
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John J. Aylward 2006-11-02 20:14:51 UTC
this is probably similar to bug 153894, but here it is anyways in case it's different

javac: invalid flag: /usr/share/asm-1.4/lib/asm-util.jar:/usr/share/asm-1.4/lib/asm.jar:/usr/share/asm-1.4/lib/kasm.jar:/usr/share/asm-1.4/lib/asm-attrs.jar:/usr/share/asm-1.4/lib/asm-tree.jar:/usr/share/asm-1.4/lib/asm-analysis.jar:/usr/share/asm-1.4/lib/asm-xml.jar
Usage: javac <options> <source files>
where possible options include:
  -g                        Generate all debugging info
  -g:none                   Generate no debugging info
  -g:{lines,vars,source}    Generate only some debugging info
  -nowarn                   Generate no warnings
  -verbose                  Output messages about what the compiler is doing
  -deprecation              Output source locations where deprecated APIs are used
  -classpath <path>         Specify where to find user class files
  -sourcepath <path>        Specify where to find input source files
  -bootclasspath <path>     Override location of bootstrap class files
  -extdirs <dirs>           Override location of installed extensions
  -d <directory>            Specify where to place generated class files
  -encoding <encoding>      Specify character encoding used by source files
  -source <release>         Provide source compatibility with specified release
  -target <release>         Generate class files for specific VM version
  -help                     Print a synopsis of standard options

make[1]: *** [/var/tmp/portage/antlr-2.7.5-r2/work/antlr-2.7.5/antlr/antlr.jar] Error 2
make: *** [all] Error 1

!!! ERROR: dev-java/antlr-2.7.5-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  antlr-2.7.5-r2.ebuild, line 47:   Called die

!!! compile failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

=========== emerge --info ==================
Portage 2.1.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.5
Last Sync: Thu, 02 Nov 2006 05:00:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="amd64 X X509 aac acl acpi aim alsa apache2 arts audiofile automount avi bash-completion berkdb bitmap-fonts bonjour branding bzip2 calendar cdparanoia cdr chardet cli cracklib crypt cups curl curlwrappers dbus dga dio divx4linux dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc emacs emboss encode esd exif fastcgi fbcon ffmpeg flac foomaticdb fortran ftp gd gdbm gif gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 hal hpn iconv icq ieee1394 imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jabber jack java javamail jikes jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kernel_linux logitech-mouse lzw lzw-tiff mad mime mng modplug mono mozbranding mozdevelop mozilla mp3 mpeg msn musepack mysql ncurses nls no-old-linux nptl nptlonly nsplugin ogg oggvorbis openal openexr opengl oscar pam pcre pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime rdesktop readline reflection samba sdl session smartcard sndfile snmp spell spl ssl startup-notification svg tcl tcltk tcpd tetex tidy tiff timidity tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utempter vhosts video_cards_fglrx video_cards_radeon video_cards_vesa video_cards_vga vim-pager vorbis wma wmf xcomposite xforms xine xinerama xml xml2 xorg xpm xprint xscreensaver xv yahoo zeroconf zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 John J. Aylward 2006-11-02 20:18:35 UTC
Created attachment 101121 [details]
output of "emerge antlr"
Comment 2 John J. Aylward 2006-11-06 11:16:10 UTC
only thing I changed were my personal env JRE_HOME and JAVA_HOME in .bashrc and
it seems to work now. don't know why though since they are set to
/opt/ibm-jdk-bin-1.5.0.3 and this seems to be trying to use
/opt/blackdown-jdk-1.4.2.03

perhaps the package isn't pathing correctly?
Comment 3 Josh Nichols (RETIRED) gentoo-dev 2006-11-18 22:06:33 UTC
Could you try 2.7.5-r3 and see if that makes a difference?
Comment 4 John J. Aylward 2006-11-19 09:51:41 UTC
Seems to work fine now, thanks.
Comment 5 Josh Nichols (RETIRED) gentoo-dev 2006-11-19 10:16:17 UTC
Is it using 2.7.5-r3 that made the difference, or 2.7.5-r2 started working?
Comment 6 John J. Aylward 2006-11-19 20:58:30 UTC
(In reply to comment #5)
> Is it using 2.7.5-r3 that made the difference, or 2.7.5-r2 started working?
> 

as I stated in comment #2, -r2 seems to work now, I did install -r3 and that works as well.

I tried changing the values back to the invalid paths, but -r2 and -r3 compile correctly, so I'm still not sure why I received the error with -r2.

Would you like a new emerge --info to see if anything may have changed in the system to effect this?
Comment 7 Josh Nichols (RETIRED) gentoo-dev 2006-11-20 07:03:35 UTC
If you're not able to reproduce the error, there isn't too much we can do about it. I can only imagine something was in an inconsistant state on your system, and something fixed it since then.

Resolving as invalid.