Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262965 - cmake-utils.eclass depends on findutils 4.4.0ish
Summary: cmake-utils.eclass depends on findutils 4.4.0ish
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-03-18 22:15 UTC by Dennis Nezic
Modified: 2016-02-10 19:43 UTC (History)
2 users (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 Dennis Nezic 2009-03-18 22:15:50 UTC
The cmake-utils eclass uses find's "-exec bla {} +" construct (ie. the plus sign at the end which appends the matched filenames to the command line), which didn't exist in my find version 4.1ish -- I'm not exactly sure when the construct was introduced. Portage only goes back as far as 4.4.0, which I believe does support this.

I'm not sure how we would ensure this dependency is met -- that is, how eclass dependencies are dealt with.

(I wasn't able to emerge flightgear which depended on openscenegraph which used cmake-utils which needed findutils >=4.4.0, until I manually updated my findutils.)

Reproducible: Always

Steps to Reproduce:
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-18 22:23:55 UTC
Just stick a line like this in there:
DEPEND="userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
(The BSDs provide their own poison, so I was told to do it like that in go-mono.eclass.)
Comment 2 Tomáš Chvátal (RETIRED) gentoo-dev 2009-03-19 09:13:38 UTC
(In reply to comment #1)
> Just stick a line like this in there:
> DEPEND="userland_GNU? ( >=sys-apps/findutils-4.4.0 )"
> (The BSDs provide their own poison, so I was told to do it like that in
> go-mono.eclass.)
> 

Thanks for solution. Added to the tree.
Comment 3 SpanKY gentoo-dev 2016-02-10 19:43:22 UTC
i've moved the dep to @system instead since this issue isn't specific to any one package or eclass:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08a05fd934545269bd7e05162b3de697d987cebb

and then dropped it from this:
https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1833195f443a4a24b0872090a550856a682ddf40