[Build-common-hackers] Bug#381583: python-numpy (and other python packages) FTFBS with current cdbs

Matthias Klose doko at cs.tu-berlin.de
Sat Aug 5 16:19:19 UTC 2006


Package: cdbs
Version: 0.4.46
Severity: serious
Tags: patch

pyversions -vr calls are missing a parameter.

--- python-distutils.mk~	2006-08-05 18:17:40.590635072 +0200
+++ python-distutils.mk	2006-08-05 18:18:36.200181136 +0200
@@ -167,14 +167,14 @@
 cdbs_python_current_version := $(shell pyversions -vd)
 ifeq (all, $(cdbs_python_module_arch))
   # check if current is in build versions
-  ifneq ($(cdbs_python_current_version), $(filter $(cdbs_python_current_version), $(shell pyversions -vr)))
-    cdbs_python_compile_version := $(firstword $(strip $(sort $(shell pyversions -vr))))
+  ifneq ($(cdbs_python_current_version), $(filter $(cdbs_python_current_version), $(shell pyversions -vr debian/control)))
+    cdbs_python_compile_version := $(firstword $(strip $(sort $(shell pyversions -vr debian/control))))
     cdbs_python_build_versions := $(cdbs_python_compile_version)
   else
     cdbs_python_build_versions := $(cdbs_python_current_version)
   endif
 else
-cdbs_python_build_versions := $(shell pyversions -vr)
+cdbs_python_build_versions := $(shell pyversions -vr debian/control)
 endif # archall
 
 # check if build is possible




More information about the Build-common-hackers mailing list