-- 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 - 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 5785: Called cmake-multilib_src_configure * environment, line 1508: Called multilib-minimal_src_configure * environment, line 4512: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 4762: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4467: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4465: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 765: Called multilib-minimal_abi_src_configure * environment, line 4506: Called multilib_src_configure * environment, line 4997: Called cmake_src_configure * environment, line 1769: 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="/etc/java-config-2/current-system-vm" 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' * Messages for package media-libs/opencv-4.5.5-r1: * 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 5785: Called cmake-multilib_src_configure * environment, line 1508: Called multilib-minimal_src_configure * environment, line 4512: Called multilib_foreach_abi 'multilib-minimal_abi_src_configure' * environment, line 4762: Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4467: Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure' * environment, line 4465: Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure' * environment, line 765: Called multilib-minimal_abi_src_configure * environment, line 4506: Called multilib_src_configure * environment, line 4997: Called cmake_src_configure * environment, line 1769: 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'`. * 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'