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

Bug 348483

Summary: app-pda/libopensync-0.36-r1 fails to configure with Python 2.7
Product: Gentoo Linux Reporter: infobox.oleg
Component: [OLD] LibraryAssignee: Piotr JaroszyƄski (RETIRED) <peper>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jimtahu, pda
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 354423    
Attachments: patch to support compilation against python 2.7
libopensync-0.36-r1.ebuild.patch using cmake patch

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 ***