In file included from ../plocate-1.1.16/io_uring_engine.cpp:8: /usr/include/liburing.h:520:8: note: forward declaration of 'struct statx' 520 | struct statx; | ^~~~~ ../plocate-1.1.16/io_uring_engine.cpp:126:114: error: 'STATX_MODE' was not declared in this scope 126 | io_uring_prep_statx(sqe, /*fd=*/-1, pending->stat.pathname, AT_STATX_SYNC_AS_STAT | AT_SYMLINK_NOFOLLOW, STATX_MODE, pending->stat.buf); | ^~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20220621-170011 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-12.1.1 * clang/llvm (if any): clang version 14.0.5 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.5 Python 3.9.13 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.61.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm php cli: HEAD of ::gentoo commit 0fcb974f7cdc02106576e2e396a0922b9e17b600 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Wed Jun 22 15:47:44 2022 +0000 2022-06-22 15:47:44 UTC emerge -qpvO sys-apps/plocate [ebuild N ] sys-apps/plocate-1.1.16 USE="io-uring"
Created attachment 786803 [details] emerge-info.txt
Created attachment 786806 [details] emerge-history.txt
Created attachment 786809 [details] environment
Created attachment 786812 [details] etc.portage.tar.bz2
Created attachment 786815 [details] logs.tar.bz2
Created attachment 786818 [details] sys-apps:plocate-1.1.16:20220622-162927.log
Created attachment 786821 [details] temp.tar.bz2
Created attachment 786845 [details, diff] missing include
Upstream is pretty responsive with patches, so it'd be nice to get a fix upstreamed. If you could, please send a properly formatted patch to: Steinar H. Gunderson <steinar+plocate@gunderson.no>. I can also handle this tomorrow afternoon if you'd prefer. Thanks for looking into this BTW, I ran out of time for today.
https://git.sesse.net/?p=plocate;a=commitdiff;h=0125004cd28c5f9124632b594e51dde73af1691c well, someone beat us to it
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ae581f317277614e761ff7659de8ba16abb2bab commit 8ae581f317277614e761ff7659de8ba16abb2bab Author: Alfred Persson Forsberg <cat@catcream.org> AuthorDate: 2022-07-07 17:36:44 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-15 01:17:05 +0000 sys-apps/plocate: Fix build for musl Read each patch for explaination, both are now upstreamed! Should be in 1.1.17 (or whatever next release will be called). Closes: https://bugs.gentoo.org/show_bug.cgi?id=829580 Closes: https://bugs.gentoo.org/show_bug.cgi?id=853769 Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/26268 Signed-off-by: Sam James <sam@gentoo.org> ...plocate-1.1.16-error-to-fprintf-exit-musl.patch | 337 +++++++++++++++++++++ .../plocate-1.1.16-include-linux-stat_h-musl.patch | 30 ++ sys-apps/plocate/plocate-1.1.16.ebuild | 2 + 3 files changed, 369 insertions(+)