>>> libmodbus: Building community/libmodbus 3.1.10-r0 (using abuild 3.14.0-r0) started Fri, 18 Oct 2024 12:27:13 +0000 >>> libmodbus: Validating /home/buildozer/aports/community/libmodbus/APKBUILD... >>> WARNING: libmodbus: Setting the maintainer with a comment is deprecated. Use maintainer="Oz Tiram " instead >>> libmodbus: Analyzing dependencies... >>> libmodbus: Installing for build: build-base linux-headers (1/2) Installing linux-headers (6.6-r1) (2/2) Installing .makedepends-libmodbus (20241018.122747) OK: 248 MiB in 102 packages >>> libmodbus: Cleaning up srcdir >>> libmodbus: Cleaning up pkgdir >>> libmodbus: Cleaning up tmpdir >>> libmodbus: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libmodbus-3.1.10.tar.gz >>> libmodbus: Fetching https://distfiles.alpinelinux.org/distfiles/edge/libmodbus-3.1.10.tar.gz >>> libmodbus: Checking sha512sums... libmodbus-3.1.10.tar.gz: OK >>> libmodbus: Unpacking /var/cache/distfiles/libmodbus-3.1.10.tar.gz... tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' tar: Ignoring unknown extended header keyword 'LIBARCHIVE.creationtime' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... ./build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking how to create a pax tar archive... gnutar checking for gcc... 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... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of gcc... gcc3 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... loongarch64-unknown-linux-musl checking host system type... loongarch64-unknown-linux-musl checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking how to convert loongarch64-unknown-linux-musl file names to loongarch64-unknown-linux-musl format... func_convert_file_noop checking how to convert loongarch64-unknown-linux-musl file names to toolchain format... func_convert_file_noop checking for /usr/loongarch64-alpine-linux-musl/bin/ld option to reload object files... -r checking for file... file checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from 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 mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/loongarch64-alpine-linux-musl/bin/ld) 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 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... yes checking for gettimeofday... yes checking for inet_pton... yes checking for inet_ntop... yes checking for select... yes checking for socket... yes checking for strerror... yes checking for strlcpy... yes checking for inline... inline checking whether the compiler supports GNU C++... yes checking whether g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking dependency style of g++... gcc3 checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/loongarch64-alpine-linux-musl/bin/ld checking if the linker (/usr/loongarch64-alpine-linux-musl/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/loongarch64-alpine-linux-musl/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/loongarch64-alpine-linux-musl/bin/ld) 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 libmodbus 3.1.10 =============== prefix: /usr sysconfdir: /etc libdir: ${exec_prefix}/lib includedir: ${prefix}/include compiler: gcc cflags: -Os -fstack-clash-protection -Wformat -Werror=format-security ldflags: -Wl,--as-needed,-O1,--sort-common tests: yes make --no-print-directory all-recursive Making all in src CC modbus.lo CC modbus-data.lo CC modbus-rtu.lo CC modbus-tcp.lo CCLD libmodbus.la Making all in tests make all-am CC bandwidth-server-one.o CC bandwidth-server-many-up.o CC bandwidth-client.o CC random-test-server.o CC random-test-client.o CC unit-test-server.o CC unit-test-client.o CC version.o CCLD version CCLD random-test-server CCLD bandwidth-server-one CCLD bandwidth-server-many-up CCLD bandwidth-client CCLD unit-test-server CCLD random-test-client CCLD unit-test-client make[2]: Nothing to be done for 'all-am'. Making check in src make[1]: Nothing to be done for 'check'. Making check in tests make check-TESTS PASS: unit-tests.sh ============================================================================ Testsuite summary for libmodbus 3.1.10 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[1]: Nothing to be done for 'check-am'. >>> libmodbus: Entering fakeroot... Making install in src .././build-aux/install-sh -c -d '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib' .././build-aux/install-sh -c -d '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/include/modbus' /bin/sh ../libtool --mode=install /usr/bin/install -c libmodbus.la '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib' /usr/bin/install -c -m 644 modbus.h modbus-version.h modbus-rtu.h modbus-tcp.h '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/include/modbus' libtool: install: /usr/bin/install -c .libs/libmodbus.so.5.1.0 /home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib/libmodbus.so.5.1.0 libtool: install: (cd /home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib && { ln -s -f libmodbus.so.5.1.0 libmodbus.so.5 || { rm -f libmodbus.so.5 && ln -s libmodbus.so.5.1.0 libmodbus.so.5; }; }) libtool: install: (cd /home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib && { ln -s -f libmodbus.so.5.1.0 libmodbus.so || { rm -f libmodbus.so && ln -s libmodbus.so.5.1.0 libmodbus.so; }; }) libtool: install: /usr/bin/install -c .libs/libmodbus.lai /home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib/libmodbus.la libtool: warning: remember to run 'libtool --finish /usr/lib' Making install in tests make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Nothing to be done for 'install-exec-am'. ./build-aux/install-sh -c -d '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/share/doc/libmodbus' ./build-aux/install-sh -c -d '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib/pkgconfig' /usr/bin/install -c -m 644 AUTHORS NEWS README.md '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/share/doc/libmodbus' /usr/bin/install -c -m 644 libmodbus.pc '/home/buildozer/aports/community/libmodbus/pkg/libmodbus/usr/lib/pkgconfig' >>> libmodbus-dev*: Running split function dev... 'usr/include' -> '/home/buildozer/aports/community/libmodbus/pkg/libmodbus-dev/usr/include' 'usr/lib/pkgconfig' -> '/home/buildozer/aports/community/libmodbus/pkg/libmodbus-dev/usr/lib/pkgconfig' 'usr/lib/libmodbus.so' -> '/home/buildozer/aports/community/libmodbus/pkg/libmodbus-dev/usr/lib/libmodbus.so' >>> libmodbus-dev*: Preparing subpackage libmodbus-dev... >>> libmodbus-dev*: Stripping binaries >>> libmodbus-dev*: Running postcheck for libmodbus-dev >>> libmodbus-doc*: Running split function doc... 'usr/share/doc' -> '/home/buildozer/aports/community/libmodbus/pkg/libmodbus-doc/usr/share/doc' >>> libmodbus-doc*: Preparing subpackage libmodbus-doc... >>> libmodbus-doc*: Running postcheck for libmodbus-doc >>> libmodbus*: Running postcheck for libmodbus >>> libmodbus*: Preparing package libmodbus... >>> libmodbus*: Stripping binaries >>> libmodbus-dev*: Scanning shared objects >>> libmodbus-doc*: Scanning shared objects >>> libmodbus*: Scanning shared objects >>> libmodbus-dev*: Tracing dependencies... libmodbus=3.1.10-r0 pkgconfig >>> libmodbus-dev*: Package size: 17.2 KB >>> libmodbus-dev*: Compressing data... >>> libmodbus-dev*: Create checksum... >>> libmodbus-dev*: Create libmodbus-dev-3.1.10-r0.apk >>> libmodbus-doc*: Tracing dependencies... >>> libmodbus-doc*: Package size: 28.0 KB >>> libmodbus-doc*: Compressing data... >>> libmodbus-doc*: Create checksum... >>> libmodbus-doc*: Create libmodbus-doc-3.1.10-r0.apk >>> libmodbus*: Tracing dependencies... so:libc.musl-loongarch64.so.1 >>> libmodbus*: Package size: 49.5 KB >>> libmodbus*: Compressing data... >>> libmodbus*: Create checksum... >>> libmodbus*: Create libmodbus-3.1.10-r0.apk >>> libmodbus: Build complete at Fri, 18 Oct 2024 12:28:10 +0000 elapsed time 0h 0m 57s >>> libmodbus: Cleaning up srcdir >>> libmodbus: Cleaning up pkgdir >>> libmodbus: Uninstalling dependencies... (1/2) Purging .makedepends-libmodbus (20241018.122747) (2/2) Purging linux-headers (6.6-r1) OK: 243 MiB in 100 packages >>> libmodbus: Updating the community/loongarch64 repository index... >>> libmodbus: Signing the index...