GNU bug report logs -
#10433
coreutils-8.14.116-1e18d: one gnulib-tests failure on Solaris 10 (with gcc)
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10433 in the body.
You can then email your comments to 10433 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#10433
; Package
coreutils
.
(Wed, 04 Jan 2012 18:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Stefano Lattarini <stefano.lattarini <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Wed, 04 Jan 2012 18:04:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On 01/03/2012 06:10 PM, Jim Meyering wrote:
> > FYI, here's a snapshot of what will soon be coreutils-8.15,
> > expected on Thursday or Friday.
> >
> > coreutils snapshot:
> > http://meyering.net/cu/coreutils-ss.tar.xz 5.2 MB
> > http://meyering.net/cu/coreutils-ss.tar.xz.sig
> > http://meyering.net/cu/coreutils-8.14.116-1e18d.tar.xz
> >
Minimal system info:
$ uname -s -r -v
SunOS 5.10 Generic_144489-06
$ /usr/local/bin/gcc --version | head -1
gcc (GCC) 4.6.2
Commands used to test the snapshot package:
$ (set -x \
> && PATH=/usr/ccs/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin: \
> && export PATH \
> && ./configure CC=/usr/local/bin/gcc CXX=/usr/local/bin/g++ \
> && cat config.log \
> && VERBOSE=yes make check \
> ) 2>&1 | tee all.log
...
============================================================================
Testsuite summary for GNU coreutils 8.14.116-1e18d
============================================================================
# TOTAL: 295
# PASS: 281
# SKIP: 13
# XFAIL: 0
# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
See gnulib-tests/test-suite.log
Please report to bug-coreutils <at> gnu.org
$ cat gnulib-tests/test-init.sh.log
++ initial_cwd_=/home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests
++ fail=0
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests gt-test-init.sh.XXXX
+++ case $# in
+++ destdir_=/home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests
+++ template_=gt-test-init.sh.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ case $template_ in
++++ unset TMPDIR
+++ d=/home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
+++ case $d in
+++ test -d /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
++++ ls -dgo /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
++++ tr S -
+++ perms='drwx------ 2 2 Jan 4 11:35 /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK'
+++ case $perms in
+++ test 0 = 0
+++ echo /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
+++ return
++ test_dir_=/home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
++ cd /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ .
+ test 1 '!=' 0
+ path_dir_=.
+ case $path_dir_ in
++ cd /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/.
++ echo /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests
+ abs_path_dir_=/home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests
+ case $abs_path_dir_ in
+ PATH=/home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests:/usr/ccs/bin:/usr/xpg6/bin:/usr/xpg4/bin:/usr/bin:/usr/sbin:/sbin
+ create_exe_shims_ /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ fail=0
+ test_compare
+ touch empty
+ echo xyz
+ compare /dev/null /dev/null
+ test -s out
+ case $- in
+ compare /dev/null empty
+ test -s out
+ case $- in
+ compare in in
+ test -s out
+ case $- in
+ compare /dev/null in
+ cat
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
+ rm -f diff.out
+ true
+ case $- in
+ compare empty in
+ cat
+ sed 's/ .*//' out
+ mv k out
+ compare exp out
+ compare_dev_null_ exp out
+ test 2 = 2
+ test xexp = x/dev/null
+ test xout = x/dev/null
+ return 2
+ case $? in
+ compare_ exp out
+ diff -u exp out
+ cat diff.out
--- exp Wed Jan 4 11:35:24 2012
+++ out Wed Jan 4 11:35:24 2012
@@ -1,4 +1,4 @@
--- empty
+++ in
-@@ -0,0 +1 @@
+@@ -1,0 +1,1 @@
+xyz
+ rm -f diff.out
+ false
+ fail=1
+ case $- in
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ cd /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests
+ chmod -R u+rwx /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
+ rm -rf /home/latta/tmp/misc/coreutils-8.14.116-1e18d/gnulib-tests/gt-test-init.sh.a4kK
+ exit 1
Attached are the (compressed) contents of the `all.log' file. Let me know
if you need more information.
Regards,
Stefano
[all.log.xz (application/octet-stream, attachment)]
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#10433
; Package
coreutils
.
(Wed, 04 Jan 2012 19:25:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10433 <at> debbugs.gnu.org (full text, mbox):
Stefano Lattarini wrote:
> On 01/03/2012 06:10 PM, Jim Meyering wrote:
>> > FYI, here's a snapshot of what will soon be coreutils-8.15,
>> > expected on Thursday or Friday.
>> >
>> > coreutils snapshot:
>> > http://meyering.net/cu/coreutils-ss.tar.xz 5.2 MB
>> > http://meyering.net/cu/coreutils-ss.tar.xz.sig
>> > http://meyering.net/cu/coreutils-8.14.116-1e18d.tar.xz
>> >
> Minimal system info:
>
> $ uname -s -r -v
> SunOS 5.10 Generic_144489-06
> $ /usr/local/bin/gcc --version | head -1
> gcc (GCC) 4.6.2
>
> Commands used to test the snapshot package:
>
...
> + cat diff.out
> --- exp Wed Jan 4 11:35:24 2012
> +++ out Wed Jan 4 11:35:24 2012
> @@ -1,4 +1,4 @@
> --- empty
> +++ in
> -@@ -0,0 +1 @@
> +@@ -1,0 +1,1 @@
Thank you for the report!
Here's a gnulib patch that should avoid that failure:
From 77a1dda86f92f8e54da4e6344911a561ccfaba08 Mon Sep 17 00:00:00 2001
From: Jim Meyering <meyering <at> redhat.com>
Date: Wed, 4 Jan 2012 20:19:37 +0100
Subject: [PATCH] test-init.sh: accommodate Solaris 5.10's different diff -u
output
* tests/test-init.sh: Also exempt @@ lines from the comparison
of diff output, since Solaris 5.10 and GNU diff formats differ.
Reported by Stefano Lattarini.
---
ChangeLog | 5 +++++
tests/test-init.sh | 6 ++++--
2 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index e101d12..9550bc2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2012-01-04 Jim Meyering <meyering <at> redhat.com>
+ test-init.sh: accommodate Solaris 5.10's different diff -u output
+ * tests/test-init.sh: Also exempt @@ lines from the comparison
+ of diff output, since Solaris 5.10 and GNU diff formats differ.
+ Reported by Stefano Lattarini.
+
test-vc-list-files-cvs.sh: remove obsolete comment
* tests/test-vc-list-files-cvs.sh: Remove obsolete comment about
double exit. Now that's all encapsulated via skip_ and Exit.
diff --git a/tests/test-init.sh b/tests/test-init.sh
index 123da8e..ee1c798 100755
--- a/tests/test-init.sh
+++ b/tests/test-init.sh
@@ -52,13 +52,15 @@ EOF
compare empty in >out 2>err && fail=1
# Remove the TAB-date suffix on each --- and +++ line,
# for both the expected and the actual output files.
+ # Also remove the @@ line, since Solaris 5.10 and GNU diff formats differ:
+ # -@@ -0,0 +1 @@
+ # +@@ -1,0 +1,1 @@
cat <<\EOF > exp
--- empty
+++ in
-@@ -0,0 +1 @@
+xyz
EOF
- sed 's/ .*//' out > k && mv k out
+ sed 's/ .*//;/^@@/d' out > k && mv k out
compare exp out || fail=1
case $- in *x*) ;; *) test -s err && fail_ "err not empty: $(cat err)";; esac
}
--
1.7.8.2.329.g04d73
Information forwarded
to
bug-coreutils <at> gnu.org
:
bug#10433
; Package
coreutils
.
(Wed, 04 Jan 2012 19:55:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 10433 <at> debbugs.gnu.org (full text, mbox):
Hi Jim.
On 01/04/2012 08:20 PM, Jim Meyering wrote:
>
> Thank you for the report!
> Here's a gnulib patch that should avoid that failure:
>
> From 77a1dda86f92f8e54da4e6344911a561ccfaba08 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <meyering <at> redhat.com>
> Date: Wed, 4 Jan 2012 20:19:37 +0100
> Subject: [PATCH] test-init.sh: accommodate Solaris 5.10's different diff -u output
>
[SNIP]
With this patch, the test passes.
Thanks,
Stefano
bug closed, send any further explanations to
10433 <at> debbugs.gnu.org and Stefano Lattarini <stefano.lattarini <at> gmail.com>
Request was from
Jim Meyering <jim <at> meyering.net>
to
control <at> debbugs.gnu.org
.
(Sun, 29 Jan 2012 11:23:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 26 Feb 2012 12:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 210 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.