Summary: | sys-libs/liburing-0.5 : ../.../liburing.h: error: unknown type name mode_t | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | polynomial-c, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | missing sys/stat.h | ||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 713786 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 sys-libs:liburing-0.5:20200319-184216.log temp.tbz2 |
Description
Toralf Förster
2020-03-19 19:52:16 UTC
Created attachment 622840 [details]
emerge-info.txt
Created attachment 622842 [details]
emerge-history.txt
Created attachment 622844 [details]
environment
Created attachment 622846 [details]
etc.portage.tbz2
Created attachment 622848 [details]
logs.tbz2
Created attachment 622850 [details]
sys-libs:liburing-0.5:20200319-184216.log
Created attachment 622852 [details]
temp.tbz2
According to similar bugs, it looks like something is missing #include <sys/stat.h> somewhere. (In reply to Michael 'veremitz' Everitt from comment #8) > According to similar bugs, it looks like something is missing #include > <sys/stat.h> somewhere. interestingly alpine aren't patching this: https://git.alpinelinux.org/aports/tree/testing/liburing?h=master w/ 0.5 In case it helps : using sys-libs/liburing live ebuild at latest commit : https://github.com/axboe/liburing/commit/ba0a2e44b87525ad5d8fd5b04bee7a18fc39415c fixes the issue. Not ideal but for now, the latest tag is still 0.7 (In reply to David Duchesne from comment #10) > In case it helps : > using sys-libs/liburing live ebuild > at latest commit : > https://github.com/axboe/liburing/commit/ > ba0a2e44b87525ad5d8fd5b04bee7a18fc39415c > > fixes the issue. > > Not ideal but for now, the latest tag is still 0.7 Woops, well, just noticed this bug report was about liburing-0.5. My build error (on musl) was somehow a little bit different with latest stable (0.7-r1), I will open a separate bug report. (using live ebuild still fixes it though, so maybe just need to wait a little bit for a new release) Sorry about the noise. Interestingly for me a different upstream commit fixes the 0.7-r1 build issue: https://github.com/axboe/liburing/commit/1cf969dfcba797a02d74540965677b92d3884cfa examples: disable ucontext-cp if ucontext.h is not available The header file `ucontext.h` is not available on musl based distros. The example `ucontext-cp` is not built if `configure` fails to locate the header. live-ebuild is also ok, yes. (In reply to ernsteiswuerfel from comment #12) > Interestingly for me a different upstream commit fixes the 0.7-r1 build > issue: > https://github.com/axboe/liburing/commit/ > 1cf969dfcba797a02d74540965677b92d3884cfa > > examples: disable ucontext-cp if ucontext.h is not available > > The header file `ucontext.h` is not available on musl based distros. The > example `ucontext-cp` is not built if `configure` fails to locate the > header. > > live-ebuild is also ok, yes. This is the correct patch. If maintainer wants to add it they can, if musl users will have to wait for the next release. Should be fixed. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a76defdd03f53949133c2a18dec2ec2b8aa07ef6 commit a76defdd03f53949133c2a18dec2ec2b8aa07ef6 Author: Jory Pratt <anarchy@gentoo.org> AuthorDate: 2021-03-12 15:06:33 +0000 Commit: Jory Pratt <anarchy@gentoo.org> CommitDate: 2021-03-12 15:06:47 +0000 sys-libs/liburing: add support to detect ucontext.h Closes: https://bugs.gentoo.org/713528 Closes: https://github.com/gentoo/musl/issues/379 Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Jory Pratt <anarchy@gentoo.org> .../files/liburing-0.7-ucontext_h-detection.patch | 72 ++++++++++++++++++++++ sys-libs/liburing/liburing-0.7-r1.ebuild | 6 +- 2 files changed, 77 insertions(+), 1 deletion(-) |