Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57560 - ide-smart does not respect USE=static
Summary: ide-smart does not respect USE=static
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-19 01:46 UTC by Ole Tange
Modified: 2004-08-26 03:04 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 Ole Tange 2004-07-19 01:46:29 UTC
ide-smart can be linked statically but USE=static does not work.

USE=static emerge ide-smart
...
ldd /usr/bin/ide-smart
        linux-gate.so.1 =>  (0xffffe000)
        libc.so.6 => /lib/libc.so.6 (0x40034000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Reproducible: Always
Steps to Reproduce:



Expected Results:  
ldd ide-smart 
        not a dynamic executable 
 

 
Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3.20040420-r0, 
2.6.6-win4lin) 
================================================================= 
System uname: 2.6.6-win4lin i686 Intel(R) Pentium(R) 4 CPU 2.40GHz 
Gentoo Base System version 1.4.16 
Autoconf: sys-devel/autoconf-2.59-r3 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-Os -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /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="-Os -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox" 
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.du.se/pub/os/gentoo ftp://ftp.du.se/pub/os/gentoo 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
ftp://mirror.switch.ch/mirror/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="X acpi apm arts avi berkdb bonobo cdr crypt cups curl debug dga directfb 
doc dv 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 mmx 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 theora tiff truetype wmf x86 xinerama xml2 
xmms xv zlib"
Comment 1 Andrew Ross (RETIRED) gentoo-dev 2004-07-19 03:50:14 UTC
There is no maintainer for this package, and the last change was made Dec 2002 (which was to mark stable on sparc).

I don't think this will be fixed anytime soon - it's not like ide-smart ever claimed to support the "static" use flag:

andrew-desktop / # grep IUSE /usr/portage/app-admin/ide-smart/*
/usr/portage/app-admin/ide-smart/ide-smart-1.4.ebuild:IUSE=""

Furthermore, the binary is only linked against the standard c library! There is little, if any, benefit in statically linking it.

This should probably be closed "WONTFIX". At the very least, the severity should be changed from "normal" to "enhancement" (since the bug is really a request for additional functionality - namely, support for the "static" use flag).
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-08-25 18:08:47 UTC
I'm closing this as WONTFIX for the reasons Andrew has mentioned in comment #1: the application only requires the C library and hence there would be little gained advantage by linking it statically.
Comment 3 Ole Tange 2004-08-26 03:04:49 UTC
Just to clear up why it is interesting for me to have ide-smart statically linked: I often use Gentoo to create executables for people using other distributions. Therefore I cannot assume they have the same version of the C-library, but a statically linked binary will work even if they C-library is very old.