* Package: media-libs/opencv-4.5.5-r1 * Repository: gentoo * USE: abi_x86_64 amd64 contrib contribdnn cpu_flags_x86_sse cpu_flags_x86_sse2 cpu_flags_x86_sse3 eigen elibc_glibc features2d ffmpeg gphoto2 gstreamer ieee1394 jpeg jpeg2k kernel_linux openexr opengl openmp png python python_targets_python3_9 qt5 threads tiff userland_GNU v4l vaapi webp * FEATURES: network-sandbox preserve-libs sandbox usersandbox >>> Unpacking source... >>> Unpacking opencv-4.5.5.tar.gz to /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work >>> Unpacking opencv-4.5.5-fix-build-with-ffmpeg5.patch to /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work unpack opencv-4.5.5-fix-build-with-ffmpeg5.patch: file format not recognized. Ignoring. >>> Unpacking opencv-4.5.5_contrib.tar.gz to /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work >>> Unpacking opencv-3.4.0-face_landmark_model.tar.gz to /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work >>> Source unpacked in /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work >>> Preparing source in /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5 ... * Source directory (CMAKE_USE_DIR): "/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5" * Build directory (BUILD_DIR): "/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_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 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 ] * Applying opencv-4.5.0-link-with-cblas-for-lapack.patch ... [ ok ] * Applying opencv-4.5.5-fix-build-with-ffmpeg5.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 >>> Source prepared. >>> Configuring source in /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_configure * Source directory (CMAKE_USE_DIR): "/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5" * Build directory (BUILD_DIR): "/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64" cmake -C /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_DOWNLOAD=no -DWITH_QUIRC=OFF -DWITH_1394=yes -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=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=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=yes -DWITH_VA_INTEL=yes -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/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv_contrib-4.5.5/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=SSE;SSE2;SSE3; -DCPU_DISPATCH= -DBUILD_opencv_dnn=ON -DTINYDNN_ROOT=/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/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 -DBUILD_opencv_freetype=OFF -DBUILD_opencv_ovis=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=/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64/gentoo_toolchain.cmake /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5 loading initial cache file /var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64/gentoo_common_config.cmake -- The CXX compiler identification is GNU 11.3.0 -- The C compiler identification is GNU 11.3.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.9.12", minimum required is "3.2") -- Found PythonLibs: /usr/lib64/libpython3.9.so (found suitable exact version "3.9.12") -- 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_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 -- 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.3.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.37") -- Looking for /usr/include/libpng/png.h -- Looking for /usr/include/libpng/png.h - not found CMake Error at cmake/OpenCVFindLibsGUI.cmake:17 (find_package): Could not find a package configuration file provided by "Qt5" with any of the following names: Qt5Config.cmake qt5-config.cmake Add the installation prefix of "Qt5" to CMAKE_PREFIX_PATH or set "Qt5_DIR" to a directory containing one of the above files. If "Qt5" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): cmake/OpenCVFindLibsGUI.cmake:42 (ocv_find_package_Qt) CMakeLists.txt:730 (include) -- Configuring incomplete, errors occurred! See also "/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log". See also "/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64/CMakeFiles/CMakeError.log". * ERROR: media-libs/opencv-4.5.5-r1::gentoo failed (configure phase): * cmake failed * * Call stack: * ebuild.sh, line 127: Called src_configure * environment, line 5795: Called cmake-multilib_src_configure * environment, line 1503: Called multilib-minimal_src_configure * environment, line 4495: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 4745: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4450: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4448: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 736: Called multilib-minimal_abi_src_configure * environment, line 4489: Called multilib_src_configure * environment, line 4980: Called cmake_src_configure * environment, line 1764: 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.5.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/opencv-4.5.5-r1::gentoo'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info =opencv-4.5.5 * The complete build log is located at '/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/temp/environment'. * Working directory: '/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5_build-abi_x86_64.amd64' * S: '/var/calculate/tmp/portage/media-libs/opencv-4.5.5-r1/work/opencv-4.5.5'