* Package: media-libs/opencv-4.6.0-r2:0/4.6.0  * Repository: gentoo  * USE: abi_x86_32 abi_x86_64 amd64 contrib contribcvv contribdnn contribfreetype contribhdf contribsfm contribxfeatures2d cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_f16c 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 dnnsamples download eigen elibc_glibc examples features2d ffmpeg gdal gflags glog gphoto2 gstreamer java jpeg jpeg2k kernel_linux lapack openexr opengl openmp png python python_targets_python3_10 qt5 tesseract threads tiff userland_GNU v4l vtk webp xine  * FEATURES: ccache network-sandbox preserve-libs sandbox userpriv usersandbox * Using: openjdk-bin-8 >>> Unpacking source... >>> Unpacking opencv-4.6.0.tar.gz to /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Unpacking opencv-3.4.0-res10_300x300-caffeemodel.tar.gz to /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Unpacking opencv-4.4.0_extdep.tar.gz to /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Unpacking opencv-4.6.0_contrib.tar.gz to /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Unpacking opencv-3.4.0-face_landmark_model.tar.gz to /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Unpacking vgg_boostdesc-3.2.0.tar.gz to /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Source unpacked in /var/tmp/portage/media-libs/opencv-4.6.0-r2/work >>> Preparing source in /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0 ... * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0" * Build directory (BUILD_DIR): "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build" * Applying opencv-3.4.0-disable-download.patch ... patching file CMakeLists.txt Hunk #1 succeeded at 214 with fuzz 1 (offset 27 lines). patching file cmake/OpenCVDownload.cmake Hunk #1 succeeded at 82 with fuzz 1 (offset 50 lines). Hunk #2 succeeded at 298 with fuzz 2 (offset 61 lines).  [ ok ] * Applying opencv-3.4.1-cuda-add-relaxed-constexpr.patch ...  [ ok ] * Applying opencv-4.1.2-opencl-license.patch ...  [ ok ] * Applying opencv-4.4.0-disable-native-cpuflag-detect.patch ...  [ ok ] * Applying opencv-4.5.0-link-with-cblas-for-lapack.patch ...  [ ok ] * Applying opencv-4.6.0-fix-build-examples.patch ...  [ ok ] * Hardcoded definition(s) removed in CMakeLists.txt: * set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build") * 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 cElementTree rewriter >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0 ... * abi_x86_32.x86: running multilib-minimal_abi_src_configure * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0" * Build directory (BUILD_DIR): "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86" cmake -C /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOWNLOAD=yes -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_OPENJPEG=yes -DWITH_WEBP=yes -DWITH_OPENEXR=no -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=OFF -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=no -DWITH_OPENCL_SVM=OFF -DWITH_OPENCLAMDFFT=no -DWITH_OPENCLAMDBLAS=no -DWITH_DIRECTX=OFF -DWITH_INTELPERC=OFF -DWITH_IPP_A=OFF -DWITH_MATLAB=OFF -DWITH_VA=no -DWITH_VA_INTEL=no -DWITH_GDAL=no -DWITH_GPHOTO2=yes -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=/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/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=OFF -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 -DENABLE_LTO=no -DBUILD_PACKAGE=OFF -DBUILD_PROTOBUF=OFF -DPROTOBUF_UPDATE_FILES=ON -DCMAKE_SKIP_RPATH=ON -DOPENCV_DOC_INSTALL_PATH= -DBUILD_opencv_features2d=ON -DOPENCV_CPU_OPT_IMPLIES_IGNORE=ON -DCPU_BASELINE=AVX;FP16;FMA3;POPCNT;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2; -DCPU_DISPATCH= -DBUILD_opencv_dnn=ON -DTINYDNN_ROOT=/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/tiny-dnn-1.0.0a3 -DBUILD_opencv_dnns_easily_fooled=OFF -DBUILD_opencv_xfeatures2d=ON -DBUILD_opencv_cvv=ON -DBUILD_opencv_hdf=OFF -DBUILD_opencv_sfm=ON -DBUILD_opencv_freetype=ON -DBUILD_opencv_ovis=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Tesseract=ON -DPYTHON_EXECUTABLE=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DBUILD_opencv_python2=OFF -DBUILD_opencv_python3=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/gentoo_toolchain.cmake /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0 loading initial cache file /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/gentoo_common_config.cmake -- The CXX compiler identification is GNU 12.2.0 -- The C compiler identification is GNU 12.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/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/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default. -- Detected processor: x86_64 -- sizeof(void) = 4 on 64 bit processor. Assume 32-bit compilation mode -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Found PythonInterp: /usr/bin/python (found suitable version "3.10.7", minimum required is "3.2") -- Found PythonLibs: /usr/lib64/libpython3.10.so (found suitable exact version "3.10.7") :1: DeprecationWarning: `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use `setuptools < 60.0` for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html -- 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_WRETURN_TYPE -- Performing Test HAVE_CXX_WRETURN_TYPE - Success -- Performing Test HAVE_C_WRETURN_TYPE -- Performing Test HAVE_C_WRETURN_TYPE - Success -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WADDRESS -- Performing Test HAVE_CXX_WADDRESS - Success -- Performing Test HAVE_C_WADDRESS -- Performing Test HAVE_C_WADDRESS - Success -- Performing Test HAVE_CXX_WSEQUENCE_POINT -- Performing Test HAVE_CXX_WSEQUENCE_POINT - Success -- Performing Test HAVE_C_WSEQUENCE_POINT -- Performing Test HAVE_C_WSEQUENCE_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_WFORMAT_SECURITY -- Performing Test HAVE_CXX_WFORMAT_SECURITY - Success -- Performing Test HAVE_C_WFORMAT_SECURITY -- Performing Test HAVE_C_WFORMAT_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 - Failed -- 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 - Failed -- 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 - Failed -- 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_WSUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success -- Performing Test HAVE_C_WSUGGEST_OVERRIDE -- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed -- 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 - Failed -- 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_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_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp) -- Performing Test HAVE_CXX_MSSE - Success -- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp) -- Performing Test HAVE_CXX_MSSE2 - Success -- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CXX_MSSE3 - Success -- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CXX_MSSSE3 - Success -- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CXX_MSSE4_1 - Success -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CXX_MPOPCNT - Success -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CXX_MSSE4_2 - Success -- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_MF16C - Success -- Performing Test HAVE_CXX_MFMA -- Performing Test HAVE_CXX_MFMA - Success -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CXX_MAVX - Success -- Performing Test HAVE_CPU_BASELINE_FLAGS -- Performing Test HAVE_CPU_BASELINE_FLAGS - Success -- Performing Test HAVE_CXX_MFPMATH_SSE -- Performing Test HAVE_CXX_MFPMATH_SSE - Success -- Performing Test HAVE_C_MFPMATH_SSE -- Performing Test HAVE_C_MFPMATH_SSE - 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 - Failed -- Performing Test HAVE_LINK_AS_NEEDED -- Performing Test HAVE_LINK_AS_NEEDED - Success -- Performing Test HAVE_LINK_NO_UNDEFINED -- Performing Test HAVE_LINK_NO_UNDEFINED - 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 -- 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: /usr/lib/libz.so (found suitable version "1.2.12", minimum required is "1.2.3") -- Found JPEG: /usr/lib/libjpeg.so (found version "62") -- Found TIFF: /usr/lib/libtiff.so (found version "4.4.0") -- Found WebP: /usr/lib/libwebp.so -- Found system OpenJPEG: openjp2 (found version "") -- Found ZLIB: /usr/lib/libz.so (found version "1.2.12") -- Found PNG: /usr/lib/libpng.so (found version "1.6.38") -- Looking for /usr/include/libpng/png.h -- Looking for /usr/include/libpng/png.h - not found -- Found TBB (env): /usr/lib/libtbb.so -- ADE: Downloading v0.1.1f.zip from https://github.com/opencv/ade/archive/v0.1.1f.zip -- Checking for modules 'libavcodec;libavformat;libavutil;libswscale' -- Found libavcodec, version 58.134.100 -- Found libavformat, version 58.76.100 -- Found libavutil, version 56.70.100 -- Found libswscale, version 5.9.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.20.3 -- Checking for module 'gstreamer-app-1.0' -- Found gstreamer-app-1.0, version 1.20.3 -- Checking for module 'gstreamer-riff-1.0' -- Found gstreamer-riff-1.0, version 1.20.3 -- Checking for module 'gstreamer-pbutils-1.0' -- Found gstreamer-pbutils-1.0, version 1.20.3 -- Checking for module 'gstreamer-video-1.0' -- Found gstreamer-video-1.0, version 1.20.3 -- Checking for module 'gstreamer-audio-1.0' -- Found gstreamer-audio-1.0, version 1.20.3 -- Checking for module 'libgphoto2' -- Found libgphoto2, version 2.5.30 -- Performing Test HAVE_CXX_WNO_UNDEF -- Performing Test HAVE_CXX_WNO_UNDEF - Success -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - Success -- Checking for module 'freetype2' -- Found freetype2, version 24.3.18 -- Checking for module 'harfbuzz' -- Found harfbuzz, version 5.1.0 -- freetype2: YES (ver 24.3.18) -- harfbuzz: YES (ver 5.1.0) -- Found HDF5: /usr/lib64/libhdf5.so;/usr/lib64/libsz.so;/usr/lib/libz.so;/usr/lib/libdl.a;/usr/lib/libm.so (found version "1.12.2") -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Julia not found. Not compiling Julia Bindings. -- Module opencv_ovis disabled because OGRE3D was not found -- Checking SFM glog/gflags deps... TRUE -- CERES support is disabled. Ceres Solver for reconstruction API is required. -- Checking for module 'tesseract' -- Found tesseract, version 5.2.0 -- Tesseract: YES (ver 5.2.0) -- Allocator metrics storage type: 'long long' -- Excluding from source files list: modules/imgproc/src/imgwarp.avx2.cpp -- Excluding from source files list: modules/imgproc/src/resize.avx2.cpp -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0/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 - Failed -- 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 -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS -- Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success -- opencv_dnn: filter out ocl4dnn source code -- opencv_dnn: filter out cuda4dnn source code -- 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/dnn/layers/layers_common.rvv.cpp -- Excluding from source files list: /modules/dnn/int8layers/layers_common.avx2.cpp -- Excluding from source files list: /modules/dnn/int8layers/layers_common.avx512_skx.cpp -- Excluding from source files list: modules/features2d/src/fast.avx2.cpp -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL -- Performing Test HAVE_CXX_WNO_OVERLOADED_VIRTUAL - Success -- Performing Test Iconv_IS_BUILT_IN -- Performing Test Iconv_IS_BUILT_IN - Success -- wechat_qrcode: Downloading detect.caffemodel from https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/detect.caffemodel -- Try 1 failed -- ======================================================================= Couldn't download files from the Internet. Please check the Internet access on this host. ======================================================================= CMake Warning at cmake/OpenCVDownload.cmake:249 (message): wechat_qrcode: Download failed: 6;"Couldn't resolve host name" For details please refer to the download log file: /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/CMakeDownloadLog.txt Call Stack (most recent call first): /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:26 (ocv_download) CMake Warning at /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:37 (message): WeChatQRCode: Can't get detect caffemodel file for wechat qrcode. -- wechat_qrcode: Downloading detect.prototxt from https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/detect.prototxt -- Try 1 failed -- ======================================================================= Couldn't download files from the Internet. Please check the Internet access on this host. ======================================================================= CMake Warning at cmake/OpenCVDownload.cmake:249 (message): wechat_qrcode: Download failed: 6;"Couldn't resolve host name" For details please refer to the download log file: /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/CMakeDownloadLog.txt Call Stack (most recent call first): /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:26 (ocv_download) CMake Warning at /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:37 (message): WeChatQRCode: Can't get detect prototxt file for wechat qrcode. -- wechat_qrcode: Downloading sr.caffemodel from https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/sr.caffemodel -- Try 1 failed -- ======================================================================= Couldn't download files from the Internet. Please check the Internet access on this host. ======================================================================= CMake Warning at cmake/OpenCVDownload.cmake:249 (message): wechat_qrcode: Download failed: 6;"Couldn't resolve host name" For details please refer to the download log file: /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/CMakeDownloadLog.txt Call Stack (most recent call first): /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:26 (ocv_download) CMake Warning at /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:37 (message): WeChatQRCode: Can't get sr caffemodel file for wechat qrcode. -- wechat_qrcode: Downloading sr.prototxt from https://raw.githubusercontent.com/WeChatCV/opencv_3rdparty/a8b69ccc738421293254aec5ddb38bd523503252/sr.prototxt -- Try 1 failed -- ======================================================================= Couldn't download files from the Internet. Please check the Internet access on this host. ======================================================================= CMake Warning at cmake/OpenCVDownload.cmake:249 (message): wechat_qrcode: Download failed: 6;"Couldn't resolve host name" For details please refer to the download log file: /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86/CMakeDownloadLog.txt Call Stack (most recent call first): /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:26 (ocv_download) CMake Warning at /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules/wechat_qrcode/CMakeLists.txt:37 (message): WeChatQRCode: Can't get sr prototxt file for wechat qrcode. -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH -- Performing Test HAVE_CXX_WNO_IMPLICIT_FALLTHROUGH - Success -- highgui: using builtin backend: NONE -- xfeatures2d/boostdesc: Downloading boostdesc_bgm.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm.i -- xfeatures2d/boostdesc: Downloading boostdesc_bgm_bi.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm_bi.i -- xfeatures2d/boostdesc: Downloading boostdesc_bgm_hd.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_bgm_hd.i -- xfeatures2d/boostdesc: Downloading boostdesc_binboost_064.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_064.i -- xfeatures2d/boostdesc: Downloading boostdesc_binboost_128.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_128.i -- xfeatures2d/boostdesc: Downloading boostdesc_binboost_256.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_binboost_256.i -- xfeatures2d/boostdesc: Downloading boostdesc_lbgm.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/34e4206aef44d50e6bbcd0ab06354b52e7466d26/boostdesc_lbgm.i -- xfeatures2d/vgg: Downloading vgg_generated_48.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_48.i -- xfeatures2d/vgg: Downloading vgg_generated_64.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_64.i -- xfeatures2d/vgg: Downloading vgg_generated_80.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_80.i -- xfeatures2d/vgg: Downloading vgg_generated_120.i from https://raw.githubusercontent.com/opencv/opencv_3rdparty/fccf7cd6a4b12079f73bbfb21745f9babcd4eb1d/vgg_generated_120.i -- data: Downloading face_landmark_model.dat from https://raw.githubusercontent.com/opencv/opencv_3rdparty/8afa57abc8229d611c4937165d20e2a2d9fc5a12/face_landmark_model.dat -- CERES support is disabled. Ceres Solver for reconstruction API is required. -- Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAVE_CXX_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION -- Performing Test HAVE_CXX_WNO_UNUSED_FUNCTION - Success -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE -- Performing Test HAVE_CXX_WNO_INCONSISTENT_MISSING_OVERRIDE - Failed -- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS -- Performing Test HAVE_CXX_WNO_CLASS_MEMACCESS - Success -- Performing Test HAVE_CXX_WNO_DEPRECATED_COPY -- Performing Test HAVE_CXX_WNO_DEPRECATED_COPY - Success -- Found 'misc' Python modules from /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0/modules/python/package/extra_modules -- Found 'mat_wrapper;utils' Python modules from /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0/modules/core/misc/python/package -- Found 'gapi' Python modules from /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0/modules/gapi/misc/python/package -- -- General configuration for OpenCV 4.6.0 ===================================== -- Version control: unknown -- -- Extra modules: -- Location (extra): /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules -- Version control (extra): unknown -- -- Platform: -- Timestamp: 2022-09-18T05:50:39Z -- Host: Linux 5.19.9-gentoo-amd64 x86_64 -- CMake: 3.24.2 -- CMake generator: Ninja -- CMake build tool: /usr/bin/ninja -- Configuration: RelWithDebInfo -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX -- requested: AVX FP16 FMA3 POPCNT SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-g++ -m32 (ver 12.2.0) -- C++ flags (Release): -march=native -O2 -pipe -fomit-frame-pointer -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mfpmath=sse -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -march=native -O2 -pipe -fomit-frame-pointer -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mfpmath=sse -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -DDEBUG -D_DEBUG -- C Compiler: /usr/lib/ccache/bin/x86_64-pc-linux-gnu-gcc -m32 -- C flags (Release): -march=native -O2 -pipe -fomit-frame-pointer -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mfpmath=sse -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -march=native -O2 -pipe -fomit-frame-pointer -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mfpmath=sse -fvisibility=hidden -fopenmp -g -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined -- Linker flags (Debug): -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined -- ccache: YES -- Precompiled headers: NO -- Extra dependencies: dl m pthread rt -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: alphamat aruco barcode bgsegm bioinspired calib3d ccalib core datasets dnn dnn_objdetect dnn_superres dpm face features2d flann freetype fuzzy gapi hfs highgui img_hash imgcodecs imgproc intensity_transform line_descriptor mcc ml objdetect optflow phase_unwrapping photo plot quality rapid reg rgbd saliency sfm shape stereo stitching structured_light superres surface_matching text tracking video videoio videostab wechat_qrcode xfeatures2d ximgproc xobjdetect xphoto -- Disabled: hdf python3 world -- Disabled by dependency: - -- Unavailable: cudaarithm cudabgsegm cudacodec cudafeatures2d cudafilters cudaimgproc cudalegacy cudaobjdetect cudaoptflow cudastereo cudawarping cudev cvv java julia matlab ovis python2 ts viz -- Applications: - -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: NONE -- OpenGL support: NO -- -- Media I/O: -- ZLib: /usr/lib/libz.so (ver 1.2.12) -- JPEG: /usr/lib/libjpeg.so (ver unknown) -- WEBP: /usr/lib/libwebp.so (ver encoder: 0x020f) -- PNG: /usr/lib/libpng.so (ver 1.6.38) -- TIFF: /usr/lib/libtiff.so (ver 42 / 4.4.0) -- JPEG 2000: OpenJPEG (ver 2.5.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- FFMPEG: YES -- avcodec: YES (58.134.100) -- avformat: YES (58.76.100) -- avutil: YES (56.70.100) -- swscale: YES (5.9.100) -- avresample: YES (4.0.0) -- GStreamer: YES (1.20.3) -- v4l/v4l2: YES (linux/videodev2.h) -- gPhoto2: YES -- -- Parallel framework: TBB (ver 2020.3 interface 11103) -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Eigen: YES (ver 3.4.0) -- Custom HAL: NO -- Protobuf: /usr/lib/libprotobuf.so (3.20.1) -- -- Python (for build): /usr/bin/python -- -- Install to: /usr -- ----------------------------------------------------------------- -- -- <<< Gentoo configuration >>> Build type RelWithDebInfo Install path /usr Compiler flags: C -march=native -O2 -pipe -fomit-frame-pointer -fsigned-char -W -Wall -Wreturn-type -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mfpmath=sse -fvisibility=hidden -fopenmp C++ -march=native -O2 -pipe -fomit-frame-pointer -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mfpmath=sse -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined Module -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined Shared -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--as-needed -Wl,--no-undefined -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_32.x86 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * Source directory (CMAKE_USE_DIR): "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0" * Build directory (BUILD_DIR): "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64" cmake -C /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOWNLOAD=yes -DWITH_QUIRC=OFF -DWITH_1394=no -DWITH_VTK=yes -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_OPENJPEG=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=yes -DWITH_CLP=OFF -DWITH_OPENCL=no -DWITH_OPENCL_SVM=OFF -DWITH_OPENCLAMDFFT=no -DWITH_OPENCLAMDBLAS=no -DWITH_DIRECTX=OFF -DWITH_INTELPERC=OFF -DWITH_IPP_A=OFF -DWITH_MATLAB=OFF -DWITH_VA=no -DWITH_VA_INTEL=no -DWITH_GDAL=yes -DWITH_GPHOTO2=yes -DWITH_LAPACK=yes -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=yes -DBUILD_ANDROID_EXAMPLES=OFF -DBUILD_opencv_apps=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLES=yes -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=/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv_contrib-4.6.0/modules -DINSTALL_CREATE_DISTRIB=OFF -DINSTALL_C_EXAMPLES=yes -DINSTALL_TESTS=no -DINSTALL_PYTHON_EXAMPLES=yes -DINSTALL_TO_MANGLED_PATHS=OFF -DOPENCV_GENERATE_PKGCONFIG=ON -DLIB_SUFFIX= -DENABLE_CCACHE=OFF -DENABLE_PRECOMPILED_HEADERS=OFF -DENABLE_SOLUTION_FOLDERS=OFF -DENABLE_PROFILING=OFF -DENABLE_COVERAGE=OFF -DHAVE_opencv_java=YES -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 -DENABLE_LTO=no -DBUILD_PACKAGE=OFF -DBUILD_PROTOBUF=OFF -DPROTOBUF_UPDATE_FILES=ON -DCMAKE_SKIP_RPATH=ON -DOPENCV_DOC_INSTALL_PATH= -DBUILD_opencv_features2d=ON -DOPENCV_CPU_OPT_IMPLIES_IGNORE=ON -DCPU_BASELINE=AVX;AVX2;FP16;FMA3;POPCNT;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2; -DCPU_DISPATCH= -DBUILD_opencv_dnn=ON -DTINYDNN_ROOT=/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/tiny-dnn-1.0.0a3 -DBUILD_opencv_dnns_easily_fooled=OFF -DBUILD_opencv_xfeatures2d=ON -DBUILD_opencv_cvv=ON -DBUILD_opencv_hdf=ON -DBUILD_opencv_sfm=ON -DBUILD_opencv_freetype=ON -DBUILD_opencv_ovis=OFF -DCMAKE_DISABLE_FIND_PACKAGE_Tesseract=no -DPYTHON_EXECUTABLE=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DBUILD_opencv_python2=OFF -DBUILD_opencv_python3=OFF -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64/gentoo_toolchain.cmake /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0 loading initial cache file /var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64/gentoo_common_config.cmake -- The CXX compiler identification is GNU 12.2.0 -- The C compiler identification is GNU 12.2.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib/ccache/bin/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/lib/ccache/bin/x86_64-pc-linux-gnu-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- ocv_init_download: OpenCV source tree is not fetched as git repository. 3rdparty resources will be downloaded from github.com by default. -- Detected processor: x86_64 -- Could NOT find PythonInterp (missing: PYTHON_EXECUTABLE) (Required is at least version "2.7") -- Found PythonInterp: /usr/bin/python (found suitable version "3.10.7", minimum required is "3.2") -- Found PythonLibs: /usr/lib64/libpython3.10.so (found suitable exact version "3.10.7") :1: DeprecationWarning: `numpy.distutils` is deprecated since NumPy 1.23.0, as a result of the deprecation of `distutils` itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use `setuptools < 60.0` for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html -- 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_WRETURN_TYPE -- Performing Test HAVE_CXX_WRETURN_TYPE - Success -- Performing Test HAVE_C_WRETURN_TYPE -- Performing Test HAVE_C_WRETURN_TYPE - Success -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR -- Performing Test HAVE_CXX_WNON_VIRTUAL_DTOR - Success -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR -- Performing Test HAVE_C_WNON_VIRTUAL_DTOR - Failed -- Performing Test HAVE_CXX_WADDRESS -- Performing Test HAVE_CXX_WADDRESS - Success -- Performing Test HAVE_C_WADDRESS -- Performing Test HAVE_C_WADDRESS - Success -- Performing Test HAVE_CXX_WSEQUENCE_POINT -- Performing Test HAVE_CXX_WSEQUENCE_POINT - Success -- Performing Test HAVE_C_WSEQUENCE_POINT -- Performing Test HAVE_C_WSEQUENCE_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_WFORMAT_SECURITY -- Performing Test HAVE_CXX_WFORMAT_SECURITY - Success -- Performing Test HAVE_C_WFORMAT_SECURITY -- Performing Test HAVE_C_WFORMAT_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 - Failed -- 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 - Failed -- 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 - Failed -- 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_WSUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WSUGGEST_OVERRIDE - Success -- Performing Test HAVE_C_WSUGGEST_OVERRIDE -- Performing Test HAVE_C_WSUGGEST_OVERRIDE - Failed -- 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 - Failed -- 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_CXX_MSSE (check file: cmake/checks/cpu_sse.cpp) -- Performing Test HAVE_CXX_MSSE - Success -- Performing Test HAVE_CXX_MSSE2 (check file: cmake/checks/cpu_sse2.cpp) -- Performing Test HAVE_CXX_MSSE2 - Success -- Performing Test HAVE_CXX_MSSE3 (check file: cmake/checks/cpu_sse3.cpp) -- Performing Test HAVE_CXX_MSSE3 - Success -- Performing Test HAVE_CXX_MSSSE3 (check file: cmake/checks/cpu_ssse3.cpp) -- Performing Test HAVE_CXX_MSSSE3 - Success -- Performing Test HAVE_CXX_MSSE4_1 (check file: cmake/checks/cpu_sse41.cpp) -- Performing Test HAVE_CXX_MSSE4_1 - Success -- Performing Test HAVE_CXX_MPOPCNT (check file: cmake/checks/cpu_popcnt.cpp) -- Performing Test HAVE_CXX_MPOPCNT - Success -- Performing Test HAVE_CXX_MSSE4_2 (check file: cmake/checks/cpu_sse42.cpp) -- Performing Test HAVE_CXX_MSSE4_2 - Success -- Performing Test HAVE_CXX_MF16C (check file: cmake/checks/cpu_fp16.cpp) -- Performing Test HAVE_CXX_MF16C - Success -- Performing Test HAVE_CXX_MFMA -- Performing Test HAVE_CXX_MFMA - Success -- Performing Test HAVE_CXX_MAVX (check file: cmake/checks/cpu_avx.cpp) -- Performing Test HAVE_CXX_MAVX - Success -- Performing Test HAVE_CXX_MAVX2 (check file: cmake/checks/cpu_avx2.cpp) -- Performing Test HAVE_CXX_MAVX2 - 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 - Failed -- Performing Test HAVE_LINK_AS_NEEDED -- Performing Test HAVE_LINK_AS_NEEDED - Success -- Performing Test HAVE_LINK_NO_UNDEFINED -- Performing Test HAVE_LINK_NO_UNDEFINED - 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 -- 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: /usr/lib64/libz.so (found suitable version "1.2.12", minimum required is "1.2.3") -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.4.0") -- Found WebP: /usr/lib64/libwebp.so -- Found system OpenJPEG: openjp2 (found version "") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.12") -- Found PNG: /usr/lib64/libpng.so (found version "1.6.38") -- Looking for /usr/include/libpng/png.h -- Looking for /usr/include/libpng/png.h - not found CMake Warning (dev) at /usr/share/cmake/Modules/FindOpenGL.cmake:315 (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: /usr/lib64/libGL.so and GLVND libraries for OpenGL and GLX: OPENGL_opengl_LIBRARY: /usr/lib64/libOpenGL.so OPENGL_glx_LIBRARY: /usr/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:66 (find_package) CMakeLists.txt:731 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found TBB (env): /usr/lib64/libtbb.so -- Could not find OpenBLAS lib. Turning OpenBLAS_FOUND off -- Could NOT find Atlas (missing: Atlas_BLAS_LIBRARY) -- LAPACK(LAPACK/Generic): LAPACK_LIBRARIES: blas;lapack;cblas -- LAPACK(LAPACK/Generic): Support is enabled. -- Found apache ant: /usr/bin/ant (1.10.9) -- Found JNI: /opt/openjdk-bin-8.345_p01/include found components: AWT JVM -- Could NOT find Pylint (missing: PYLINT_EXECUTABLE) -- Could NOT find Flake8 (missing: FLAKE8_EXECUTABLE) CMake Error at /usr/lib64/cmake/vtk-9.1/vtkm/VTKmTargets.cmake:42 (message): Some (but not all) targets in this export set were already defined. Targets Defined: tbb Targets not yet defined: vtkm_vectorization_flags, vtkm_compiler_flags, vtkm_developer_flags, vtkmdiympi_nompi, vtkmdiy, diy_developer_flags, vtkm_diy, vtkm_lodepng, vtkm_loguru, vtkm_optionparser, vtkm_lcl, vtkm_cont, vtkm_cont_testing, vtkm_worklet, vtkm_filter_common, vtkm_filter_extra, vtkm_filter_contour, vtkm_filter_gradient, vtkm_filter, vtkm_io, vtkm_source Call Stack (most recent call first): /usr/lib64/cmake/vtk-9.1/vtkm/VTKmConfig.cmake:144 (include) /usr/lib64/cmake/vtk-9.1/vtk-config.cmake:129 (find_package) cmake/OpenCVDetectVTK.cmake:2 (find_package) CMakeLists.txt:819 (include) -- Configuring incomplete, errors occurred! See also "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log". See also "/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64/CMakeFiles/CMakeError.log". * ERROR: media-libs/opencv-4.6.0-r2::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 122: Called src_configure * environment, line 5592: Called cmake-multilib_src_configure * environment, line 1526: Called multilib-minimal_src_configure * environment, line 4402: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 4652: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4357: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4355: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 698: Called multilib-minimal_abi_src_configure * environment, line 4396: Called multilib_src_configure * environment, line 4895: Called cmake_src_configure * environment, line 1787: Called die * The specific snippet of code: * "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed"; * * If you need support, post the output of `emerge --info '=media-libs/opencv-4.6.0-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.6.0-r2::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM=openjdk-bin-8 CLASSPATH="" JAVA_HOME="/opt/openjdk-bin-8.345_p01" JAVACFLAGS="-source 1.8 -target 1.8" COMPILER="" and of course, the output of emerge --info =opencv-4.6.0 * The complete build log is located at '/var/tmp/portage/media-libs/opencv-4.6.0-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-4.6.0-r2/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0_build-abi_x86_64.amd64' * S: '/var/tmp/portage/media-libs/opencv-4.6.0-r2/work/opencv-4.6.0'