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

Bug 348219

Summary: media-sound/frescobaldi-1.0.2 fails to build with Python 2.7
Product: Gentoo Linux Reporter: Bertrand Piétu <pietuguitarra>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: pqGungnir
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 292401    
Attachments: ebuild for frescobaldi-1.0.3 with patch for Python 2.7
patch for Python 2.7

Description Bertrand Piétu 2010-12-08 23:14:46 UTC
It fails with:


-- Found PythonInterp: /usr/bin/python
CMake Error at cmake/modules/Python.cmake:11 (message):
  Some packages have outdated versions:

  Python version 2.7.1 found, but need 2.4, 2.5 or 2.6.

Call Stack (most recent call first):
  CMakeLists.txt:15 (python_test_script)

Same with frescobaldi-1.0.3.


Reproducible: Always
Comment 1 Matthias Liebig 2010-12-10 16:24:01 UTC
The Python version is explicitly checked in checkmodules.py. The latest development release (1.1.8) compiles fine with python-2.7.1 and seems to work.
Comment 2 Bertrand Piétu 2010-12-10 23:43:41 UTC
frescobaldi-1.1.8 compiles fine here too but is not stable. frescobaldi-1.0.2 (1.0.3 is the latest stable version) works fine with python-2.7.1. Only the compilation does not work.
Comment 3 Matthias Liebig 2010-12-12 19:09:33 UTC
Created attachment 256977 [details]
ebuild for frescobaldi-1.0.3 with patch for Python 2.7
Comment 4 Matthias Liebig 2010-12-12 19:10:11 UTC
Created attachment 256978 [details, diff]
patch for Python 2.7
Comment 5 Matthias Liebig 2010-12-12 19:13:21 UTC
Please try the attached patch. It should also work with frescobaldi-1.0.2.
Comment 6 Bertrand Piétu 2010-12-13 23:39:15 UTC
It works perfectly with frescobaldi-1.0.3. Thanks!
Comment 7 Matthias Liebig 2010-12-14 16:01:29 UTC
Maybe you could change this bug report, so that it blocks Bug #292401 (tracker for python 2.7 incompatible pkgs). That way it could receive some attention from the Gentoo Python team.
Comment 8 Bertrand Piétu 2010-12-14 19:02:02 UTC
done.
Comment 9 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-12-29 09:14:33 UTC
The patch looks good, presumably this could just get committed.
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2011-01-03 20:29:28 UTC
Committed (1.0.3). Thanks Matthias & Dirkjan!