[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug in Debian kernel build scripts




I've found a bug in the build process described in

http://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s4.2.5

Where should I report this? Details follow.

faheem@orwell:/usr/local/src/linux$ apt-get source linux-source-3.13
Reading package lists... Done
Building dependency tree
Reading state information... Done
Picking 'linux' as source package instead of 'linux-source-3.13'
NOTICE: 'linux' packaging is maintained in the 'Svn' version control system at:
svn://anonscm.debian.org/svn/kernel/dists/trunk/linux/
Need to get 78.8 MB of source archives.
Get:1 http://debian.lcs.mit.edu/debian/ experimental/main linux 3.13-1~exp1 (dsc) [92.1 kB]
Get:2 http://debian.lcs.mit.edu/debian/ experimental/main linux 3.13-1~exp1 (tar) [78.1 MB]

Put linux-3.13 directory under version control.

Make the following changes to debian files

1) In debian/config/defines change

compiler: gcc-4.8

to

compiler: gcc-4.7

2) In debian/config/amd64/defines change

debug-info: true

to

debug-info: false

3) In debian/config/i386/defines change

debug-info: true

to

debug-info: false

##############################################################################################################

There is a bug in this build process. I have the following files in a
patch. Here is the patch.

# HG changeset patch
# Parent 81a16b960a67fa08c9a298bc03c5acfd3d6f7437

diff -r 81a16b960a67 debian/config/amd64/defines
--- a/debian/config/amd64/defines
+++ b/debian/config/amd64/defines
@@ -5,7 +5,7 @@
 kernel-arch: x86

 [build]
-debug-info: true
+debug-info: false

 [image]
 bootloaders: grub-pc extlinux lilo
diff -r 81a16b960a67 debian/config/defines
--- a/debian/config/defines
+++ b/debian/config/defines
@@ -23,7 +23,7 @@
  sparc
  sparc64
  x32
-compiler: gcc-4.8
+compiler: gcc-4.7
 featuresets:
  none
  rt
@@ -50,4 +50,4 @@

 # initramfs-generators
 initramfs-fallback: linux-initramfs-tool
-initramfs-tools: initramfs-tools (>= 0.110~)
+initramfs-tools: initramfs-tools (>= 0.109.1)
diff -r 81a16b960a67 debian/config/i386/defines
--- a/debian/config/i386/defines
+++ b/debian/config/i386/defines
@@ -28,7 +28,7 @@
  i386/config.486

 [686-pae_build]
-debug-info: true
+debug-info: false

 [686-pae_description]
 hardware: modern PCs

I have this patch in a Mercurial queue, so I can pop it and push. If
the patched files are too old compared to other files in the
directory, the build fails. So

faheem@orwell:/usr/local/src/linux/linux-3.13$ ls -lah debian/config/amd64/defines debian/config/defines debian/config/i386/defines
-rw-r--r-- 1 faheem faheem  344 Feb 20 01:28 debian/config/amd64/defines
-rw-r--r-- 1 faheem faheem  789 Feb 20 01:28 debian/config/defines
-rw-r--r-- 1 faheem faheem 1.1K Feb 20 01:28 debian/config/i386/defines

The other files with recent timestamps. Notice some of these have been
changed more recently.

faheem@orwell:/usr/local/src/linux/linux-3.13$ ls -lah debian/ | grep Feb\ 20
drwxr-xr-x 10 faheem faheem  36K Feb 20 01:38 .
drwxr-xr-x 25 faheem faheem 4.0K Feb 20 01:38 ..
drwxr-xr-x 25 faheem faheem 4.0K Feb 20 01:28 config
-rw-r--r--  1 faheem faheem  20K Feb 20 01:37 config.defines.dump
-rw-r--r--  1 faheem faheem 334K Feb 20 01:37 control
-rw-r--r--  1 faheem faheem 5.3K Feb 20 01:37 control.md5sum
-rw-r--r--  1 faheem faheem  926 Feb 20 01:29 linux-headers-3.13-trunk-486.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-4kc-malta.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-5kc-malta.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-686-pae.postinst
-rw-r--r--  1 faheem faheem  936 Feb 20 01:29 linux-headers-3.13-trunk-alpha-generic.postinst
-rw-r--r--  1 faheem faheem  935 Feb 20 01:29 linux-headers-3.13-trunk-alpha-legacy.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-alpha-smp.postinst
-rw-r--r--  1 faheem faheem  928 Feb 20 01:29 linux-headers-3.13-trunk-amd64.postinst
-rw-r--r--  1 faheem faheem  933 Feb 20 01:29 linux-headers-3.13-trunk-armmp-lpae.postinst
-rw-r--r--  1 faheem faheem  928 Feb 20 01:29 linux-headers-3.13-trunk-armmp.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-itanium.postinst
-rw-r--r--  1 faheem faheem  929 Feb 20 01:29 linux-headers-3.13-trunk-ixp4xx.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-kirkwood.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-loongson-2e.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-loongson-2f.postinst
-rw-r--r--  1 faheem faheem  927 Feb 20 01:29 linux-headers-3.13-trunk-m68k.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-mckinley.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-mv78xx0.postinst
-rw-r--r--  1 faheem faheem  929 Feb 20 01:29 linux-headers-3.13-trunk-octeon.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-orion5x.postinst
-rw-r--r--  1 faheem faheem  935 Feb 20 01:29 linux-headers-3.13-trunk-parisc64-smp.postinst
-rw-r--r--  1 faheem faheem  929 Feb 20 01:29 linux-headers-3.13-trunk-parisc.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-powerpc64.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-powerpc.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-powerpc-smp.postinst
-rw-r--r--  1 faheem faheem  933 Feb 20 01:29 linux-headers-3.13-trunk-powerpcspe.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-r4k-ip22.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-r5k-ip32.postinst
-rw-r--r--  1 faheem faheem  928 Feb 20 01:29 linux-headers-3.13-trunk-s390x.postinst
-rw-r--r--  1 faheem faheem  937 Feb 20 01:29 linux-headers-3.13-trunk-sb1a-bcm91480b.postinst
-rw-r--r--  1 faheem faheem  936 Feb 20 01:29 linux-headers-3.13-trunk-sb1-bcm91250a.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-sh7751r.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-sh7785lcr.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-sparc64.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-sparc64-smp.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-versatile.postinst
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-486.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-486.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-486.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-486.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-486.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.templates
-rw-r--r--  1 faheem faheem  123 Feb 20 00:31 linux-image-3.13-trunk-686-pae-dbg.lintian-overrides
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-686-pae.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-686-pae.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-686-pae.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-686-pae.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-686-pae.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.templates
-rw-r--r--  1 faheem faheem  121 Feb 20 00:34 linux-image-3.13-trunk-amd64-dbg.lintian-overrides
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-amd64.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-amd64.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-amd64.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-amd64.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-amd64.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-armmp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-armmp.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-armmp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-armmp.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-armmp.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-itanium.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-itanium.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-itanium.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-itanium.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-itanium.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-m68k.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-m68k.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-m68k.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-m68k.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-m68k.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-mckinley.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-mckinley.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-mckinley.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-mckinley.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-mckinley.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-octeon.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-octeon.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-octeon.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-octeon.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-octeon.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-orion5x.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-orion5x.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-orion5x.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-orion5x.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-orion5x.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-parisc.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-parisc.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-parisc.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-parisc.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-parisc.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpc.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpc.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpc.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpc.prerm
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.templates
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpc.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.templates
-rw-r--r--  1 faheem faheem  121 Feb 20 01:29 linux-image-3.13-trunk-s390x-dbg.lintian-overrides
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-s390x.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-s390x.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-s390x.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-s390x.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-s390x.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sparc64.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sparc64.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sparc64.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sparc64.prerm
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.templates
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sparc64.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-versatile.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-versatile.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-versatile.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-versatile.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-versatile.templates
-rw-r--r--  1 faheem faheem 143K Feb 20 01:37 rules.gen

The following command fails to update debian/control as it should. No
idea what is happening.

faheem@orwell:/usr/local/src/linux/linux-3.13$ fakeroot debian/rules source
dh_testdir
/usr/bin/make -f debian/rules.gen source
make[1]: Entering directory `/usr/local/src/linux/linux-3.13'
/usr/bin/make -f debian/rules.real source-featureset ABINAME='3.13-trunk' ABINAME_PART='-trunk' FEATURESET='none' SOURCEVERSION='3.13-1~exp1' UPSTREAMVERSION='3.13' VERSION='3.13'
make[2]: Entering directory `/usr/local/src/linux/linux-3.13'
test -d .pc
set +e; QUILT_PC=.pc quilt unapplied --quiltrc - >/dev/null && echo 'Patch series not fully applied'; test $? -eq 1
File series fully applied, ends at patch bugfix/arm/ARM-orion-provide-C-style-interrupt-handler-for-MULTI_IRQ_HANDLER.patch
mkdir -p 'debian/build'
rm -f 'debian/build/source_none'
ln -s '/usr/local/src/linux/linux-3.13' 'debian/build/source_none'
make[2]: Leaving directory `/usr/local/src/linux/linux-3.13'
make[1]: Leaving directory `/usr/local/src/linux/linux-3.13'

These are the files which have been modified.

faheem@orwell:/usr/local/src/linux/linux-3.13$ hg st
? debian/build/source_none
? debian/stamps/source
? debian/stamps/source_none

Now, try building the kernel. It fails, looking for gcc 4.8.

faheem@orwell:/usr/local/src/linux/linux-3.13$ fakeroot make -f debian/rules.gen binary-arch_amd64_none_amd64

scripts/kconfig/conf --silentoldconfig Kconfig
/usr/local/src/linux/linux-3.13/arch/x86/Makefile:98: stack protector enabled but no compiler support
make[4]: gcc-4.8: Command not found
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_64.h
  SYSHDR  arch/x86/syscalls/../include/generated/uapi/asm/unistd_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_32_ia32.h
  SYSHDR  arch/x86/syscalls/../include/generated/asm/unistd_64_x32.h
  SYSTBL  arch/x86/syscalls/../include/generated/asm/syscalls_64.h
  HOSTCC  arch/x86/tools/relocs_32.o
  HOSTCC  arch/x86/tools/relocs_64.o
  HOSTCC  arch/x86/tools/relocs_common.o
  HOSTLD  arch/x86/tools/relocs
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  Using /usr/local/src/linux/linux-3.13 as source for kernel
  GEN     /usr/local/src/linux/linux-3.13/debian/build/build_amd64_none_amd64/Makefile
  WRAP    arch/x86/include/generated/asm/clkdev.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  CHK     include/generated/package.h
  UPD     include/generated/package.h
  CC      kernel/bounds.s
/bin/sh: 1: gcc-4.8: not found
make[5]: *** [kernel/bounds.s] Error 127
make[4]: *** [prepare0] Error 2
make[3]: *** [sub-make] Error 2
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/src/linux/linux-3.13/debian/build/build_amd64_none_amd64'
make[1]: *** [debian/stamps/build_amd64_none_amd64_plain] Error 2
make[1]: Leaving directory `/usr/local/src/linux/linux-3.13'
make: *** [binary-arch_amd64_none_amd64_real] Error 2
faheem@orwell:/usr/local/src/linux/linux-3.13$

Now do a

$ hg qpop

followed by a

$ hg qpush

Now the files have a newer timestamp.

faheem@orwell:/usr/local/src/linux/linux-3.13$ ls -lah debian/config/amd64/defines debian/config/defines debian/config/i386/defines
-rw-r--r-- 1 faheem faheem  344 Feb 20 01:58 debian/config/amd64/defines
-rw-r--r-- 1 faheem faheem  789 Feb 20 01:58 debian/config/defines
-rw-r--r-- 1 faheem faheem 1.1K Feb 20 01:58 debian/config/i386/defines

These are now newer than the other files with a Feb 20 timestamp.

faheem@orwell:/usr/local/src/linux/linux-3.13$ ls -lah debian/ | grep Feb\ 20
drwxr-xr-x 10 faheem faheem  36K Feb 20 01:58 .
drwxr-xr-x 25 faheem faheem 4.0K Feb 20 01:58 ..
drwxr-xr-x 25 faheem faheem 4.0K Feb 20 01:58 config
-rw-r--r--  1 faheem faheem  20K Feb 20 01:37 config.defines.dump
-rw-r--r--  1 faheem faheem 334K Feb 20 01:37 control
-rw-r--r--  1 faheem faheem 5.3K Feb 20 01:37 control.md5sum
-rw-r--r--  1 faheem faheem  926 Feb 20 01:29 linux-headers-3.13-trunk-486.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-4kc-malta.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-5kc-malta.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-686-pae.postinst
-rw-r--r--  1 faheem faheem  936 Feb 20 01:29 linux-headers-3.13-trunk-alpha-generic.postinst
-rw-r--r--  1 faheem faheem  935 Feb 20 01:29 linux-headers-3.13-trunk-alpha-legacy.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-alpha-smp.postinst
-rw-r--r--  1 faheem faheem  928 Feb 20 01:29 linux-headers-3.13-trunk-amd64.postinst
-rw-r--r--  1 faheem faheem  933 Feb 20 01:29 linux-headers-3.13-trunk-armmp-lpae.postinst
-rw-r--r--  1 faheem faheem  928 Feb 20 01:29 linux-headers-3.13-trunk-armmp.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-itanium.postinst
-rw-r--r--  1 faheem faheem  929 Feb 20 01:29 linux-headers-3.13-trunk-ixp4xx.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-kirkwood.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-loongson-2e.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-loongson-2f.postinst
-rw-r--r--  1 faheem faheem  927 Feb 20 01:29 linux-headers-3.13-trunk-m68k.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-mckinley.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-mv78xx0.postinst
-rw-r--r--  1 faheem faheem  929 Feb 20 01:29 linux-headers-3.13-trunk-octeon.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-orion5x.postinst
-rw-r--r--  1 faheem faheem  935 Feb 20 01:29 linux-headers-3.13-trunk-parisc64-smp.postinst
-rw-r--r--  1 faheem faheem  929 Feb 20 01:29 linux-headers-3.13-trunk-parisc.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-powerpc64.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-powerpc.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-powerpc-smp.postinst
-rw-r--r--  1 faheem faheem  933 Feb 20 01:29 linux-headers-3.13-trunk-powerpcspe.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-r4k-ip22.postinst
-rw-r--r--  1 faheem faheem  931 Feb 20 01:29 linux-headers-3.13-trunk-r5k-ip32.postinst
-rw-r--r--  1 faheem faheem  928 Feb 20 01:29 linux-headers-3.13-trunk-s390x.postinst
-rw-r--r--  1 faheem faheem  937 Feb 20 01:29 linux-headers-3.13-trunk-sb1a-bcm91480b.postinst
-rw-r--r--  1 faheem faheem  936 Feb 20 01:29 linux-headers-3.13-trunk-sb1-bcm91250a.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-sh7751r.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-sh7785lcr.postinst
-rw-r--r--  1 faheem faheem  930 Feb 20 01:29 linux-headers-3.13-trunk-sparc64.postinst
-rw-r--r--  1 faheem faheem  934 Feb 20 01:29 linux-headers-3.13-trunk-sparc64-smp.postinst
-rw-r--r--  1 faheem faheem  932 Feb 20 01:29 linux-headers-3.13-trunk-versatile.postinst
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-486.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-486.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-486.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-486.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-486.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-4kc-malta.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-5kc-malta.templates
-rw-r--r--  1 faheem faheem  123 Feb 20 00:31 linux-image-3.13-trunk-686-pae-dbg.lintian-overrides
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-686-pae.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-686-pae.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-686-pae.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-686-pae.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-686-pae.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-alpha-generic.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-alpha-legacy.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-alpha-smp.templates
-rw-r--r--  1 faheem faheem  121 Feb 20 00:34 linux-image-3.13-trunk-amd64-dbg.lintian-overrides
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-amd64.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-amd64.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-amd64.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-amd64.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-amd64.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-armmp-lpae.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-armmp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-armmp.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-armmp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-armmp.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-armmp.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-itanium.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-itanium.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-itanium.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-itanium.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-itanium.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-ixp4xx.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-kirkwood.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-loongson-2e.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-loongson-2f.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-m68k.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-m68k.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-m68k.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-m68k.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-m68k.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-mckinley.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-mckinley.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-mckinley.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-mckinley.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-mckinley.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-mv78xx0.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-octeon.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-octeon.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-octeon.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-octeon.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-octeon.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-orion5x.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-orion5x.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-orion5x.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-orion5x.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-orion5x.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-parisc64-smp.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-parisc.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-parisc.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-parisc.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-parisc.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-parisc.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpc64.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpc.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpc.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpc.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpc.prerm
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpc-smp.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpcspe.templates
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-powerpc.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-r4k-ip22.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-r5k-ip32.templates
-rw-r--r--  1 faheem faheem  121 Feb 20 01:29 linux-image-3.13-trunk-s390x-dbg.lintian-overrides
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-s390x.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-s390x.postrm
-rw-r--r--  1 faheem faheem 2.8K Feb 20 01:29 linux-image-3.13-trunk-s390x.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-s390x.prerm
-rw-r--r--  1 faheem faheem 1.5K Feb 20 01:29 linux-image-3.13-trunk-s390x.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sb1a-bcm91480b.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sb1-bcm91250a.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sh7751r.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sh7785lcr.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sparc64.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sparc64.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sparc64.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sparc64.prerm
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sparc64-smp.templates
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-sparc64.templates
-rw-r--r--  1 faheem faheem  19K Feb 20 01:29 linux-image-3.13-trunk-versatile.postinst
-rw-r--r--  1 faheem faheem 7.3K Feb 20 01:29 linux-image-3.13-trunk-versatile.postrm
-rw-r--r--  1 faheem faheem 2.9K Feb 20 01:29 linux-image-3.13-trunk-versatile.preinst
-rw-r--r--  1 faheem faheem 4.0K Feb 20 01:29 linux-image-3.13-trunk-versatile.prerm
-rw-r--r--  1 faheem faheem 1.6K Feb 20 01:29 linux-image-3.13-trunk-versatile.templates
-rw-r--r--  1 faheem faheem 143K Feb 20 01:37 rules.gen

Now this commands work as expected, and updates `debian/control`.

faheem@orwell:/usr/local/src/linux/linux-3.13$ fakeroot debian/rules source
md5sum --check debian/control.md5sum --status || \
                /usr/bin/make -f debian/rules debian/control-real
make[1]: Entering directory `/usr/local/src/linux/linux-3.13'
debian/bin/gencontrol.py
md5sum debian/bin/gencontrol.py debian/changelog debian/templates/control.extra.in debian/templates/control.headers.arch.in debian/templates/control.headers.featureset.in debian/templates/control.headers.in debian/templates/control.image-dbg.in debian/templates/control.image.type-plain.in debian/templates/control.image.type-standalone.in debian/templates/control.libc-dev.in debian/templates/control.main.in debian/templates/control.source.in debian/templates/control.xen-linux-system.in debian/templates/headers.plain.postinst.in debian/templates/image-dbg.lintian-override.in debian/templates/image.plain.postinst.in debian/templates/image.plain.postrm.in debian/templates/image.plain.preinst.in debian/templates/image.plain.prerm.in debian/templates/image.plain.templates.in debian/config/defines debian/config/alpha/defines debian/config/amd64/defines debian/config/arm64/defines debian/config/armel/defines debian/config/armhf/defines debian/config/featureset-rt/defines debian/conf!
ig/hppa/defines debian/config/i386/defines debian/config/ia64/defines debian/config/m68k/defines debian/config/mips/defines debian/config/mipsel/defines debian/config/powerpc/defines debian/config/powerpcspe/defines debian/config/ppc64/defines debian/config/s390/defines debian/config/s390x/defines debian/config/sh4/defines debian/config/sparc64/defines debian/config/sparc/defines debian/config/x32/defines debian/config/amd64/none/defines debian/config/amd64/rt/defines debian/config/i386/none/defines debian/config/i386/rt/defines debian/installer/amd64/kernel-versions debian/installer/armel/kernel-versions debian/installer/armhf/kernel-versions debian/installer/hppa/kernel-versions debian/installer/i386/kernel-versions debian/installer/ia64/kernel-versions debian/installer/m68k/kernel-versions debian/installer/mipsel/kernel-versions debian/installer/mips/kernel-versions debian/installer/powerpc/kernel-versions debian/installer/ppc64/kernel-versions debian/installer/s390/kern!
el-versions debian/installer/s390x/kernel-versions debian/installer/sh4/kernel-versions debian/installer/sparc64/kernel-versions debian/installer/sparc/kernel-versions debian/installer/amd64/package-list debian/installer/armel/package-list debian/installer/armhf/package-list debian/installer/hppa/package-list debian/installer/i386/package-list debian/installer/ia64/package-list debian/installer/m68k/package-list debian/installer/mipsel/package-list debian/installer/mips/package-list debian/installer/powerpc/package-list debian/installer/ppc64/package-list debian/installer/s390/package-list debian/installer/s390x/package-list debian/installer/sh4/package-list debian/installer/sparc64/package-list debian/installer/sparc/package-list debian/installer/package-list > debian/control.md5sum

This target is made to fail intentionally, to make sure
that it is NEVER run during the automated build. Please
ignore the following error, the debian/control file has
been generated SUCCESSFULLY.

exit 1
make[1]: *** [debian/control-real] Error 1
make[1]: Leaving directory `/usr/local/src/linux/linux-3.13'
make: *** [debian/control] Error 2

Notice the files that have been changed.

faheem@orwell:/usr/local/src/linux/linux-3.13$ hg st
M debian/config.defines.dump
M debian/control
M debian/control.md5sum
M debian/rules.gen
? debian/lib/python/debian_linux/__init__.pyc
? debian/lib/python/debian_linux/config.pyc
? debian/lib/python/debian_linux/debian.pyc
? debian/lib/python/debian_linux/gencontrol.pyc
? debian/lib/python/debian_linux/utils.pyc

Now

fakeroot make -f debian/rules.gen binary-arch_amd64_none_amd64

works, but if I interrupt it , and hg purge, I get the same behavior
again.

Reply to: