Package: mindterm
Version: 1.2.1-10
Severity: serious
Tags: patch

mindterm fails to build because some options to tar are passed after
the directory to be archived:

> # Create tarball to distribute in binary to satisfy GPL (see
> # README.Debian).
> tar czf mindterm.tar.gz mindbright/ --exclude=\*.class \
>       --dereference --exclude=mindbright/mindbright \
>       --exclude=mindterm.tar.gz --exclude=CVS --exclude=debian
> tar: --exclude=*.class: Cannot stat: No such file or directory
> tar: --dereference: Cannot stat: No such file or directory
> tar: --exclude=mindbright/mindbright: Cannot stat: No such file or directory
> tar: --exclude=mindterm.tar.gz: Cannot stat: No such file or directory
> tar: --exclude=CVS: Cannot stat: No such file or directory
> tar: --exclude=debian: Cannot stat: No such file or directory
> tar: Error exit delayed from previous errors

The attached patch moves "mindbright/" to the end of the command line,
which fixes this problem.

-- 
Matt
diff -u mindterm-1.2.1/debian/rules mindterm-1.2.1/debian/rules
--- mindterm-1.2.1/debian/rules
+++ mindterm-1.2.1/debian/rules
@@ -6,9 +6,10 @@
        $(MAKE)
        # Create tarball to distribute in binary to satisfy GPL (see
        # README.Debian).
-       tar czf mindterm.tar.gz mindbright/ --exclude=\*.class \
+       tar czf mindterm.tar.gz --exclude=\*.class \
                --dereference --exclude=mindbright/mindbright \
-               --exclude=mindterm.tar.gz --exclude=CVS --exclude=debian
+               --exclude=mindterm.tar.gz --exclude=CVS --exclude=debian \
+               mindbright/
        # Create jar file.
        jar cf mindterm.jar `find mindbright/ -follow -name \*.class | grep -v 
dummies/`
        touch build-stamp

Attachment: signature.asc
Description: Digital signature

Reply via email to