Applying ./patches/001-no-subdirs.patch using plaintext: 
File Makefile.PL is read-only; trying to patch anyway
patching file Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for File::RsyncP
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for File::RsyncP::Digest
Writing MYMETA.yml and MYMETA.json
Generating a Unix-style Makefile
Writing Makefile for File::RsyncP::FileList
Writing MYMETA.yml and MYMETA.json
configure: loading site script /builder/shared-workdir/build/sdk/include/site/mipsel
configure: Configuring File::RsyncP::FileList based on rsync 2.6.3
checking build system type... x86_64-pc-linux-gnu
checking host system type... mipsel-openwrt-linux-gnu
checking target system type... mipsel-openwrt-linux-gnu
checking for mipsel-openwrt-linux-gcc... mipsel-openwrt-linux-musl-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mipsel-openwrt-linux-musl-gcc accepts -g... yes
checking for mipsel-openwrt-linux-musl-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... mipsel-openwrt-linux-musl-gcc -E
checking for egrep... grep -E
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether to include debugging symbols... yes
checking for remsh... 0
checking for broken largefile support... cross
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES 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 whether byte ordering is bigendian... (cached) 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 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 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 glob.h usability... yes
checking glob.h presence... yes
checking for glob.h... yes
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 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 whether sys/types.h defines makedev... no
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 for int... yes
checking size of int... (cached) 4
checking for long... yes
checking size of long... (cached) 4
checking for short... yes
checking size of short... (cached) 2
checking for inline... inline
checking return type of signal handlers... void
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 type of array argument to getgroups... gid_t
checking for struct stat.st_rdev... yes
checking for ino_t... yes
checking for errno in errno.h... yes
checking for connect... yes
checking for inet_ntop in -lresolv... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking whether defines needed by getaddrinfo exist... yes
checking for getaddrinfo... (cached) yes
checking for getnameinfo... yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking struct sockaddr_storage... yes
checking for struct sockaddr_in6.sin6_scope_id... yes
checking for strcasecmp... yes
checking whether utime accepts a null argument... no
checking for working alloca.h... yes
checking for alloca... yes
checking for waitpid... yes
checking for wait4... yes
checking for getcwd... (cached) yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for chown... yes
checking for chmod... yes
checking for mknod... yes
checking for mkfifo... yes
checking for fchmod... (cached) yes
checking for fstat... yes
checking for strchr... yes
checking for readlink... yes
checking for link... yes
checking for utime... yes
checking for utimes... (cached) yes
checking for strftime... (cached) yes
checking for mtrace... no
checking for ftruncate... yes
checking for memmove... yes
checking for lchown... yes
checking for vsnprintf... (cached) yes
checking for snprintf... yes
checking for asprintf... yes
checking for setsid... yes
checking for glob... 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 open64... no
checking for mkstemp64... no
checking for working socketpair... cross
checking for long long... (cached) yes
checking for off64_t... cross
checking for short ino_t... cross
checking for unsigned char... cross
checking for broken readdir... cross
checking for utimbuf... yes
checking if gettimeofday takes tz argument... cross
checking for C99 vsnprintf... cross
checking for secure mkstemp... cross
checking for broken inet_ntoa... cross
checking for broken inet_aton... cross
checking whether -c -o works... cc1: note: someone does not honour COPTS correctly, passed 0 times
yes
configure: creating ./config.status
config.status: creating config.h

    File::RsyncP::FileList based on rsync 2.6.3 configuration successful

make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/perl/File-RsyncP-0.74/Digest'
cp Digest.pm blib/lib/File/RsyncP/Digest.pm
AutoSplitting blib/lib/File/RsyncP/Digest.pm (blib/lib/auto/File/RsyncP/Digest)
Running Mkbootstrap for Digest ()
chmod 644 "Digest.bs"
"/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.28.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Digest.bs blib/arch/auto/File/RsyncP/Digest/Digest.bs 644
"/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/bin/perl5.28.1" "/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.28.1/ExtUtils/xsubpp"  -typemap '/builder/shared-workdir/build/sdk/staging_dir/hostpkg/usr/lib/perl5/5.28.1/ExtUtils/typemap' -typemap '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/perl/File-RsyncP-0.74/Digest/typemap'  Digest.xs > Digest.xsc
mv Digest.xsc Digest.c
mipsel-openwrt-linux-gcc -c   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Os -pipe -mno-branch-likely -mips32r2 -mtune=74kc -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/perl/File-RsyncP-0.74=File-RsyncP-0.74 -mips16 -minterlink-mips16 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_74kc_gcc-12.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_74kc_gcc-12.3.0_musl/include/fortify -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mipsel_74kc_gcc-12.3.0_musl/include -D_REENTRANT -D_GNU_SOURCE -O2   -DVERSION=\"0.74\" -DXS_VERSION=\"0.74\" -fPIC "-I/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/"  -DPERL_BYTEORDER=12345678 Digest.c
In file included from Digest.xs:21:
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: error: unknown type name 'off64_t'; did you mean 'off_t'?
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
/builder/shared-workdir/build/sdk/staging_dir/target-mipsel_74kc_musl/usr/lib/perl5/5.28/CORE/perl.h:2494:22: note: in definition of macro 'Off_t'
 2494 | #       define Off_t off64_t
      |                      ^~~~~~~
make[4]: *** [Makefile:340: Digest.o] Error 1
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/perl/File-RsyncP-0.74/Digest'
make[3]: *** [Makefile:60: /builder/shared-workdir/build/sdk/build_dir/target-mipsel_74kc_musl/perl/File-RsyncP-0.74/.built] Error 2
time: package/feeds/packages/perl-file-rsyncp/compile#12.98#5.74#72.63