Package: debhelper
Version: 7.9.1
Severity: wishlist

While waiting for some long-running packages to build, I wondered if
debhelper would protect me from the following:

 1. I run "debuild", then go to sleep;

 2. I wake up the next day and, not realizing that debuild is still
    running, initiate another "debuild" in the same working tree
    without looking.

 3. Results are unpredictable, e.g. non-idempotent scripts aren't run
    exactly once.

To test this, I created a stub dh(1)-based source package and ran

    screen debuild && screen debuild

Most/all of the usual dh_foo scripts ran in both windows.
Some kind of locking would be useful to prevent this.

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

Kernel: Linux 2.6.35-rc2 (SMP w/2 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils                      2.20.1-10  The GNU assembler, linker and bina
ii  dpkg-dev                      1.15.7.2   Debian package development tools
ii  file                          5.04-2     Determines file type using "magic"
ii  html2text                     1.3.2a-15  advanced HTML to text converter
ii  man-db                        2.5.7-3    on-line manual pager
ii  perl                          5.10.1-13  Larry Wall's Practical Extraction 
ii  perl-base                     5.10.1-13  minimal Perl system
ii  po-debconf                    1.0.16     tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make                       <none>     (no description available)

-- 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