[Pkg-xen-devel] Bug#764135: fails to compile with linux-image-3.2.0-4-amd64
Marvin Renich
mrvn at renich.org
Sun Oct 5 17:44:09 UTC 2014
Package: blktap-dkms
Version: 2.0.93-0.3
Severity: normal
With both linux-image-3.2.0-4-amd64 and linux-image-3.16-2-amd64 installed,
blktap fails to compile for the 3.2.0-4 kernel, but succeeds for the 3.16-2
kernel. (Headers for both kernel versions are installed.)
I am attaching the build log.
Note that bug 764132 is for blktap-dkms version 2.0.91-1 and fails for the
opposite kernel version. The combination of these two bugs means that I cannot
choose which kernel version to boot from without first upgrading or downgrading
blktap-dkms to match the kernel version I wish to boot (i.e. I cannot have a
single blktap-dkms package that works with both kernel versions).
Additionally, with both kernels installed, when dkms fails to build the module
for the first kernel, it does not attempt to build it for the second, so that
the build must be done by hand after aptitude finishes the upgrade.
-- System Information:
Debian Release: 7.6
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing'), (200, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages blktap-dkms depends on:
ii dkms 2.2.0.3-1.2
ii libc6-dev 2.19-11
ii linux-libc-dev 3.2.60-1+deb7u3
Versions of packages blktap-dkms recommends:
ii linux-headers-amd64 3.2+46
blktap-dkms suggests no packages.
-- no debconf information
-------------- next part --------------
DKMS make.log for blktap-2.0.93 for kernel 3.2.0-4-amd64 (x86_64)
Sun Oct 5 13:27:21 EDT 2014
make: Entering directory `/usr/src/linux-headers-3.2.0-4-amd64'
CC [M] /var/lib/dkms/blktap/2.0.93/build/control.o
In file included from /var/lib/dkms/blktap/2.0.93/build/control.c:30:0:
/var/lib/dkms/blktap/2.0.93/build/blktap.h:77:41: warning: variably modified ?pending? at file scope [enabled by default]
CC [M] /var/lib/dkms/blktap/2.0.93/build/ring.o
In file included from /var/lib/dkms/blktap/2.0.93/build/ring.c:38:0:
/var/lib/dkms/blktap/2.0.93/build/blktap.h:77:41: warning: variably modified ?pending? at file scope [enabled by default]
/var/lib/dkms/blktap/2.0.93/build/ring.c: In function ?blktap_ring_map_request?:
/var/lib/dkms/blktap/2.0.93/build/ring.c:214:2: error: implicit declaration of function ?vm_mmap? [-Werror=implicit-function-declaration]
/var/lib/dkms/blktap/2.0.93/build/ring.c: In function ?blktap_ring_unmap_request?:
/var/lib/dkms/blktap/2.0.93/build/ring.c:234:2: error: implicit declaration of function ?vm_munmap? [-Werror=implicit-function-declaration]
/var/lib/dkms/blktap/2.0.93/build/ring.c: In function ?blktap_ring_make_tr_request?:
/var/lib/dkms/blktap/2.0.93/build/ring.c:314:32: error: ?struct bio? has no member named ?bi_iter?
cc1: some warnings being treated as errors
make[3]: *** [/var/lib/dkms/blktap/2.0.93/build/ring.o] Error 1
make[2]: *** [_module_/var/lib/dkms/blktap/2.0.93/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-3.2.0-4-amd64'
More information about the Pkg-xen-devel
mailing list