* Package: media-libs/opencv-4.5.0 * Repository: gentoo * Maintainer: amynka@gentoo.org * USE: abi_x86_64 amd64 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 eigen elibc_glibc features2d gstreamer jpeg kernel_linux opengl openmp png python python_targets_python3_7 qt5 tiff userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking opencv-4.5.0.tar.gz to /var/tmp/portage/media-libs/opencv-4.5.0/work >>> Source unpacked in /var/tmp/portage/media-libs/opencv-4.5.0/work >>> Preparing source in /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0 ... * Applying opencv-3.4.0-disable-download.patch ... patching file CMakeLists.txt Hunk #1 succeeded at 210 with fuzz 1 (offset 23 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-opencl-license.patch ... [ ok ] * Applying opencv-4.4.0-disable-native-cpuflag-detect.patch ... [ ok ] * Working in BUILD_DIR: "/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build" * 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 /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * Working in BUILD_DIR: "/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64" cmake -C /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-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=no -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=no -DWITH_WEBP=no -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=5 -DWITH_WIN32UI=OFF -DWITH_TBB=no -DWITH_OPENMP=yes -DWITH_CSTRIPES=OFF -DWITH_PTHREADS_PF=ON -DWITH_TIFF=yes -DWITH_UNICAP=OFF -DWITH_V4L=no -DWITH_LIBV4L=no -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=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= -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;AVX2;FP16;FMA3;POPCNT;SSE;SSE2;SSE3;SSSE3;SSE4_1;SSE4_2; -DCPU_DISPATCH= -DPYTHON_EXECUTABLE=OFF -DINSTALL_PYTHON_EXAMPLES=OFF -DBUILD_opencv_python2=OFF -DBUILD_opencv_python3=OFF -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64/gentoo_toolchain.cmake /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0 loading initial cache file /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-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/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/bin/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/bin/python (found suitable version "3.7.9", minimum required is "3.2") -- Found PythonLibs: /usr/lib64/libpython3.7m.so (found suitable exact version "3.7.9") -- 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 - Failed -- 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 - 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 -- 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: /usr/lib64/libz.so (found suitable version "1.2.11", minimum required is "1.2.3") -- Found JPEG: /usr/lib64/libjpeg.so (found version "62") -- Found TIFF: /usr/lib64/libtiff.so (found version "4.1.0") -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.11") -- Found PNG: /usr/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 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: /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:76 (find_package) CMakeLists.txt:694 (include) This warning is for project developers. Use -Wno-dev to suppress it. Download was disabled during configure phase by ENABLE_DOWNLOAD=OFF -- OpenCV Python: during development append to PYTHONPATH: /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64/python_loader -- 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 -- Allocator metrics storage type: 'long long' -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS -- Performing Test HAVE_CXX_WNO_DEPRECATED_DECLARATIONS - Success -- Registering hook 'INIT_MODULE_SOURCES_opencv_dnn': /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.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_INVALID_OFFSETOF -- Performing Test HAVE_CXX_WNO_INVALID_OFFSETOF - Success -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE -- Performing Test HAVE_CXX_WNO_SUGGEST_OVERRIDE - 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.avx512_skx.cpp -- -- General configuration for OpenCV 4.5.0 ===================================== -- Version control: unknown -- -- Platform: -- Timestamp: 2020-10-17T17:42:48Z -- Host: Linux 5.8.16 x86_64 -- CMake: 3.18.4 -- CMake generator: Ninja -- CMake build tool: /usr/bin/ninja -- Configuration: Gentoo -- -- CPU/HW features: -- Baseline: SSE SSE2 SSE3 SSSE3 SSE4_1 POPCNT SSE4_2 FP16 FMA3 AVX AVX2 -- requested: AVX AVX2 FP16 FMA3 POPCNT SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2 -- -- C/C++: -- Built as dynamic libs?: YES -- C++ standard: 11 -- C++ Compiler: /usr/bin/x86_64-pc-linux-gnu-g++ (ver 10.2.0) -- C++ flags (Release): -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -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 -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -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 -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -g -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- C flags (Release): -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fopenmp -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fopenmp -g -DDEBUG -D_DEBUG -- Linker flags (Release): -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--gc-sections -Wl,--as-needed -- Linker flags (Debug): -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--gc-sections -Wl,--as-needed -- ccache: NO -- Precompiled headers: NO -- Extra dependencies: dl m pthread rt /usr/lib64/libGL.so /usr/lib64/libGLU.so -- 3rdparty dependencies: -- -- OpenCV modules: -- To be built: calib3d core dnn features2d flann highgui imgcodecs imgproc ml objdetect photo stitching video videoio -- Disabled: python3 world -- Disabled by dependency: - -- Unavailable: gapi java js python2 ts -- Applications: - -- Documentation: NO -- Non-free algorithms: NO -- -- GUI: -- QT: YES (ver 5.15.1) -- QT OpenGL support: YES (Qt5::OpenGL 5.15.1) -- OpenGL support: YES (/usr/lib64/libGL.so /usr/lib64/libGLU.so) -- -- Media I/O: -- ZLib: /usr/lib64/libz.so (ver 1.2.11) -- JPEG: /usr/lib64/libjpeg.so (ver unknown) -- PNG: /usr/lib64/libpng.so (ver 1.6.37) -- TIFF: /usr/lib64/libtiff.so (ver 42 / 4.1.0) -- HDR: YES -- SUNRASTER: YES -- PXM: YES -- PFM: YES -- -- Video I/O: -- GStreamer: YES (1.16.2) -- -- Parallel framework: OpenMP -- -- Trace: YES (built-in) -- -- Other third-party libraries: -- Eigen: YES (ver 3.3.8) -- Custom HAL: NO -- Protobuf: /usr/lib64/libprotobuf.so (3.13.0) -- -- Python (for build): /usr/bin/python -- -- Install to: /usr -- ----------------------------------------------------------------- -- -- <<< Gentoo configuration >>> Build type Gentoo Install path /usr Compiler flags: C -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wuninitialized -Winit-self -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fopenmp C++ -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -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 -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp Linker flags: Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--gc-sections -Wl,--as-needed Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--gc-sections -Wl,--as-needed -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64 >>> Source configured. >>> Compiling source in /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile * Working in BUILD_DIR: "/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64" ninja -v -j1 -l0 [1/464] cd /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64 && /usr/bin/cmake -DCMAKE_HELPER_SCRIPT=/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64/OpenCVGenPkgConfig.info.cmake -P /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/cmake/OpenCVGenPkgconfig.cmake [2/464] cd /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64/modules/core && /usr/bin/cmake -DMODULE_NAME=core -DCL_DIR=/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/src/opencl -DOUTPUT=/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64/modules/core/opencl_kernels_core.cpp -P /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/cmake/cl2cpp.cmake [3/464] /usr/bin/x86_64-pc-linux-gnu-g++ -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/include -Imodules/core -isystem . -isystem /usr/include/eigen3 -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -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 -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o -MF modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o.d -o modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o -c /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/src/algorithm.cpp FAILED: modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o /usr/bin/x86_64-pc-linux-gnu-g++ -DCVAPI_EXPORTS -DOPENCV_ALLOCATOR_STATS_COUNTER_TYPE="long long" -D_USE_MATH_DEFINES -D__OPENCV_BUILD=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/include -Imodules/core -isystem . -isystem /usr/include/eigen3 -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Winit-self -Wsuggest-override -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 -msse -msse2 -msse3 -mssse3 -msse4.1 -mpopcnt -msse4.2 -mf16c -mfma -mavx -mavx2 -fvisibility=hidden -fvisibility-inlines-hidden -fopenmp -fPIC -std=c++11 -MD -MT modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o -MF modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o.d -o modules/core/CMakeFiles/opencv_core.dir/src/algorithm.cpp.o -c /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/src/algorithm.cpp In file included from /usr/include/eigen3/Eigen/Core:88, from /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/include/opencv2/core/private.hpp:70, from /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/src/precomp.hpp:55, from /var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0/modules/core/src/algorithm.cpp:43: /usr/include/eigen3/Eigen/src/Core/products/Parallelizer.h: In function ‘void Eigen::internal::parallelize_gemm(const Functor&, Index, Index, Index, bool)’: /usr/include/eigen3/Eigen/src/Core/products/Parallelizer.h:162:19: error: ‘eigen_assert_exception’ is not a member of ‘Eigen’ 162 | if (errorCount) EIGEN_THROW_X(Eigen::eigen_assert_exception()); | ^~~~~~~~~~~~~ ninja: build stopped: subcommand failed. * ERROR: media-libs/opencv-4.5.0::gentoo failed (compile phase): * ninja -v -j1 -l0 failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 5592: Called cmake-multilib_src_compile * environment, line 1262: Called multilib-minimal_src_compile * environment, line 4249: Called multilib_foreach_abi 'multilib-minimal_abi_src_compile' * environment, line 4519: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 4184: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_compile' * environment, line 4182: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_compile' * environment, line 680: Called multilib-minimal_abi_src_compile * environment, line 4243: Called multilib_src_compile * environment, line 4731: Called cmake_src_compile * environment, line 1373: Called cmake_build * environment, line 1342: Called eninja * environment, line 1955: 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.5.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.5.0::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.5.0 * The complete build log is located at '/var/log/portage/media-libs:opencv-4.5.0:20201017-174224.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/opencv-4.5.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-4.5.0/temp/environment'. * Working directory: '/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0_build-abi_x86_64.amd64' * S: '/var/tmp/portage/media-libs/opencv-4.5.0/work/opencv-4.5.0'