[Box Backup-dev] RC 3 testing: NetBSD 3.0 fails

Ben Summers boxbackup-dev@fluffy.co.uk
Mon, 20 Feb 2006 22:36:47 +0000


On 20 Feb 2006, at 21:04, Martin Ebourne wrote:

> On Mon, 2006-02-20 at 12:01 -0800, Per Thomsen wrote:
>> When running configure on NetBSD, I get the following error:
>>
>> configure: error: cannot work out how to discover mount points on  
>> your
>> platform
>>
>> I've narrowed it down to the fact that NetBSD doesn't use the  
>> 'statfs'
>> struct, but rather 'statvfs'. I am not an autoconf hacker, so I don't
>> know how to make that addition, but if I hack the configure script to
>> use the 'statvfs' struct in its test program, the configure completes
>> (of course it doesn't work beyond completing the script; I can't make
>> anything).
>
> Chris has already tried Box on NetBSD and found some significant  
> issues
> which means it is non-trivial to make work - really it needs  
> porting to
> NetBSD. I can only assume Box was not ported to NetBSD before.
>
> I'm happy to help where I can with this (certainly the autoconf  
> stuff is
> no trouble) but this really looks like a 0.11 task, not 0.10.

Actually, a quick hack would be to define  
PLATFORM_KQUEUE_NOT_SUPPORTED on NetBSD to get the troublesome code  
to use poll() instead.

Ben