Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bugzilla DB migration completed. Please report issues to Infra team via email via infra@gentoo.org or IRC
Bug 384157 - mandate GNU find
Summary: mandate GNU find
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: PMS/EAPI (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: PMS/EAPI
URL:
Whiteboard: in-eapi-5
Keywords:
Depends on: 374099
Blocks: future-eapi
  Show dependency tree
 
Reported: 2011-09-23 04:27 UTC by SpanKY
Modified: 2012-09-23 06:39 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 SpanKY gentoo-dev 2011-09-23 04:27:14 UTC
in practice, we have people constantly using GNU find extensions in ebuilds and eclasses.  while many usages can be easily or semi-easily converted to POSIX find invocations, there are quite a number where conversion is non-trivial.  regardless of the difficulty, these changes often sit in the tree for a while before anyone notices and files a bug.

having non-Linux ports setup wrappers so that `find` hits `gfind` is however trivial as our experience with things like gsed and gmake have shown.

so let's mandate this and be done.  this will fix random flakiness that our non GNU users experience by virtue of having the same environment that developers develop and test in.  the overhead for these people is fairly minute -- on my 64bit system, the findutils package is less than 2MiB.
Comment 1 Fabian Groffen gentoo-dev 2011-09-23 06:49:01 UTC
Prefix has USERLAND=gnu, so this is already the case for Prefix systems, and not just for `find`.
Comment 2 Ulrich Müller gentoo-dev 2011-09-23 07:35:02 UTC
"In EAPIs XYZ, find and xargs must be available, and must support all forms of invocations valid for GNU findutils version 4.4 or later."

Is 4.4 o.k. as version requirement?
Comment 3 SpanKY gentoo-dev 2011-09-23 14:24:12 UTC
4.4+ sounds fine to me
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2011-11-16 17:18:36 UTC
No issue for Gentoo Prefix, removing from CC
Comment 5 Richard Yao gentoo-dev 2012-08-14 16:07:18 UTC
This would cause problems for Gentoo FreeBSD, which uses the BSD find.
Comment 6 Ciaran McCreesh 2012-08-14 16:12:18 UTC
(In reply to comment #5)
> This would cause problems for Gentoo FreeBSD, which uses the BSD find.

And GNU find can't be made available?
Comment 7 Alexis Ballier gentoo-dev 2012-08-14 16:22:09 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > This would cause problems for Gentoo FreeBSD, which uses the BSD find.
> 
> And GNU find can't be made available?

it is available and ebuilds have been seeing GNU find as find for a while.
Comment 8 Richard Yao gentoo-dev 2012-08-14 16:43:54 UTC
ulm pointed out that aliases are in /var/cvsroot/gentoo-x86/profiles/default/bsd/fbsd/profile.bashrc, which I did not know about. This will not cause any problems for Gentoo/FreeBSD.