tags 745598 + patch tags 745598 + pending thanks Dear maintainer,
The problem is that cmake finds Python 3 and prefers that over Python 2 when building the extension. Build-Conflicting python3-dev would be a solution. Or we could tell cmake to use Python 2.7, which I prefer, as Build-Conflics are ugly ;) I've prepared an NMU for libkolab (versioned as 0.4.2-7.1) and uploaded it to DELAYED/10. Please feel free to tell me if I should cancel it, if you want the conflicts fix instead. Regards.
diff -Nru libkolab-0.4.2/debian/changelog libkolab-0.4.2/debian/changelog --- libkolab-0.4.2/debian/changelog 2013-08-28 20:21:32.000000000 +0200 +++ libkolab-0.4.2/debian/changelog 2014-04-27 13:16:32.000000000 +0200 @@ -1,3 +1,11 @@ +libkolab (0.4.2-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Build explicitely against Python 2.7, even if 3.x is installed. + Closes: #745598 + + -- Evgeni Golov <evgeni.go...@credativ.de> Sun, 27 Apr 2014 13:15:28 +0200 + libkolab (0.4.2-7) unstable; urgency=low * Fix saving of pictures to kabc resources (Closes: #721099) diff -Nru libkolab-0.4.2/debian/patches/series libkolab-0.4.2/debian/patches/series --- libkolab-0.4.2/debian/patches/series 2013-08-28 20:21:32.000000000 +0200 +++ libkolab-0.4.2/debian/patches/series 2014-04-27 13:13:14.000000000 +0200 @@ -3,3 +3,4 @@ simpler_cmake_test.patch libkolab-0.3.1-php-paths.patch add-linker-flags.patch +use-python2-only.patch diff -Nru libkolab-0.4.2/debian/patches/use-python2-only.patch libkolab-0.4.2/debian/patches/use-python2-only.patch --- libkolab-0.4.2/debian/patches/use-python2-only.patch 1970-01-01 01:00:00.000000000 +0100 +++ libkolab-0.4.2/debian/patches/use-python2-only.patch 2014-04-27 13:24:36.000000000 +0200 @@ -0,0 +1,12 @@ +Index: libkolab-0.4.2/CMakeLists.txt +=================================================================== +--- libkolab-0.4.2.orig/CMakeLists.txt 2014-04-27 12:29:12.000000000 +0200 ++++ libkolab-0.4.2/CMakeLists.txt 2014-04-27 13:24:32.599020139 +0200 +@@ -62,6 +62,7 @@ + find_package(KdepimLibs 4.8 REQUIRED) + endif() + ++set(PythonLibs_FIND_VERSION 2.7) + find_package(SWIG) + + #Show summary of found libraries