Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 866932 - net-misc/openrsync-0.5.0_p20220508:0 - socket.c: error: BUFSIZ undeclared (first use in this function)
Summary: net-misc/openrsync-0.5.0_p20220508:0 - socket.c: error: BUFSIZ undeclared (fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-27 08:24 UTC by Toralf Förster
Modified: 2022-08-31 04:30 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.83 KB, text/plain)
2022-08-27 08:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,96.09 KB, text/plain)
2022-08-27 08:24 UTC, Toralf Förster
Details
environment (environment,57.91 KB, text/plain)
2022-08-27 08:24 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,15.62 KB, application/x-bzip)
2022-08-27 08:24 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.72 KB, application/x-bzip)
2022-08-27 08:24 UTC, Toralf Förster
Details
net-misc:openrsync-0.5.0_p20220508:20220827-063639.log (net-misc:openrsync-0.5.0_p20220508:20220827-063639.log,7.35 KB, text/plain)
2022-08-27 08:24 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.25 KB, application/x-bzip)
2022-08-27 08:24 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-08-27 08:24:38 UTC
  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
Comment 1 Toralf Förster gentoo-dev 2022-08-27 08:24:39 UTC
Created attachment 801394 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-27 08:24:41 UTC
Created attachment 801397 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-08-27 08:24:42 UTC
Created attachment 801400 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-08-27 08:24:43 UTC
Created attachment 801403 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-08-27 08:24:44 UTC
Created attachment 801406 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-27 08:24:45 UTC
Created attachment 801409 [details]
net-misc:openrsync-0.5.0_p20220508:20220827-063639.log
Comment 7 Toralf Förster gentoo-dev 2022-08-27 08:24:46 UTC
Created attachment 801412 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-08-31 04:30:24 UTC
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(+)