Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 871153 - media-libs/opencv-4.6.0-r2 failed to rebuild with USE=vtk
Summary: media-libs/opencv-4.6.0-r2 failed to rebuild with USE=vtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-18 05:51 UTC by Leonid Kopylov
Modified: 2023-12-08 14:56 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,53.78 KB, text/plain)
2022-09-18 05:51 UTC, Leonid Kopylov
Details
build.log.xz (build.log.xz,50.50 KB, text/plain)
2022-09-27 16:21 UTC, Leonid Kopylov
Details
opencv / cuda 12 log (build.log.bz2,39.30 KB, application/x-bzip)
2023-02-15 00:16 UTC, Luke A. Guest
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Kopylov 2022-09-18 05:51:20 UTC
# emerge -pqv '=media-libs/opencv-4.6.0-r2::gentoo'
[ebuild   R   ] media-libs/opencv-4.6.0-r2  USE="contrib contribcvv contribdnn contribfreetype contribhdf contribsfm contribxfeatures2d dnnsamples download eigen examples features2d ffmpeg gdal gflags glog gphoto2 gstreamer java jpeg jpeg2k lapack openexr opengl openmp png python qt5 tesseract threads tiff v4l vtk* webp xine (-contribovis) -cuda -debug -gtk3 -ieee1394 -lto -opencl -opencvapps -testprograms -vaapi" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"

# emerge --info '=media-libs/opencv-4.6.0-r2::gentoo'
Portage 3.0.36 (python 3.10.7-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-12.2.0, glibc-2.35-r8, 5.19.9-gentoo-amd64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.19.9-gentoo-amd64-x86_64-12th_Gen_Intel-R-_Core-TM-_i7-12700-with-glibc2.35
KiB Mem:    32876572 total,  20436668 free
KiB Swap:    8388604 total,   8382484 free
Timestamp of repository gentoo: Sun, 18 Sep 2022 05:00:01 +0000
Head commit of repository gentoo: 0160549798672ca62853c36248c3fc4e9b447e8f
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p4) 2.39.0
ccache version 4.6.3 [enabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0::gentoo
dev-lang/python:           3.10.7::gentoo, 3.11.0_rc2::gentoo
dev-lang/rust-bin:         1.63.0::gentoo
dev-util/ccache:           4.6.3::gentoo
dev-util/cmake:            3.24.2::gentoo
dev-util/meson:            0.63.2-r1::gentoo
sys-apps/baselayout:       2.8-r3::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.4::gentoo
sys-devel/autoconf:        2.71-r2::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.39-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             12.2.0::gentoo
sys-devel/gcc-config:      2.5-r1::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.0::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.19::gentoo (virtual/os-headers)
sys-libs/glibc:            2.35-r8::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/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="-march=native -O2 -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="-march=native -O2 -pipe -fomit-frame-pointer"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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 strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="https://mirror.isoc.org.il/pub/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac aalib accessibility acl acpi alsa amd64 ao appindicator archive aspell audit bash-completion berkdb bidi bluetooth bluray boost bpf branding brotli btrfs bzip2 cairo cdda cddb cdio cdr cgi cli colord contrib cron crypt cryptsetup cups curl dbi dbus device-mapper djvu doc dri dts dvb dvd dvdr eds emacs enchant encode evo examples exif expat experimental extra extras fam fastcgi fbcon fdk ffmpeg fftw flac fontconfig fontforge fortran ftp fuse gamepad games gcrypt gd gdbm gdk-pixbuf geoip gif git glib gme gmp gnome gnome-keyring gnome-online-accounts gnutls go gpg gphoto2 gpm graphite graphviz gsm gssapi gstreamer gtk gtk-doc gtk3 gui guile harfbuzz hdf5 heif highlight http http2 ibus iconv icu idn imagemagick imap imlib introspection iodbc ipv6 jack java javascript jbig jemalloc joystick jpeg jpeg2k json kerberos ladspa latex lcms ldap libass libcaca libevent libglvnd libnotify libsamplerate libsecret libtirpc libxml2 lmdb lua lv2 lz4 lzma lzo mad magic mbedtls memcached midi mng modplug mp3 mp4 mpeg mtp multilib musepack mysql nas nautilus ncurses netlink nettle networkmanager nfs nls nptl nss ntlm odbc offensive ogg openal openexr opengl openmp openssl opus pam pango pcap pcre pdf perl pkcs11 plugins png policykit portaudio postgres postscript ppds pulseaudio python qml qrcode qt5 raw rdma readline redis samba sasl sctp sdl seccomp skey smtp snappy sndfile sndio snmp sockets sound source sox speex spell split-usr sqlite ssh ssl startup-notification svg symlink syslog sysprof systemd tbb tcl theora threads tiff tk tools tracker truetype twolame udev udisks unicode unwind upower usb utils uuid v4l vala vcd vim-syntax vnc vorbis vpx wavpack wayland webkit webp widgets wmf wxwidgets x264 x265 xattr xcb xface xft xine xinerama xml xpm xscreensaver xv xvid yaml zeroconf zeromq zip zlib zsh-completion zstd" ABI_X86="64 32" ADA_TARGET="gnat_2020" 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 stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3" 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-64" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="en en-US he ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30 ruby31" USERLAND="GNU" VIDEO_CARDS="fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

media-libs/opencv-4.6.0-r2::gentoo was built with the following:
USE="contrib contribcvv contribdnn contribfreetype contribhdf contribsfm contribxfeatures2d dnnsamples download eigen examples features2d ffmpeg gdal gflags glog gphoto2 gstreamer java jpeg jpeg2k lapack openexr opengl openmp png python qt5 tesseract threads tiff v4l webp xine (-contribovis) -cuda -debug -gtk3 -ieee1394 -lto -opencl -opencvapps -testprograms -vaapi -vtk" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 f16c fma3 popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3 -avx512f" PYTHON_TARGETS="python3_10 -python3_11 -python3_8 -python3_9"
Comment 1 Leonid Kopylov 2022-09-18 05:51:48 UTC
Created attachment 810079 [details]
build.log
Comment 2 Leonid Kopylov 2022-09-27 16:21:39 UTC
Created attachment 814399 [details]
build.log.xz
Comment 3 Leonid Kopylov 2022-09-27 16:21:53 UTC
also failed with USE=cuda
Comment 4 Scott Alfter 2023-02-13 22:40:17 UTC
Can confirm, at least with the cuda USE flag.
Comment 5 Scott Alfter 2023-02-13 22:47:28 UTC
> Can confirm, at least with the cuda USE flag.

...with dev-util/nvidia-cuda-toolkit-12.0.1 installed, if it makes a difference.
Comment 6 Luke A. Guest 2023-02-15 00:15:23 UTC
(In reply to Scott Alfter from comment #5)
> > Can confirm, at least with the cuda USE flag.
> 
> ...with dev-util/nvidia-cuda-toolkit-12.0.1 installed, if it makes a
> difference.

https://github.com/opencv/opencv/issues/23254
Comment 7 Luke A. Guest 2023-02-15 00:16:42 UTC
Created attachment 851160 [details]
opencv / cuda 12 log
Comment 8 Luke A. Guest 2023-02-15 09:16:48 UTC
(In reply to Luke A. Guest from comment #7)
> Created attachment 851160 [details]
> opencv / cuda 12 log

Got a reply, basically CUDA 12 is added in 4.7.0, so need a bump.