Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816798 - sys-libs/liburing-2.1 and 2.0-r1 fail to build on arm
Summary: sys-libs/liburing-2.1 and 2.0-r1 fail to build on arm
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks:
 
Reported: 2021-10-07 10:29 UTC by Ivan S. Titov
Modified: 2021-10-20 01:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,40.88 KB, text/plain)
2021-10-07 10:30 UTC, Ivan S. Titov
Details
emerge --info (emerge.info,14.04 KB, text/plain)
2021-10-07 10:30 UTC, Ivan S. Titov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan S. Titov 2021-10-07 10:29:23 UTC
Both sys-liburing versions 2.0-r1 and 2.1 fail with
sqpoll-cancel-hang.c: In function ‘main’:
sqpoll-cancel-hang.c:138:13: error: ‘__NR_mmap’ undeclared (first use in this function)

sys-libs/liburing-0.7-r1 builds normally, though

Reproducible: Always
Comment 1 Ivan S. Titov 2021-10-07 10:30:44 UTC
Created attachment 743715 [details]
build.log
Comment 2 Ivan S. Titov 2021-10-07 10:30:59 UTC
Created attachment 743718 [details]
emerge --info
Comment 3 Tee KOBAYASHI 2021-10-07 11:25:31 UTC
Looks quite similar to https://bugs.gentoo.org/730534
Comment 4 Ivan S. Titov 2021-10-07 13:59:39 UTC
(In reply to Tee KOBAYASHI from comment #3)
> Looks quite similar to https://bugs.gentoo.org/730534

Yeah, looks exactly like this.
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-10-09 03:02:30 UTC
I expect this is fixed by https://github.com/axboe/liburing/commit/cb350a8989adbd65db574325d9a86d5437d800da.
Comment 6 Larry the Git Cow gentoo-dev 2021-10-20 01:51:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ef2c4badbd29b3ae21c7f0615fb95af0068a74c

commit 2ef2c4badbd29b3ae21c7f0615fb95af0068a74c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-10-09 05:09:41 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-10-20 01:45:35 +0000

    sys-libs/liburing: fix build on arm
    
    Closes: https://bugs.gentoo.org/816798
    Signed-off-by: Sam James <sam@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/22523

 .../liburing/files/liburing-2.1-arm-syscall.patch  | 54 ++++++++++++++++++++++
 sys-libs/liburing/liburing-2.1.ebuild              |  5 ++
 2 files changed, 59 insertions(+)