Subject: tla package build failure in "make test" for "undo" test

From: Christoph Scheurer <[email-masked]>
Date: Wed, 07 Dec 2005 20:21:13 +0100

Package: tla
Version: 1.3.3-3
Severity: serious
Justification: no longer builds from source

Since the current development archive of tla can only be accessed with tla
version >= 1.3.2 I tried to backport 1.3.3-2 to sarge. The build went fine but
the tests failed with an apparent tar error:

======= TESTING: undo =======
Test 1: undoing single file modification
tar: This does not look like a tar archive
tar: Skipping to next header

This is the same bug that is dexcribed on:
    http://lists.gnu.org/archive/html/gnu-arch-users/2004-02/msg00122.html
and the solution is described on:
    https://launchpad.net/products/bazaar/+bug/235
which shows that a simple patch to the file
    tla-1.3.3/src/tla/tests/test-framework
can fix the problem.

PATCH:

--- test-framework.orig 2005-12-07 20:12:55.731320072 +0100
+++ test-framework      2005-12-07 20:10:54.929684712 +0100
@@ -241,7 +241,7 @@
 copy_tree () {
   tar_prog=$("$srcroot/build-tools/scripts/option" gnu-tar)
   export $tar_prog
-  (cd $1 ; "$tar_prog" cf - .) | (mkdir -p $2 ; cd $2 ; "$tar_prog" xf -)  
+  (cd $1 1> /dev/null; "$tar_prog" cf - .) | (mkdir -p $2 ; cd $2 ; "$tar_prog" xf -)  
 }
 
 compare_trees_simple () {

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.11-mh2-ck10
Locale: LANG=C, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages tla depends on:
ii  diff                       2.8.1-11      File comparison utilities
ii  gawk                       1:3.1.4-2     GNU awk, a pattern scanning and pr
ii  libc6                      2.3.2.ds1-22  GNU C Library: Shared libraries an
ii  libneon24                  0.24.7.dfsg-2 An HTTP and WebDAV client library
ii  patch                      2.5.9-2       Apply a diff file to an original

-- no debconf information