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

Re: Bug#764650: zsh: FTBFS with noatime mounts



Hi Thorsten!

Thorsten Glaser wrote:
> Justification: FTBFS, but maybe m68k are the only ones with noatime?
>
> http://buildd.debian-ports.org/status/fetch.php?pkg=zsh&arch=m68k&ver=5.0.6-3&stamp=1412524530
>
> ../../Test/C02cond.ztst: test failed.
> The following may (or may not) help identifying the cause:
>   This test can fail on NFS-mounted filesystems as the access and
>   modification times are not updated separately.  The test will fail
>   on HFS+ (Apple Mac OS X default) filesystems because access times
>   are not recorded.  Also, Linux ext3 filesystems may be mounted
>   with the noatime option which does not update access times.
>   Failures in these cases do not indicate a problem in the shell.
> […]

Hum. There are a few tests, that are supposed to detect systems that
don't support that test, like systems with noatime filesystems and skip
that particular test.

In particular for noatime:

  elif test -f /etc/mtab && { grep $(df . 2>/dev/null| tail -n1 | awk '{print $1}') /etc/mtab | grep -q noatime; }; then

...which doesn't catch the problem in the buildd, it would seem.

It does work on my laptop, but then, I have no clue about buildds. :)

Someone with a better, more portable version of that test around?


Regards, Frank


Reply to: