* Package: media-libs/opencv-4.1.2-r3  * Repository: gentoo  * Maintainer: amynka@gentoo.org  * USE: abi_x86_64 amd64 contrib contribdnn cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_fma3 cpu_flags_x86_popcnt cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 cpu_flags_x86_sse4_1 cpu_flags_x86_sse4_2 cpu_flags_x86_ssse3 eigen elibc_glibc features2d ffmpeg gdal gstreamer jpeg jpeg2k kernel_linux opencl openexr opengl openmp pch png python python_targets_python3_7 qt5 threads tiff userland_GNU v4l vaapi webp  * FEATURES: compressdebug fakeroot network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking opencv-4.1.2.tar.gz to /tmp/portage/media-libs/opencv-4.1.2-r3/work >>> Unpacking opencv-4.1.2_contrib.tar.gz to /tmp/portage/media-libs/opencv-4.1.2-r3/work >>> Unpacking opencv-3.4.0-face_landmark_model.tar.gz to /tmp/portage/media-libs/opencv-4.1.2-r3/work >>> Source unpacked in /tmp/portage/media-libs/opencv-4.1.2-r3/work >>> Preparing source in /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2 ... * Applying opencv-3.0.0-gles.patch ...  [ ok ] * Applying opencv-3.4.0-disable-download.patch ... patching file CMakeLists.txt Hunk #1 succeeded at 197 with fuzz 1 (offset 10 lines). patching file cmake/OpenCVDownload.cmake Hunk #1 succeeded at 38 with fuzz 1 (offset 6 lines). Hunk #2 succeeded at 252 (offset 15 lines).  [ ok ] * Applying opencv-3.4.1-cuda-add-relaxed-constexpr.patch ...  [ ok ] * Applying opencv-4.1.2-pkg-config-file.patch ...  [ ok ] * Applying opencv-4.1.2-opencl-license.patch ...  [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Inst * set(CMAKE_INSTALL_PREFIX "/usr/local" CACHE PATH "Installation Director * set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Instal * set(CMAKE_BUILD_TYPE Release) >>> Source prepared. >>> Configuring source in /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure >>> Working in BUILD_DIR: "/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64" cmake -C /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOWNLOAD=no -DWITH_QUIRC=OFF -DWITH_1394=no -DWITH_VTK=no -DWITH_EIGEN=yes -DWITH_VFW=OFF -DWITH_FFMPEG=yes -DWITH_GSTREAMER=yes -DWITH_GSTREAMER_0_10=OFF -DWITH_GTK=no -DWITH_GTK_2_X=OFF -DWITH_IPP=OFF -DWITH_JASPER=OFF -DWITH_JPEG=yes -DWITH_WEBP=yes -DWITH_OPENEXR=yes -DWITH_OPENGL=yes -DWITH_OPENVX=OFF -DWITH_OPENNI=OFF -DWITH_OPENNI2=OFF -DWITH_PNG=yes -DWITH_GDCM=OFF -DWITH_PVAPI=OFF -DWITH_GIGEAPI=OFF -DWITH_ARAVIS=OFF -DWITH_QT=5 -DWITH_WIN32UI=OFF -DWITH_TBB=yes -DWITH_OPENMP=yes -DWITH_CSTRIPES=OFF -DWITH_PTHREADS_PF=ON -DWITH_TIFF=yes -DWITH_UNICAP=OFF -DWITH_V4L=yes -DWITH_LIBV4L=yes -DWITH_MSMF=OFF -DWITH_XIMEA=OFF -DWITH_XINE=no -DWITH_CLP=OFF -DWITH_OPENCL=yes -DWITH_OPENCL_SVM=OFF -DWITH_OPENCLAMDFFT=yes -DWITH_OPENCLAMDBLAS=yes -DWITH_DIRECTX=OFF -DWITH_INTELPERC=OFF -DWITH_IPP_A=OFF -DWITH_MATLAB=OFF -DWITH_VA=yes -DWITH_VA_INTEL=yes -DWITH_GDAL=yes -DWITH_GPHOTO2=no -DWITH_LAPACK=no -DWITH_ITT=OFF -DWITH_CUDA=no -DWITH_CUBLAS=no -DWITH_CUFFT=no -DWITH_NVCUVID=OFF -DCUDA_NPP_LIBRARY_ROOT_DIR= -DBUILD_SHARED_LIBS=ON -DBUILD_JAVA=no -DBUILD_ANDROID_EXAMPLES=OFF -DBUILD_opencv_apps=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=no -DBUILD_PERF_TESTS=OFF -DBUILD_TESTS=no -DBUILD_WITH_DEBUG_INFO=no -DBUILD_WITH_DYNAMIC_IPP=OFF -DBUILD_FAT_JAVA_LIB=OFF -DBUILD_CUDA_STUBS=no -DOPENCV_EXTRA_MODULES_PATH=/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv_contrib-4.1.2/modules -DINSTALL_CREATE_DISTRIB=OFF -DINSTALL_C_EXAMPLES=no -DINSTALL_TESTS=no -DINSTALL_PYTHON_EXAMPLES=no -DINSTALL_TO_MANGLED_PATHS=OFF -DOPENCV_GENERATE_PKGCONFIG=ON -DLIB_SUFFIX= -DENABLE_CCACHE=OFF -DENABLE_PRECOMPILED_HEADERS=yes -DENABLE_SOLUTION_FOLDERS=OFF -DENABLE_PROFILING=OFF -DENABLE_COVERAGE=OFF -DHAVE_opencv_java=NO -DENABLE_NOISY_WARNINGS=OFF -DOPENCV_WARNINGS_ARE_ERRORS=OFF -DENABLE_IMPL_COLLECTION=OFF -DENABLE_INSTRUMENTATION=OFF -DGENERATE_ABI_DESCRIPTOR=OFF -DDOWNLOAD_EXTERNAL_TEST_DATA=OFF -DBUILD_PACKAGE=OFF -DBUILD_PROTOBUF=OFF -DPROTOBUF_UPDATE_FILES=ON -DCMAKE_SKIP_RPATH=ON -DOPENCV_DOC_INSTALL_PATH= -DOPENCV_CPU_OPT_IMPLIES_IGNORE=ON -DCPU_BASELINE=, -DCPU_DISPATCH= -DBUILD_opencv_features2d=ON -DBUILD_opencv_dnn=ON -DTINYDNN_ROOT=/tmp/portage/media-libs/opencv-4.1.2-r3/work/tiny-dnn-1.0.0a3 -DBUILD_opencv_dnns_easily_fooled=OFF -DBUILD_opencv_xfeatures2d=OFF -DBUILD_opencv_cvv=OFF -DBUILD_opencv_hdf=OFF -DBUILD_opencv_sfm=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Tesseract=yes -DPYTHON_EXECUTABLE=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DBUILD_opencv_python2=OFF -DBUILD_opencv_python3=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64/gentoo_toolchain.cmake /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2 loading initial cache file /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64/gentoo_common_config.cmake -- The CXX compiler identification is GNU 10.2.0 -- The C compiler identification is GNU 10.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/sbin/x86_64-pc-linux-gnu-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/sbin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detected processor: x86_64 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Found PythonInterp: /usr/sbin/python (found suitable version "3.9", minimum required is "3.2") -- Found PythonLibs: /lib64/libpython3.9.so (found suitable exact version "3.9.0b5") Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'numpy' -- Performing Test HAVE_CXX_FSIGNED_CHAR -- Performing Test HAVE_CXX_FSIGNED_CHAR - Success -- Performing Test HAVE_C_FSIGNED_CHAR -- Performing Test HAVE_C_FSIGNED_CHAR - Success -- Performing Test HAVE_CXX_W -- Performing Test HAVE_CXX_W - Success -- Performing Test HAVE_C_W -- Performing Test HAVE_C_W - Success -- Performing Test HAVE_CXX_WALL -- Performing Test HAVE_CXX_WALL - Success -- Performing Test HAVE_C_WALL -- Performing Test HAVE_C_WALL - Success -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE -- Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_C_WERROR_RETURN_TYPE -- Performing Test HAVE_C_WERROR_RETURN_TYPE - Success -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WERROR_ADDRESS -- Performing Test HAVE_CXX_WERROR_ADDRESS - Success -- Performing Test HAVE_C_WERROR_ADDRESS -- Performing Test HAVE_C_WERROR_ADDRESS - Success -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT -- Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT -- Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success -- Performing Test HAVE_CXX_WFORMAT -- Performing Test HAVE_CXX_WFORMAT - Success -- Performing Test HAVE_C_WFORMAT -- Performing Test HAVE_C_WFORMAT - Success -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY -- Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY -- Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS -- Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_C_WMISSING_DECLARATIONS -- Performing Test HAVE_C_WMISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES -- Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_C_WMISSING_PROTOTYPES -- Performing Test HAVE_C_WMISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES -- Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_C_WSTRICT_PROTOTYPES -- Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success -- Performing Test HAVE_CXX_WUNDEF -- Performing Test HAVE_CXX_WUNDEF - Success -- Performing Test HAVE_C_WUNDEF -- Performing Test HAVE_C_WUNDEF - Success -- Performing Test HAVE_CXX_WINIT_SELF -- Performing Test HAVE_CXX_WINIT_SELF - Success -- Performing Test HAVE_C_WINIT_SELF -- Performing Test HAVE_C_WINIT_SELF - Success -- Performing Test HAVE_CXX_WPOINTER_ARITH -- Performing Test HAVE_CXX_WPOINTER_ARITH - Success -- Performing Test HAVE_C_WPOINTER_ARITH -- Performing Test HAVE_C_WPOINTER_ARITH - Success -- Performing Test HAVE_CXX_WSHADOW -- Performing Test HAVE_CXX_WSHADOW - Success -- Performing Test HAVE_C_WSHADOW -- Performing Test HAVE_C_WSHADOW - Success -- Performing Test HAVE_CXX_WSIGN_PROMO -- Performing Test HAVE_CXX_WSIGN_PROMO - Success -- Performing Test HAVE_C_WSIGN_PROMO -- Performing Test HAVE_C_WSIGN_PROMO - Success -- Performing Test HAVE_CXX_WUNINITIALIZED -- Performing Test HAVE_CXX_WUNINITIALIZED - Success -- Performing Test HAVE_C_WUNINITIALIZED -- Performing Test HAVE_C_WUNINITIALIZED - Success -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Success -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS -- Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed -- Performing Test HAVE_CXX_WNO_COMMENT -- Performing Test HAVE_CXX_WNO_COMMENT - Success -- Performing Test HAVE_C_WNO_COMMENT -- Performing Test HAVE_C_WNO_COMMENT - Success -- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 -- Performing Test HAVE_CXX_WIMPLICIT_FALLTHROUGH_3 - Success -- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 -- Performing Test HAVE_C_WIMPLICIT_FALLTHROUGH_3 - Success -- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW -- Performing Test HAVE_CXX_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW -- Performing Test HAVE_C_WNO_STRICT_OVERFLOW - Success -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION -- Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success -- Performing Test HAVE_CXX_WNO_LONG_LONG -- Performing Test HAVE_CXX_WNO_LONG_LONG - Success -- Performing Test HAVE_C_WNO_LONG_LONG -- Performing Test HAVE_C_WNO_LONG_LONG - Success -- Performing Test HAVE_CXX_PTHREAD -- Performing Test HAVE_CXX_PTHREAD - Success -- Performing Test HAVE_C_PTHREAD -- Performing Test HAVE_C_PTHREAD - Success -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER -- Performing Test HAVE_CXX_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_C_FOMIT_FRAME_POINTER -- Performing Test HAVE_C_FOMIT_FRAME_POINTER - Success -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS -- Performing Test HAVE_CXX_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_C_FFUNCTION_SECTIONS -- Performing Test HAVE_C_FFUNCTION_SECTIONS - Success -- Performing Test HAVE_CXX_FDATA_SECTIONS -- Performing Test HAVE_CXX_FDATA_SECTIONS - Success -- Performing Test HAVE_C_FDATA_SECTIONS -- Performing Test HAVE_C_FDATA_SECTIONS - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_HIDDEN - Success -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_CXX_FVISIBILITY_INLINES_HIDDEN - Success -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN -- Performing Test HAVE_C_FVISIBILITY_INLINES_HIDDEN - Success -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for posix_memalign -- Looking for posix_memalign - found -- Looking for malloc.h -- Looking for malloc.h - found -- Looking for memalign -- Looking for memalign - found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found ZLIB: /lib64/libz.so (found suitable version "1.2.11", minimum required is "1.2.3") -- Found JPEG: /lib64/libjpeg.so (found version "62") -- Found TIFF: /lib64/libtiff.so (found version "4.1.0") -- Found WebP: /lib64/libwebp.so -- Found ZLIB: /lib64/libz.so (found version "1.2.11") -- Found PNG: /lib64/libpng.so (found version "1.6.37+apng") -- Looking for /usr/include/libpng/png.h -- Looking for /usr/include/libpng/png.h - not found -- Found OpenEXR: /lib64/libIlmImf.so CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:305 (message): Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when available. Run "cmake --help-policy CMP0072" for policy details. Use the cmake_policy command to set the policy and suppress this warning. FindOpenGL found both a legacy GL library: OPENGL_gl_LIBRARY: /lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /lib64/libOpenGL.so OPENGL_glx_LIBRARY: /lib64/libGLX.so OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for compatibility with CMake 3.10 and below the legacy GL library will be used. Call Stack (most recent call first): cmake/OpenCVFindLibsGUI.cmake:76 (find_package) CMakeLists.txt:669 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning at cmake/OpenCVFindVA_INTEL.cmake:29 (message): Intel OpenCL installation is not found. Call Stack (most recent call first): cmake/OpenCVFindLibsVideo.cmake:8 (include) CMakeLists.txt:670 (include) -- Found TBB (env): /lib64/libtbb.so Download was disabled during configure phase by ENABLE_DOWNLOAD=OFF -- OpenCV Python: during development append to PYTHONPATH: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64/python_loader -- Checking for modules 'libavcodec;libavformat;libavutil;libswscale' -- Found libavcodec, version 58.91.100 -- Found libavformat, version 58.45.100 -- Found libavutil, version 56.51.100 -- Found libswscale, version 5.7.100 -- Checking for module 'libavresample' -- Found libavresample, version 4.0.0 -- Checking for module 'gstreamer-base-1.0' -- Found gstreamer-base-1.0, version 1.16.2 -- Checking for module 'gstreamer-app-1.0' -- Found gstreamer-app-1.0, version 1.16.2 -- Checking for module 'gstreamer-riff-1.0' -- Found gstreamer-riff-1.0, version 1.16.2 -- Checking for module 'gstreamer-pbutils-1.0' -- Found gstreamer-pbutils-1.0, version 1.16.2 -- Performing Test HAVE_CXX_WNO_UNDEF -- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Caffe: NO -- Found Protobuf: /lib64/libprotobuf.so (found version "3.12.2") -- Protobuf: YES -- Glog: NO -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success -- Checking for module 'freetype2' -- Found freetype2, version 23.2.17 -- Checking for module 'harfbuzz' -- Found harfbuzz, version 2.6.8 -- freetype2: YES (ver 23.2.17) -- harfbuzz: YES (ver 2.6.8) -- Found HDF5: /lib64/libhdf5.so;/lib64/libsz.so;/lib64/libz.so;/lib64/libdl.so;/lib64/libm.so (found version "1.10.5") -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Module opencv_ovis disabled because OGRE3D was not found -- No preference for use of exported gflags CMake configuration set, and no hints for include/library directories provided. Defaulting to preferring an installed/exported gflags CMake configuration if available. -- Failed to find installed gflags CMake configuration, searching for gflags build directories exported with CMake. -- Failed to find gflags - Failed to find an installed/exported CMake configuration for gflags, will perform search for installed gflags components. -- Failed to find gflags - Could not find gflags include directory, set GFLAGS_INCLUDE_DIR to directory containing gflags/gflags.h -- Failed to find glog - Could not find glog include directory, set GLOG_INCLUDE_DIR to directory containing glog/logging.h -- Module opencv_sfm disabled because the following dependencies are not found: Glog/Gflags -- Checking for module 'tesseract' -- Found tesseract, version 4.1.1 -- Tesseract: YES (ver 4.1.1) CMake Warning at cmake/OpenCVModule.cmake:680 (message): Unexpected include: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/3rdparty/include/opencl/1.2 (module=opencv_core) Call Stack (most recent call first): cmake/OpenCVModule.cmake:711 (ocv_target_include_modules) modules/core/CMakeLists.txt:66 (ocv_module_include_directories) -- Excluding from source files list: modules/imgproc/src/corner.avx.cpp -- Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: modules/imgproc/src/imgwarp.sse4_1.cpp -- Excluding from source files list: modules/imgproc/src/resize.avx2.cpp -- Excluding from source files list: modules/imgproc/src/resize.sse4_1.cpp -- Excluding from source files list: modules/imgproc/src/sumpixels.avx512_skx.cpp -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/dnn/cmake/hooks/INIT_MODULE_SOURCES_opencv_dnn.cmake -- Performing Test HAVE_CXX_WNO_DEPRECATED -- Performing Test HAVE_CXX_WNO_DEPRECATED - Success -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES -- Performing Test HAVE_CXX_WNO_MISSING_PROTOTYPES - Success -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS -- Performing Test HAVE_CXX_WNO_MISSING_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_SHADOW -- Performing Test HAVE_CXX_WNO_SHADOW - Success -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER -- Performing Test HAVE_CXX_WNO_UNUSED_PARAMETER - Success -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE -- Performing Test HAVE_CXX_WNO_SIGN_COMPARE - Success CMake Warning at cmake/OpenCVModule.cmake:680 (message): Unexpected include: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/3rdparty/include/opencl/1.2 (module=opencv_dnn) Call Stack (most recent call first): cmake/OpenCVModule.cmake:711 (ocv_target_include_modules) modules/dnn/CMakeLists.txt:97 (ocv_module_include_directories) -- opencv_dnn: filter out cuda4dnn source code -- Excluding from source files list: /modules/dnn/layers/layers_common.avx.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.avx2.cpp -- Excluding from source files list: /modules/dnn/layers/layers_common.avx512_skx.cpp -- Excluding from source files list: modules/features2d/src/fast.avx2.cpp -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success Download was disabled during configure phase by ENABLE_DOWNLOAD=OFF CMake Warning at /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv_contrib-4.1.2/modules/face/CMakeLists.txt:26 (message): Face: Can't get model file for face alignment. -- -- General configuration for OpenCV 4.1.2 ===================================== -- Version control: unknown -- -- Extra modules: -- Location (extra): /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv_contrib-4.1.2/modules -- Version control (extra): unknown -- -- Platform: -- Timestamp: 2020-07-24T17:21:34Z -- Host: Linux 5.7.9 x86_64 -- CMake: 3.18.0 -- CMake generator: Ninja -- CMake build tool: /usr/sbin/ninja -- Configuration: Gentoo -- -- CPU/HW features: -- Baseline: -- requested: -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/sbin/x86_64-pc-linux-gnu-g++ (ver 10.2.0) -- C++ flags (Release): -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -DDEBUG -D_DEBUG -- C Compiler: /usr/sbin/x86_64-pc-linux-gnu-gcc -- C flags (Release): -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--gc-sections -- Linker flags (Debug): -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--gc-sections -- ccache: NO -- Precompiled headers: YES -- Extra dependencies: dl m pthread rt /lib64/libGL.so /lib64/libGLU.so -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: aruco bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy hfs highgui img_hash imgcodecs imgproc line_descriptor ml objdetect optflow phase_unwrapping photo plot quality reg rgbd saliency shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab ximgproc xobjdetect xphoto -- Disabled: cvv hdf world xfeatures2d -- Disabled by dependency: - -- Unavailable: cnn_3dobj cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev gapi java js matlab ovis python2 python3 sfm ts viz -- Applications: - -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- QT: YES (ver 5.15.0) -- QT OpenGL support: YES (Qt5::OpenGL 5.15.0) -- OpenGL support: YES (/lib64/libGL.so /lib64/libGLU.so) -- -- Media I/O: -- ZLib: /lib64/libz.so (ver 1.2.11) -- JPEG: /lib64/libjpeg.so (ver unknown) -- WEBP: /lib64/libwebp.so (ver encoder: 0x020f) -- PNG: /lib64/libpng.so (ver 1.6.37) -- TIFF: /lib64/libtiff.so (ver 42 / 4.1.0) -- OpenEXR: /lib64/libImath.so /lib64/libIlmImf.so /lib64/libIex.so /lib64/libHalf.so /lib64/libIlmThread.so (ver 2.5.2) -- GDAL: YES (/lib64/libgdal.so) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- FFMPEG: YES -- avcodec: YES (58.91.100) -- avformat: YES (58.45.100) -- avutil: YES (56.51.100) -- swscale: YES (5.7.100) -- avresample: YES (4.0.0) -- GStreamer: YES (1.16.2) -- v4l/v4l2: YES (linux/videodev2.h) -- -- Parallel framework: TBB (ver 2020.3 interface 11103) -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- VA: YES -- Intel VA-API/OpenCL: NO -- Eigen: YES (ver 3.3.7) -- Custom HAL: NO -- Protobuf: /lib64/libprotobuf.so (3.12.2) -- -- OpenCL: YES (no extra features) -- Include path: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/3rdparty/include/opencl/1.2 -- Link libraries: Dynamic load -- -- Python (for build): /usr/sbin/python -- -- Install to: /usr -- ----------------------------------------------------------------- -- -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp C++ -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--gc-sections Module -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu Shared -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--gc-sections -- Configuring done -- Generating done -- Build files have been written to: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64 >>> Source configured. >>> Compiling source in /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile >>> Working in BUILD_DIR: "/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64" ninja -v -j6 -l4 [1/972] cd /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64 && /usr/bin/cmake -DCMAKE_HELPER_SCRIPT=/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64/OpenCVGenPkgConfig.info.cmake -P /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/cmake/OpenCVGenPkgconfig.cmake [2/972] /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/features2d/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/features2d/include -Imodules/features2d -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/include -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o -MF modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o.d -o modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o -c modules/features2d/opencv_features2d_pch_dephelp.cxx FAILED: modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/features2d/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/features2d/include -Imodules/features2d -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/include -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o -MF modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o.d -o modules/features2d/CMakeFiles/opencv_features2d_pch_dephelp.dir/opencv_features2d_pch_dephelp.cxx.o -c modules/features2d/opencv_features2d_pch_dephelp.cxx cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/features2d/src/precomp.hpp:50, from modules/features2d/opencv_features2d_pch_dephelp.cxx:1: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory 66 | # include | ^~~~~~~~~~~~ compilation terminated. [3/972] /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -Imodules/core -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o -MF modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o.d -o modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o -c modules/core/opencv_core_pch_dephelp.cxx FAILED: modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -Imodules/core -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o -MF modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o.d -o modules/core/CMakeFiles/opencv_core_pch_dephelp.dir/opencv_core_pch_dephelp.cxx.o -c modules/core/opencv_core_pch_dephelp.cxx cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/src/precomp.hpp:55, from modules/core/opencv_core_pch_dephelp.cxx:1: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory 66 | # include | ^~~~~~~~~~~~ compilation terminated. [4/972] /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/photo/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/photo/include -Imodules/photo -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o -MF modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o.d -o modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o -c modules/photo/opencv_photo_pch_dephelp.cxx FAILED: modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/photo/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/photo/include -Imodules/photo -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o -MF modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o.d -o modules/photo/CMakeFiles/opencv_photo_pch_dephelp.dir/opencv_photo_pch_dephelp.cxx.o -c modules/photo/opencv_photo_pch_dephelp.cxx cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/photo/src/precomp.hpp:46, from modules/photo/opencv_photo_pch_dephelp.cxx:1: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory 66 | # include | ^~~~~~~~~~~~ compilation terminated. [5/972] /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/include -Imodules/imgproc -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o -MF modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o.d -o modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o -c modules/imgproc/opencv_imgproc_pch_dephelp.cxx FAILED: modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/include -Imodules/imgproc -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o -MF modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o.d -o modules/imgproc/CMakeFiles/opencv_imgproc_pch_dephelp.dir/opencv_imgproc_pch_dephelp.cxx.o -c modules/imgproc/opencv_imgproc_pch_dephelp.cxx cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/imgproc/src/precomp.hpp:50, from modules/imgproc/opencv_imgproc_pch_dephelp.cxx:1: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory 66 | # include | ^~~~~~~~~~~~ compilation terminated. [6/972] /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/ml/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/ml/include -Imodules/ml -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o -MF modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o.d -o modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o -c modules/ml/opencv_ml_pch_dephelp.cxx FAILED: modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/ml/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/ml/include -Imodules/ml -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o -MF modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o.d -o modules/ml/CMakeFiles/opencv_ml_pch_dephelp.dir/opencv_ml_pch_dephelp.cxx.o -c modules/ml/opencv_ml_pch_dephelp.cxx cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/ml/src/precomp.hpp:49, from modules/ml/opencv_ml_pch_dephelp.cxx:1: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory 66 | # include | ^~~~~~~~~~~~ compilation terminated. [7/972] /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/include -Imodules/flann -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o -MF modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o.d -o modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o -c modules/flann/opencv_flann_pch_dephelp.cxx FAILED: modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o /usr/sbin/x86_64-pc-linux-gnu-g++ -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/src -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/include -Imodules/flann -I/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include -isystem . -isystem /usr/include/gdal -DNDEBUG -pipe -O2 -march=znver1 -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 -Wsign-promo -Wuninitialized -Winit-self -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o -MF modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o.d -o modules/flann/CMakeFiles/opencv_flann_pch_dephelp.dir/opencv_flann_pch_dephelp.cxx.o -c modules/flann/opencv_flann_pch_dephelp.cxx cc1plus: warning: command-line option ‘-Wmissing-prototypes’ is valid for C/ObjC but not for C++ cc1plus: warning: command-line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ In file included from /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/flann/src/precomp.hpp:22, from modules/flann/opencv_flann_pch_dephelp.cxx:1: /tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2/modules/core/include/opencv2/core/private.hpp:66:12: fatal error: Eigen/Core: No such file or directory 66 | # include | ^~~~~~~~~~~~ compilation terminated. ninja: build stopped: subcommand failed. * ERROR: media-libs/opencv-4.1.2-r3::gentoo failed (compile phase): * ninja -v -j6 -l4 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 5592: Called cmake-multilib_src_compile * environment, line 1334: Called multilib-minimal_src_compile * environment, line 4225: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 4475: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 4160: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 4158: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 767: Called multilib-minimal_abi_src_compile * environment, line 4219: Called multilib_src_compile * environment, line 4695: Called cmake-utils_src_compile * environment, line 1354: Called cmake-utils_src_make * environment, line 1535: Called _cmake_ninja_src_make * environment, line 613: Called eninja * environment, line 2011: Called die * The specific snippet of code: * "$@" || die "${nonfatal_args[@]}" "${*} failed" * * If you need support, post the output of `emerge --info '=media-libs/opencv-4.1.2-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.1.2-r3::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =opencv-4.1.2 * The complete build log is located at '/tmp/portage/media-libs/opencv-4.1.2-r3/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/media-libs/opencv-4.1.2-r3/temp/environment'. * Working directory: '/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2-abi_x86_64.amd64' * S: '/tmp/portage/media-libs/opencv-4.1.2-r3/work/opencv-4.1.2'