First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 99163
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Default Assignee for Orphaned Packages <maintainer-needed@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Petr Lanc <drakoun@atlas.cz>
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 99163 depends on: Show dependency tree
Bug 99163 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: 2005-07-15 16:48 0000
Hi,
I try install statically linked version of app-arch/dump package (0.4.37,
0.4.37, 0.4.40) with "static" use flag.

After success installation, i try to execute dump command:
tygr ~ # dump
-bash: /usr/sbin/dump: No such file or directory
tygr ~ # ls -ld /usr/sbin/dump 
-rwxr-xr-x  1 root tty 238736 Jul 16 01:18 /usr/sbin/dump
tygr ~ # ldd /usr/sbin/dump
/usr/bin/ldd: line 165: /usr/sbin/dump: No such file or directory
tygr ~ # file /usr/sbin/dump
/usr/sbin/dump: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped

Why this say, that /usr/sbin/dump doesn't exist? Why file say, that's is
dynamically linked?
restore is the same:
tygr ~ # restore 
-bash: /usr/sbin/restore: No such file or directory
tygr ~ # ls -l /usr/sbin/restore
-rwxr-xr-x  1 root tty 416588 Jul 16 01:18 /usr/sbin/restore
tygr ~ # ldd /usr/sbin/restore
/usr/bin/ldd: line 165: /usr/sbin/restore: No such file or directory
tygr ~ # file /usr/sbin/restore
/usr/sbin/restore: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.4.1, dynamically linked (uses shared libs), stripped

It seems, this isn't statically linked file.

Dynamically linked version works well...

Sorry for my Eng ;-)


Reproducible: Always
Steps to Reproduce:
1.USE="static" emerge dump
2./usr/sbin/dump

Actual Results:  
Binaries aren't statically linked.


Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -funroll-loops -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -funroll-loops -mfpmath=sse -fomit-frame-pointer
-pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/ http://mirror.switch.ch/mirror/gentoo/
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="POSIX"
LINGUAS="cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acl alsa apm avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia
crypt emboss encode foomaticdb fortran gdbm gif gpm gtk gtk2 imlib jpeg libg++
libwww maildir mikmod mmx motif mp3 mpeg ncurses network nls nptl ogg oggvorbis
opengl oss pam pdflib perl png python quicktime readline sdl slang spell sse ssl
tcpd tiff truetype truetype-fonts type1-fonts usb vorbis xml2 xmms xv zlib
linguas_cs userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

------- Comment #1 From Harald van Dijk 2006-07-16 02:52:13 0000 -------
0.4.40 is fixed, thanks for the report.

> Why this say, that /usr/sbin/dump doesn't exist?

The error message is very confusing, but it means a file was not found when
trying to load /usr/sbin/dump. This is accurate. The file that was not found is
the wrongly listed "program interpreter" (which normally, for dynamically
linked programs, says the file should be loaded by /lib/ld-linux.so.2, but not
here)

> Why file say, that's is dynamically linked?

Because it is, because of a mistake in the ebuild and/or configure script.

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