Package: tar
Version: 1.14-2
Followup-For: Bug #354847
Hi,
the buildd failed again for the same reason but different part. Some
of tars output goes to stderr and that is affected by the reordering
as well. The attached patch redirects that output to stdout and
thereby sorts that as well.
MfG
Goswin
-- System Information:
Debian Release: 3.1
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.8-frosties-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages tar depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
-- no debconf information
diff -u tar-1.15.1/debian/changelog tar-1.15.1/debian/changelog
--- tar-1.15.1/debian/changelog
+++ tar-1.15.1/debian/changelog
@@ -1,3 +1,10 @@
+tar (1.15.1-7c0.mrvn.1) unstable; urgency=low
+
+ * test/listed02.at: Redirect stderr to stdout to get it sorted as well,
+ closes: #354847
+
+ -- Goswin von Brederlow <[EMAIL PROTECTED]> Fri, 17 Mar 2006 21:00:39 +0000
+
tar (1.15.1-6) unstable; urgency=low
* patch from upstream to fix incorrect listing of a non-existing section as
diff -u tar-1.15.1/tests/listed02.at tar-1.15.1/tests/listed02.at
--- tar-1.15.1/tests/listed02.at
+++ tar-1.15.1/tests/listed02.at
@@ -48,7 +48,7 @@
sleep 1
echo Creating main archive
-tar >tar.create -c -v --listed-incremental=tart.incr1 -f archive.1 tart ||
exit 1
+tar >tar.create 2>&1 -c -v --listed-incremental=tart.incr1 -f archive.1 tart
|| exit 1
sort tar.create
sleep 1
@@ -64,7 +64,7 @@
sleep 1
echo Creating incremental archive
cp -p tart.incr1 tart.incr2
-tar >tar.incr -c -v --listed-incremental=tart.incr2 -f archive.2 tart || exit
1
+tar >tar.incr 2>&1 -c -v --listed-incremental=tart.incr2 -f archive.2 tart ||
exit 1
sort tar.incr
sleep 1
@@ -85,6 +85,8 @@
[0],
[Create directories
Creating main archive
+tar: tart/c0: Directory is new
+tar: tart/c1: Directory is new
tart/
tart/a1
tart/b1
@@ -106,6 +108,7 @@
tart/c2/ca2
tart/c2/ca3
Creating incremental archive
+tar: tart/c2: Directory is new
tart/
tart/b2
tart/c0/
@@ -145,10 +148,7 @@
tart/c2/ca2
tart/c2/ca3
],
-[tar: tart/c0: Directory is new
-tar: tart/c1: Directory is new
-tar: tart/c2: Directory is new
-],
+[],
[],[],[gnu, oldgnu])
AT_CLEANUP