autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-riscv64_riscv64_musl/usr/share/aclocal -I m4 -I . --force -I m4 ${ACLOCAL_FLAGS}
/builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal: 2: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal.real: not found
autoreconf: error: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal failed with exit status: 127
configure: WARNING: unrecognized options: --disable-nls
configure: loading site script /builder/shared-workdir/build/sdk/include/site/riscv64
checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/install -c
checking whether build environment is sane... yes
checking for riscv64-openwrt-linux-strip... riscv64-openwrt-linux-musl-strip
checking for a race-free mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking for riscv64-openwrt-linux-gcc... riscv64-openwrt-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... yes
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether riscv64-openwrt-linux-musl-gcc accepts -g... yes
checking for riscv64-openwrt-linux-musl-gcc option to enable C11 features... none needed
checking whether riscv64-openwrt-linux-musl-gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of riscv64-openwrt-linux-musl-gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether make supports nested variables... (cached) yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... riscv64-openwrt-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /builder/shared-workdir/build/sdk/staging_dir/host/bin/sed
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 fgrep... /builder/shared-workdir/build/sdk/staging_dir/host/bin/grep -F
checking for ld used by riscv64-openwrt-linux-musl-gcc... riscv64-openwrt-linux-musl-ld.bfd
checking if the linker (riscv64-openwrt-linux-musl-ld.bfd) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... riscv64-openwrt-linux-musl-gcc-nm
checking the name lister (riscv64-openwrt-linux-musl-gcc-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to riscv64-openwrt-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for riscv64-openwrt-linux-musl-ld.bfd option to reload object files... -r
checking for riscv64-openwrt-linux-file... no
checking for file... file
configure: WARNING: using cross tools not prefixed with host triplet
checking for riscv64-openwrt-linux-objdump... riscv64-openwrt-linux-musl-objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-openwrt-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-openwrt-linux-ar... riscv64-openwrt-linux-musl-gcc-ar
checking for archiver @FILE support... @
checking for riscv64-openwrt-linux-strip... (cached) riscv64-openwrt-linux-musl-strip
checking for riscv64-openwrt-linux-ranlib... riscv64-openwrt-linux-musl-gcc-ranlib
checking command to parse riscv64-openwrt-linux-musl-gcc-nm output from riscv64-openwrt-linux-musl-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for riscv64-openwrt-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if riscv64-openwrt-linux-musl-gcc supports -fno-rtti -fno-exceptions... no
checking for riscv64-openwrt-linux-musl-gcc option to produce PIC... -fPIC -DPIC
checking if riscv64-openwrt-linux-musl-gcc PIC flag -fPIC -DPIC works... yes
checking if riscv64-openwrt-linux-musl-gcc static flag -static works... yes
checking if riscv64-openwrt-linux-musl-gcc supports -c -o file.o... yes
checking if riscv64-openwrt-linux-musl-gcc supports -c -o file.o... (cached) yes
checking whether the riscv64-openwrt-linux-musl-gcc linker (riscv64-openwrt-linux-musl-ld.bfd) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for arpa/inet.h... yes
checking for byteswap.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for linux/serial.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for netinet/tcp.h... yes
checking for sys/ioctl.h... yes
checking for sys/params.h... no
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking for termios.h... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for riscv64-openwrt-linux-musl-gcc options needed to detect all undeclared functions... none needed
checking whether __CYGWIN__ is declared... no
checking for library containing accept... none required
checking for accept4... yes
checking for getaddrinfo... (cached) yes
checking for gettimeofday... (cached) yes
checking for inet_ntoa... yes
checking for select... yes
checking for socket... yes
checking for strerror... (cached) yes
checking for strlcpy... yes
checking for inline... inline
checking whether the compiler supports GNU C++... yes
checking whether riscv64-openwrt-linux-musl-g++ accepts -g... yes
checking for riscv64-openwrt-linux-musl-g++ option to enable C++11 features... none needed
checking dependency style of riscv64-openwrt-linux-musl-g++... none
checking how to run the C++ preprocessor... riscv64-openwrt-linux-musl-g++ -E
checking for ld used by riscv64-openwrt-linux-musl-g++... riscv64-openwrt-linux-musl-ld.bfd
checking if the linker (riscv64-openwrt-linux-musl-ld.bfd) is GNU ld... yes
checking whether the riscv64-openwrt-linux-musl-g++ linker (riscv64-openwrt-linux-musl-ld.bfd) supports shared libraries... yes
checking for riscv64-openwrt-linux-musl-g++ option to produce PIC... -fPIC -DPIC
checking if riscv64-openwrt-linux-musl-g++ PIC flag -fPIC -DPIC works... yes
checking if riscv64-openwrt-linux-musl-g++ static flag -static works... yes
checking if riscv64-openwrt-linux-musl-g++ supports -c -o file.o... yes
checking if riscv64-openwrt-linux-musl-g++ supports -c -o file.o... (cached) yes
checking whether the riscv64-openwrt-linux-musl-g++ linker (riscv64-openwrt-linux-musl-ld.bfd) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for int64_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for winsock2.h... no
checking whether TIOCSRS485 is declared... yes
checking whether TIOCM_RTS is declared... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/modbus-version.h
config.status: creating src/win32/modbus.dll.manifest
config.status: creating tests/Makefile
config.status: creating libmodbus.pc
config.status: creating config.h
config.status: creating tests/unit-test.h
config.status: tests/unit-test.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
configure: WARNING: unrecognized options: --disable-nls

        libmodbus 3.1.8
        ===============

        prefix:                 /usr
        sysconfdir:             /etc
        libdir:                 ${exec_prefix}/lib
        includedir:             ${prefix}/include

        compiler:               riscv64-openwrt-linux-musl-gcc
        cflags:                 -Os -pipe -mabi=lp64d -march=rv64imafdc -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/libmodbus-3.1.8=libmodbus-3.1.8 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic 
        ldflags:                -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-13.3.0_musl/usr/lib -L/builder/shared-workdir/build/sdk/staging_dir/toolchain-riscv64_riscv64_gcc-13.3.0_musl/lib -fuse-ld=bfd -znow -zrelro 

        tests:                  no

make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/libmodbus-3.1.8'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/libmodbus-3.1.8/build-aux/missing' aclocal-1.16 -I m4 
/builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal-1.16: 2: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal.real: not found
WARNING: 'aclocal-1.16' is missing on your system.
         You should only need it if you modified 'acinclude.m4' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'aclocal' program is part of the GNU Automake package:
         <https://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <https://www.gnu.org/software/autoconf>
         <https://www.gnu.org/software/m4/>
         <https://www.perl.org/>
make[4]: *** [Makefile:420: aclocal.m4] Error 127
make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/libmodbus-3.1.8'
make[3]: *** [Makefile:60: /builder/shared-workdir/build/sdk/build_dir/target-riscv64_riscv64_musl/libmodbus-3.1.8/.built] Error 2
time: package/feeds/packages/libmodbus/compile#7.14#3.37#25.40