Source: kwwidgets
Version: 1.0.0~cvs20100930-4
Severity: serious
Tags: patch
Justification: fails to build from source

When built in an environment that has python2.6 installed (aside from the default python2.7), kwwidgets FTBFS:
| dh_installdirs -ppython-kwwidgets
| dh_install -ppython-kwwidgets      
usr/lib/python2.7/site-packages/KWWidgets-1.0*.egg-info               
usr/lib/python2.7/site-packages
| dh_install: python-kwwidgets missing files 
(usr/lib/python2.7/site-packages/KWWidgets-1.0*.egg-info), aborting
| make: *** [install/python-kwwidgets] Error 2

Full build log:
https://buildd.debian.org/status/fetch.php?pkg=kwwidgets&arch=amd64&ver=1.0.0%7Ecvs20100930-4%2Bb1&stamp=1317447130

Patch attached.

--
Jakub Wilk
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -710,7 +710,7 @@
     VTK_USE_RENDERING OR VTK_USE_RENDERING_ISSET)
 
   find_program(PYTHON_EXECUTABLE
-    NAMES python2.6 python2.5 python2.4 python2.3 python2.2 python
+    NAMES python
     PATHS
     [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.6\\InstallPath]
     [HKEY_LOCAL_MACHINE\\SOFTWARE\\Python\\PythonCore\\2.5\\InstallPath]

Reply via email to