bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils-6.7 fails "make check" on OS/X


From: Peter Fales
Subject: Re: coreutils-6.7 fails "make check" on OS/X
Date: Thu, 8 Mar 2007 15:04:27 -0600
User-agent: Mutt/1.4.2.2i

Here's the results of the two commands as requested...

$ build-aux/config.guess
powerpc-apple-darwin7.9.0

$ VERBOSE=yes make -C tests/chgrp check TESTS=basic
make: Entering directory 
`/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/chgrp'
make  check-TESTS
make[1]: Entering directory 
`/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/chgrp'
+ chgrp --version
chgrp (GNU coreutils) 6.7
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by David MacKenzie and Jim Meyering.
+ . ./../envvar-check
++ as_unset=unset
++ envvar_check_failed=0
++ vars=
  _POSIX2_VERSION
  BLOCKSIZE
  BLOCK_SIZE
  CDPATH
  COLUMNS
  DF_BLOCK_SIZE
  DU_BLOCK_SIZE
  LS_BLOCK_SIZE
  LS_COLORS
  POSIXLY_CORRECT
  QUOTING_STYLE
  SIMPLE_BACKUP_SUFFIX
  TABSIZE
  TERM
  TIME_STYLE
  TMPDIR
  VERSION_CONTROL

++ unset _POSIX2_VERSION
++ eval test '"${_POSIX2_VERSION+set}"' = set
+++ test '' = set
++ unset BLOCKSIZE
++ eval test '"${BLOCKSIZE+set}"' = set
+++ test '' = set
++ unset BLOCK_SIZE
++ eval test '"${BLOCK_SIZE+set}"' = set
+++ test '' = set
++ unset CDPATH
++ eval test '"${CDPATH+set}"' = set
+++ test '' = set
++ unset COLUMNS
++ eval test '"${COLUMNS+set}"' = set
+++ test '' = set
++ unset DF_BLOCK_SIZE
++ eval test '"${DF_BLOCK_SIZE+set}"' = set
+++ test '' = set
++ unset DU_BLOCK_SIZE
++ eval test '"${DU_BLOCK_SIZE+set}"' = set
+++ test '' = set
++ unset LS_BLOCK_SIZE
++ eval test '"${LS_BLOCK_SIZE+set}"' = set
+++ test '' = set
++ unset LS_COLORS
++ eval test '"${LS_COLORS+set}"' = set
+++ test '' = set
++ unset POSIXLY_CORRECT
++ eval test '"${POSIXLY_CORRECT+set}"' = set
+++ test '' = set
++ unset QUOTING_STYLE
++ eval test '"${QUOTING_STYLE+set}"' = set
+++ test '' = set
++ unset SIMPLE_BACKUP_SUFFIX
++ eval test '"${SIMPLE_BACKUP_SUFFIX+set}"' = set
+++ test '' = set
++ unset TABSIZE
++ eval test '"${TABSIZE+set}"' = set
+++ test '' = set
++ unset TERM
++ eval test '"${TERM+set}"' = set
+++ test '' = set
++ unset TIME_STYLE
++ eval test '"${TIME_STYLE+set}"' = set
+++ test '' = set
++ unset TMPDIR
++ eval test '"${TMPDIR+set}"' = set
+++ test '' = set
++ unset VERSION_CONTROL
++ eval test '"${VERSION_CONTROL+set}"' = set
+++ test '' = set
++ test '' = 1
+ . ./../lang-default
++ LC_ALL=C
++ export LC_ALL
++ unset LANGUAGE NLSPATH
++ unset LANG LC_COLLATE LC_CTYPE LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME
+ . ./../group-names
++ groups=10177 79 80 81
++ pwd
+ 
pwd=/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/chgrp
+ tmp=basic.1188
+ trap 'status=$?; cd "$pwd" && rm -rf $tmp && exit $status' 0
+ trap '(exit $?); exit' 1 2 13 15
+ framework_failure=0
+ mkdir basic.1188
+ cd basic.1188
+ test 0 = 1
+ fail=0
+ set _ 10177 79 80 81
+ shift
+ g1=10177
+ g2=79
+ mkdir d
+ touch f f2 d/f3
+ chgrp 10177 f
+ chgrp 79 f
+ chgrp 79 f2
+ chgrp -R 10177 d
+ d_files=d d/f3
+ chgrp 10177 f
++ stat --p=%g f
+ test 10177 = 10177
+ chgrp 79 f
++ stat --p=%g f
+ test 79 = 79
+ chgrp 79 f
++ stat --p=%g f
+ test 79 = 79
+ chgrp '' f
++ stat --p=%g f
+ test 79 = 79
+ chgrp 10177 f
++ stat --p=%g f
+ test 10177 = 10177
+ chgrp 10177 f
++ stat --p=%g f
+ test 10177 = 10177
+ chgrp --reference=f2 f
++ stat --p=%g f
+ test 79 = 79
+ chgrp -R 79 d
++ stat --p=%g: d d/f3
+ test 79:79: = 79:79:
+ chgrp -R 10177 d
++ stat --p=%g: d d/f3
+ test 10177:10177: = 10177:10177:
+ chgrp -R 79 d
++ stat --p=%g: d d/f3
+ test 79:79: = 79:79:
+ chgrp -R 10177 d
++ stat --p=%g: d d/f3
+ test 10177:10177: = 10177:10177:
+ chgrp 79 d
++ stat --p=%g: d d/f3
+ test 79:10177: = 79:10177:
+ rm -f f
+ touch f
+ ln -s f symlink
+ chgrp 10177 f
++ stat --printf=%g f
+ test 10177 = 10177
+ chgrp -h 79 symlink
++ stat --printf=%g f
+ test 10177 = 10177
++ stat --printf=%g symlink
+ test 10177 = 79
+ fail=1
+ chown --from=:10177 :79 f
++ stat --printf=%g f
+ test 79 = 79
+ chgrp 10177 symlink
++ stat --printf=%g f
+ test 10177 = 10177
+ chown --from=:10177 :79 f
++ stat --printf=%g f
+ test 79 = 79
+ chgrp -h 10177 f symlink
++ stat --printf=%g symlink
+ test 10177 = 10177
+ chgrp -R 79 symlink
+ chown --from=:10177 :79 f
++ stat --printf=%g f
+ test 79 = 79
+ chmod a-r f
+ chown --from=:79 :10177 f
++ stat --printf=%g f
+ test 10177 = 10177
+ chmod 0 f
+ chown --from=:10177 :79 f
++ stat --printf=%g f
+ test 79 = 79
+ rm -f f g
+ touch f g
+ chgrp 10177 f g
+ chgrp 79 g
+ sleep 1
+ chgrp 10177 f
+ chgrp '' f
++ ls -C -c -t f g
+ test 'g  f' = 'f  g'
+ echo no-change chgrp failed to update ctime
no-change chgrp failed to update ctime
+ fail=1
+ exit 1
+ exit 1
+ status=1
+ cd 
/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/chgrp
+ rm -rf basic.1188
+ exit 1
FAIL: basic
======================================
1 of 1 tests failed
Please report to address@hidden
======================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory 
`/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/chgrp'
make: *** [check-am] Error 2
make: Leaving directory 
`/Volumes/UFS_exp2/exptools/expmake/build/gnucoresrc/build/coreutils/tests/chgrp'








On Thu, Mar 08, 2007 at 09:54:03PM +0100, Jim Meyering wrote:
> Peter Fales <address@hidden> wrote:
> > Building coreutils-6.7 on darwin 10.3 and running make check gives:
> ...
> > no-change chgrp failed to update ctime
> > FAIL: basic
> 
> Thanks for the report.
> This may mean darwin 10.3 needs to be added to the list of known
> (i.e., non-failure-provoking) losing systems:
> 
> FYI, here's an excerpt from the failing script, tests/chgrp/basic:
> ---------------------------------------
> # The following no-change chgrp command is supposed to update f's ctime,
> # but on OpenBSD, it appears to be a no-op for some file system types
> # (at least NFS) so g's ctime is more recent.  This is not a big deal;
> # this test works fine when the files are on a local file system (/tmp).
> chgrp '' f
> test "`ls -C -c -t f g`" = 'f  g' || \
>   {
>     case $host_triplet in
>       *openbsd*) echo ignoring known OpenBSD-specific chgrp failure 1>&2  ;;
>       *)         echo no-change chgrp failed to update ctime 1>&2; fail=1 ;;
>     esac
>   }
> ---------------------------------------
> 
> To confirm that this is the only failure, please run the following
> and send us their output:
> 
> build-aux/config.guess
> VERBOSE=yes make -C tests/chgrp check TESTS=basic

-- 
Peter Fales
Alcatel-Lucent
Member of Technical Staff
2000 Lucent Lane
Room: 1C-436
Naperville, IL 60566-7033
Email: address@hidden
Phone: 630 979 8031




reply via email to

[Prev in Thread] Current Thread [Next in Thread]