Bug#645790: hurd-i386: enable LFS

Pino Toscano pino at debian.org
Tue Oct 18 17:13:22 UTC 2011


Package: perl
Version: 5.14.2-1
Severity: normal
Tags: patch
User: debian-hurd at lists.debian.org
Usertags: hurd

Hi,

at the moment, perl is compiled on GNU/Hurd without large file support.
This, other than the lacking of support for files > 2 GB, causes the
failure in the t/op/stat.t test.
The failure in stat.t happens because of the following: when filtering
devices in /dev/* using grep {} with -b/-c, stat fails for large
devices such as /dev/hdX blocks, or /dev/zero chars (this latter case
should be an Hurd-specific issue, but shouldn't matter for this case),
hence the counts done with grep {} and the ones done filtering the
output of `ls' don't match.

The attached patch enables the LFS using the same way used on linux.sh;
about t/op/lfs.t, it gets skipped at the "kernel/fs not configured to
use large files?" check, although it correctly detects sparse files and
(at least by looking at the disk usage) allocates the 5GB (or so) file
created with system() in that test.

The patch has been tested with perl 5.14 (experimental), as I guess it
will replace perl 5.12 sometime soon (no?).

Thanks,
-- 
Pino
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hurd-largefile.diff
Type: text/x-diff
Size: 654 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20111018/26e49c16/attachment.diff>


More information about the Perl-maintainers mailing list