Antony Messerli
2014-May-22 16:14 UTC
[Pkg-xen-devel] 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/4f024f3797c43cb4b73cd2c50cec728842d0e49e 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
Bob Ball
2014-May-23 10:39 UTC
[Pkg-xen-devel] Bug#748953: blktap-dkms: Struct bio was changed in 3.14 breaking build
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>
Debian Bug Tracking System
2014-May-24 07:06 UTC
[Pkg-xen-devel] Bug#748953: marked as done (blktap-dkms: Struct bio was changed in 3.14 breaking build)
Your message dated Sat, 24 May 2014 07:03:42 +0000 with message-id <E1Wo5za-0005TD-AV at franck.debian.org> and subject line Bug#748953: fixed in blktap-dkms 2.0.93-0.3 has caused the Debian Bug report #748953, regarding blktap-dkms: Struct bio was changed in 3.14 breaking build to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner at bugs.debian.org immediately.) -- 748953: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748953 Debian Bug Tracking System Contact owner at bugs.debian.org with problems -------------- next part -------------- An embedded message was scrubbed... From: Antony Messerli <amesserl at rackspace.com> Subject: blktap-dkms: Struct bio was changed in 3.14 breaking build Date: Thu, 22 May 2014 16:14:31 +0000 Size: 2736 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140524/f94f7d4a/attachment.mht> -------------- next part -------------- An embedded message was scrubbed... From: Bob Ball <bob.ball at citrix.com> Subject: Bug#748953: fixed in blktap-dkms 2.0.93-0.3 Date: Sat, 24 May 2014 07:03:42 +0000 Size: 5202 URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20140524/f94f7d4a/attachment-0001.mht>
Seemingly Similar Threads
- Bug#742515: blktap-dkms: blktapblktap kernel module failed to build
- Bug#801768: blktap-dkms: module FTBFS for Linux 4.2: error: too many arguments to function 'mempool_resize'
- Bug#874751: blktap-dkms: module FTBFS for Linux 4.12
- Bug#813678: blktap-dkms: fails to build with mainline 4.4 based kernels
- Bug#742515: blktap-dkms: diff for NMU version 2.0.93-0.2