Bug 1072964 - Could NOT find PythonInterp
Summary: Could NOT find PythonInterp
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-05 13:58 UTC by Ales Kozumplik
Modified: 2014-09-30 23:42 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-03-06 15:58:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ales Kozumplik 2014-03-05 13:58:41 UTC
Hello, DNF rawhide builds started to fail today:

http://kojipkgs.fedoraproject.org//work/tasks/4/6600004/build.log

The most relevant part is below. dgilmore noticed there has been this change in CMake:

[14:49]<dgilmore> akozumpl: cmake-3.0.0-0.3.rc1.fc21
[14:49]<dgilmore> ------------------------
[14:49]<dgilmore> * Mon Mar 03 2014 Orion Poplawski <orion.com> -
       3.0.0-0.3.rc1
[14:49]<dgilmore> - Update to upstreams version of FindPythonLibs patch

so we think it's probable cmake is causing this. mock builds are passing so far.

-- Found PythonLibs: /usr/lib64/libpython3.3m.so (found suitable version "3.3.2", minimum required is "3.0") 
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:136 (message):
  Could NOT find PythonInterp: Found unsuitable version "2.7.6", but required
  is at least "3.0" (found /usr/bin/python)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:341 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindPythonInterp.cmake:153 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:18 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/builddir/build/BUILD/dnf/py3/CMakeFiles/CMakeOutput.log".
error: Bad exit status from /var/tmp/rpm-tmp.eGxvxC (%build)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.eGxvxC (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/dnf.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/dnf.spec']
LEAVE do --> EXCEPTION RAISED

Comment 1 Orion Poplawski 2014-03-05 18:15:58 UTC
Please try cmake-3.0.0-0.4.rc1.fc21

Comment 2 Ales Kozumplik 2014-03-06 13:57:41 UTC
Thank you, build is all green now:

http://koji.fedoraproject.org/koji/taskinfo?taskID=6605043


Note You need to log in before you can comment on or make changes to this bug.