Created attachment 556120 [details] build.log Package not compiling with vaapi use flags. -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Excluding from source files list: <BUILD>/modules/dnn/layers/layers_common.avx512_skx.cpp -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success -- -- General configuration for OpenCV 3.4.1 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2018-11-24T12:04:13Z -- Host: Linux 4.19.4-gentoo x86_64 -- CMake: 3.13.0 -- CMake generator: Ninja -- CMake build tool: /usr/bin/ninja -- Configuration: Gentoo -- -- CPU/HW features: -- Baseline: SSE SSE SSE2 SSE2 SSE3 SSE3 SSSE3 SSSE3 SSE4_1 SSE4_1 POPCNT POPCNT SSE4_2 SSE4_2 FP16 FP16 FMA3 AVX AVX AVX2 AVX2 -- requested: DETECT -- required: SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 POPCNT AVX AVX2 FMA3 -- -- C/C++: -- Built as dynamic libs?: YES -- C++11: YES -- C++ Compiler: /usr/bin/x86_64-pc-linux-gnu-g++ (ver 8.2.0) -- C++ flags (Release): -O2 -pipe -march=native -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -O2 -pipe -march=native -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- C flags (Release): -O2 -pipe -march=native -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -O2 -pipe -march=native -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fopenmp -g -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,--hash-style=gnu -- Linker flags (Debug): -Wl,--hash-style=gnu -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: dl m pthread rt /usr/lib64/libGL.so /usr/lib64/libGLU.so -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc java_bindings_generator ml objdetect photo python_bindings_generator shape stitching superres video videoio videostab -- Disabled: js world -- Disabled by dependency: - -- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev java python2 python3 ts viz -- Applications: apps -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- QT: YES (ver 5.11.2) -- QT OpenGL support: YES (Qt5::OpenGL 5.11.2) -- GTK+: NO -- OpenGL support: YES (/usr/lib64/libGL.so /usr/lib64/libGLU.so) -- -- Media I/O: -- ZLib: /usr/lib64/libz.so (ver 1.2.11) -- JPEG: /usr/lib64/libjpeg.so (ver ) -- PNG: /usr/lib64/libpng.so (ver 1.6.35) -- TIFF: /usr/lib64/libtiff.so (ver 42 / 4.0.10) -- -- Video I/O: -- -- Parallel framework: OpenMP -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- VA: YES -- Intel VA-API/OpenCL: NO -- Eigen: YES (ver 3.3.5) -- Custom HAL: NO -- Protobuf: /usr/lib64/libprotobuf.so (3.6.1) -- -- Python (for build): NO -- -- Install to: /usr -- ----------------------------------------------------------------- -- -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-narrowing -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fopenmp C++ -O2 -pipe -march=native -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wno-narrowing -Wno-delete-non-virtual-dtor -Wno-comment -Wno-implicit-fallthrough -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp Linker flags: Executable -Wl,--hash-style=gnu -Wl,--gc-sections Module -Wl,--hash-style=gnu Shared -Wl,--hash-style=gnu -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/media-libs/opencv-3.4.1-r4/work/opencv-3.4.1-abi_x86_64.amd64/UILD_opencv_apps= >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/opencv-3.4.1-r4/work/opencv-3.4.1 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile >>> Working in BUILD_DIR: "/var/tmp/portage/media-libs/opencv-3.4.1-r4/work/opencv-3.4.1-abi_x86_64.amd64" * ERROR: media-libs/opencv-3.4.1-r4::gentoo failed (compile phase): * build.ninja not found. Error during configure stage. * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 6405: Called cmake-multilib_src_compile * environment, line 1073: Called multilib-minimal_src_compile * environment, line 4670: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 4902: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 4605: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 4603: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 727: Called multilib-minimal_abi_src_compile * environment, line 4664: Called multilib_src_compile * environment, line 5114: Called cmake-utils_src_compile * environment, line 1093: Called cmake-utils_src_make * environment, line 1269: Called _cmake_ninja_src_make * environment, line 507: Called die * The specific snippet of code: * [[ -e build.ninja ]] || die "build.ninja not found. Error during configure stage."; * * If you need support, post the output of `emerge --info '=media-libs/opencv-3.4.1-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-3.4.1-r4::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =opencv-3.4.1 * The complete build log is located at '/var/tmp/portage/media-libs/opencv-3.4.1-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-3.4.1-r4/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/opencv-3.4.1-r4/work/opencv-3.4.1-abi_x86_64.amd64' * S: '/var/tmp/portage/media-libs/opencv-3.4.1-r4/work/opencv-3.4.1' >>> Failed to emerge media-libs/opencv-3.4.1-r4, Log file: >>> '/var/tmp/portage/media-libs/opencv-3.4.1-r4/temp/build.log' * * The following package has failed to build, install, or execute postinst: * * (media-libs/opencv-3.4.1-r4:0/3.4.1::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-libs/opencv-3.4.1-r4/temp/build.log' *
┌─[root@T440p] - [~] - [2018-11-24 01:04:15] └─[1] emerge --info Portage 2.3.52 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.28-r2, 4.19.4-gentoo x86_64) ================================================================= System uname: Linux-4.19.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-4900MQ_CPU_@_2.80GHz-with-gentoo-2.6 KiB Mem: 16102148 total, 13641812 free KiB Swap: 8388604 total, 8388604 free Head commit of repository 4nykey: 7eaf14daec3478ef3aeff4cdd2f7ed8ff8656924 Head commit of repository bliss-overlay: 150f6a676bb8abd52255cfe22ca5d158dae3bbca Head commit of repository steam-overlay: 0db8f021e8c769344a1fdb5c17b914353b03abba Timestamp of repository gentoo: Sat, 24 Nov 2018 10:24:32 +0000 Head commit of repository gentoo: 6692ffcaa68198fcc6c3d451fdef7d75f64207b1 sh bash 4.4_p23 ld GNU ld (Gentoo 2.31.1 p3) 2.31.1 ccache version 3.5 [disabled] app-shells/bash: 4.4_p23::gentoo dev-lang/perl: 5.26.2::gentoo dev-lang/python: 2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo dev-util/ccache: 3.5-r1::gentoo dev-util/cmake: 3.13.0::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.39.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r1::gentoo sys-devel/gcc: 8.2.0-r4::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.28-r2::gentoo Repositories: 4nykey location: /var/lib/overlays/4nykey sync-type: git sync-uri: https://github.com/4nykey/4nykey.git masters: gentoo bliss-overlay location: /var/lib/overlays/bliss-overlay sync-type: git sync-uri: https://github.com/fearedbliss/bliss-overlay.git masters: gentoo steam-overlay location: /var/lib/overlays/steam-overlay sync-type: git sync-uri: https://github.com/anyc/steam-overlay.git masters: gentoo gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: 1000 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --keep-going=y" 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 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,--hash-style=gnu" LINGUAS="en pl" MAKEOPTS="-j8" 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 acl acpi activities alsa amd64 berkdb bluetooth bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gallium gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet laptop lcms ldap libnotify libtirpc libzfs mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline sdl seccomp semantic-desktop spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zfs zlib" ABI_X86="64" 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 plan 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 sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc emu efi-64" INPUT_DEVICES="libinput synaptics mouse keyboard evdev" KERNEL="linux" L10N="en en_US pl pl_PL" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia" 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
*** This bug has been marked as a duplicate of bug 671782 ***