First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 68458
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Related Packages <sci@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kjell Claesson <kjell.claesson@epost.tidanet.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2004-10-21 13:58 0000
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 From Bret Towe 2004-10-21 14:56:02 0000 -------
Kjell:
what version of predict are you using?
it would also be nice if you would include emerge info

------- Comment #2 From Kjell Claesson 2004-10-22 05:20:47 0000 -------
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 From Patrick Kursawe 2004-10-22 07:49:35 0000 -------
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 From Kjell Claesson 2004-10-22 08:14:52 0000 -------
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 From Kjell Claesson 2004-10-23 11:05:35 0000 -------
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 From Patrick Kursawe 2004-10-25 02:21:22 0000 -------
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.

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