Package: kvm-source
Version: 61+dfsg-1
Severity: serious
Justification: FTBFS
Can't build kvm-source 61 with 2.6.24 kernel:
In file included from include/asm/atomic.h:4,
from include/linux/sysfs.h:18,
from include/linux/kobject.h:24,
from include/linux/sysdev.h:24,
from include/linux/cpu.h:22,
from /usr/src/modules/kvm/external-module-compat.h:15,
from command line:1:
include/asm/atomic_64.h: In function ‘atomic_add_unless’:
include/asm/atomic_64.h:414: error: implicit declaration of function ‘cmpxchg’
In file included from include/linux/notifier.h:15,
from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:569,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/linux/percpu.h:5,
from include/asm/local_64.h:4,
from include/asm/local.h:4,
from include/linux/module.h:19,
from include/linux/sysdev.h:25,
from include/linux/cpu.h:22,
from /usr/src/modules/kvm/external-module-compat.h:15,
from command line:1:
include/linux/srcu.h: At top level:
include/linux/srcu.h:37: error: field ‘mutex’ has incomplete type
In file included from include/linux/memory_hotplug.h:6,
from include/linux/mmzone.h:569,
from include/linux/gfp.h:4,
from include/linux/slab.h:14,
from include/linux/percpu.h:5,
from include/asm/local_64.h:4,
from include/asm/local.h:4,
from include/linux/module.h:19,
from include/linux/sysdev.h:25,
from include/linux/cpu.h:22,
from /usr/src/modules/kvm/external-module-compat.h:15,
from command line:1:
include/linux/notifier.h:71: error: field ‘mutex’ has incomplete type
In file included from /usr/src/modules/kvm/external-module-compat.h:15,
from command line:1:
include/linux/cpu.h: In function ‘cpuhotplug_mutex_lock’:
include/linux/cpu.h:92: error: implicit declaration of function ‘mutex_lock’
include/linux/cpu.h: In function ‘cpuhotplug_mutex_unlock’:
include/linux/cpu.h:97: error: implicit declaration of function ‘mutex_unlock’
In file included from include/linux/mm_types.h:14,
from include/linux/sched.h:60,
from /usr/src/modules/kvm/external-module-compat.h:453,
from command line:1:
include/asm/mmu.h: At top level:
include/asm/mmu.h:19: error: field ‘lock’ has incomplete type
In file included from include/linux/sched.h:78,
from /usr/src/modules/kvm/external-module-compat.h:453,
from command line:1:
include/linux/proportions.h:40: error: field ‘mutex’ has incomplete type
In file included from include/asm/pgtable.h:4,
from /usr/src/modules/kvm/external-module-compat.h:550,
from command line:1:
include/asm/pgtable_64.h: In function ‘ptep_get_and_clear_full’:
include/asm/pgtable_64.h:116: error: implicit declaration of function ‘xchg’
In file included from include/linux/fs.h:366,
from include/linux/security.h:25,
from include/linux/mm.h:15,
from /usr/src/modules/kvm/external-module-compat.h:600,
from command line:1:
include/linux/quota.h: At top level:
include/linux/quota.h:250: error: field ‘dq_lock’ has incomplete type
include/linux/quota.h:320: error: field ‘dqio_mutex’ has incomplete type
include/linux/quota.h:321: error: field ‘dqonoff_mutex’ has incomplete type
In file included from include/linux/security.h:25,
from include/linux/mm.h:15,
from /usr/src/modules/kvm/external-module-compat.h:600,
from command line:1:
include/linux/fs.h:525: error: field ‘bd_mutex’ has incomplete type
include/linux/fs.h:615: error: field ‘i_mutex’ has incomplete type
include/linux/fs.h:643: error: field ‘inotify_mutex’ has incomplete type
In file included from include/linux/security.h:25,
from include/linux/mm.h:15,
from /usr/src/modules/kvm/external-module-compat.h:600,
from command line:1:
include/linux/fs.h:995: error: field ‘s_lock’ has incomplete type
include/linux/fs.h:1028: error: field ‘s_vfs_rename_mutex’ has incomplete type
In file included from /usr/src/modules/kvm/svm.c:16:
/usr/src/modules/kvm/include/linux/kvm_host.h:74: error: field ‘mutex’ has
incomplete type
/usr/src/modules/kvm/include/linux/kvm_host.h:110: error: field ‘lock’ has
incomplete type
make[4]: *** [/usr/src/modules/kvm/svm.o] Error 1
make[3]: *** [_module_/usr/src/modules/kvm] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-2.6.24-1-amd64'
make[2]: *** [all] Error 2
make[2]: Leaving directory