Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406109 - net-misc/rsync USE="static acl" should [R]DEPEND on sys-apps/acl[static-libs] (through virtual/acl)
Summary: net-misc/rsync USE="static acl" should [R]DEPEND on sys-apps/acl[static-libs]...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 406241 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-02-28 07:17 UTC by Jeff (JD) Horelick (RETIRED)
Modified: 2012-03-05 21:10 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,12.23 KB, text/plain)
2012-02-28 07:17 UTC, Jeff (JD) Horelick (RETIRED)
Details
config.log (config.log,264.29 KB, text/plain)
2012-02-28 07:18 UTC, Jeff (JD) Horelick (RETIRED)
Details
patch to net-misc/rsync and virtual/acl to support USE="static acl" properly (rsync-acl-static.diff,1.60 KB, patch)
2012-03-01 02:40 UTC, Mike Doty (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff (JD) Horelick (RETIRED) gentoo-dev 2012-02-28 07:17:00 UTC
Created attachment 303557 [details]
build.log

Both rsync-3.0.8 and rsync-3.0.9 fail in src_configure() when USE contains both static and acl.

rocko / # emerge --info
Portage 2.2.0_alpha89 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.13-r4, 3.1.6-gentoo i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.1.6-gentoo-i686-Pentium-R-_Dual-Core_CPU_E5300_@_2.60GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 28 Feb 2012 02:00:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo mozilla jd
Installed sets: 
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=native -mtune=native -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -march=native -mtune=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.tds.net/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mozilla /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi adns alsa apng archive auto-hinter bazaar berkdb bonobo branding bzip2 cairo caps cdda cdr cli cracklib crypt cscope cups curl cxx dbus device-mapper dri dvd dvdr emacs encode extra-tools extras ffmpeg flac fortran fuse gdbm gdu git gnome gnutls gpm gstreamer gtk gtkstyle iconv icu ipv6 jpeg jpeg2k lame libnotify lzma mad matroska mercurial mmx modules mp3 mpeg mudflap nautilus ncurses nls nptl nptlonly ntfs ntp ogg openmp optimization pam pcre perl png policykit pppd prebuilt-documentation prediction python rar readline session sqlite sqlite3 sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd theora tiff tools udev unicode utils vim-pager vim-syntax vorbis vp8 wavpack webm wxwidgets x86 xcb xinerama xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeff (JD) Horelick (RETIRED) gentoo-dev 2012-02-28 07:18:46 UTC
Created attachment 303559 [details]
config.log
Comment 2 Richard Grenville 2012-02-28 10:59:07 UTC
Seems by simply enabling the "static-libs" USE flag of sys-apps/acl, I'm able to build rsync with USE="static acl".
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-02-29 15:46:48 UTC
*** Bug 406241 has been marked as a duplicate of this bug. ***
Comment 4 Mike Doty (RETIRED) gentoo-dev 2012-03-01 02:40:02 UTC
Created attachment 303785 [details, diff]
patch to net-misc/rsync and virtual/acl to support USE="static acl" properly

Root cause of this is the acl package for linux uses the "static-libs" flag instead of the universal "static" flag.  None the less, attached is a patch for net-misc/rsync and virtual/acl to depend on the correct use flags.
Comment 5 Elijah "Armageddon" El Lazkani (amd64 AT) 2012-03-01 02:41:34 UTC
(In reply to comment #4)
> Created attachment 303785 [details, diff] [details, diff]
> patch to net-misc/rsync and virtual/acl to support USE="static acl" properly
> 
> Root cause of this is the acl package for linux uses the "static-libs" flag
> instead of the universal "static" flag.  None the less, attached is a patch
> for net-misc/rsync and virtual/acl to depend on the correct use flags.

amd64: patch tested it works
Comment 6 Michael F. 2012-03-01 07:48:36 UTC
Also works on x86. Thanks guys!
Comment 7 SpanKY gentoo-dev 2012-03-05 21:07:32 UTC
acl isn't the only lib.  there's also popt/xattr.

USE=static isn't appropriate for virtual/acl.  it's a library, so we want USE=static-libs.
Comment 8 SpanKY gentoo-dev 2012-03-05 21:10:19 UTC
should be all set now in the tree; thanks for the report!

Commit message: Make sure libs we build against have USE=static-libs enabled when we have USE=static
http://sources.gentoo.org/net-misc/rsync/rsync-3.0.9-r1.ebuild?r1=1.1&r2=1.2