Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37054 - glimpse does not respect USE=static
Summary: glimpse does not respect USE=static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-02 15:00 UTC by Ole Tange
Modified: 2004-01-08 11:52 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 Ole Tange 2004-01-02 15:00:50 UTC
I need a version of glimpse that is statically linked. I set USE="... static" and emerge glimpse. But the result is not statically linked.

Reproducible: Always
Steps to Reproduce:
1. edit make.conf: USE="... static"
2. emerge glimpse
3. ldd /usr/bin/uncast (or any other binary)
Actual Results:  
ldd /usr/bin/uncast 
        libc.so.6 => /lib/libc.so.6 (0x40031000) 
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) 
 

Expected Results:  
ldd /usr/bin/uncast 
        not a dynamic executable 
 

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 
2.4.20-wolk4.0s-pre9) 
================================================================= 
System uname: 2.4.20-wolk4.0s-pre9 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -mcpu=i686 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /var/bind /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="-O2 -mcpu=i686 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs sandbox buildpkg ccache distcc userpriv usersandbox" 
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.easynet.nl/mirror/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo" 
MAKEOPTS="-j1" 
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 apm avi crypt cups encode foomaticdb gif gtk2 jpeg gnome libg++ 
mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv 
zlib directfb gtkhtml gdbm berkdb slang readline arts tetex aalib nas bonobo 
svga ggi tcltk java guile ruby mysql postgres X sdl gpm tcpd pam libwww ssl 
perl python esd imlib oggvorbis gtk qt kde motif opengl mozilla gphoto2 ldap 
snmp cdr scanner acpi apache2 artswrappersuid autofs bluetooth clamav curl 
debug dga doc dv dvd emacs ethereal evo faad fax fbcon ffmpeg firebird flac 
flash gb gcl gd gnutls imap innodb ipalias ipv6 irda irmc javascript junit 
kerberos lcms libgda maildir mbox mcal mmx mozcalendar mozsvg mozxmlterm mule 
oav oci8 odbc parse-clocks passfile pcap pcmcia pda plotutils pnp pwdb radeon 
samba sasl skey slp socks5 sox speedo speex sse static tiff transcode trusted 
type1 usagi wmf xml -alsa"
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-08 06:27:18 UTC
you can now build glimpse-4.17.4 with USE=static
Comment 2 Ole Tange 2004-01-08 08:26:26 UTC
But it still does not work:

In make.conf:
USE="X acpi apm arts avi berkdb bonobo cdr crypt cups curl debug dga directfb doc dvb dvd emacs encode esd ethereal evo flash foomaticdb gb gd gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imap imlib innodb java jpeg kde lcms ldap libg++ libgda libwww lids lirc mad mbox mikmod motif mozilla mozsvg mpeg mysql nas ncurses nls oav oggvorbis opengl oss pam pda pdflib perl png postgres python qt quicktime readline samba sasl scanner sdl slang snmp spell sse ssl static svga tcltk tcpd tetex tiff truetype wmf x86 xinerama xml2 xmms xv zlib"

emerge -C glimpse
emerge glimpse
# ldd /usr/bin/uncast
        libc.so.6 => /lib/libc.so.6 (0x4002c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2004-01-08 11:52:30 UTC
please use the ~x86 version