Bruno Haible wrote:
>> 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.

Great.
Thanks, Bruno.

> 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>.

I'm going to defer addressing that one.

> The second one:
> ------------------------------------------------------------
> FAIL: misc/pwd-long (exit: 2)
> =============================
>
> pwd-long: /zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz: stat failed: No such file or 
> directory

I'll investigate this as soon as I get access to an AIX [67].x system.

Reply via email to