* Package:    net-misc/rsync-bpc-3.1.3.0
 * Repository: gentoo
 * Maintainer: kernlpanic@dennis-eisele.de proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox

>>> Unpacking source...
>>> Unpacking rsync-bpc-3.1.3.0.tar.gz to /var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work
>>> Source unpacked in /var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work
>>> Preparing source in /var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work/rsync-bpc-3.1.3.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work/rsync-bpc-3.1.3.0 ...
 * econf: updating rsync-bpc-3.1.3.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating rsync-bpc-3.1.3.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/rsync-bpc-3.1.3.0 --htmldir=/usr/share/doc/rsync-bpc-3.1.3.0/html --libdir=/usr/lib
configure.sh: Configuring rsync_bpc 3.1.3.0
checking build system type... x86_64-gentoo-linux-musl
checking host system type... x86_64-gentoo-linux-musl
checking whether to include debugging symbols... yes
checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes
checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a BSD-compatible install... /usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C99... none needed
checking for x86_64-gentoo-linux-musl-gcc option to accept ISO Standard C... (cached) none needed
checking for perl... /usr/bin/perl
checking for remsh... 0
checking for yodl2man... 0
checking for sh... /bin/sh
checking for fakeroot... /usr/bin/fakeroot
checking the group for user "nobody"... nobody
checking for broken largefile support... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking ipv6 stack type... unknown
checking for library containing getaddrinfo... none required
checking whether to call shutdown on all sockets... no
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking whether time.h and sys/time.h may both be included... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/unistd.h usability... no
checking sys/unistd.h presence... no
checking for sys/unistd.h... no
checking for unistd.h... (cached) yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking compat.h usability... no
checking compat.h presence... no
checking for compat.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking for sys/wait.h... (cached) yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/mode.h usability... no
checking sys/mode.h presence... no
checking for sys/mode.h... no
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/attr.h usability... no
checking sys/attr.h presence... no
checking for sys/attr.h... no
checking mcheck.h usability... no
checking mcheck.h presence... no
checking for mcheck.h... no
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking libcharset.h usability... no
checking libcharset.h presence... no
checking for libcharset.h... no
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking sys/acl.h usability... yes
checking sys/acl.h presence... yes
checking for sys/acl.h... yes
checking acl/libacl.h usability... yes
checking acl/libacl.h presence... yes
checking for acl/libacl.h... yes
checking attr/xattr.h usability... yes
checking attr/xattr.h presence... yes
checking for attr/xattr.h... yes
checking sys/xattr.h usability... yes
checking sys/xattr.h presence... yes
checking for sys/xattr.h... yes
checking sys/extattr.h usability... no
checking sys/extattr.h presence... no
checking for sys/extattr.h... no
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking popt/popt.h usability... no
checking popt/popt.h presence... no
checking for popt/popt.h... no
checking linux/falloc.h usability... yes
checking linux/falloc.h presence... yes
checking for linux/falloc.h... yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/ip.h usability... yes
checking netinet/ip.h presence... yes
checking for netinet/ip.h... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for sys/types.h... (cached) yes
checking for utime.h... (cached) yes
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
checking for sys/sysmacros.h... yes
checking if makedev takes 3 args... no
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of short... 2
checking size of int16_t... 2
checking size of uint16_t... 2
checking size of int32_t... 4
checking size of uint32_t... 4
checking size of int64_t... 8
checking size of off_t... 8
checking size of off64_t... 8
checking size of time_t... 8
checking for inline... inline
checking for long double with more range or precision than double... yes
checking for uid_t in sys/types.h... yes
checking for mode_t... yes
checking for off_t... yes
checking for size_t... yes
checking for pid_t... yes
checking for id_t... yes
checking type of array argument to getgroups... gid_t
checking for struct stat.st_rdev... yes
checking for struct stat.st_mtimensec... no
checking for struct stat.st_mtimespec.tv_nsec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for socklen_t... yes
checking for errno in errno.h... yes
checking for connect... yes
checking for library containing inet_ntop... none required
checking for library containing iconv_open... none required
checking for library containing libiconv_open... no
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for inet_ntop... yes
checking for inet_pton... yes
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking whether defines needed by getaddrinfo exist... yes
checking for getaddrinfo... yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for struct stat64... yes
checking for strcasecmp... yes
checking for aclsort... no
checking for aclsort in -lsec... no
checking whether utime accepts a null argument... yes
checking for size_t... (cached) yes
checking for working alloca.h... yes
checking for alloca... yes
checking for waitpid... yes
checking for wait4... yes
checking for getcwd... yes
checking for strdup... yes
checking for chown... yes
checking for chmod... yes
checking for lchmod... yes
checking for mknod... yes
checking for mkfifo... yes
checking for fchmod... yes
checking for fstat... yes
checking for ftruncate... yes
checking for strchr... yes
checking for readlink... yes
checking for link... yes
checking for utime... yes
checking for utimes... yes
checking for lutimes... yes
checking for strftime... yes
checking for memmove... yes
checking for lchown... yes
checking for vsnprintf... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for setsid... yes
checking for strpbrk... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strtol... yes
checking for mallinfo... no
checking for getgroups... yes
checking for setgroups... yes
checking for geteuid... yes
checking for getegid... yes
checking for setlocale... yes
checking for setmode... no
checking for open64... yes
checking for lseek64... yes
checking for mkstemp64... yes
checking for mtrace... no
checking for va_copy... no
checking for __va_copy... no
checking for seteuid... yes
checking for strerror... yes
checking for putenv... yes
checking for iconv_open... yes
checking for locale_charset... no
checking for nl_langinfo... yes
checking for getxattr... yes
checking for extattr_get_link... no
checking for sigaction... yes
checking for sigprocmask... yes
checking for setattrlist... no
checking for getgrouplist... yes
checking for initgroups... yes
checking for utimensat... yes
checking for posix_fallocate... yes
checking for attropen... no
checking for setvbuf... yes
checking for usleep... yes
checking for useable fallocate... yes
checking for FALLOC_FL_PUNCH_HOLE... yes
checking for FALLOC_FL_ZERO_RANGE... yes
checking for SYS_fallocate... no
checking whether posix_fallocate is efficient... no
checking for getpgrp... yes
checking for tcgetpgrp... yes
checking whether getpgrp requires zero arguments... yes
checking whether chown() modifies symlinks... no
checking whether link() can hard-link symlinks... yes
checking whether link() can hard-link special files... yes
checking for working socketpair... yes
checking for getpass... yes
checking for poptGetContext in -lpopt... yes
checking whether to use included libpopt... no
checking for deflateParams in -lz... yes
checking whether to use included zlib... no
checking for unsigned char... yes
checking for broken readdir... no
checking for utimbuf... yes
checking if gettimeofday takes tz argument... yes
checking for C99 vsnprintf... yes
checking for secure mkstemp... yes
checking if mknod creates FIFOs... yes
checking if mknod creates sockets... yes
checking whether -c -o works... yes
checking for stunnel... stunnel
checking for stunnel4... stunnel
checking for _acl... no
checking for __acl... no
checking for _facl... no
checking for __facl... no
checking whether to support ACLs... running tests:
checking for acl_get_file in -lacl... yes
checking for ACL support... yes
checking ACL test results... Using posix ACLs
checking for acl_get_perm_np... no
checking whether to support extended attributes... Using Linux xattrs
checking for getxattr in -lattr... yes
configure.sh: creating ./config.status
config.status: creating Makefile
config.status: creating lib/dummy
config.status: creating zlib/dummy
config.status: creating popt/dummy
config.status: creating shconfig
config.status: creating config.h

    rsync_bpc 3.1.3.0 configuration successful

>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work/rsync-bpc-3.1.3.0 ...
make -j4 
perl ./mkproto.pl ./*.c ./lib/compat.c
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c rsync.c -o rsync.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c generator.c -o generator.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c receiver.c -o receiver.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c cleanup.c -o cleanup.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c sender.c -o sender.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c exclude.c -o exclude.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c util.c -o util.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c util2.c -o util2.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c main.c -o main.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c checksum.c -o checksum.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c match.c -o match.o
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c syscall.c -o syscall.o
syscall.c: In function 'do_punch_hole':
syscall.c:348:27: error: 'FALLOC_FL_ZERO_RANGE' undeclared (first use in this function); did you mean 'HAVE_FALLOC_FL_ZERO_RANGE'?
  348 |         if (fallocate(fd, FALLOC_FL_ZERO_RANGE, pos, len) == 0) {
      |                           ^~~~~~~~~~~~~~~~~~~~
      |                           HAVE_FALLOC_FL_ZERO_RANGE
syscall.c:348:27: note: each undeclared identifier is reported only once for each function it appears in
x86_64-gentoo-linux-musl-gcc -I. -I. -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -DHAVE_CONFIG_H -Wall -W  -c log.c -o log.o
make: *** [Makefile:65: syscall.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: net-misc/rsync-bpc-3.1.3.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=net-misc/rsync-bpc-3.1.3.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/rsync-bpc-3.1.3.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/net-misc:rsync-bpc-3.1.3.0:20220429-054810.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work/rsync-bpc-3.1.3.0'
 * S: '/var/tmp/portage/net-misc/rsync-bpc-3.1.3.0/work/rsync-bpc-3.1.3.0'