261 | if (sscanf(cp, "%d.%d", &major, &minor) == 2) { | ^~~~~~ socket.c:261:13: note: include '<stdio.h>' or provide a declaration of 'sscanf' socket.c: In function 'rsync_socket': socket.c:366:37: error: 'BUFSIZ' undeclared (first use in this function) 366 | char **args, buf[BUFSIZ]; | ^~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20220826-151457 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-12.2.0 * clang/llvm (if any): clang version 14.0.6 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/14/bin /usr/lib/llvm/14 14.0.6 Python 3.10.6 Available Ruby profiles: (none found) Available Rust versions: [1] rust-1.62.1 * The following VMs are available for generation-2: *) OpenJDK 17.0.3_p7 [openjdk-17] Available Java Virtual Machines: [1] openjdk-17 system-vm php cli: HEAD of ::gentoo commit 54d247f8000bed455435b22985003986804ba2b2 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Aug 27 06:17:03 2022 +0000 2022-08-27 06:17:03 UTC emerge -qpvO net-misc/openrsync [ebuild N ] net-misc/openrsync-0.5.0_p20220508
Created attachment 801394 [details] emerge-info.txt
Created attachment 801397 [details] emerge-history.txt
Created attachment 801400 [details] environment
Created attachment 801403 [details] etc.portage.tar.bz2
Created attachment 801406 [details] logs.tar.bz2
Created attachment 801409 [details] net-misc:openrsync-0.5.0_p20220508:20220827-063639.log
Created attachment 801412 [details] temp.tar.bz2
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40a9d8c334edf487a5b03b226c55e931c0a3b0ea commit 40a9d8c334edf487a5b03b226c55e931c0a3b0ea Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-31 04:01:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-31 04:01:49 +0000 net-misc/openrsync: fix build w/ musl Closes: https://bugs.gentoo.org/866932 Signed-off-by: Sam James <sam@gentoo.org> .../files/openrsync-0.5.0_p20220508-musl-include.patch | 11 +++++++++++ net-misc/openrsync/openrsync-0.5.0_p20220508.ebuild | 1 + 2 files changed, 12 insertions(+)