Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99226 - emerge jedit-4.2-r1 build failed with java.lang.UnsatisfiedLinkError: /opt/blackdown-jdk-1.4.2.02/jre/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
Summary: emerge jedit-4.2-r1 build failed with java.lang.UnsatisfiedLinkError: /opt/bl...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-16 08:36 UTC by Warren Howard
Modified: 2005-07-18 02:30 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 Warren Howard 2005-07-16 08:36:45 UTC
I get the following error when I try to emerge jedit.  This error first appeared
after doing 

# echo 'dev-java/jakartacommons ~x86' >>/etc/portage/package.keywords
# emerge --ask --verbose jakartacommons

Below the error report I've included emerge info and some java-config info.

Thanks,

Warren

sysnet-penguin1 ~ # emerge --ask --verbose jedit
 
These are the packages that I would merge, in order:
 
Calculating dependencies ...done!
[ebuild  N    ] app-editors/jedit-4.2-r1  -doc -jikes 0 kB
 
Total size of downloads: 0 kB
 
Do you want me to merge these packages? [Yes/No] yes
>>> emerge (1 of 1) app-editors/jedit-4.2-r1 to /
>>> md5 files   ;-) jedit-4.2-r1.ebuild
>>> md5 files   ;-) jedit-4.2.ebuild
>>> md5 files   ;-) files/jedit-4.1-jikes-fix.patch
>>> md5 files   ;-) files/digest-jedit-4.2
>>> md5 files   ;-) files/jedit.desktop
>>> md5 files   ;-) files/digest-jedit-4.2-r1
>>> md5 src_uri ;-) jedit42source.tar.gz
>>> Unpacking source...
>>> Unpacking jedit42source.tar.gz to /var/tmp/portage/jedit-4.2-r1/work
>>> Source unpacked.
Buildfile: build.xml
 
init:
 
BUILD FAILED
java.lang.UnsatisfiedLinkError:
/opt/blackdown-jdk-1.4.2.02/jre/lib/i386/libawt.so: libXp.so.6: cannot open
shared object file: No such file or directory
 
Total time: 0 seconds
 
!!! ERROR: app-editors/jedit-4.2-r1 failed.
!!! Function src_compile, Line 50, Exitcode 1
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.
 
sysnet-penguin1 ~ # emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r11 i686)
=================================================================
System uname: 2.6.11-gentoo-r11 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache2 apm crypt gpm java junit libg++ libwww mozilla mysql ncurses
nls pam perl php postgres python readline spell ssl tcpd xml2 zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
 
sysnet-penguin1 ~ # java-config -J -c -j -O -f -v
/opt/blackdown-jdk-1.4.2.02/bin/java
/opt/blackdown-jdk-1.4.2.02/bin/javac
/opt/blackdown-jdk-1.4.2.02/bin/jar
/opt/blackdown-jdk-1.4.2.02
blackdown-jdk-1.4.2.02
java version "1.4.2-02"
Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.4.2-02)
Java HotSpot(TM) Client VM (build Blackdown-1.4.2-02, mixed mode)
sysnet-penguin1 ~ #


Reproducible: Always
Steps to Reproduce:
1. emerge --ask --verbose jedit
2.
3.

Actual Results:  
see details

Expected Results:  
installed jedit

emerge info is in the details section.
Comment 1 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-16 08:45:46 UTC
update/remerge xorg-x11

libXp.so should be provided by it
Comment 2 Warren Howard 2005-07-17 21:17:34 UTC
Hi, 

Thanks, now I understand the problem.  I don't have X on this machine - I'm
setting it up as a server.  I don't even need jedit, my interest was in
emergeing jakartacommons.

I guess this is not really a bug.  More a lesson - I got way more than I
expected when emergeing jakatacommons.

Thanks,


Warren. 
Comment 3 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-18 02:30:17 UTC
the package isn't named that well, but that package is a jedit(gui editor) 
plugin