Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776811 - media-plugins/frei0r-plugins-1.7.0[facedetect] missing dependency on opencv[features2d] (facebl0r.cpp:58:43: error: ‘cv::CascadeClassifier’ has not been declared)
Summary: media-plugins/frei0r-plugins-1.7.0[facedetect] missing dependency on opencv[f...
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-17 06:51 UTC by nE0sIghT
Modified: 2021-11-23 22:31 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,25.86 KB, text/plain)
2021-03-17 06:51 UTC, nE0sIghT
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nE0sIghT 2021-03-17 06:51:44 UTC
Created attachment 691938 [details]
build.log

# emerge --info
Portage 3.0.13 (python 3.7.10-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r7, 5.4.97-gentoo x86_64)
=================================================================
System uname: Linux-5.4.97-gentoo-x86_64-Intel-R-_Core-TM-_i5-2400_CPU_@_3.10GHz-with-gentoo-2.7
KiB Mem:    16378580 total,   5662532 free
KiB Swap:     524284 total,    524284 free
Head commit of repository steam-overlay: 656212492f399065178bd255e27530ebe6886361

Timestamp of repository gentoo: Tue, 16 Mar 2021 19:36:15 +0000
Head commit of repository gentoo: e61cf1bcd4978b7e12530e2a535878121d4cea28

Head commit of repository vortex: c3850404c5a9377f4e0eb60f0526bfb609897b89

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
ccache version 4.1 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p7::gentoo, 3.6.13::gentoo, 3.7.10::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            9.3.0-r2::gentoo, 10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.3::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: -1

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/anyc/steam-overlay/
    masters: gentoo

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: 9999

vortex
    location: /var/db/repos/vortex
    sync-type: git
    sync-uri: https://github.com/nE0sIghT/vortex-overlay.git
    masters: gentoo
    priority: 991000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/modprobe.d/99-xpadneo-bluetooth.conf /etc/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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="-O3 -march=native -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -march=native -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=gold"
LINGUAS="ru ru_RU en"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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="/tmp"
USE="24bpp 7zip X a-like-o a52 aac aacplus aacs aalib acl acpi aio alsa alsa-plugin amd64 androiddump aosd apng appindicator applet archive argyllcms arp artworkextra asn1 audacious audiofile autoconf-archive automount avcodec avformat avx bash-completion bazaar berkdb bidi bittorrent bittorrent-external blksha1 bluetooth bluez bluray branding broadway brotli bsf btpclient bzip2 cairo caps ccid cgroup-hybrid chardet chdir cjk cli client colord compiler-rt core-inline cover cracklib cron crypt cryptsetup css ctype cuda cue cupsddk curl cxx dbus dconf device-mapper dga dhcp dht diff dirac disk-partition divx djvu dns-over-tls dnsretry dos drawing dri driver drm dumpcap dv eap-tls edit egl elfutils emoji enca encode exceptions exif experimental extensions extra-filters extras facedetect fat fbcondecor fdt ffmpeg fftw filecaps fileinfo filetransfer filter firewalld firmware flac fontconfig fonts fortran fpm frei0r fts3 fuse g-sorcery g3dvl gallium gd gdbm gdm gentoo-dev geoip gif glade gles glib glitz glslang gmp gnome gnome-keyring gnome-online-accounts gnome-shell gnuefi gold gost gpg gphoto2 gpl gpm gptfdisk graphite grp grub gstreamer gtk gtk3 gtkstyle gudev gui gzip haptic hardlink harfbuzz hash hddtemp highlight histman hog http http2 hvm hwdb iconsets iconv icu id3tag idle idn imagemagick infinality inifile initramfs inspector intl introspection ioemu iptables ipv6 iso ithreads jabber java javafx javascript jbootstrap jemalloc jemalloc3 jingle jit joystick jpeg jpeg2k json kate keymap kinetic kmod kms kvm ladspa lame lcms libass libcaca libglvnd libguess libidn2 libinput libkms libmount libmpv libnotify libopts libsamplerate libsecret libtiger libvirt libvirtd lights live lm_sensors logger loop-aes lto luajit lucene lyrics lz4 lzma lzo mad magic matroska mbox melt mercurial mime minizip mmxext mng modemmanager modern-kernel modern_kernel mp2 mp3 mp4 mp4live mpeg mpeg2 mpg123 mplayer mpris mpu401 mtp mudflap multilib multimedia musepack mvl mysql mysqli native-extensions nautilus netplay network networkmanager nfsdcld nfsidmap nfsv4 nfsv41 nls npm nptl nscd nse nss nss-pem ntfs ntfsprogs nvenc nvidia ocamlopt offensive official ofx ogg ogm oodict openal opencore-amr opengl openmp openssl opensslcrypt optimization optimized-qmake opus orc oscar osmesa otf ovs pam pango parse-clocks passwordsave pcap pcf pch pcre pcre-jit pcre16 pdf pdo pgo phar player plugins png policykit portmixer posix postproc postscript ppapi ppds pppd projectm proprietary-codecs psf pulseaudio purple pygments qemu qml qpak quicktime rar readline realmedia realtime regex reiserfs resolvconf romio rpc rtsp ru-dv ru-g ru-i ru-k run-exes s3tc sanitize scale0tilt screen screencast screenshot sdl seavgabios seccomp secure-delete sendto session sftp simplexml skins slang slp smp sndfile socialweb sockets sound sounds sox speex spell spice split-ucode split-usr sqlite sqlite3 sse2_4way sse3 sse4 sse4.1 sse4.2 sse4_1 sse4_2 ssh ssh-agent ssl ssse3 staging startup-notification steamfonts steamruntime stemmer stream stroke strong-optimization stubby subtitles sunec svc svg swscale sync-plugin-portage syslog system-bootstrap system-crontab system-digest system-icu system-jpeg systemd sysv-utils t1lib taglib tcpd textures theora thin threads thunderbird tiff tinfo tint2conf tk tls tokenizer toolbar tools tracepath trayicon truetype trust tshark tta tty-helpers tui tweak-mode twolame uchardet udev udisks unicode unwind unzip upower usb usbredir user-session utils uvm v4l2 vaapi vala vdpau vector-icons verse vf-dlopen vhost-net vhost-user-fs video virgl virt-network vkontakte vorbis vorbis-psy vpx vte vulkan vulkaninfo wad warmstarts wav wavpack wayland webgl webkit webp webphoto webstart whiteboarding widevine winbind wma wmf wmp x264 x265 xanim xattr xcb xcomposite xdg xhtml xinetd xkb xml xmlreader xmlrpc xmlwriter xorg xosd xpm xsl xslt xv xvfb xvid xz youtube zip zlib zstd" ABI_X86="64" APACHE2_MODULES="auth_basic authn_core authz_core authz_host autoindex deflate dir env expires filter headers http2 include mime rewrite socache_shmcb vhost_alias unixd" APACHE2_MPMS="worker" CAMERAS="ptp2" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev joystick" KERNEL="linux" L10N="ru ru_RU en" LUA_SINGLE_TARGET="lua5-2" LUA_TARGETS="lua5-2" NGINX_MODULES_HTTP="access auth_basic autoindex charset gzip gzip_static mp4 proxy realip rewrite" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="aarch64 i386 ppc64 x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Ionen Wolkens gentoo-dev 2021-03-17 07:58:42 UTC
Hm, obviously something to do with opencv but can't reproduce.
Comment 2 nE0sIghT 2021-03-17 08:17:25 UTC
In case it will help: emerge --info media-libs/opencv

media-libs/opencv-4.5.0::gentoo was built with the following:
USE="ffmpeg gphoto2 gstreamer gtk3 jpeg jpeg2k lto openmp png threads tiff vaapi webp -contrib (-contribcvv) -contribdnn -contribfreetype (-contribhdf) (-contribovis) (-contribsfm) (-contribxfeatures2d) (-cuda) -debug -dnnsamples -download -eigen -examples -features2d -gdal (-gflags) (-glog) -ieee1394 -java -lapack -opencl -opencvapps -openexr -opengl -python -qt5 (-tesseract) -testprograms -v4l (-vtk) -xine" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx2 -avx512f -f16c -fma3" PYTHON_TARGETS="python3_7 -python3_8 -python3_9"
Comment 3 Ionen Wolkens gentoo-dev 2021-03-17 08:50:30 UTC
(In reply to nE0sIghT from comment #2)
> In case it will help: emerge --info media-libs/opencv
It did, thanks. Re-enable the default features2d on opencv.

I find it kind of curious this flag exists rather than being always-enabled.
Comment 4 nE0sIghT 2021-03-17 10:22:29 UTC
I'm really confused why it is not enabled for me:

> grep -R features2d /etc/portage
>

...
Comment 5 Stephen Cavilia 2021-11-23 22:15:36 UTC
Seeing the same failure in frei0r-plugins 1.7.0, but features2d was already enabled on opencv.

Message from opencv configuration about the objdetect module was:

-- Module opencv_objdetect disabled because opencv_dnn dependency can't be resolved!

Needed to also enable contribdnn for the objdetect module to build.
Comment 6 Larry the Git Cow gentoo-dev 2021-11-23 22:29:33 UTC
The bug has been closed via the following commit(s):

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

commit e7f3d76f7844b3f523eb30015330aed481884fa9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-23 22:27:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-23 22:29:20 +0000

    media-plugins/frei0r-plugins: fix opencv use deps (needs contribdnn, features2d)
    
    Closes: https://bugs.gentoo.org/776811
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{frei0r-plugins-1.7.0.ebuild => frei0r-plugins-1.7.0-r1.ebuild}     | 2 +-
 profiles/arch/powerpc/package.use.mask                                  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)