Applying /builder/shared-workdir/build/sdk/feeds/packages/net/apcupsd/patches/015-drop-doc.patch using plaintext: patching file Makefile configure: WARNING: unrecognized options: --disable-dependency-tracking, --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/loongarch64 checking for true... /bin/true checking for false... /bin/false checking build system type... x86_64-pc-linux-gnu checking host system type... loongarch64-openwrt-linux-gnu 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 loongarch64-openwrt-linux-musl-g++ accepts -g... yes checking for loongarch64-openwrt-linux-gcc... loongarch64-openwrt-linux-musl-gcc checking whether we are using the GNU C compiler... yes checking whether loongarch64-openwrt-linux-musl-gcc accepts -g... yes checking for loongarch64-openwrt-linux-musl-gcc option to accept ISO C89... none needed checking how to run the C preprocessor... loongarch64-openwrt-linux-musl-gcc -E checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c checking for gawk... gawk checking for library containing strerror... none required checking for shutdown... /sbin/halt checking for mail... /bin/true checking for wall... /bin/true checking for sh... /bin/sh checking for GNU make... make checking for loongarch64-openwrt-linux-ranlib... loongarch64-openwrt-linux-musl-gcc-ranlib checking for rm... /bin/rm checking for cp... /builder/shared-workdir/build/sdk/staging_dir/host/bin/cp checking for echo... /bin/echo checking for ln... /bin/ln checking for sed... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed checking for loongarch64-openwrt-linux-ar... loongarch64-openwrt-linux-musl-gcc-ar checking for mv... /bin/mv checking for loongarch64-openwrt-linux-windres... no checking for windres... no checking for loongarch64-openwrt-linux-strip... loongarch64-openwrt-linux-strip checking for rst2html... no checking for rst2html.py... no checking for rst2pdf... no checking for abort... yes checking for calloc... yes checking for getpid... yes checking for rewind... yes checking for signal... yes checking for strerror... (cached) yes checking for strncmp... yes checking for strncpy... yes checking for vfprintf... yes checking for snprintf... yes checking for vsnprintf... (cached) yes checking for strlcpy... yes checking for strlcat... yes checking for accept4... yes checking for fork... yes checking for ioctl... yes checking for kill... yes checking for select... yes checking for setsid... yes checking for tcgetattr... yes checking for syslog... yes checking for library containing nanosleep... none required checking for strftime... (cached) yes checking for library containing socket... none required checking for library containing gethostname... none required checking for library containing gethostbyname... none required checking for library containing gethostbyname_r... none required checking for library containing inet_addr... none required checking for strchr... yes using libc's strchr checking for strstr... yes checking for strcasecmp... yes checking for memmove... yes checking for getopt_long... yes checking for inet_pton... yes checking for localtime_r... yes checking for grep that handles long lines and -e... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep checking for egrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -E 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 arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking for sys/types.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking arpa/nameser.h usability... yes checking arpa/nameser.h presence... yes checking for arpa/nameser.h... yes checking whether stat file-mode macros are broken... no 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 whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for uid_t in sys/types.h... (cached) yes checking for socklen_t... yes checking for X... disabled checking whether #! works in shell scripts... yes Using halpolicydir=/usr/share/hal/fdi/policy/20thirdparty checking for gdImagePng in -lgd... no checking for gdImagePng in -lgd... no checking for gdImageGif in -lgd... no configure: error: Your system lacks the GD library which is needed for compiling the apcupsd CGI programs. Please install libgd and re-run the ./configure script. Alternatively you can disable the CGI support. make[3]: *** [Makefile:113: /builder/shared-workdir/build/sdk/build_dir/target-loongarch64_generic_musl/apcupsd-3.14.14/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 1 time: package/feeds/packages/apcupsd/compile#5.29#3.21#13.05