Package: quilt Version: 0.45-5 Severity: important Tags: patch Justification: fails to build from source
[mail.test] [1] $ rm -rf d -- ok [2] $ mkdir -p d/patches -- ok [3] $ cd d -- ok [5] $ cat > no-subject -- ok [13] $ cat no-subject > patches/1.diff -- ok [14] $ ls patches/ > series -- ok [15] $ quilt mail --sender "[EMAIL PROTECTED]" --mbox mbox --prefix "test" --subject "This is a test" -m "Message" -- ok [18] $ cat - no-subject > patches/1.diff -- ok [24] $ quilt mail --mbox mbox --prefix "test" -m "Message" -- failed Could not determine the envelope sender address. Please use --sender. != Introduction has no subject header [27] $ cat - no-subject > patches/2.diff -- ok [38] $ cat - no-subject > patches/3.diff -- ok [44] $ cat - no-subject > patches/4.diff -- ok [53] $ cat - no-subject > patches/5.diff -- ok [57] $ ls patches/ > series -- ok [58] $ quilt mail --mbox mbox --prefix "test" --subject "This is a test" -m "Message" -- failed Could not determine the envelope sender address. Please use --sender. != Patches patches/1.diff, patches/5.diff have duplicate subject headers. [61] $ cat - no-subject > patches/5.diff -- ok [65] $ quilt mail --mbox mbox --prefix "test" --subject "This is a test" -m "Message" -- failed Could not determine the envelope sender address. Please use --sender. != ~ [66] $ grep -e '^Subject:' -e '^To:' -e '^Cc:' -e '^--$' -e '^ ' mbox -- failed grep: mbox: No such file or directory != Subject: [test 0/5] This is a test ~ != -- ~ != Cc: Dummy <[EMAIL PROTECTED]> ~ != Subject: [test 1/5] Subject of 1.diff ~ != -- ~ != Cc: Dummy <[EMAIL PROTECTED]> ~ != Subject: [test 2/5] Subject of 2.diff is: split into multiple lines ~ != -- ~ != To: "John X. Doe" <[EMAIL PROTECTED]> ~ != Subject: [test 3/5] Subject of 3.diff ~ != To: John X. Doe <[EMAIL PROTECTED]> ~ != -- ~ != Cc: "Joe R. Hacker" <[EMAIL PROTECTED]>, ~ != "John X. Doe" <[EMAIL PROTECTED]>, [...] ~ != Subject: [test 5/5] Subject of 5.diff ~ != -- [89] $ cd .. -- ok [90] $ rm -rf d -- ok 20 commands (16 passed, 4 failed) make[1]: *** [test/.mail.ok] Error 4 make[1]: Leaving directory `/home/waja/quilt-0.45' make: *** [common-post-build-impl] Error 2 debuild: fatal error at line 1224: fakeroot debian/rules binary failed -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.17-2-686 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Index: quilt-0.45/test/file-not-found.test =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ quilt-0.45/test/file-not-found.test 2006-06-16 12:09:04.000000000 +0200 @@ -0,0 +1,42 @@ +# Try to push a patch touching a file which does not exist in this tree + +$ rm -rf d +$ mkdir -p d/patches +$ cd d + +$ mkdir subdir +$ echo foo > subdir/file.txt +$ echo bar > subdir/other.txt +$ diff -u subdir/file.txt subdir/other.txt > patches/patch +# simulate --no-timestamp +$ sed 's|subdir/file.txt.*|subdir/file.txt|' patches/patch > patches/patch2 +$ sed 's|subdir/other.txt.*|subdir/other.txt|' patches/patch2 > patches/patch +$ rm subdir/other.txt patches/patch2 +$ echo patch > patches/series + +$ quilt push +> Applying patch patches/patch +> can't find file to patch at input line 3 +> Perhaps you used the wrong -p or --strip option? +> The text leading up to this was: +> -------------------------- +> |--- subdir/file.txt +> |+++ subdir/other.txt +> -------------------------- +> No file to patch. Skipping patch. +> 1 out of 1 hunk ignored +> Patch patches/patch does not apply (enforce with -f) + +$ quilt push -qf +> Applying patch patches/patch +> The text leading up to this was: +> -------------------------- +> |--- subdir/file.txt +> |+++ subdir/other.txt +> -------------------------- +> No file to patch. Skipping patch. +> 1 out of 1 hunk ignored +> Patch patches/patch appears to be empty; applied + +$ cd .. +$ rm -rf d