Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348219 - media-sound/frescobaldi-1.0.2 fails to build with Python 2.7
Summary: media-sound/frescobaldi-1.0.2 fails to build with Python 2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2010-12-08 23:14 UTC by Bertrand Piétu
Modified: 2011-01-03 20:29 UTC (History)
1 user (show)

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


Attachments
ebuild for frescobaldi-1.0.3 with patch for Python 2.7 (frescobaldi-1.0.3.ebuild,908 bytes, text/plain)
2010-12-12 19:09 UTC, Matthias Liebig
Details
patch for Python 2.7 (frescobaldi-1.0.3-python-2.7.patch,698 bytes, patch)
2010-12-12 19:10 UTC, Matthias Liebig
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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!