Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232115 - sys-fs/e2fsprogs + USE=static does *not* produce a static e2fsck
Summary: sys-fs/e2fsprogs + USE=static does *not* produce a static e2fsck
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2008-07-17 20:58 UTC by Florian D.
Modified: 2008-08-16 15:30 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Florian D. 2008-07-17 20:58:10 UTC
brain ~ # emerge -av e2fsprogs

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-fs/e2fsprogs-1.40.9  USE="nls static" 0 kB

brain ~ # ldd /sbin/e2fsck =>  (0x00007fff999fe000) => /lib/ (0x00007f9e914f2000) => /lib/ (0x00007f9e912ef000) => /lib/ (0x00007f9e910e4000) => /lib/ (0x00007f9e90ee0000) => /lib/ (0x00007f9e90cda000) => /lib/ (0x00007f9e9099b000)
        /lib64/ (0x00007f9e91717000)

...this is also true for sys-fs/e2fsprogs-1.40.11

brain ~ # emerge --info
Portage (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, x86_64)
System uname: x86_64 AMD Phenom(tm) 9850 Quad-Core Processor
Timestamp of tree: Tue, 15 Jul 2008 17:30:02 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13
dev-python/pycrypto: 2.0.1-r6
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
CFLAGS="-march=k8 -Os -pipe"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/X11/xkb /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -Os -pipe"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
LINGUAS="en_GB en de"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="3dnow 3dnowext X a52 aac aalib acl acpi alsa amd64 apache2 atlas audiofile authdaemond avi bash-completion berkdb bindist blas bluetooth branding bzip2 bzlib cairo calendar cddb cdparanoia cdr cli cracklib crypt cups dbus divx4linux dri dvb dvd dvdr dvdread eds emacs emboss encode esd evo exif f77 fam fbcon ffmpeg fftw firefox flac fortran ftp gcj gdbm gif ginac gphoto2 gpm gps gstreamer gtk gtk2 hal i-doc iconv icq imagemagick imap imlib ipv6 isdnlog jack java javascript jpeg junit kde kdeenablefinal kerberos lapack ldap libnotify libwww lirc lm_sensors mad maildir midi mikmod mime mmap mmx mmxext mozilla mozsvg mp3 mpeg mplayer msn mudflap multilib mysqli ncurses network networkmanager nls nptl nptlonly nsplugin obcd objc ogg openexr opengl openmp pam pam_timestamp pcre pda pdf pdflib perl pic pie plotutils png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection ruby samba sasl scanner sdl session skey slp sndfile snmp sox speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb v4l vcd vorbis wifi wmf xanim xine xinerama xml xorg xprint xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en de" LIRC_DEVICES="hauppauge" USERLAND="GNU" VIDEO_CARDS="fbdev radeon v4l vmware"
Comment 1 Florian D. 2008-07-18 22:22:19 UTC
I found the reason: from the changelog of e2fsprogs-1.40.5:

Remove the --enable-dynamic-static configure option, and build e2fsck
dynamically by default.  If the user wants e2fsck.static, he/she will
need to build it via "make -C e2fsck e2fsck.static"

..please update the ebuild accordingly, many thanks!
Comment 2 SpanKY gentoo-dev 2008-08-16 04:43:52 UTC

*** This bug has been marked as a duplicate of bug 178718 ***
Comment 3 Florian D. 2008-08-16 11:40:49 UTC
(In reply to comment #2)
> *** This bug has been marked as a duplicate of bug 178718 ***

sorry, this is not a duplicate. in the moment, we get no static binaries at all. see comment #1. 

one has to insert "make -C e2fsck e2fsck.static" into the ebuild, if USE=static
I tried to do this and send a patch, but my ebuild-knowledge is not deep enough :-(
Comment 4 SpanKY gentoo-dev 2008-08-16 15:30:59 UTC
dropped USE=static