Package: dpatch
Version: 2.0.31
Severity: normal

An exaple:

   $ dpatch  cat-all  > /dev/null
   $ echo $?
   1

But there is an error:

   $  dpatch  cat-all | grep 'does.*not'
   debian/patches/70-man-hyphen-fix.dpatch does not exist.

USE CASE

When running debian/rules that call dpatch via
/usr/share/dpatch/dpatch.make rule, it's diffifult to tell where the
problem is because the error messages are sent to stdout (thus to file
patch-stampT) and not stderr:

    $ make  -f /usr/share/dpatch/dpatch.make patch
    test -d debian/patched || install -d debian/patched
    dpatch  apply-all  
    applying patch 01_etc-jwmrc to ./ ... ok.
    applying patch 10_jwmrc--clock-24h-format to ./ ... ok.
    applying patch 20_jwmrc--x-terminal-emulator to ./ ... ok.
    applying patch 21_jwmrc--x-www-broser to ./ ... ok.
    applying patch 30_jwmrc--root-menu-height to ./ ... ok.
    applying patch 31_jwmrc--fonts to ./ ... ok.
    applying patch 50_jwmrc--removed-menus to ./ ... ok.
    applying patch 60_Makefile.in--no-strip to ./ ... ok.
    applying patch 70-man-hyphen-fix to ./ ... ok.
    applying patch 71-man-comment-fix to ./ ... ok.
    dpatch  cat-all  >>patch-stampT
    make: *** [patch-stamp] Error 1

SUGGESTION

Please send all error messages to stderr.

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

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpatch depends on:
ii  bash                          4.0-4      The GNU Bourne Again SHell

Versions of packages dpatch recommends:
ii  dpkg-dev                      1.15.5.3   Debian package development tools
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  patchutils                    0.3.1-2    Utilities to work with patches

Versions of packages dpatch suggests:
ii  curl                          7.19.7-1   Get a file from an HTTP, HTTPS or 

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