build failure in vfs_btrfs with current master

Andreas Oster aoster at novanetwork.de
Tue Mar 19 12:27:48 MDT 2013


Hi all,

today I have cloned the current master with:

git clone git://git.samba.org/samba.git samba4

and tried to compile samba4 using the following sequence:

./configure.developer
make

but make fails with the following error message:

[3257/4102] Compiling source3/modules/vfs_btrfs.c
../source3/modules/vfs_btrfs.c: In function ‘btrfs_copy_chunk_send’:
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%lu’ expects
argument of ty
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%ld’ expects
argument of ty
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%lu’ expects
argument of ty
../source3/modules/vfs_btrfs.c:118:3: error: format ‘%lu’ expects
argument of ty
../source3/modules/vfs_btrfs.c: In function ‘btrfs_copy_chunk_recv’:
../source3/modules/vfs_btrfs.c:180:2: error: format ‘%lu’ expects
argument of ty
cc1: some warnings being treated as errors
Waf: Leaving directory `/home/administrator/source/samba4/bin'
Build failed:  -> task failed (err #1):
        {task: cc vfs_btrfs.c -> vfs_btrfs_80.o}
make: *** [all] Error 1


this system is using Ubuntu 12.04.2 LTS (GNU/Linux 3.2.0-39-generic-pae
i686)  32bit.

I did the same on my private/home samba4 server running Ubuntu 12.04.2
LTS (GNU/Linux 3.2.0-38-generic x86_64) and make went through without
any problems.

Does somebody have an idea how to fix this on my 32bit system ?

Thank you for your kind help

best regards

Andreas



More information about the samba-technical mailing list