[Python-modules-team] Bug#862182: python-distutils-extra: Generated debian/rules file cannot be used with latest make
Vsevolod Velichko
torkvemada at sorokdva.net
Tue May 9 14:34:11 UTC 2017
Package: python-distutils-extra
Version: 2.40
Severity: important
Dear Maintainer,
debian/rules file generated by python-mkdebian is broken. Current version of GNU Make at least in Ubuntu Zesty complains about it:
debian/rules:4: *** missing separator (did you mean TAB instead of 8 spaces?).
So the package generated with python-mkdebian cannot be built.
Please consider the patch below:
========================================================================
diff --git a/debian/local/python-mkdebian b/debian/local/python-mkdebian
index 83226b9..1dd6312 100755
--- a/debian/local/python-mkdebian
+++ b/debian/local/python-mkdebian
@@ -74,9 +74,9 @@ override_dh_python2:
f.write('''#!/usr/bin/make -f
%%:
ifneq ($(shell dh -l | grep -xF translations),)
- dh $@ --with python2,translations
+\tdh $@ --with python2,translations
else
- dh $@ --with python2
+\tdh $@ --with python2
endif
%s
========================================================================
-- System Information:
Debian Release: stretch/sid
APT prefers zesty-updates
APT policy: (500, 'zesty-updates'), (500, 'zesty-security'), (500, 'zesty-proposed'), (500, 'zesty')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.10.0-21-generic (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-distutils-extra depends on:
ii intltool 0.51.0-3
pn python:any <none>
python-distutils-extra recommends no packages.
Versions of packages python-distutils-extra suggests:
ii devscripts 2.16.8ubuntu2
-- no debconf information
More information about the Python-modules-team
mailing list