[cmake-developers] Fwd: [Bug 1072964] New: Could NOT find PythonInterp
Orion Poplawski
orion at cora.nwra.com
Wed Mar 5 10:29:54 EST 2014
So, I reverted the patch in Fedora to that stated in
http://cmake.org/Bug/view.php?id=13794 and that seems to have
immediately broken things.
I'm attaching the version that Fedora has been carrying (and seemingly
working).
BTW - This seems to be a duplicate: http://cmake.org/Bug/view.php?id=10077
- Orion
-------- Original Message --------
Subject: [Bug 1072964] New: Could NOT find PythonInterp
Date: Wed, 05 Mar 2014 13:58:41 +0000
From: bugzilla at redhat.com
To: orion at cora.nwra.com
https://bugzilla.redhat.com/show_bug.cgi?id=1072964
Bug ID: 1072964
Summary: Could NOT find PythonInterp
Product: Fedora
Version: rawhide
Component: cmake
Assignee: orion at cora.nwra.com
Reporter: akozumpl at redhat.com
QA Contact: extras-qa at fedoraproject.org
CC: jreznik at redhat.com, ltinkl at redhat.com,
orion at cora.nwra.com, pertusus at free.fr,
pmachata at redhat.com, rdieter at math.unl.edu
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 at cora.nwra.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
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-FindPythonLibs.patch
Type: text/x-patch
Size: 1050 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20140305/59af9f54/attachment.bin>
More information about the cmake-developers
mailing list