| Summary: | media-libs/opencv-4.5.0[examples]: samples/cpp/digits_lenet.cpp:16:10: fatal error: opencv2/dnn.hpp: No such file or directory | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Kobboi <gentoo> |
| Component: | Current packages | Assignee: | Amy Liffey <amynka> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | leonchik1976, orzel, rossbridger.cc, sam |
| Priority: | Normal | Keywords: | PullRequest |
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| See Also: | https://github.com/gentoo/gentoo/pull/17964 | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 746596 | ||
| Attachments: | build.log.gz | ||
|
Description
Kobboi
2020-10-17 11:09:57 UTC
Full build.log and emerge --info please. Trying a build with USE=-examples first. Compiles fine with USE=-examples Created attachment 666188 [details]
build.log.gz
--info too? thank you! Does it work if you enable contribdnn and dnnsamples USE flag? (In reply to Ross Charles C. from comment #6) > Does it work if you enable contribdnn and dnnsamples USE flag? It does. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c92eaa6a7d93400503334e9c65df2b8e400ab90f commit c92eaa6a7d93400503334e9c65df2b8e400ab90f Author: Ross Charles Campbell <rossbridger.cc@gmail.com> AuthorDate: 2020-10-18 14:59:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-11-03 07:18:26 +0000 media-libs/opencv: various fixes - Explicitly depends on virtual/lapacke to prevent its cmake build scripts from implicitly disabling lapack support when it can't find lapacke.h. - Link with cblas when sci-libs/lapack is supplimented as the default lapack implementation. - examples USE requires contribdnn USE to be enabled to prevent build failure. Closes: https://bugs.gentoo.org/700176 Closes: https://bugs.gentoo.org/749681 Closes: https://bugs.gentoo.org/717812 Closes: https://bugs.gentoo.org/701790 Closes: https://bugs.gentoo.org/704518 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Ross Charles Campbell <rossbridger.cc@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/17964 Signed-off-by: Sam James <sam@gentoo.org> .../opencv-4.5.0-link-with-cblas-for-lapack.patch | 18 ++++++++++++++++++ media-libs/opencv/opencv-4.5.0.ebuild | 8 +++++++- 2 files changed, 25 insertions(+), 1 deletion(-) |