First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 47767
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Java team <java@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: quannum <quannump@netscape.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
libreadline-java-0.8.0.ebuild.patch patch to the ebuild patch quannum 2004-04-13 16:10 0000 401 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 47767 depends on: Show dependency tree
Bug 47767 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-13 16:01 0000
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 From quannum 2004-04-13 16:10:13 0000 -------
Created an attachment (id=29235) [edit]
patch to the ebuild

add >=sys-libs/libtermcap-compat-1.2.3-r1 to $DEPEND

------- Comment #2 From Chris Aniszczyk (RETIRED) 2004-04-14 16:11:12 0000 -------
Thanks, fixed in portage now.

First Last Prev Next    No search results available      Search page      Enter new bug