Package: kernel-package
Version: 10.036
Severity: normal

The step of 'make-kpkg clean' where it performs

rm -f core `find . \( -name '*.orig' -o -name '*.rej' -o -name '*~'
 -o -name '*.bak' -o -name '#*#' -o -name '.*.orig'  -o
-name '.*.rej' -o -name '.SUMS' -o -size 0 \) -print` TAGS

takes a very long time when the kernel build directory is a kernel git
repository. The problem appears to be the last clause of the find,
where it searches for size=0 files. This causes it to stat() every file
in the directory, including all the git files.

How long is very long? I'm not sure, as I've never had the patience to
let it run to completion. At least 5 minutes (i'm sure it would run
longer, but that is the longest I've every actually timed).

The filesystem on this volume is reiserfs with tail packing enabled.

Perhaps the .git directory could be special-cased out of the find? Or
is the -size 0 clause actually needed at all?

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-rc6-dirty
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages kernel-package depends on:
ii  bcc [c-compiler]  0.16.14-1.2.0.1.pure64 16-bit x86 C compiler
ii  dpkg              1.13.16                package maintenance system for Deb
ii  dpkg-dev          1.13.16                package building tools for Debian
ii  file              4.15-2                 Determines file type using "magic"
ii  gcc [c-compiler]  4:4.0.2-2              The GNU C compiler
ii  gcc-3.3 [c-compil 1:3.3.6-12             The GNU C compiler
ii  gcc-3.4 [c-compil 3.4.6-1                The GNU C compiler
ii  gcc-4.0 [c-compil 4.0.3-1                The GNU C compiler
ii  gettext           0.14.5-2               GNU Internationalization utilities
ii  make              3.80+3.81.rc1-1        The GNU version of the "make" util
ii  perl              5.8.8-3                Larry Wall's Practical Extraction 
ii  po-debconf        0.9.2                  manage translated Debconf template

Versions of packages kernel-package recommends:
ii  bzip2                         1.0.3-2    high-quality block-sorting file co
ii  libc6-dev [libc-dev]          2.3.6-3    GNU C Library: Development Librari

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to