Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47361

Summary: net-misc/rsync-2.6.0: USE=static support broken
Product: Gentoo Linux Reporter: Sascha Silbe <sascha-gentoo-bugzilla>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch for net-misc/rsync/rsync-2.6.0.ebuild to fix USE=static support

Description Sascha Silbe 2004-04-09 09:56:28 UTC
USE=static support is broken if LDFLAGS does not get exported in /etc/make.conf, i.e. it's broken by default.
The attached patch fixes that.



Reproducible: Always
Steps to Reproduce:
1. USE=static emerge net-misc/rsync
2. ldd /usr/bin/rsync

Actual Results:  
sascha@cube:~$ ldd /usr/bin/rsync
        libpopt.so.0 => /usr/lib/libpopt.so.0 (0x40031000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x4003a000)
        libc.so.6 => /lib/libc.so.6 (0x4004c000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)



Expected Results:  
sascha@cube:~$ ldd /usr/bin/rsync
        not a dynamic executable



Gentoo Base System version 1.4.3.13
Portage 2.0.50-r3 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-cube-3)
=================================================================
System uname: 2.4.25-cube-3 i686 AMD Athlon(tm) XP 1700+
distcc 2.12.1 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-xp -O3 -pipe"
CHOST="i586-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/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="3dnow X acl afs apm avi berkdb cdr crypt doc dvd encode foomaticdb gdbm gif gtk gtk2 gtkhtml guile hbci imap imlib ipv6 j-noaim j-nomsn j-noyahoo jpeg krb4 lcms libg++ libwww linguas_en,de mad maildir mbox mikmod mmx monitor mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib png postgres python qt qtmt quicktime readline samba sdl skey spell sse ssl tetex tiff truetype unicode x86 xml xml2 xv zlib"
Comment 1 Sascha Silbe 2004-04-09 09:57:15 UTC
Created attachment 28958 [details, diff]
patch for net-misc/rsync/rsync-2.6.0.ebuild to fix USE=static support
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-04-11 17:33:46 UTC
Added to cvs.  Thanks for the bug report and patch.