Applying /builder/shared-workdir/build/sdk/feeds/telephony/net/pcapsipdump/patches/01-use-libc-strlcpy-if-available-v2.patch using plaintext: 
patching file Makefile
patching file pcapsipdump_lib.h
patching file make-checks/all.mk
patching file make-checks/strlcpy.cpp
patching file make-checks/strlcpy.mk
make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/pcapsipdump-2020.03.03~157'
mips64-openwrt-linux-musl-g++ -O3 -Wall -Os -pipe -mno-branch-likely -mips64r2 -mtune=mips64r2 -mabi=64 -fno-caller-saves -fno-plt -fhonour-copts -msoft-float -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/pcapsipdump-2020.03.03~157=pcapsipdump-2020.03.03~157 -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-mips64_mips64r2_64_gcc-13.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-13.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-13.3.0_musl/include/fortify  -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-mips64_mips64r2_64_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro   -D_BSD_SOURCE \
*.cpp \
-lpcap  \
-o pcapsipdump
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/pcapsipdump-2020.03.03~157'
rstrip.sh: /builder/shared-workdir/build/sdk/build_dir/target-mips64_mips64r2_64_musl/pcapsipdump-2020.03.03~157/ipkg-mips64_mips64r2/pcapsipdump/usr/bin/pcapsipdump: executable
/builder/shared-workdir/build/sdk/staging_dir/host/bin/apk: invalid option -- 'w'
apk-tools 3.0.0_pre20241108, compiled for x86_64.

usage: apk mkpkg [<OPTIONS>...]

Description:
  apk mkpkg creates a package file from given metadata and data files.

Global options:
  -h, --help            Print the list of all commands with descriptions
  -f, --force           Enable selected --force-* options (deprecated)
  -i, --interactive     Ask confirmation before performing certain
                        operations
  -p, --root ROOT       Manage file system at ROOT
  -q, --quiet           Print less information
  -U, --update-cache    Alias for '--cache-max-age 1'
  -v, --verbose         Print more information (can be specified twice)
  -V, --version         Print program version and exit
  -X, --repository REPO
                        Specify additional package repository
  --allow-untrusted     Install packages with untrusted signature or no
                        signature
  --arch ARCH           Temporarily override architecture
  --cache-dir CACHEDIR  Temporarily override the cache directory
  --cache-max-age AGE   Maximum AGE (in minutes) for index in cache before
                        it's refreshed
  --force-binary-stdout
                        Continue even if binary data will be printed to the
                        terminal
  --force-broken-world  DANGEROUS: Delete world constraints until a solution
                        without conflicts is found
  --force-missing-repositories
                        Continue even if some of the repository indexes are
                        not available
  --force-no-chroot     Disable chroot for scripts
  --force-non-repository
                        Continue even if packages may be lost on reboot
  --force-old-apk       Continue even if packages use unsupported features
  --force-overwrite     Overwrite files in other packages
  --force-refresh       Do not use cached files (local or from proxy)
  --keys-dir KEYSDIR    Override directory of trusted keys
  --no-cache            Do not use any local cache path
  --no-check-certificate
                        Do not validate the HTTPS server certificates
  --no-interactive      Disable interactive mode
  --no-logfile          Disable writing to the log file
  --no-network          Do not use the network
  --no-progress         Disable progress bar even for TTYs
  --preserve-env        Pass user environment down to scripts
  --print-arch          Print default arch and exit
  --progress            Show progress
  --progress-fd FD      Write progress to the specified file descriptor
  --purge               Purge modified configuration and cached packages
  --repositories-file REPOFILE
                        Override system repositories, see repositories
  --timeout TIME        Timeout network connections if no progress is made
                        in TIME seconds
  --wait TIME           Wait for TIME seconds to get an exclusive repository
                        lock before failing

Generation options:
  -c, --compression ALGORITHM[:LEVEL]
                        Compress the file with given ALGORITHM and LEVEL
  --sign-key KEYFILE    Sign the file with a private key in the specified
                        KEYFILE

Mkpkg options:
  -F, --files PATH      Specify the build root path from where the files are
                        collected from to be included in the package
  -I, --info KEY:VALUE  Specify metadata for the package
  -o, --output FILE     Specify the FILE as the output file name
  --rootnode, --no-rootnode
                        Generate or do not generate the rootnode entry in
                        package PATHS
  -s, --script TYPE:SCRIPT
                        Add the specified SCRIPT with the TYPE
  -t, --trigger TRIGGER
                        Append TRIGGER path specification to list triggers
                        which affect when the trigger script is executed

For more information: man 8 apk-mkpkg
make[3]: *** [Makefile:74: /builder/shared-workdir/build/sdk/bin/packages/mips64_mips64r2/telephony/pcapsipdump-2020.03.03~157-r1.apk] Error 1
time: package/feeds/telephony/pcapsipdump/compile#2.40#1.61#10.69