Hi! I found that after trying to build vlc with opencv-3.4.1, it fails to build due to unsupported C/C++ extensions. The patch I'm about to upload (in order to apply to opencv) fixes the issue, as mentioned in the URL I attached. Thanks. Reproducible: Always
Created attachment 533254 [details, diff] The patch in question This enables the legacy C/C++ support still used by VLC and some other apps.
I have the same issue. Is there not any patch to vlc, that it can be emerged with the current opencv-3.4.1?
(In reply to Juergen Rose from comment #2) > I have the same issue. Is there not any patch to vlc, that it can be emerged > with the current opencv-3.4.1? I don't know, I couldn't find any patch for that, also, in the URL posted above, is mentioned the issue doesn't affect only to vlc, but to some other packages.
I used this patch of the referenced URL: https://github.com/opencv/opencv/pull/11605 https://github.com/opencv/opencv/pull/11605/commits/549b5df22520b60b91dd77096434d79425b31ac2 It worked for me.
(In reply to Attila Tóth from comment #4) > I used this patch of the referenced URL: > https://github.com/opencv/opencv/pull/11605 > https://github.com/opencv/opencv/pull/11605/commits/ > 549b5df22520b60b91dd77096434d79425b31ac2 > It worked for me. This patch is more complete than I found. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbadf5fc3cdc26df32995e2e1cad1ed47f40efad commit fbadf5fc3cdc26df32995e2e1cad1ed47f40efad Author: Amy Liffey <amynka@gentoo.org> AuthorDate: 2018-05-31 17:15:58 +0000 Commit: Amy Liffey <amynka@gentoo.org> CommitDate: 2018-05-31 17:24:32 +0000 media-libs/opencv: workaround C compilation mode - Add nvcc flags to fix compilation with cuda - Fix issue with C compilation mode for vlc - Fix python installation path Closes: https://bugs.gentoo.org/656530 Closes: https://bugs.gentoo.org/656580 Package-Manager: Portage-2.3.24, Repoman-2.3.6 .../files/opencv-3.4.1-compilation-C-mode.patch | 56 ++++++++++++++++++++++ .../opencv-3.4.1-cuda-add-relaxed-constexpr.patch | 14 ++++++ .../opencv-3.4.1-python-lib-suffix-hack.patch | 13 +++++ ...encv-3.4.1-r1.ebuild => opencv-3.4.1-r2.ebuild} | 6 ++- 4 files changed, 88 insertions(+), 1 deletion(-)