Applying ./patches/020-meson-mod_webdav_min.patch using plaintext: 
patching file src/meson.build
The Meson build system
Version: 1.1.1
Source dir: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lighttpd-1.4.71
Build dir: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lighttpd-1.4.71/openwrt-build
Build type: cross build
Project name: lighttpd
Project version: 1.4.71
C compiler for the host machine: mips64-openwrt-linux-musl-gcc (gcc 12.3.0 "mips64-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23346-8fcfb21b16) 12.3.0")
C linker for the host machine: mips64-openwrt-linux-musl-gcc ld.bfd 2.40.0
C compiler for the build machine: gcc (gcc 10.2.1 "gcc (Debian 10.2.1-6) 10.2.1 20210110")
C linker for the build machine: gcc ld.bfd 2.35.2
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: mips64
Host machine cpu: generic
Target machine cpu family: mips64
Target machine cpu: generic
Has header "sys/inotify.h" : YES 
Has header "sys/loadavg.h" : NO 
Has header "sys/poll.h" : YES 
Has header "sys/prctl.h" : YES 
Has header "sys/procctl.h" : NO 
Has header "sys/sendfile.h" : YES 
Has header "sys/un.h" : YES 
Has header "sys/wait.h" : YES 
Has header "sys/time.h" : YES 
Has header "unistd.h" : YES 
Has header "dlfcn.h" : YES 
Has header "getopt.h" : YES 
Has header "inttypes.h" : YES 
Has header "poll.h" : YES 
Has header "pwd.h" : YES 
Has header "stdint.h" : YES 
Has header "stdlib.h" : YES 
Has header "strings.h" : YES 
Has header "syslog.h" : YES 
Has header "crypt.h" : YES 
Has header "malloc.h" : YES 
Has header "signal.h" : YES 
Has header "sys/epoll.h" : YES 
Has header "sys/event.h" : NO 
Has header "sys/mman.h" : YES 
Has header "sys/random.h" : YES 
Has header "linux/random.h" : YES 
Has header "sys/resource.h" : YES 
Has header "sys/uio.h" : YES 
Checking for function "crypt_r" : YES 
Checking for type "socklen_t" : YES 
Header "stdlib.h" has symbol "arc4random_buf" : NO 
Header "unistd.h" has symbol "chroot" : YES 
Header "unistd.h" has symbol "copy_file_range" : YES 
Header "sys/epoll.h" has symbol "epoll_ctl" : YES 
Header "strings.h" has symbol "explicit_bzero" : NO 
Header "string.h" has symbol "explicit_memset" : NO 
Header "unistd.h" has symbol "fork" : YES 
Header "sys/random.h" has symbol "getentropy" : NO 
Header "stdlib.h" has symbol "getloadavg" : YES 
Header "linux/random.h" has symbol "getrandom" : NO 
Header "sys/resource.h" has symbol "getrlimit" : YES 
Header "unistd.h" has symbol "getuid" : YES 
Header "time.h" has symbol "gmtime_r" : YES 
Header "arpa/inet.h" has symbol "inet_aton" : YES 
Header "arpa/inet.h" has symbol "inet_pton" : YES 
Header "unistd.h" has symbol "issetugid" : YES 
Header "stdlib.h" has symbol "jrand48" : YES 
Header "sys/event.h" has symbol "kqueue" : NO 
Header "time.h" has symbol "localtime_r" : YES 
Header "sys/stat.h" has symbol "lstat" : YES 
Header "sys/mman.h" has symbol "madvise" : YES 
Header "malloc.h" has symbol "malloc_trim" : NO 
Header "malloc.h" has symbol "mallopt" : NO 
Header "string.h" has symbol "mempcpy" : YES 
Header "string.h" has symbol "memset_s" : NO 
Header "stdlib.h" has symbol "mkostemp" : YES 
Header "sys/mman.h" has symbol "mmap" : YES 
Header "unistd.h" has symbol "pipe2" : YES 
Header "poll.h" has symbol "poll" : YES 
Header "spawn.h" has symbol "posix_spawn" : YES 
Header "spawn.h" has symbol "posix_spawn_file_actions_addclosefrom_np" : NO 
Header "spawn.h" has symbol "posix_spawn_file_actions_addfchdir_np" : YES 
Header "unistd.h" has symbol "pread" : YES 
Header "sys/uio.h" has symbol "preadv" : YES 
Header "unistd.h" has symbol "pwrite" : YES 
Header "sys/uio.h" has symbol "pwritev" : YES 
Header "sys/socket.h" has symbol "sendfile64" : NO 
Header "sys/sendfile.h" has symbol "sendfile" : YES 
Header "signal.h" has symbol "sigaction" : YES 
Header "signal.h" has symbol "signal" : YES 
Header "fcntl.h" has symbol "splice" : YES 
Header "stdlib.h" has symbol "srandom" : YES 
Header "string.h" has symbol "strerror_r" : YES 
Header "time.h" has symbol "timegm" : YES 
Header "sys/uio.h" has symbol "writev" : YES 
Checking for size of "long" : 8 
Checking for size of "off_t" : 8 
Checking for function "clock_gettime" : YES 
Checking for function "elftc_copyfile" : NO 
Checking if "IPv6 support" compiles: YES 
Checking if "weak symbols" compiles: YES 
Checking if "struct tm gmt offset" compiles: YES 
Library dl found: YES
Checking for function "dlopen" with dependency -ldl: YES 
Dependency libbrotlienc skipped: feature with_brotli disabled
Library bz2 skipped: feature with_bzip disabled
Found pkg-config: /builder/shared-workdir/build/sdk/staging_dir/host/bin/pkg-config (1.9.5)
Run-time dependency dbi found: YES 0.9.0
Dependency libdeflate skipped: feature with_libdeflate disabled
Run-time dependency libmaxminddb found: YES 1.7.1
Run-time dependency krb5 found: YES 1.20.1
Run-time dependency krb5-gssapi found: YES 1.20.1

../../../../build_dir/target-mips64_octeonplus_64_musl/lighttpd-1.4.71/src/meson.build:280:19: ERROR: C shared or static library 'ldap' not found

A full log can be found at /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lighttpd-1.4.71/openwrt-build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
make[3]: *** [Makefile:244: /builder/shared-workdir/build/sdk/build_dir/target-mips64_octeonplus_64_musl/lighttpd-1.4.71/.configured_168fd760e1f8d9c98b752825e5327138] Error 1
time: package/feeds/packages/lighttpd/compile#4.23#2.45#8.68