Package: dpkg-dev
Version: 1.16.0.3
Severity: normal

Hi,

at least with 1.0 (native), temporary files can remain on the filesystem
when SIGINT is received while building a source package.

Here's a test case:
  debcheckout xutils-dev
  cd xutils-dev
  dd if=/dev/zero of=.git/foo bs=10k count=10k
  debuild -S -i
  ^C

At this point:
| $ ls ../xutils-dev_*
| ../xutils-dev_7.6+5_source.build  ../xutils-dev_7.6+5.tar.gz.new.NPs99e

and that .tar.gz.new.* file should have been killed.

Two notes:
 - a 100MB file under .git was just a way to make the tarball creation
   step longer, so that one can hit ^C at this moment.
 - ^C should be entered during this phase:
   “dpkg-source: info: building xutils-dev in xutils-dev_7.6+5.tar.gz”

Mraw,
KiBi.

-- System Information:
Debian Release: sid/experimental
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.39-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg-dev depends on:
ii  base-files            6.4                Debian base system miscellaneous f
ii  binutils              2.21.52.20110606-2 The GNU assembler, linker and bina
ii  bzip2                 1.0.5-6            high-quality block-sorting file co
ii  libdpkg-perl          1.16.0.3           Dpkg perl modules
ii  make                  3.81-8.1           An utility for Directing compilati
ii  patch                 2.6.1-2            Apply a diff file to an original
ii  xz-utils              5.0.0-2            XZ-format compression utilities

Versions of packages dpkg-dev recommends:
ii  build-essential               11.5       Informational list of build-essent
ii  fakeroot                      1.16-1     tool for simulating superuser priv
ii  gcc [c-compiler]              4:4.6.0-6  GNU C compiler
ii  gcc-4.4 [c-compiler]          4.4.6-6    GNU C compiler
ii  gcc-4.5 [c-compiler]          4.5.3-3    The GNU C compiler
ii  gcc-4.6 [c-compiler]          4.6.0-14   GNU C compiler
ii  gnupg                         1.4.11-3   GNU privacy guard - a free PGP rep
ii  gpgv                          1.4.11-3   GNU privacy guard - signature veri
ii  libalgorithm-merge-perl       0.08-2     Perl module for three-way merge of

Versions of packages dpkg-dev suggests:
ii  debian-keyring                2011.03.03 GnuPG keys of Debian Developers

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to