Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 774552 - =media-gfx/digikam-7.1.0-r1 build fails without opencv[features2d]
Summary: =media-gfx/digikam-7.1.0-r1 build fails without opencv[features2d]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-07 07:22 UTC by dE
Modified: 2022-09-15 17:47 UTC (History)
4 users (show)

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


Attachments
Failed build log for =media-gfx/digikam-7.1.0-r1 (build.log,16.42 KB, text/x-log)
2021-03-07 07:22 UTC, dE
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dE 2021-03-07 07:22:17 UTC
Created attachment 689730 [details]
Failed build log for =media-gfx/digikam-7.1.0-r1

Even though opencv is installed at 4.5.0. I even tried 4.5.1

Portage 3.0.14 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-10.2.0, glibc-2.32-r5, 4.9.68-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.68-gentoo-x86_64-Intel-R-_Core-TM-_i3-2120_CPU_@_3.30GHz-with-glibc2.2.5
KiB Mem:    16327344 total,   9584660 free
KiB Swap:    5242876 total,   5242876 free
Timestamp of repository gentoo: Fri, 05 Feb 2021 00:45:01 +0000
Head commit of repository gentoo: fb9f9f4fb59e743120eb54d32ee450ae0c56cb33
sh bash 5.0_p18
ld GNU gold (Gentoo 2.35.1 p2 2.35.1) 1.16
ccache version 4.1 [enabled]
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:          3.7.9-r2::gentoo, 3.8.7-r1::gentoo
dev-util/ccache:          4.1::gentoo
dev-util/cmake:           3.18.5::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no

mysql
    location: /var/lib/layman/mysql
    masters: gentoo
    priority: 50

oubliette
    location: /var/lib/layman/oubliette
    masters: gentoo
    priority: 50

posativ
    location: /var/lib/layman/posativ
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=4 -fuse-linker-plugin -ffat-lto-objects"
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/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -fomit-frame-pointer -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-loop-distribution -O3 -pipe -flto=4 -fuse-linker-plugin -ffat-lto-objects"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=n --complete-graph --binpkg-respect-use=y --binpkg-changed-deps=n --changed-deps=n"
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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance candy ccache config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/mnt/systmp/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="/tmp"
USE="0libedit X a52 a53 aac aalib acc acpi adns aio amd64 amr asm atm audiofile bash-completion branding brotli bzip2 c++0x c++11 cdda cdr cli consolekit cracklib css custom-cflags custom-optimization dav1d dbx declarative default-gold dga dirac dri dri3 dts dv dvd dvdr emboss encode enscript exif faad ffmpeg firefox flac fortran gdu gif glut gmp gsm gstreamer gui gzip heif http2 iconv imlib ipc jemalloc jit jpeg jpeg2k kde ladspa lame libglvnd libnotify libsamplerate libtirpc libwww lto lv2 lz4 lzma lzo mad matroska matrox mikmod mime minimal mmap mmx mng mozilla mp3 mp4 mpeg mplayer mpris mudflap multilib musepack networkmanager nntp nocd nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp optimization opus orc osc pam pango pdf pgo phonon pie plasma png policykit posix ppds pppd pulseaudio qml qt5 quicktime raw readline schroedinger sharedmem shorten smp sndfile sockets socks5 speex spell split-usr sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3 startup-notification strong-optimization svg svg2 symlink sysfs systemd taglib tcmalloc theora threads tiff toolame truetype twolame udev udisks unicode unixd upower usb vaapi vcd vhosts vorbis vpx wavpack webp widgets win32codecs wmf wxwidgets x264 x265 xcb xine xinerama xml xorg xpm xv xvid zlib" 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="unixd authn_core authz_core authz_host access_compat alias auth_basic authn_file log_config mime log_config proxy proxy_http rewrite proxy_balancer lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat slotmem_shm env cache dir cgid headers proxy_connect" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="ssse3 sse3 sse4_1 sse4_2 mmx sse avx mmx sse2" 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="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport" LLVM_TARGETS="x86" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" NGINX_MODULES_HTTP="access fastcgi gzip gzip_static limit_req rewrite upstream_check proxy" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965 i915" 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, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

opencv is installed with the following USE flags -- contrib contribdnn jpeg jpeg2k lto openexr openmp png threads tiff

pkg-config --list-all | grep opencv
opencv4

Maybe it's searching for opencv?
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2021-03-08 21:45:36 UTC
Not sure what's wrong. Maybe some useflag for opencv is missing?
Comment 2 dE 2021-03-09 04:52:04 UTC
I'll try build with the default USE.
Comment 3 Andreas Sturmlechner gentoo-dev 2021-04-11 10:45:19 UTC
ping, also try with 7.2.0.
Comment 4 dE 2021-04-23 16:59:44 UTC
Having some issues with qtwebengine. Will revert to you soon.
Comment 5 dE 2021-04-24 11:53:47 UTC
Same issue with 7.2.0
Comment 6 dE 2021-04-24 14:29:44 UTC
Ok, things do work with the default USE flags.

Now I need some time to determine which USE.
Comment 7 Andreas Sturmlechner gentoo-dev 2021-05-22 11:22:51 UTC
Any findings yet?
Comment 8 dE 2021-07-04 05:18:56 UTC
Oh no, my remote system went down. Now it's up, so I'm trying.
Comment 9 dE 2021-07-04 06:46:52 UTC
It's features2d
Comment 10 Larry the Git Cow gentoo-dev 2022-09-15 17:45:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=f33468dde1ca4b9931a59baca3e5665ff12a65ff

commit f33468dde1ca4b9931a59baca3e5665ff12a65ff
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-15 17:45:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-15 17:45:14 +0000

    media-gfx/digikam: Add missing media-libs/opencv[features2d] USEdep
    
    Bug: https://bugs.gentoo.org/774552
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/digikam/digikam-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 11 Larry the Git Cow gentoo-dev 2022-09-15 17:47:01 UTC
The bug has been closed via the following commit(s):

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

commit 3cdc0a5d1f5dd4eb6d1e03c3c5304d772a6ac5c5
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2022-09-15 17:45:14 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2022-09-15 17:46:56 +0000

    media-gfx/digikam: Add missing media-libs/opencv[features2d] USEdep
    
    Closes: https://bugs.gentoo.org/774552
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 media-gfx/digikam/{digikam-7.8.0.ebuild => digikam-7.8.0-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)