Summary: | media-libs/opencv-4.4.0-r1[eigen] with dev-cpp/eigen-3.3.8: src/async.cpp Parallelizer.h:162:19: error: ‘eigen_assert_exception’ is not a member of ‘Eigen’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Anton Kochkov <anton.kochkov> |
Component: | Current packages | Assignee: | Amy Liffey <amynka> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | audvare, gentoo, johannes.hirte, kde, rossbridger.cc, sam, sci, stevenward1967, toralf, zeekec |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/17899 https://bugs.gentoo.org/show_bug.cgi?id=733796 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 746596 | ||
Attachments: |
full build log
opencv build failed |
Description
Anton Kochkov
2020-10-12 08:45:14 UTC
Looks like an upstream issue in the new dev-ccpp/eigen-3.3.8. I'll try to reproduce shortly. CCing eigen maintainers, there's a patch here: https://gitlab.com/libeigen/eigen/-/merge_requests/232. https://bugs.archlinux.org/task/68118?project=0&order=id&sort=desc&string=parallel mentions two problems, apparently both have been fixed upstream now post-release. Created attachment 664843 [details]
opencv build failed
opencv 4.4.0-r1 build failed, full log could see in attachment (In reply to HougeLangley from comment #3) > opencv 4.4.0-r1 build failed, full log could see in attachment I think the issue is in Eigen. You can try downgrading it to 3.3.7-r1 or 3.3.7 for now until I get a chance to add a < dep, and then pending Eigen maintainers pushing the patches possibly. *** Bug 747961 has been marked as a duplicate of this bug. *** *** Bug 748084 has been marked as a duplicate of this bug. *** The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec0fa8e9928460b1cc10dec718ba5ad1db5b9b9e commit ec0fa8e9928460b1cc10dec718ba5ad1db5b9b9e Author: Sam James <sam@gentoo.org> AuthorDate: 2020-10-12 16:11:25 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-12 16:11:45 +0000 media-libs/opencv: require <dev-cpp/eigen-3.3.8 for now Eigen 3.3.8 introduced a bug (bugs?) it seems, so we'll workaround that for now with a < restriction. Bug: https://bugs.gentoo.org/747949 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencv/{opencv-4.4.0-r1.ebuild => opencv-4.4.0-r2.ebuild} | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) I've applied the workaround for now (depend on an older Eigen) just so people can be building opencv for now, especially given USE=eigen has been broken for a little while and we only fixed that last night (bug 733796). The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a69391373153bcb32284be0a12d38493b24bddd commit 2a69391373153bcb32284be0a12d38493b24bddd Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2020-10-12 15:53:09 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2020-10-12 16:15:20 +0000 dev-cpp/eigen: Backport fix for revdeps build failures Reported-by: Anton Kochkov <anton.kochkov@gmail.com> Thanks-to: Sam James <sam@gentoo.org> Closes: https://bugs.gentoo.org/747949 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../{eigen-3.3.8.ebuild => eigen-3.3.8-r1.ebuild} | 5 +- ...error-counting-in-openmp-parallelize_gemm.patch | 64 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b0b4c6efa56748cae3f7de69798c4c9adb628ec commit 3b0b4c6efa56748cae3f7de69798c4c9adb628ec Author: Sam James <sam@gentoo.org> AuthorDate: 2020-10-18 14:23:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-10-18 14:49:28 +0000 media-libs/opencv: don't allow =dev-cpp/eigen-3.3.8 dev-cpp/eigen-3.3.8 was broken upstream and -r1 introduces a backported fix. While 3.3.8 was removed from tree, it is possible that 3.3.8 is still installed and satisfies the dependency on a user's machine, in the case of the latter bug referenced here. Bug: https://bugs.gentoo.org/747949 Closes: https://bugs.gentoo.org/749804 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Sam James <sam@gentoo.org> media-libs/opencv/opencv-4.4.0-r1.ebuild | 8 +++++++- media-libs/opencv/opencv-4.5.0.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) |