Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68458 - gsat included in predict package broken by lib update.
Summary: gsat included in predict package broken by lib update.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-21 13:58 UTC by Kjell Claesson
Modified: 2004-10-25 02:21 UTC (History)
1 user (show)

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 Kjell Claesson 2004-10-21 13:58:44 UTC
gsat program that is included in predict package is broken.

On start it gives this warning.
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
gsat: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory

On revdep-rebuild:
Incorrectly built binary which accesses errno or h_errno directly. Needs to be fixed.
  broken /usr/bin/gsat (requires libdl.so.2 libm.so.6 libc.so.6 libdl.so.2 libm.so.6 libc.so.6 libdl.so.2 libm.so.6 libc.so.6 libdl.so.2 libc.so.6 libc.so.6 libc.so.6 libc.so.6 libdl.so.2 libc.so.6)

The library is in place, but maybe to new.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Bret Towe 2004-10-21 14:56:02 UTC
Kjell:
what version of predict are you using?
it would also be nice if you would include emerge info
Comment 2 Kjell Claesson 2004-10-22 05:20:47 UTC
It's predict 2.2.2-r1

emerge info
Portage 2.0.51 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 Intel(R) Celeron(TM) CPU                1400MHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/ http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bitmap-fonts blender-game bonobo cdr crypt cups dba directfb divx4linux dv dvd dvdr encode esd f77 fbcon flash foomaticdb gd gdbm gif gimpprint gnome gpm gtk gtk2 gtkhtml guile ieee1394 imlib innodb java joystick jpeg kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls nptl nptlonly oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype usb v4l x86 xml2 xmms xprint xv zlib"

Sorry that i forgot that.
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-22 07:49:35 UTC
I can't reproduce your problem with the same predict version. Quite likely somewhere on your system is an ancient library which causes the trouble.
Could you perhaps use "ldd /usr/bin/gsat" to check to which libraries gsat links and re-emerge them? 

Use "qpkg -v -f /path/to/library" to check to which packages they belong.

Please re-open this bug if the program still persists, then.
Comment 4 Kjell Claesson 2004-10-22 08:14:52 UTC
Hi. It points to glibc.

glibc-2.3.4.20041006-r0

It is recompiled and still get the 'bug'.

I did a check on google for glibc 2.3 and errno. Seems not to
be the only app that have borked.
Comment 5 Kjell Claesson 2004-10-23 11:05:35 UTC
Ok, I hade a look on it myself.

In gsat source file globals.h errno is declared int (line 58).
errno.h is used as include and it declares the errno.

So by removing line 58 in globals.h it runs. If i compile it with
this line i get the same error as stated above.

gsat version is gsat-1.1.0.

Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-25 02:21:22 UTC
Well, seems the newer glibc does some additional checks for possible errno problems that weren't done before. For me, it prints the warning and runs fine, tough. Fixed in -r2, thanks for your help.