Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701424 - media-video/vlc-3.0.8 with media-libs/opencv-4.1.2 - configure: error: Library opencv > 2.0 needed for opencv was not found
Summary: media-video/vlc-3.0.8 with media-libs/opencv-4.1.2 - configure: error: Librar...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://trac.videolan.org/vlc/ticket/...
Whiteboard:
Keywords:
: 702984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-11-28 19:50 UTC by Johannes Hirte
Modified: 2020-02-19 13:33 UTC (History)
9 users (show)

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


Attachments
build.log (build.log,27.02 KB, text/plain)
2019-11-28 19:51 UTC, Johannes Hirte
Details
config.log (config.log,306.97 KB, text/plain)
2019-11-28 19:51 UTC, Johannes Hirte
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Hirte 2019-11-28 19:50:13 UTC
vlc fails at configure phase:

checking for opencv > 2.0... no
configure: error: Library opencv > 2.0 needed for opencv was not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/vlc-3.0.8/work/vlc-3.0.8/config.log
 * ERROR: media-video/vlc-3.0.8::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_configure
 *             environment, line 2292:  Called econf '--disable-aa' '--disable-dependency-tracking' '--disable-optimizations' '--disable-rpath' '--disable-update-check' '--enable-fast-install' '--enable-screen' '--enable-vcd' '--enable-vlc' '--enable-a52' '--enable-alsa' '--disable-altivec' '--disable-aom' '--disable-archive' '--disable-aribsub' '--disable-fribidi' '--disable-harfbuzz' '--disable-bluray' '--disable-libcddb' '--disable-chromaprint' '--disable-chromecast' '--disable-microdns' '--disable-neon' '--enable-mmx' '--enable-sse' '--enable-dav1d' '--enable-dbus' '--enable-kwallet' '--disable-dc1394' '--disable-debug' '--disable-directx' '--disable-d3d11va' '--disable-dxva2' '--disable-dca' '--enable-dvbpsi' '--enable-dvdnav' '--enable-dvdread' '--enable-sout' '--enable-vlm' '--disable-faad' '--enable-fdkaac' '--enable-avcodec' '--enable-avformat' '--enable-swscale' '--enable-flac' '--disable-fluidsynth' '--enable-fontconfig' '--enable-libgcrypt' '--disable-gme' '--disable-secret' '--disable-gst-decode' '--disable-dv1394' '--disable-jack' '--enable-jpeg' '--disable-kate' '--disable-libass' '--disable-caca' '--disable-notify' '--enable-samplerate' '--disable-libtar' '--disable-tiger' '--disable-linsys' '--disable-lirc' '--disable-live555' '--disable-lua' '--disable-osx-notifications' '--enable-mad' '--enable-matroska' '--disable-mod' '--enable-mpg123' '--enable-libmpeg2' '--enable-mtp' '--disable-mpc' '--enable-ncurses' '--enable-ogg' '--disable-omxil' '--disable-omxil-vout' '--enable-opencv' '--disable-optimize-memory' '--enable-opus' '--enable-png' '--disable-postproc' '--disable-projectm' '--enable-pulse' '--enable-qt' '--disable-freerdp' '--disable-run-as-root' '--disable-smbclient' '--disable-sdl-image' '--disable-sftp' '--disable-shout' '--disable-sid' '--disable-skins2' '--disable-soxr' '--enable-speex' '--disable-srt' '--enable-gnutls' '--enable-svg' '--enable-svgdec' '--enable-taglib' '--enable-theora' '--disable-tremor' '--disable-twolame' '--enable-udev' '--disable-upnp' '--enable-v4l2' '--enable-libva' '--enable-vdpau' '--disable-vnc' '--enable-vorbis' '--enable-vpx' '--enable-wayland' '--with-x' '--enable-xcb' '--enable-xvideo' '--enable-x264' '--enable-x26410b' '--enable-x265' '--enable-libxml2' '--disable-avahi' '--disable-zvbi' '--enable-telx' '--with-kde-solid=/usr/share/solid/actions' '--disable-asdcp' '--disable-coverage' '--disable-cprof' '--disable-crystalhd' '--disable-decklink' '--disable-gles2' '--disable-goom' '--disable-kai' '--disable-kva' '--disable-libplacebo' '--disable-macosx-qtkit' '--disable-maintainer-mode' '--disable-merge-ffmpeg' '--disable-mfx' '--disable-mmal' '--disable-opensles' '--disable-oss' '--disable-rpi-omxil' '--disable-schroedinger' '--disable-shine' '--disable-sndio' '--disable-spatialaudio' '--disable-vsxu' '--disable-wasapi' '--disable-wma-fixed' '--enable-freetype' '--with-default-font=/usr/share/fonts/dejavu//DejaVuSans.ttf' '--with-default-font-family=Sans' '--with-default-monospace-font=/usr/share/fonts/dejavu//DejaVuSansMono.ttf' '--with-default-monospace-font-family=Monospace'
 *        phase-helpers.sh, line  681:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=media-video/vlc-3.0.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/vlc-3.0.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-video/vlc-3.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-3.0.8/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/vlc-3.0.8/work/vlc-3.0.8'
 * S: '/var/tmp/portage/media-video/vlc-3.0.8/work/vlc-3.0.8'

Looks like pkg-config files were removed from opencv-4 and vlc needs this for configuring.

Reproducible: Always
Comment 1 Johannes Hirte 2019-11-28 19:51:01 UTC
Created attachment 597820 [details]
build.log
Comment 2 Johannes Hirte 2019-11-28 19:51:52 UTC
Created attachment 597822 [details]
config.log
Comment 3 Johannes Hirte 2019-11-28 19:52:12 UTC
emerge --info

Portage 2.3.80 (python 3.6.9-final-0, default/linux/amd64/17.1/systemd, gcc-9.2.0, glibc-2.30-r3, 5.4.0-07157-ga6ed68d6468b x86_64)
=================================================================
System uname: Linux-5.4.0-07157-ga6ed68d6468b-x86_64-AMD_Ryzen_5_PRO_2500U_w-_Radeon_Vega_Mobile_Gfx-with-gentoo-2.6
KiB Mem:     7063936 total,    745092 free
KiB Swap:    2097148 total,   1728788 free
Head commit of repository gentoo: 6ea0c441c9b09c838ef873f9c7af16686b3bbc8d

Head commit of repository kde: 7b8207bae2020409f3d74ab00c40e85730e3d599

Head commit of repository qt: c44760bfd0fa7f8bb9d31a06346fb9367795ba56

sh bash 5.0_p11
ld GNU ld (Gentoo 2.33.1 p1) 2.33.1
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo
dev-util/cmake:           3.16.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo, 2.33.1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.3-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

kde
    location: /usr/local/portage/kde
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

qt
    location: /usr/local/portage/qt
    sync-type: git
    sync-uri: git://anongit.gentoo.org/proj/qt.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync metadata-transfer multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=znver1 -mtune=znver1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -ftree-vectorize -fvect-cost-model -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacplus acl alsa alt-svc amd64 amr amrenc anacron berkdb bluetooth bzip2 cairo caps celt chm cleartype_hinting cli corefonts crypt cryptsetup cups cxx d3d9 dav1d dbus default-gold dell device-mapper djvu dri drm dvd ebook editorconfig efi egl eps epub evdev exif faac fdk ffmpeg fftw flac fontconfig fortran gbm gdbm gif git glamor gmp gold gpg gphoto2 gpm graphviz harfbuzz iconv icu id3tag ipv6 ithreads jpeg kipi lcms lensfun libatomic libcxx libcxxabi libffi libinput libkms libsamplerate libtirpc libunwind libxml2 lm-sensors lz4 lzma lzo mad matroska mjpeg mmap mng mobi modern-top mp3 mpeg mtp multilib mysql ncurses networkmanager nfs nls nptl ogg openal opencl opencv openexr opengl openmp openssl opus pam parted pcre pcre16 pdf png policykit postscript pulseaudio python qml qt5 raw readline s3tc schroedinger sdl sdl2 seccomp sift smp sndfile sox speex spice split-usr sqlite ssl subversion svg system-jsoncpp system-sqlite systemd taglib tcpd tesseract theora threads thumbnail tiff truetype udev uefi unicode urandom usb usbredir user-session v4l vaapi vde vdpau vhosts virgl virt-network virtfs vorbis vpx vte vulkan wavpack wayland webp wmf x264 x265 xattr xcb xcomposite xkb xml xmp xpm xv xvid zip zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon ricoh ricoh_g3" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 ssse3 sse4_1 sse4_2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-32 efi-64 pc" INPUT_DEVICES="evdev libinput synaptics" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU BPF NVPTX X86" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="pypy pypy3 python2_7 python3_6" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Joshua Clayton 2019-11-30 21:31:15 UTC
The reason for this error is vlc uses pkg-config to detect opencv and apparently opencv recently removed pkg-config support from the default 4.x builds, as they don't see it as very useful. 

https://github.com/opencv/opencv/issues/13154

It looks like when opencv 4 is built it also advertises opencv4 instead of opencv, so it looks like some minort retooling of the vlc configure is needed regardless of whether they keep pkg-config.

https://github.com/opencv/opencv/commit/c9b2cedebdcd3e1472eba4609f87e78cf4af17df

For myself, I just disabled the opencv use flag for vlc.
Comment 5 Joshua Clayton 2019-12-02 02:23:29 UTC
https://trac.videolan.org/vlc/ticket/22016#no1

opencv4 apparently also requires c++11 support. IDK if vlc is close to c++11 or not.
Comment 6 Attila Tóth 2019-12-04 01:09:55 UTC
(In reply to Joshua Clayton from comment #4)
> The reason for this error is vlc uses pkg-config to detect opencv and
> apparently opencv recently removed pkg-config support from the default 4.x
> builds, as they don't see it as very useful. 
> 
> https://github.com/opencv/opencv/issues/13154
> 
> It looks like when opencv 4 is built it also advertises opencv4 instead of
> opencv, so it looks like some minort retooling of the vlc configure is
> needed regardless of whether they keep pkg-config.
> 
> https://github.com/opencv/opencv/commit/
> c9b2cedebdcd3e1472eba4609f87e78cf4af17df
> 
> For myself, I just disabled the opencv use flag for vlc.

If the following line is also added:
-DOPENCV_PC_FILE_NAME=opencv.pc
it restores the filename to what is expected.
Comment 7 Peter Levine 2019-12-04 08:02:24 UTC
(In reply to Attila Tóth from comment #6)
> If the following line is also added:
> -DOPENCV_PC_FILE_NAME=opencv.pc
> it restores the filename to what is expected.

That configure option was ignored when exporting it in the MYCMAKEARGS env variable.  It seems to be hardcoded in cmake/OpenCVGenPkgconfig.cmake with the following:

> if(INSTALL_TO_MANGLED_PATHS)
>   ocv_update(OPENCV_PC_FILE_NAME "opencv-${OPENCV_VERSION}.pc")
> else()
>   ocv_update(OPENCV_PC_FILE_NAME opencv4.pc)
> endif()

Changing "opencv4.pc" to "opencv.pc" worked for me.
Comment 8 Attila Tóth 2019-12-04 11:42:39 UTC
(In reply to Joshua Clayton from comment #5)
> https://trac.videolan.org/vlc/ticket/22016#no1
> 
> opencv4 apparently also requires c++11 support. IDK if vlc is close to c++11
> or not.

There are also problems with shotwell after fixing the thing with the pkg-config...
Comment 9 Helmut Jarausch 2019-12-09 15:23:51 UTC
I have added the following
sed -i -e's/opencv > 2.0/opencv4 > 2.0/' configure.ac 
to src_prepare.
Now vlc discovers opencv
BUT
later on it compiles
video_output/glx.c  with gcc but not g++
This includes
In file included from /usr/include/opencv4/opencv2/core/cvdef.h:10,
                 from /usr/include/opencv4/opencv2/core/types_c.h:82,
                 from /usr/include/opencv4/opencv2/core/core_c.h:48,
                 from video_filter/opencv_wrapper.c:42:
/usr/include/x86_64-pc-linux-gnu/opencv4/opencv2/core/cvdef.h:694:4: error: #error "OpenCV 4.x+ requires enabled C++11 support"
  694 | #  error "OpenCV 4.x+ requires enabled C++11 support"

and, as the gcc doesn't have the option -std=c++11,
I don't see a possibility to fix this except as compiling any file
which includes opencv2/core/cvdef.h with  g++ but that causes further problems
which have to be fixed.

I wonder if anybody was able to compile vlc (vlc-3.0.9999) with opencv-4.1.2 installed.
Comment 10 Helmut Jarausch 2019-12-10 16:30:41 UTC
(In reply to Helmut Jarausch from comment #9)
> I have added the following
> sed -i -e's/opencv > 2.0/opencv4 > 2.0/' configure.ac 
> to src_prepare.
> Now vlc discovers opencv
> BUT
> later on it compiles
> video_output/glx.c  with gcc but not g++
> This includes
> In file included from /usr/include/opencv4/opencv2/core/cvdef.h:10,
>                  from /usr/include/opencv4/opencv2/core/types_c.h:82,
>                  from /usr/include/opencv4/opencv2/core/core_c.h:48,
>                  from video_filter/opencv_wrapper.c:42:
> /usr/include/x86_64-pc-linux-gnu/opencv4/opencv2/core/cvdef.h:694:4: error:
> #error "OpenCV 4.x+ requires enabled C++11 support"
>   694 | #  error "OpenCV 4.x+ requires enabled C++11 support"
> 
> and, as the gcc doesn't have the option -std=c++11,
> I don't see a possibility to fix this except as compiling any file
> which includes opencv2/core/cvdef.h with  g++ but that causes further
> problems
> which have to be fixed.
> 
> I wonder if anybody was able to compile vlc (vlc-3.0.9999) with opencv-4.1.2
> installed.

I got an info from OpenCV upstream that they won't support compiling as C code
any more. So any source files which use OpenCV would have to be rewritten to be compilable with C++ compiler.
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2019-12-15 12:56:51 UTC
*** Bug 702984 has been marked as a duplicate of this bug. ***
Comment 12 Samuel Bernardo 2019-12-15 17:03:48 UTC
I have the same problem here.
Maybe it's missing a dependency in vlc-3.0.8 that requires opencv < 4.
Comment 13 Sandi (Sandy) Vujaković 2019-12-21 20:39:29 UTC
(In reply to Helmut Jarausch from comment #9)
> I have added the following
> sed -i -e's/opencv > 2.0/opencv4 > 2.0/' configure.ac 
> to src_prepare.
> Now vlc discovers opencv
> BUT
> later on it compiles
> video_output/glx.c  with gcc but not g++
> This includes
> In file included from /usr/include/opencv4/opencv2/core/cvdef.h:10,
>                  from /usr/include/opencv4/opencv2/core/types_c.h:82,
>                  from /usr/include/opencv4/opencv2/core/core_c.h:48,
>                  from video_filter/opencv_wrapper.c:42:
> /usr/include/x86_64-pc-linux-gnu/opencv4/opencv2/core/cvdef.h:694:4: error:
> #error "OpenCV 4.x+ requires enabled C++11 support"
>   694 | #  error "OpenCV 4.x+ requires enabled C++11 support"
> 
> and, as the gcc doesn't have the option -std=c++11,
> I don't see a possibility to fix this except as compiling any file
> which includes opencv2/core/cvdef.h with  g++ but that causes further
> problems
> which have to be fixed.
> 
> I wonder if anybody was able to compile vlc (vlc-3.0.9999) with opencv-4.1.2
> installed.

This is mentioned here actually: https://trac.videolan.org/vlc/ticket/22016
Comment 14 Andreas Sturmlechner gentoo-dev 2020-02-05 20:08:58 UTC
(In reply to Joshua Clayton from comment #4)
> The reason for this error is vlc uses pkg-config to detect opencv and
> apparently opencv recently removed pkg-config support from the default 4.x
> builds, as they don't see it as very useful.
What a wild opinion and thing to do...
Comment 15 Larry the Git Cow gentoo-dev 2020-02-05 20:12:03 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b013bba2f4b42c16d8a3bd2d46a259a79d5bd9d

commit 1b013bba2f4b42c16d8a3bd2d46a259a79d5bd9d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-05 20:09:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-05 20:11:50 +0000

    media-video/vlc: Restrict USE opencv to <media-libs/opencv-4
    
    Broken since OpenCV 4.x+ requires C++11 enabled whereas in VLC it is
    used within C code.
    
    Closes: https://bugs.gentoo.org/701424
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/vlc/vlc-3.0.8.ebuild    | 4 ++--
 media-video/vlc/vlc-3.0.9999.ebuild | 4 ++--
 media-video/vlc/vlc-9999.ebuild     | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
Comment 16 Larry the Git Cow gentoo-dev 2020-02-19 13:33:03 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cc0eca07f6cd2311061b2c79ff9469326c343e3

commit 0cc0eca07f6cd2311061b2c79ff9469326c343e3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-02-19 13:31:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-02-19 13:32:53 +0000

    media-video/vlc: Drop USE opencv
    
    Bug: https://bugs.gentoo.org/701424
    Package-Manager: Portage-2.3.89, Repoman-2.3.20
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-video/vlc/metadata.xml        | 1 -
 media-video/vlc/vlc-3.0.8.ebuild    | 5 ++---
 media-video/vlc/vlc-3.0.9999.ebuild | 5 ++---
 media-video/vlc/vlc-9999.ebuild     | 5 ++---
 4 files changed, 6 insertions(+), 10 deletions(-)