Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681594 - media-libs/opencv-3.4.1-r5: CMake Error at cmake/OpenCVDetectPython.cmake:59 (if):
Summary: media-libs/opencv-3.4.1-r5: CMake Error at cmake/OpenCVDetectPython.cmake:59 ...
Status: RESOLVED DUPLICATE of bug 680824
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Amy Liffey
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-24 05:33 UTC by Anton Kochkov
Modified: 2019-03-24 12:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
full build log (opencv_build.log,745.64 KB, text/plain)
2019-03-24 05:33 UTC, Anton Kochkov
Details
CMakeOutput.log (opencv_CMakeOutput.log,185.32 KB, text/plain)
2019-03-24 05:36 UTC, Anton Kochkov
Details
CMakeError.log (opencv_CMakeError.log,15.30 KB, text/plain)
2019-03-24 05:36 UTC, Anton Kochkov
Details
emerge --info output (emerge_info.log,5.67 KB, text/plain)
2019-03-24 05:37 UTC, Anton Kochkov
Details

Note You need to log in before you can comment on or make changes to this bug.
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/libpython2.7.so (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 
 [31;01m*[0m Call stack:
 [31;01m*[0m     ebuild.sh, 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 
 [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:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
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]
CMakeOutput.log
Comment 2 Anton Kochkov 2019-03-24 05:36:48 UTC
Created attachment 570500 [details]
CMakeError.log
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 ***