[Pkg-xen-devel] Bug#748953: blktap-dkms: Struct bio was changed in 3.14 breaking build

Bob Ball bob.ball at citrix.com
Fri May 23 10:39:04 UTC 2014


Fixed package attached - I'll submit the patch in a minute.

Bob

> -----Original Message-----
> From: Antony Messerli [mailto:amesserl at rackspace.com]
> Sent: 22 May 2014 17:15
> To: Debian Bug Tracking System
> Subject: Bug#748953: blktap-dkms: Struct bio was changed in 3.14 breaking
> build
> 
> Package: blktap-dkms
> Version: 2.0.93-0.2
> Severity: serious
> Justification: fails to build from source (but built successfully in the past)
> 
> The build fails on 3.14 kernel with the following error:
> 
> /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_sector’
>   breq->u.tr.sector_number = bio->bi_sector;
>                                 ^
> Struct bio was changed by commit
> https://github.com/torvalds/linux/commit/4f024f3797c43cb4b73cd2c50cec7
> 28842d0e49e
> 
> Changing bio->bi_sector; to bio->bi_iter.bi_sector; allows the module to
> compile.
> 
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers testing
>   APT policy: (500, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.14-1-amd64 (SMP w/8 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.18-5
> ii  linux-libc-dev  3.14.4-1
> 
> Versions of packages blktap-dkms recommends:
> ii  linux-headers-amd64  3.14+57
> 
> blktap-dkms suggests no packages.
> 
> -- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blktap-dkms_2.0.93-0.3_amd64.deb
Type: application/octet-stream
Size: 18144 bytes
Desc: blktap-dkms_2.0.93-0.3_amd64.deb
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140523/fe06b720/attachment-0001.obj>


More information about the Pkg-xen-devel mailing list