Bug#697740: src:linux: Missing python build-dep bump since r18491
Package: src:linux
Version: 3.2.35-2
Severity: normal
Tags: patch
Hi,
tracking down a bug in wacom, I followed the kernel handbook and got an
error in an outdated sid chroot (python still at 2.6):
cyril@Cygnus:~/linux-3.7.1$ fakeroot make -f debian/rules.gen binary-arch_i386_none_486
make -f debian/rules.real binary-arch-flavour ABINAME='3.7-trunk' ABINAME_PART='-trunk' ARCH='i386' COMPILER='gcc-4.7' FEATURESET='none' FLAVOUR='486' KCONFIG='debian/config/config debian/config/kernelarch-x86/config debian/config/kernelarch-x86/config-arch-32 debian/config/i386/config.486' KERNEL_ARCH='x86' LOCALVERSION='-486' LOCALVERSION_HEADERS='' LOCALVERSION_IMAGE='-486' MODULES='True' SOURCEVERSION='3.7.1-1~experimental.2' TYPE='plain' UPSTREAMVERSION='3.7' VERSION='3.7'
make[1]: Entering directory `/home/cyril/linux-3.7.1'
mkdir -p 'debian/build/'
python debian/bin/kconfig.py 'debian/build/config.i386_none_486' debian/config/config debian/config/kernelarch-x86/config debian/config/kernelarch-x86/config-arch-32 debian/config/i386/config.486
Traceback (most recent call last):
File "debian/bin/kconfig.py", line 8, in <module>
from debian_linux.kconfig import *
File "/home/cyril/linux-3.7.1/debian/lib/python/debian_linux/kconfig.py", line 1, in <module>
from collections import OrderedDict
ImportError: cannot import name OrderedDict
make[1]: *** [debian/build/config.i386_none_486] Error 1
make[1]: Leaving directory `/home/cyril/linux-3.7.1'
make: *** [binary-arch_i386_none_486_real] Error 2
Please find attached a patch (against the svn sid branch) to fix that.
Mraw,
KiBi.
Index: debian/changelog
===================================================================
--- debian/changelog (revision 19720)
+++ debian/changelog (working copy)
@@ -70,6 +70,10 @@
[ Aurelien Jarno ]
* [armhf/vexpress] Add kernel udebs.
+ [ Cyril Brulebois ]
+ * Bump python build-dep, needed since the switch from local SortedDict
+ to collections.OrderedDict (new in version 2.7).
+
-- Ben Hutchings <ben@decadent.org.uk> Thu, 27 Dec 2012 02:17:44 +0100
linux (3.2.35-2) unstable; urgency=low
Index: debian/templates/control.source.in
===================================================================
--- debian/templates/control.source.in (revision 19720)
+++ debian/templates/control.source.in (working copy)
@@ -3,7 +3,7 @@
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Uploaders: Bastian Blank <waldi@debian.org>, Frederik Schüler <fs@debian.org>, maximilian attems <maks@debian.org>, Ben Hutchings <ben@decadent.org.uk>
Standards-Version: 3.9.2
-Build-Depends: debhelper (>> 7), cpio, kmod | module-init-tools, python (>= 2.6.6-3~), lzma [armel], kernel-wedge (>= 2.84), quilt, patchutils
+Build-Depends: debhelper (>> 7), cpio, kmod | module-init-tools, python (>= 2.7), lzma [armel], kernel-wedge (>= 2.84), quilt, patchutils
Build-Depends-Indep: bzip2, xmlto
Vcs-Svn: svn://svn.debian.org/svn/kernel/dists/trunk/linux/
Vcs-Browser: http://anonscm.debian.org/viewvc/kernel/dists/trunk/linux/
Reply to: