Bug#234160: libgnucrypto-java: FTBFS: Tries to reverse patch in debian/rules clean

Daniel Schepler Daniel Schepler <schepler@math.berkeley.edu>, 234160@bugs.debian.org
Sun Feb 22 08:10:02 2004


Package: libgnucrypto-java
Severity: serious
Version: 1.1.0.99cvs20031116-4

Thanks for your responsiveness to my last bug report.  Unfortunately,
with the new version there's a new problem:

...
 fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp config.log config.status
patch -R -p0 < /tmp/buildd/libgnucrypto-java-1.1.0.99cvs20031116/debian/patches/01-makefile-in-jar.patch
patching file jce/Makefile.in
Unreversed patch detected!  Ignore -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file jce/Makefile.in.rej
make: *** [clean] Error 1

I think the usual way to deal with this problem is to touch something
like patch-stamp after patching, and then to make the clean rule check
for the existence of patch-stamp before trying to reverse the patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.2
Locale: LANG=en, LC_CTYPE=en (ignored: LC_ALL set to en_US.UTF-8)


-- 
Daniel Schepler              "Please don't disillusion me.  I
schepler@math.berkeley.edu    haven't had breakfast yet."
                                 -- Orson Scott Card