[buildd-tools-devel] Bug#619825: Bug#619825: schroot: loopback type maximum file size on 32bit
Roger Leigh
rleigh at codelibre.net
Sun Mar 27 15:39:40 UTC 2011
On Sun, Mar 27, 2011 at 03:50:32PM +0100, Adam Guthrie wrote:
> Package: schroot
> Version: 1.4.7-1ubuntu0.1
> Severity: normal
>
> adam at whiteowl:~$ schroot -c natty-i386
> E: /srv/chroot/natty-i386: Failed to stat file: Value too large for defined data type
This is rather odd. From the stat(2) manual page:
EOVERFLOW
(stat()) path refers to a file whose size cannot be represented
in the type off_t. This can occur when an application compiled
on a 32-bit platform without -D_FILE_OFFSET_BITS=64 calls stat()
on a file whose size exceeds (2<<31)-1 bits.
So, we don't currently build with -D_FILE_OFFSET_BITS=64 on any
platform. However, this shouldn't be a problem--the file is nowhere
near the limit, being only a tiny configuration file.
Has the Ubuntu kernel/libc removed the 32 bit interfaces in favour of
the 64 bit ones, rather than supporting both. Or have you built a
custom kernel/libc without 32 bit interfaces?
If you were to build schroot setting CFLAGS='-D_FILE_OFFSET_BITS=64',
does this fix the problem? If it does, I'll be happy to do this by
default; however, I'd like to find out exactly why it's failing first.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110327/e22fbd00/attachment.pgp>
More information about the Buildd-tools-devel
mailing list