Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 264191

Summary: dev-util/checkstyle-4.4 fails to install because it cannot find antlr
Product: Gentoo Linux Reporter: Carlos Konstanski <ckonstanski>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Carlos Konstanski 2009-03-29 16:00:15 UTC
Using icedtea6.

While trying to upgrade to app-emacs/jde-2.3.6_pre20081208, checkstyle was pulled in as a dependency.  checkstyle compiled fine on x86, but failed on amd64.

root@sphinktoo:~# equery list -i antlr
[ Searching for package 'antlr' in all categories among: ]
 * installed packages
[I--] [  ] dev-java/ant-antlr-1.7.1 (0)
[I--] [  ] dev-java/antlr-2.7.7 (0)

 * Using: icedtea6-bin
>>> Unpacking source...
>>> Unpacking checkstyle-src-4.4.tar.gz to /var/tmp/portage/dev-util/checkstyle-4.4/work
removed `antlr.jar'
removed `commons-beanutils-core.jar'
removed `commons-cli.jar'
removed `commons-collections.jar'
removed `commons-logging.jar'
removed `emma.jar'
removed `emma_ant.jar'
removed `jdom-b9.jar'
removed `junit.jar'
removed `velocity-dep-1.4.jar'
!!! ERROR: Package antlr was not found!
 * 
 * ERROR: dev-util/checkstyle-4.4 failed.
 * Call stack:
 *               ebuild.sh, line   48:  Called src_unpack
 *             environment, line 4170:  Called java-pkg_jar-from 'antlr'
 *             environment, line 3137:  Called die
 * The specific snippet of code:
 *       [[ $? != 0 ]] && die ${error_msg};
 *  The die message:
 *   There was a problem getting the classpath for antlr.
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/dev-util/checkstyle-4.4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-util/checkstyle-4.4/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.4"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER=""
and of course, the output of emerge --info

Reproducible: Always

Steps to Reproduce:




Portage 2.1.6.11 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.27.10 x86_64)
=================================================================
System uname: Linux-2.6.27.10-x86_64-AMD_Athlon-tm-_64_Processor_3000+-with-glibc2.2.5
Timestamp of tree: Sun, 29 Mar 2009 09:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en en_US"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/lisp /usr/portage/local/layman/java-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa amd64 apache2 berkdb bluetooth branding browserplugin bzip2 cairo cdr cli cracklib crypt cups curl dbus dri dvd dvdr dvdread eds emacs emboss encode evo fam ffmpeg firefox firefox3 fortran gd gdbm gif gnutls gpm gstreamer gtk gtkhtml guile hal iconv imagemagick imap ipv6 isdnlog jack jbig jpeg jpeg2k latex libnotify libwww lm_sensors mad maildir midi mikmod mmx mmxext mod motif mozilla mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin odbc ogg opengl openmp oss pam pcre pdf perl pic png pni postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl sdl session source spell spl sse sse2 sse3 ssl startup-notification svg sysfs tcltk tcpd tetex threads tiff truetype unicode urandom usb vim vorbis xattr xft xinerama xml xorg xulrunner xv zlib" ALSA_CARDS="nvidia" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Petteri Räty (RETIRED) gentoo-dev 2009-03-29 16:29:28 UTC

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