Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 271916 - rsync ebuilds with +acl require virtual/acl which isn't in tre
Summary: rsync ebuilds with +acl require virtual/acl which isn't in tre
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All OS X
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-30 22:17 UTC by Steven Parkes
Modified: 2009-06-03 14:26 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 Steven Parkes 2009-05-30 22:17:06 UTC
ebuild changelog:

  29 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> rsync-3.0.5.ebuild,
  rsync-3.0.6.ebuild:
  Replace kernel-conditional dependency on sys-apps/acl with virtual/acl.
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-02 21:14:16 UTC
It is impossible to build rsync with the acl use flag on linux profiles. I masked that flag months ago.

%% USE=acl emerge -pv rsync

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

Calculating dependencies... done!
[ebuild   R   ] net-misc/rsync-3.0.6  USE="iconv (-acl) -ipv6 -static -xattr -xinetd" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 2 Steven Parkes 2009-06-02 21:34:51 UTC
I'm happy to go away if this is just noise because there are parts of portage I'm not very experienced with, but I can't replicate this:

barronpark profiles # USE=acl emerge -pv rsync

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

Calculating dependencies... done!
[ebuild   R   ] net-misc/rsync-3.0.6  USE="acl iconv ipv6 xattr -static -xinetd" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

barronpark profiles # find . -name \*.use.mask | xargs fgrep rsync
barronpark profiles # find . -name \*.use.mask | xargs fgrep acl
./base/package.use.mask:sys-apps/acl nfs
./arch/powerpc/package.use.mask:# Mask Ruby -> Oracle bindings
./arch/powerpc/package.use.mask:dev-ruby/ruby-dbi oracle
./default/bsd/fbsd/package.use.mask:=app-editors/gedit-2.18* acl
./default/bsd/fbsd/package.use.mask:gnome-base/gnome-vfs acl
./default/bsd/package.use.mask:sys-apps/coreutils acl
./default-bsd/fbsd/package.use.mask:=app-editors/gedit-2.18* acl
./default-bsd/fbsd/package.use.mask:gnome-base/gnome-vfs acl
./default-bsd/package.use.mask:sys-apps/coreutils acl
./hardened/ppc/package.use.mask:# Mask Ruby -> Oracle bindings
./hardened/ppc/package.use.mask:dev-ruby/ruby-dbi oracle
./hardened/ppc64/package.use.mask:# Mask Ruby -> Oracle bindings
./hardened/ppc64/package.use.mask:dev-ruby/ruby-dbi oracle
barronpark profiles # 

And, actually, this is an alt/prefix thing, since virtual/acl exists (at least for my linux hosts). I see the OS was set as linux ... should have been os x.
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-02 21:38:11 UTC
I guess USE=acl should be masked on all profiles then.
Comment 4 Steven Parkes 2009-06-02 21:43:48 UTC
Also, just noting that barronpark in my example is an amd64 linux machine:

smparkes@barronpark ~ $ ls -l /etc/make.profile 
lrwxrwxrwx 1 root root 51 Dec 24 13:50 /etc/make.profile -> ..//usr/portage/profiles/default/linux/amd64/2008.0

so I'm not seeing it masked on linux or osx/prefix. It just seems to compile okay on linux (not that I've been using acls w/rsync lately).

But maybe I'm doing something wrong ...
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-02 21:48:41 UTC
(In reply to comment #4)
> Also, just noting that barronpark in my example is an amd64 linux machine:
> 
> smparkes@barronpark ~ $ ls -l /etc/make.profile 
> lrwxrwxrwx 1 root root 51 Dec 24 13:50 /etc/make.profile ->
> ..//usr/portage/profiles/default/linux/amd64/2008.0
> 
> so I'm not seeing it masked on linux or osx/prefix. It just seems to compile
> okay on linux (not that I've been using acls w/rsync lately).
> 
> But maybe I'm doing something wrong ...
> 

You are confusing "linux" with "prefix on linux" - Comment #1 refers to the latter. Thanks for your continued correspondence, it will get fixed soonish - once there is more discussion about it with devs that use non linux archs.
Comment 6 Steven Parkes 2009-06-02 21:53:47 UTC
You're right; that's what I was doing. Thanks for the clarification. Makes perfect sense now.
Comment 7 Fabian Groffen gentoo-dev 2009-06-03 08:47:00 UTC
IIRC, acl on OSX resulted in unusable crap for coreutils, so feel free to mask globally for prefix.  I don't think it's useful without root privs anyway.
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-03 14:26:50 UTC
masked globally and cleaned up darwin and linux profiles.