Subject: coreutils-8.14.116-1e18d: one gnulib-tests failure on Solaris 10 (with gcc)

From: Stefano Lattarini <[email-masked]>
Date: Wed, 04 Jan 2012 18:59:48 +0100

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 [email-masked]

  $ 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