Matt Burgess wrote:
> On Tue, 2013-08-13 at 21:31 +0100, Matt Burgess wrote:
>> On Tue, 2013-08-13 at 15:00 -0500, Bruce Dubbs wrote:
>>
>>> 086-util-linux:make[1]: make[4]: *** [check] Error 2***
>>> [check-local-tests] Terminated
>>
>> Ah, good.  I just hit that one in last night's build. It's in
>> misc/fallocate.  I haven't had a change to look into it in any depth,
>> but it's always reassuring when somebody else has hit it too :-)
>
> Looks like this may be an artifact of building on a filesystem created
> some time ago.  The command that is run by the testsuite is:
>
> ./fallocate -o 128 -l 256 <output file>
>
> This fails ('Operation unsupported') if the output file is on the FS
> mounted on /mnt/lfs, which it obviously will be within the chroot
> environment in chapter 6.  If I come out of chroot, run ./fallocate from
> within the util-linux build directory and instead get it to output a
> file to my hosts's FS, it works fine.
>
> The features of /dev/sda3 (the device underlying /mnt/lfs) were:
>
> has_journal ext_attr resize_inode dir_index filetype sparse_super
> large_file
>
> I've now just blatted it, and recreated the fs using 'mkfs -v -t
> ext4 /dev/sda3' and now its features are:
>
> has_journal ext_attr resize_inode dir_index filetype extent flex_bg
> sparse_super large_file huge_file uninit_bg dir_nlink extra_isize
>
> I *think* the former feature set is for ext3, and the latter for ext4,
> but I could have sworn I'd created an ext4 FS ages ago (my
> host's /etc/fstab certainly tries to mount it as ext4
> and /var/log/messages doesn't suggest it's falling back to ext3).

I doubt that is my problem,  I'm using an ext4 partition that I
just created about a month ago.

/dev/sdb2 on /mnt/lfs type ext4 (rw,relatime,data=ordered)

The error I'm getting is:

        script: race conditions                ...script: openpty 
failed: Operation not permitted
make[1]: *** wait: No child processes.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: *** wait: No child processes.  Stop.
make[3]: *** [check-local-tests] Terminated
make: *** wait: No child processes.  Stop.
make: *** Waiting for unfinished jobs....
make: *** wait: No child processes.  Stop.
make[2]: *** [check-am] Terminated

It looks like this is due to the change in glibc because this passed 
before I update to glibc-2.18.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to