Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 47767 - dev-java/libreadline-java depends on sys-libs/libtermcap-compat
Summary: dev-java/libreadline-java depends on sys-libs/libtermcap-compat
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-13 16:01 UTC by quannum
Modified: 2004-04-14 16:11 UTC (History)
0 users

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


Attachments
patch to the ebuild (libreadline-java-0.8.0.ebuild.patch,401 bytes, patch)
2004-04-13 16:10 UTC, quannum
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description quannum 2004-04-13 16:01:31 UTC
aemerge libreadline-java make fails, but installs anyway:
...
gcc -shared org_gnu_readline_Readline.o -L/usr/lib/termcap  -lreadline -ltermcap -lhistory -o ../../libJavaReadline.so
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: cannot find -ltermcap
collect2: ld returned 1 exit status
make[3]: *** [../../libJavaReadline.so] Error 1
make[3]: Leaving directory `/var/tmp/portage/libreadline-java-0.8.0/work/libreadline-java-0.8.0/src/native'
make[2]: *** [JavaReadline] Error 2
make[2]: Leaving directory `/var/tmp/portage/libreadline-java-0.8.0/work/libreadline-java-0.8.0/src/native'
make[1]: *** [native] Error 2
make[1]: Leaving directory `/var/tmp/portage/libreadline-java-0.8.0/work/libreadline-java-0.8.0/src'
make: *** [build-native] Error 2

>>> Install libreadline-java-0.8.0 into /var/tmp/portage/libreadline-java-0.8.0/image/ category dev-java
/usr/lib/portage/bin/dolib.so: *.so does not exist
man:
prepallstrip:
strip: 
>>> Completed installing into /var/tmp/portage/libreadline-java-0.8.0/image/
...



emerge unmerge libreadline-java && aemerge libtermcap-compat libreadline-java



...
gcc -shared org_gnu_readline_Readline.o -L/usr/lib/termcap  -lreadline -ltermcap -lhistory -o ../../libJavaReadline.so
make[3]: Leaving directory `/var/tmp/portage/libreadline-java-0.8.0/work/libreadline-java-0.8.0/src/native'
make[2]: Leaving directory `/var/tmp/portage/libreadline-java-0.8.0/work/libreadline-java-0.8.0/src/native'
make[1]: Leaving directory `/var/tmp/portage/libreadline-java-0.8.0/work/libreadline-java-0.8.0/src'

>>> Install libreadline-java-0.8.0 into /var/tmp/portage/libreadline-java-0.8.0/image/ category dev-java
man:
prepallstrip:
strip: 
strip: 
   usr/lib/libJavaReadline.so
making executable: /usr/lib/libJavaReadline.so
>>> Completed installing into /var/tmp/portage/libreadline-java-0.8.0/image/
...

Reproducible: Always
Steps to Reproduce:
1.aemerge libreadline-java
2.check the final gcc object linking
3.

Actual Results:  
usr/lib/libJavaReadline.so is not created

Expected Results:  
usr/lib/libJavaReadline.so is installed

System uname: 2.4.22-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/
rsync://cudlug.cudenver.edu/gentoo ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo/
ftp://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apm arts avi berkdb cdr crypt cups encode esd foomaticdb gdbm
gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad mikmod mmx motif mozilla
moznocompose moznoirc mysql ncurses nls oggvorbis opengl oss pam pdflib perl png
ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcpd
truetype usb x86 xml xml2 xmms xv zlib"
Comment 1 quannum 2004-04-13 16:10:13 UTC
Created attachment 29235 [details, diff]
patch to the ebuild

add >=sys-libs/libtermcap-compat-1.2.3-r1 to $DEPEND
Comment 2 Chris Aniszczyk (RETIRED) gentoo-dev 2004-04-14 16:11:12 UTC
Thanks, fixed in portage now.