Bug#796798: perl: FTBFS on kfreebsd-*: t/op/stat.t failure

Niko Tyni ntyni at debian.org
Fri Dec 18 12:30:06 UTC 2015


On Thu, Dec 17, 2015 at 02:41:30AM +0000, Steven Chamberlain wrote:

> The problem is with mtime.  It seems to be not calculated immediately,
> but deferred until the next stat, after the hard link is created, such
> that mtime=ctime and so the test fails.  A stat() right before the
> sleep, or a much longer sleep (~30s), causes mtime to be calculated
> earlier and so fixes it.
> 
> It's obviously a kernel behaviour, its unclear if it's a bug (it may be
> an expected quirk of softupdates), and in any case definitely not a Perl
> bug.  Might we please add a stat() to work around it, as attached;  that
> would allow the test to still run, and still return a meaningful result
> rather than skipping/ignoring the test on kfreebsd.

Thanks. I've modified this to only call the added stat() on kfreebsd and
applied it. Will upload soon so kfreebsd-* can join the binNMU party.

It would be nice if you could follow up when you know if this is a
permanent thing that should go upstream or just a temporary workaround.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kfreebsd-softupdates.diff
Type: text/x-diff
Size: 914 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20151218/36879d86/attachment.diff>


More information about the Perl-maintainers mailing list