Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33247 - Tiny Cobol ebuild installs incorrect library link file
Summary: Tiny Cobol ebuild installs incorrect library link file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-11 13:15 UTC by Haplo
Modified: 2003-11-12 00:59 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 Haplo 2003-11-11 13:15:50 UTC
When I install tinycobol, /usr/lib/libhtcobol.so links to 
/var/tmp/portage/tinycobol-0.61/image//usr/lib/libhtcobol.so.0.61.0 when it
should link to /usr/lib/libhtcobol.so.0.61.0

The result is that htcobol gives an error instead of compiling the program.
Once I ln -sf the link to the proper location htcobol compiles programs properly.

Reproducible: Always
Steps to Reproduce:
1. emerge tinycobol
2. (optional) htcobol  source.cbl
3.

Actual Results:  
Recived:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld:
cannot find -lhtcobol
collect2: ld returned 1 exit stat

Expected Results:  
Compiled the program

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.22)
=================================================================
System uname: 2.4.22 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.4.3.8p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb
slang readline tetex aalib bonobo svga tcltk java guile ruby sdl gpm tcpd pam
libwww ssl python esd imlib oggvorbis motif opengl cdr X gtk gnome alsa qt kde
gtk2 dvd mbox mozilla perl samba usb -arts -apm"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2003-11-12 00:59:38 UTC
You are right, something goes wrong there - I get only this installed:
ls -l /usr/lib/libhtcob*
lrwxrwxrwx    1 root     root           20 Nov 12 09:02 /usr/lib/libhtcobol.so.0 -> libhtcobol.so.0.61.0
-rwxr-xr-x    1 root     root       147726 Nov 12 09:01 /usr/lib/libhtcobol.so.0.61.0

Funny that nobody noticed this since 25 Sep...

Thanks for reporting, should be fixed soon.