Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555824 - [PATCH] media-libs/opencv should depend on dev-util/cmake
Summary: [PATCH] media-libs/opencv should depend on dev-util/cmake
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-24 19:41 UTC by Palmer Dabbelt
Modified: 2015-07-25 09:41 UTC (History)
3 users (show)

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


Attachments
Adds a cmake dependency (opencv-cmake.patch,1.57 KB, patch)
2015-07-24 19:41 UTC, Palmer Dabbelt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Palmer Dabbelt 2015-07-24 19:41:31 UTC
Created attachment 407550 [details, diff]
Adds a cmake dependency

opencv uses cmake as the build system, but doesn't actually depend on cmake.  If I install opencv on a fresh Gentoo system, it'll error out right away when it tries to call cmake during the configure phase.
Comment 1 Amy Liffey gentoo-dev 2015-07-25 08:21:27 UTC
Thanks.

Amy
Comment 2 Franz Trischberger 2015-07-25 08:26:03 UTC
opencv inherits cmake-utils which adds cmake to DEPEND. What is the exact error you get and how to you try to install opencv? Do you have a buggy cmake-utils.eclass somewhere around?
Comment 3 Amy Liffey gentoo-dev 2015-07-25 08:44:01 UTC
He is right. Can you please attach more information about it?
Comment 4 Palmer Dabbelt 2015-07-25 09:23:11 UTC
This is my fault: I was cross-compiling, and apparently crossdev's emerge wrapper passes "--root-deps=rdeps" to emerge, which then goes and ignores host dependencies (like cmake).

https://gentoo-handbook.lugons.org/proj/en/base/embedded/handbook/index.xml?style=printable&part=1&chap=3

Sorry!
Comment 5 Amy Liffey gentoo-dev 2015-07-25 09:41:56 UTC
(In reply to Palmer Dabbelt from comment #4)
> This is my fault: I was cross-compiling, and apparently crossdev's emerge
> wrapper passes "--root-deps=rdeps" to emerge, which then goes and ignores
> host dependencies (like cmake).
> 
> https://gentoo-handbook.lugons.org/proj/en/base/embedded/handbook/index.
> xml?style=printable&part=1&chap=3
> 
> Sorry!

No problem. :))

Thanks.

Amy