Bug#787462: libfile-sync-perl: FTBFS with perl 5.22

Dominic Hargreaves dom at earth.li
Thu Jun 4 22:22:04 UTC 2015


Control: retitle -1 libfile-sync-perl: FTBFS with perl 5.22 and eatmydata
Control: severity -1 minor

On Tue, Jun 02, 2015 at 10:44:26PM +0200, gregor herrmann wrote:
> Control: tag -1 + unreproducible
> 
> On Mon, 01 Jun 2015 20:45:02 +0100, Dominic Hargreaves wrote:
> 
> > Source: libfile-sync-perl
> > Version: 0.11-2
> > Severity: important
> > User: debian-perl at lists.debian.org
> > Usertags: perl-5.22-transition
> > 
> > This package FTBFS with perl 5.22:
> 
> Builds for me.
> Also no CPAN RT ticket and nothing with perl 5.2[12] on cpantesters.

The test in question is this:

File::Sync::fsync_fd($fd) && print 'not '; print "ok 7\n";
($! == EBADF) || print 'not '; print "ok 8\n";

thus it's not surprising that the cause is eatmydata (which
intercepts fsync calls):

(perl-exp)dom at callisto:/tmp/libfile-sync-perl-0.11$ prove -b t/02_error.t 
t/02_error.t .. ok   
All tests successful.
Files=1, Tests=8,  0 wallclock secs ( 0.03 usr  0.00 sys +  0.03 cusr  0.00 csys =  0.06 CPU)
Result: PASS
(perl-exp)dom at callisto:/tmp/libfile-sync-perl-0.11$ eatmydata prove -b t/02_error.t 
t/02_error.t .. Failed 2/8 subtests 

Test Summary Report
-------------------
t/02_error.t (Wstat: 0 Tests: 8 Failed: 2)
  Failed tests:  7-8
Files=1, Tests=8,  0 wallclock secs ( 0.03 usr  0.02 sys +  0.04 cusr  0.00 csys =  0.09 CPU)
Result: FAIL

Retitling/downgrading accordingly. I guess it's worth keeping open
if only so that it doesn't confuse anyone else, even if it's not
really a bug in the package.

Dominic.



More information about the pkg-perl-maintainers mailing list