Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 348483 - app-pda/libopensync-0.36-r1 fails to configure with Python 2.7
Summary: app-pda/libopensync-0.36-r1 fails to configure with Python 2.7
Status: RESOLVED DUPLICATE of bug 276220
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 354423
  Show dependency tree
 
Reported: 2010-12-12 09:14 UTC by infobox.oleg
Modified: 2011-02-10 23:50 UTC (History)
2 users (show)

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


Attachments
patch to support compilation against python 2.7 (libopensync-py2.6-py2.7.patch,2.47 KB, patch)
2010-12-12 09:15 UTC, infobox.oleg
Details | Diff
libopensync-0.36-r1.ebuild.patch using cmake patch (libopensync-0.36-r1.ebuild.patch,305 bytes, patch)
2010-12-12 09:19 UTC, infobox.oleg
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description infobox.oleg 2010-12-12 09:14:30 UTC
I've recently moved to python 2.7 and libopensync failed to compile:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
PYTHON_INCLUDE_PATH
   used as include directory in directory /var/tmp/portage/app-pda/libopensync-0.36-r1/work/libopensync-0.36/wrapper

The issue is with libopensync looking for python in FindPythonLibs.cmake. I've created a patch to support python 2.7. This should be applied after the patch, which adds python 2.6 support (already in portage).

Feel free to include this into portage.

Oleg

Reproducible: Always
Comment 1 infobox.oleg 2010-12-12 09:15:32 UTC
Created attachment 256945 [details, diff]
patch to support compilation against python 2.7
Comment 2 infobox.oleg 2010-12-12 09:19:57 UTC
Created attachment 256946 [details, diff]
libopensync-0.36-r1.ebuild.patch using cmake patch
Comment 3 infobox.oleg 2010-12-12 09:40:42 UTC
OR maybe use approach in http://bugs.gentoo.org/show_bug.cgi?id=276220#c19
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-14 23:32:59 UTC
Don't CC maintainers when you cannot assign bugs.
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2011-02-10 22:34:18 UTC

*** This bug has been marked as a duplicate of bug 276220 ***