Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689888 - sys-fs/loop-aes-3.7n with kernel 5.2.1 - .../work/loop-AES-v3.7n/tmp-d-kbuild/patched-loop.c: In function 'loop_get_buffer': .../work/loop-AES-v3.7n/tmp-d-kbuild/patched-loop.c:554:5: error: 'struct bio' has no member named 'bi_seg_front_size'
Summary: sys-fs/loop-aes-3.7n with kernel 5.2.1 - .../work/loop-AES-v3.7n/tmp-d-kbuild...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-07-15 10:13 UTC by Helmut Jarausch
Modified: 2020-06-08 13:41 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2019-07-15 10:13:54 UTC
loop-aes-3.7n fails to compile with kernel 5.2.1 (though it compiled with 5.2.0)
I get
/var/tmp/portage/sys-fs/loop-aes-3.7n/work/loop-AES-v3.7n/tmp-d-kbuild/patched-loop.c: In function 'loop_get_buffer':
/var/tmp/portage/sys-fs/loop-aes-3.7n/work/loop-AES-v3.7n/tmp-d-kbuild/patched-loop.c:554:5: error: 'struct bio' has no member named 'bi_seg_front_size'
  554 |  bio->bi_seg_front_size = 0;
      |     ^~
/var/tmp/portage/sys-fs/loop-aes-3.7n/work/loop-AES-v3.7n/tmp-d-kbuild/patched-loop.c:555:5: error: 'struct bio' has no member named 'bi_seg_back_size'
  555 |  bio->bi_seg_back_size = 0;
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-12-05 16:30:58 UTC
Ping.  Apparently there's a new upstream release, so I suppose it may contain a fix.
Comment 2 Hank Leininger 2020-02-18 00:52:26 UTC
I submitted a PR a month ago to close this and a related bug, #702738.

AFAIK it is still awaiting review.
Comment 3 Larry the Git Cow gentoo-dev 2020-06-08 13:41:39 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d2f6537777791fd40c117d1e491d7433b7a5cd0

commit 0d2f6537777791fd40c117d1e491d7433b7a5cd0
Author:     Hank Leininger <hlein@korelogic.com>
AuthorDate: 2020-06-08 07:34:52 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2020-06-08 13:41:25 +0000

    sys-fs/loop-aes: Version bump to 3.7q
    
    The new version of sys-fs/loop-aes fixes compilation on recent 5.2+
    kernels (tested with gentoo-sources-5.4.8 on x86_64).
    
    Signed-off-by: Hank Leininger <hlein@korelogic.com>
    Closes: https://bugs.gentoo.org/689888
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Closes: https://github.com/gentoo/gentoo/pull/14292
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 sys-fs/loop-aes/Manifest             |  1 +
 sys-fs/loop-aes/loop-aes-3.7q.ebuild | 71 ++++++++++++++++++++++++++++++++++++
 2 files changed, 72 insertions(+)