Hi Jim,

> Can you confirm that this solves the problem?
> ...
> * src/stat.c (USE_STATVFS): Adjust definition so that it is enabled
> also on AIX 7.x systems that provide statvfs64 and no statvfs.
> [USE_STATVFS && ! STAT_STATVFS && STAT_STATVFS64] (STATFS): Define
> to statvfs64 in that precise case.
> * m4/stat-prog.m4 (cu_PREREQ_STAT_PROG): Adjust the condition
> here to match the new one in stat.c, to keep them in sync.

Yes, it fixes the compilation error.

With this patch, the build goes fine, and - on AIX 6.1 - 2 tests fail:
  FAIL: misc/help-version
  FAIL: misc/pwd-long

Find the test-suite.log attached.

The first one is because
------------------------------------------------------------
FAIL: misc/help-version (exit: 1)
=================================

env: [: No such file or directory
help-version: failed test: --version-$VERSION mismatch
------------------------------------------------------------
It's because the '[' program was not built; see
<http://lists.gnu.org/archive/html/coreutils/2011-09/msg00055.html>.

The second one:
------------------------------------------------------------
FAIL: misc/pwd-long (exit: 2)
=============================

pwd-long: /zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz: stat failed: No such file or 
directory
------------------------------------------------------------

Bruno
-- 
In memoriam Elisabeth von Thadden 
<http://en.wikipedia.org/wiki/Elisabeth_von_Thadden>
========================================================
   GNU coreutils 8.12.193-d8dc8: tests/test-suite.log   
========================================================

2 of 359 tests failed.  (99 tests were not run).  

.. contents:: :depth: 2


FAIL: misc/help-version (exit: 1)
=================================

env: [: No such file or directory
help-version: failed test: --version-$VERSION mismatch

SKIP: tail-2/inotify-race (exit: 77)
====================================

inotify-race: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: rm/ext3-perf (exit: 77)
=============================

ext3-perf: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: cp/link-heap (exit: 77)
=============================

link-heap: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: tail-2/inotify-rotate (exit: 77)
======================================

inotify-rotate: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: chgrp/basic (exit: 77)
============================

basic: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: rm/isatty (exit: 77)
==========================

isatty: skipped test: there is no /dev/stdin file

SKIP: tail-2/assert (exit: 77)
==============================

assert: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: rm/hash (exit: 77)
========================

hash: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: rm/inaccessible (exit: 77)
================================

inaccessible: skipped test: this system lacks openat support

SKIP: rm/many-dir-entries-vs-OOM (exit: 77)
===========================================

many-dir-entries-vs-OOM: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: chgrp/default-no-deref (exit: 77)
=======================================

default-no-deref: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: chgrp/deref (exit: 77)
============================

deref: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: chgrp/no-x (exit: 77)
===========================

no-x: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: chgrp/posix-H (exit: 77)
==============================

posix-H: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: chgrp/recurse (exit: 77)
==============================

recurse: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: misc/seq-long-double (exit: 77)
=====================================

"long.c", line 1.10: 1506-296 (S) #include file <features.h> not found.
"long.c", line 5.1: 1506-046 (S) Syntax error.
seq-long-double: skipped test: this test runs only on systems with glibc and long double != double

SKIP: tail-2/tail-n0f (exit: 77)
================================

tail-n0f: skipped test: /proc/6095008/status: missing or 'different'

SKIP: misc/arch (exit: 77)
==========================

arch: not built
arch: skipped test: required program(s) not built

SKIP: misc/cat-proc (exit: 77)
==============================

cat-proc: skipped test: no /proc/cpuinfo

SKIP: misc/csplit-heap (exit: 77)
=================================

csplit-heap: skipped test: this shell lacks ulimit support

SKIP: misc/id-context (exit: 77)
================================

grep: can't open /proc/filesystems
id-context: skipped test: this system lacks SELinux support

SKIP: misc/printf-surprise (exit: 77)
=====================================

printf-surprise: skipped test: this shell lacks ulimit support

FAIL: misc/pwd-long (exit: 2)
=============================

pwd-long: /zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz: stat failed: No such file or directory

SKIP: misc/sort-benchmark-random (exit: 77)
===========================================

sort-benchmark-random: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: misc/sort-compress-hang (exit: 77)
========================================

sort-compress-hang: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: misc/sort-compress-proc (exit: 77)
========================================

sort-compress-proc: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: misc/sort-merge-fdlimit (exit: 77)
========================================

sort-merge-fdlimit: skipped test: this shell lacks ulimit support

SKIP: misc/sort-month (exit: 77)
================================

sort-month: skipped test: The locale utility is not present

SKIP: misc/sort-spinlock-abuse (exit: 77)
=========================================

sort-spinlock-abuse: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: misc/sort-stale-thread-mem (exit: 77)
===========================================

sort-stale-thread-mem: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: split/filter (exit: 77)
=============================

./split/filter[21]: xz:  not found
filter: skipped test: xz (better than gzip/bzip2) required

SKIP: split/r-chunk (exit: 77)
==============================

r-chunk: skipped test: this shell lacks ulimit support

SKIP: misc/stat-nanoseconds (exit: 77)
======================================

./misc/stat-nanoseconds[19]: print_ver_:  not found
stat-nanoseconds: skipped test: this file system does not support sub-second time stamps

SKIP: misc/stdbuf (exit: 77)
============================

stdbuf: not built
stdbuf: skipped test: required program(s) not built

SKIP: misc/su-fail (exit: 77)
=============================

su: not built
su-fail: skipped test: required program(s) not built

SKIP: misc/tac-continue (exit: 77)
==================================

tac-continue: skipped test: FULL_PARTITION_TMPDIR not defined

SKIP: misc/timeout-group (exit: 77)
===================================

./misc/timeout-group[31]: setsid:  not found
timeout-group: skipped test: setsid required to control groups

SKIP: misc/tty-eof (exit: 77)
=============================

tty-eof: this script requires Perl's Expect package >=1.11

SKIP: misc/uniq (exit: 77)
==========================

uniq: skipping this test -- no appropriate locale

SKIP: misc/xattr (exit: 77)
===========================

cp: cannot preserve extended attributes, cp is built without xattr support
xattr: skipped test: coreutils built without xattr support

SKIP: cp/acl (exit: 77)
=======================

acl: skipped test: This test requires getfacl and setfacl.

SKIP: cp/existing-perm-race (exit: 77)
======================================

existing-perm-race: skipped test: requires membership in two groups
this test requires that you be a member of more than one group,
but running `id -G' either failed or found just one.  If you really
are a member of at least two groups, then rerun this test with
COREUTILS_GROUPS set in your environment to the space-separated list
of group names or numbers.  E.g.,

  env COREUTILS_GROUPS='users cdrom' make check



SKIP: cp/fiemap-empty (exit: 77)
================================

fiemap-empty: skipped test: disabled for now

SKIP: cp/fiemap-perf (exit: 77)
===============================

./cp/fiemap-perf[19]: python:  not found
fiemap_capable_: python missing: assuming not fiemap capable
fiemap-perf: skipped test: this file system lacks FIEMAP support

SKIP: cp/fiemap-2 (exit: 77)
============================

./cp/fiemap-2[19]: python:  not found
fiemap_capable_: python missing: assuming not fiemap capable
fiemap-2: skipped test: this file system lacks FIEMAP support

SKIP: cp/file-perm-race (exit: 77)
==================================

file-perm-race: skipped test: This test must be run on a local file system.

SKIP: cp/link-symlink (exit: 77)
================================

touch: setting times of `link': Function not implemented
link-symlink: skipped test: Your system doesn't support updating symlink timestamps

SKIP: cp/parent-perm (exit: 77)
===============================

parent-perm: skipped test: This test must be run on a local file system.

SKIP: cp/parent-perm-race (exit: 77)
====================================

parent-perm-race: skipped test: This test must be run on a local file system.

SKIP: cp/perm (exit: 77)
========================

perm: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: cp/preserve-2 (exit: 77)
==============================

preserve-2: skipped test: This test must be run on a local file system.

SKIP: cp/preserve-slink-time (exit: 77)
=======================================

preserve-slink-time: skipped test: this system lacks the utimensat function

SKIP: cp/proc-short-read (exit: 77)
===================================

proc-short-read: skipped test: your system lacks /proc/kallsyms

SKIP: du/2g (exit: 77)
======================

2g: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: du/bigtime (exit: 77)
===========================

bigtime: skipped test: file system cannot represent big time stamps

SKIP: du/fd-leak (exit: 77)
===========================

fd-leak: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: du/files0-from-dir (exit: 77)
===================================

files0-from-dir: skipped test: cat dir/ succeeds

SKIP: du/inaccessible-cwd (exit: 77)
====================================

inaccessible-cwd: skipped test: this system lacks openat support

SKIP: du/long-from-unreadable (exit: 77)
========================================

long-from-unreadable: skipped test: This test would fail, since your system lacks /proc support.

SKIP: du/move-dir-while-traversing (exit: 77)
=============================================

./du/move-dir-while-traversing[23]: python:  not found
move-dir-while-traversing: skipped test: python inotify package not installed

SKIP: du/slink (exit: 77)
=========================

slink: skipped test: This test must be run on a local file system.

SKIP: id/no-context (exit: 77)
==============================

grep: can't open /proc/filesystems
no-context: skipped test: this system lacks SELinux support

SKIP: install/install-C-selinux (exit: 77)
==========================================

grep: can't open /proc/filesystems
install-C-selinux: skipped test: this system lacks SELinux support

SKIP: ls/no-cap (exit: 77)
==========================

no-cap: skipped test: no strace program

SKIP: ls/stat-dtype (exit: 77)
==============================

stat-dtype: skipped test: '.' is not on a suitable file system for this test

SKIP: ls/stat-free-color (exit: 77)
===================================

stat-free-color: skipped test: no strace program

SKIP: ls/stat-free-symlinks (exit: 77)
======================================

stat-free-symlinks: skipped test: no strace program

SKIP: mkdir/selinux (exit: 77)
==============================

./mkdir/selinux[19]: getenforce:  not found
selinux: skipped test: This test is useful only with SELinux in Enforcing mode.

SKIP: mv/acl (exit: 77)
=======================

acl: skipped test: This test requires getfacl and setfacl.

SKIP: mv/atomic (exit: 77)
==========================

atomic: skipped test: no strace program

SKIP: mv/atomic2 (exit: 77)
===========================

atomic2: skipped test: no strace program

SKIP: mv/i-3 (exit: 77)
=======================

i-3: skipped test: there is no /dev/stdin file

SKIP: mv/leak-fd (exit: 77)
===========================

leak-fd: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: mv/part-symlink (exit: 77)
================================

part-symlink: skipped test: This test must be run on a local file system.

SKIP: tail-2/assert-2 (exit: 77)
================================

assert-2: skipped test: very expensive: disabled by default
This test is very expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_VERY_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_VERY_EXPENSIVE_TESTS=yes make check


SKIP: tail-2/big-4gb (exit: 77)
===============================

big-4gb: skipped test: expensive: disabled by default
This test is relatively expensive, so it is disabled by default.
To run it anyway, rerun make check with the RUN_EXPENSIVE_TESTS
environment variable set to yes.  E.g.,

  env RUN_EXPENSIVE_TESTS=yes make check


SKIP: touch/no-dereference (exit: 77)
=====================================

no-dereference: skipped test: this system lacks the utimensat function

SKIP: chown/basic (exit: 77)
============================

basic: skipped test: must be run as root

SKIP: cp/cp-a-selinux (exit: 77)
================================

cp-a-selinux: skipped test: must be run as root

SKIP: cp/preserve-gid (exit: 77)
================================

preserve-gid: skipped test: must be run as root

SKIP: cp/special-bits (exit: 77)
================================

special-bits: skipped test: must be run as root

SKIP: cp/cp-mv-enotsup-xattr (exit: 77)
=======================================

cp-mv-enotsup-xattr: skipped test: must be run as root

SKIP: cp/capability (exit: 77)
==============================

capability: skipped test: must be run as root

SKIP: cp/sparse-fiemap (exit: 77)
=================================

./cp/sparse-fiemap[19]: python:  not found
fiemap_capable_: python missing: assuming not fiemap capable
sparse-fiemap: skipped test: current file system has insufficient FIEMAP support

SKIP: dd/skip-seek-past-dev (exit: 77)
======================================

skip-seek-past-dev: skipped test: must be run as root

SKIP: install/install-C-root (exit: 77)
=======================================

install-C-root: skipped test: must be run as root

SKIP: ls/capability (exit: 77)
==============================

capability: skipped test: must be run as root

SKIP: ls/nameless-uid (exit: 77)
================================

nameless-uid: skipped test: must be run as root

SKIP: misc/chcon (exit: 77)
===========================

chcon: skipped test: must be run as root

SKIP: misc/chroot-credentials (exit: 77)
========================================

chroot-credentials: skipped test: must be run as root

SKIP: misc/selinux (exit: 77)
=============================

selinux: skipped test: must be run as root

SKIP: misc/truncate-owned-by-other (exit: 77)
=============================================

truncate-owned-by-other: skipped test: must be run as root

SKIP: mkdir/writable-under-readonly (exit: 77)
==============================================

writable-under-readonly: skipped test: must be run as root

SKIP: mv/sticky-to-xpart (exit: 77)
===================================

sticky-to-xpart: skipped test: must be run as root

SKIP: rm/fail-2eperm (exit: 77)
===============================

fail-2eperm: skipped test: must be run as root

SKIP: rm/no-give-up (exit: 77)
==============================

no-give-up: skipped test: must be run as root

SKIP: rm/one-file-system (exit: 77)
===================================

one-file-system: skipped test: must be run as root

SKIP: rm/read-only (exit: 77)
=============================

read-only: skipped test: must be run as root

SKIP: tail-2/append-only (exit: 77)
===================================

append-only: skipped test: must be run as root

SKIP: touch/now-owned-by-other (exit: 77)
=========================================

now-owned-by-other: skipped test: must be run as root

Reply via email to