Bug#645790: hurd-i386: enable LFS

Dominic Hargreaves dom at earth.li
Tue Nov 1 22:55:25 UTC 2011


On Tue, Nov 01, 2011 at 08:45:13PM +0100, Pino Toscano wrote:
> Alle martedì 1 novembre 2011, Dominic Hargreaves ha scritto:
> > On Mon, Oct 31, 2011 at 07:14:38PM +0000, Dominic Hargreaves wrote:
> > > On Tue, Oct 18, 2011 at 07:13:22PM +0200, Pino Toscano wrote:
> > > > 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 for the patch. I'm testing this on bleadperl now and will
> > > forward upstream prior to applying locally, using your message
> > > above in the commit log.
> > 
> > Hrm. This one appears to cause my hurd kvm machine to hang when the
> > test runs, at least with bleadperl.
> 
> Which test of it? One of the two lfs-related tests?
> AFAIK, the only problem like that I have with the perl test suite is the 
> test cpan/Sys-Syslog/t/syslog.t causing havoc to syslog and to the 
> system (which seems to not be a problem in chroot'ed builds, which have 
> no /var/log).

t/op/lfs.

cpan/Sys-Syslog/t/syslog.t also hangs the machine if there is a syslogd
running (I noticed it once I installed nullmailer).

-- 
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)






More information about the Perl-maintainers mailing list