Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 681594

Summary: media-libs/opencv-3.4.1-r5: CMake Error at cmake/OpenCVDetectPython.cmake:59 (if):
Product: Gentoo Linux Reporter: Anton Kochkov <anton.kochkov>
Component: Current packagesAssignee: Amy Liffey <amynka>
Severity: normal CC: dschridde+gentoobugs
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Attachments: full build log
emerge --info output

Description Anton Kochkov 2019-03-24 05:33:11 UTC
Created attachment 570496 [details]
full build log

-- Found PythonInterp: /var/tmp/portage/media-libs/opencv-3.4.1-r5/temp/python2.7/bin/python2 (found suitable version "2.7.16", minimum required is "2.7") 
-- Found PythonLibs: /usr/lib64/ (found suitable exact version "2.7.16") 
-- Found PythonInterp: /var/tmp/portage/media-libs/opencv-3.4.1-r5/temp/python2.7/bin/python3 (Required is at least version "3.4") 
CMake Error at cmake/OpenCVDetectPython.cmake:59 (if):
  if given arguments:

    "3" "EQUAL"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/OpenCVDetectPython.cmake:233 (find_python)
  CMakeLists.txt:556 (include)

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/media-libs/opencv-3.4.1-r5/work/opencv-3.4.1-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/media-libs/opencv-3.4.1-r5/work/opencv-3.4.1-abi_x86_64.amd64/CMakeFiles/CMakeError.log".
 [31;01m*[0m ERROR: media-libs/opencv-3.4.1-r5::gentoo failed (install phase):
 [31;01m*[0m   cmake failed
 [31;01m*[0m Call stack:
 [31;01m*[0m, line  124:  Called src_install
 [31;01m*[0m   environment, line 6551:  Called cmake-multilib_src_install
 [31;01m*[0m   environment, line 1204:  Called multilib-minimal_src_install
 [31;01m*[0m   environment, line 4844:  Called multilib_foreach_abi 'multilib-minimal_abi_src_install'
 [31;01m*[0m   environment, line 5039:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 [31;01m*[0m   environment, line 4731:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_install'
 [31;01m*[0m   environment, line 4729:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_install'
 [31;01m*[0m   environment, line  750:  Called multilib-minimal_abi_src_install
 [31;01m*[0m   environment, line 4834:  Called multilib_src_install
 [31;01m*[0m   environment, line 5277:  Called python_foreach_impl 'python_module_compile'
 [31;01m*[0m   environment, line 5967:  Called multibuild_foreach_variant '_python_multibuild_wrapper' 'python_module_compile'
 [31;01m*[0m   environment, line 4731:  Called _multibuild_run '_python_multibuild_wrapper' 'python_module_compile'
 [31;01m*[0m   environment, line 4729:  Called _python_multibuild_wrapper 'python_module_compile'
 [31;01m*[0m   environment, line  879:  Called python_module_compile
 [31;01m*[0m   environment, line 6185:  Called cmake-utils_src_configure
 [31;01m*[0m   environment, line 1376:  Called die
 [31;01m*[0m The specific snippet of code:
 [31;01m*[0m       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-libs/opencv-3.4.1-r5::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-libs/opencv-3.4.1-r5::gentoo'`.
!!! When you file a bug report, please include the following information:
and of course, the output of emerge --info =opencv-3.4.1
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-libs/opencv-3.4.1-r5/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-libs/opencv-3.4.1-r5/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-libs/opencv-3.4.1-r5/work/opencv-3.4.1-abi_x86_64.amd64'
 [31;01m*[0m S: '/var/tmp/portage/media-libs/opencv-3.4.1-r5/work/opencv-3.4.1'
Comment 1 Anton Kochkov 2019-03-24 05:36:17 UTC
Created attachment 570498 [details]
Comment 2 Anton Kochkov 2019-03-24 05:36:48 UTC
Created attachment 570500 [details]
Comment 3 Anton Kochkov 2019-03-24 05:37:20 UTC
Created attachment 570502 [details]
emerge --info output
Comment 4 Dennis Schridde 2019-03-24 08:34:58 UTC
Duplicate of bug #680824
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2019-03-24 12:45:02 UTC

*** This bug has been marked as a duplicate of bug 680824 ***