Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199942 - dev-java/antlr-2.7.7 error while compiling: libjli.so not found
Summary: dev-java/antlr-2.7.7 error while compiling: libjli.so not found
Status: RESOLVED DUPLICATE of bug 179481
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-22 05:40 UTC by Paweł Hajdan, Jr. (RETIRED)
Modified: 2007-11-23 14:26 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 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-11-22 05:40:58 UTC
/opt/sun-jdk-1.6.0.03/bin/javac: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                      >> E R R O R <<
============================================================

(...)

/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/../antlr/debug/misc/JTreeASTPanel.java

============================================================
Got an error while trying to execute  command  above.  Error
messages (if any) must have shown before. The exit code was:
exit(127)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
make[1]: *** [/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr/antlr.jar] Error 127
make[1]: Leaving directory `/var/tmp/portage/dev-java/antlr-2.7.7/work/antlr-2.7.7/antlr'
make: *** [all] Error 1
 *
 * ERROR: dev-java/antlr-2.7.7 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   antlr-2.7.7.ebuild, line   38:  Called die
 * The specific snippet of code:
 *      emake || die "compile failed"
 *  The die message:
 *   compile failed
 *
 * 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-java/antlr-2.7.7/temp/build.log'.
 *
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="." JAVA_HOME="/opt/sun-jdk-1.6.0.03"
JAVACFLAGS="+ -source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info

re-emerging dev-java/sun-jdk-1.6.0.03 didn't help
Comment 1 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-11-22 05:43:30 UTC
emerge --info:

Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-hardened-r8 i686)
=================================================================
System uname: 2.6.22-hardened-r8 i686 unknown
Timestamp of tree: Sun, 11 Nov 2007 16:16:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe -fforce-addr"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://213.186.33.37/gentoo-distfiles/ ftp://mirror.qubenet.net/mirror/gentoo/ http://src.gentoo.pl ftp://ftp.mneisen.org/gentoo http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl http://212.219.56.133/sites/www.ibiblio.org/gentoo/ ftp://gentoo.mirror.web4u.cz/ http://ftp.gentoo.bg/ http://213.186.33.38/gentoo-distfiles/"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa arts avahi berkdb bitmap-fonts branding cli cracklib crypt cups dbus dri fam fortran gdbm gif gpm gtk hal iconv ipv6 isdnlog java jpeg logrotate mbox midi mudflap ncurses nis nls nptl nptlonly openmp pam pcre perl png ppds pppd python qt qt3 readline reflection session spl ssl tcpd tiff truetype-fonts type1-fonts unicode x86 xml xorg zeroconf 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2007-11-22 20:34:55 UTC
Please try reinstalling sun-jdk (emerge -1 sun-jdk:1.6) maybe you run out of disk space or something. If that doesn't fix it please provide the output of locate libjli.so and java-config -L
Comment 3 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-11-23 07:21:26 UTC
After emerge -1 sun-jdk:1.6 antlr installed fine (sun-jdk:1.6 of course was installed before). I couldn't run out of disk space, there is still 7+ GB left.

Anyway something is wrong, antlr install should work at the first time.
Comment 4 Petteri Räty (RETIRED) gentoo-dev 2007-11-23 09:33:33 UTC
(In reply to comment #3)
> After emerge -1 sun-jdk:1.6 antlr installed fine (sun-jdk:1.6 of course was
> installed before). I couldn't run out of disk space, there is still 7+ GB left.
> 
> Anyway something is wrong, antlr install should work at the first time.
> 

Well someone else would most likely report this same issue if it was something generic instead of a local problem.
Comment 5 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2007-11-23 10:47:44 UTC
It has been reported before, see bug #179481 - and re-emerging sun-jdk worked too. Doesn't look like a local problem.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2007-11-23 14:26:30 UTC
Marking as a duplicate then. 

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