Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/lua-rs232/patches/010-gcc13.patch using plaintext: patching file include/librs232/rs232.h Applying /builder/shared-workdir/build/sdk/feeds/packages/lang/lua-rs232/patches/100-remove-build-timestamps.patch using plaintext: patching file bindings/lua/luars232.c 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-powerpc_464fp_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal -I m4 -I . --force autoreconf: configure.ac: tracing autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/libtoolize --install --copy --force OpenWrt-libtoolize: putting auxiliary files in '.'. OpenWrt-libtoolize: copying file './compile' OpenWrt-libtoolize: copying file './config.guess' OpenWrt-libtoolize: copying file './config.sub' OpenWrt-libtoolize: copying file './depcomp' OpenWrt-libtoolize: copying file './install-sh' OpenWrt-libtoolize: copying file './missing' OpenWrt-libtoolize: copying file './ltmain.sh' OpenWrt-libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. OpenWrt-libtoolize: copying file 'm4/libtool.m4' OpenWrt-libtoolize: copying file 'm4/ltoptions.m4' OpenWrt-libtoolize: copying file 'm4/ltsugar.m4' OpenWrt-libtoolize: copying file 'm4/ltversion.m4' OpenWrt-libtoolize: copying file 'm4/lt~obsolete.m4' OpenWrt-libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal -I /builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal -I m4 -I . --force autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/autoconf --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/host/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/hostpkg/share/aclocal --include=/builder/shared-workdir/build/sdk/staging_dir/target-powerpc_464fp_musl/usr/share/aclocal --include=m4 --include=. --prepend-include=/builder/shared-workdir/build/sdk/staging_dir/host/share/aclocal --force configure.ac:56: warning: AC_OUTPUT should be used without arguments. configure.ac:56: You should run autoupdate. autoreconf: configure.ac: not using Autoheader autoreconf: running: /builder/shared-workdir/build/sdk/staging_dir/host/bin/automake --add-missing --copy --force-missing autoreconf: Leaving directory '.' configure: WARNING: unrecognized options: --disable-nls configure: loading site script /builder/shared-workdir/build/sdk/include/site/powerpc checking for a BSD-compatible install... /builder/shared-workdir/build/sdk/staging_dir/host/bin/ginstall -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for powerpc-openwrt-linux-strip... powerpc-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 xargs -n works... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking for powerpc-openwrt-linux-gcc... powerpc-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 powerpc-openwrt-linux-musl-gcc accepts -g... yes checking for powerpc-openwrt-linux-musl-gcc option to enable C23 features... -std=gnu23 checking whether powerpc-openwrt-linux-musl-gcc -std=gnu23 understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of powerpc-openwrt-linux-musl-gcc -std=gnu23... none checking for an ANSI C-conforming const... yes checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc-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 powerpc-openwrt-linux-musl-gcc -std=gnu23... powerpc-openwrt-linux-musl-ld.bfd checking if the linker (powerpc-openwrt-linux-musl-ld.bfd) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... powerpc-openwrt-linux-musl-gcc-nm checking the name lister (powerpc-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 powerpc-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 powerpc-openwrt-linux-musl-ld.bfd option to reload object files... -r checking for file... file checking for powerpc-openwrt-linux-objdump... powerpc-openwrt-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for powerpc-openwrt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc-openwrt-linux-ranlib... powerpc-openwrt-linux-musl-gcc-ranlib checking for powerpc-openwrt-linux-ar... powerpc-openwrt-linux-musl-gcc-ar checking for archiver @FILE support... @ checking for powerpc-openwrt-linux-strip... (cached) powerpc-openwrt-linux-musl-strip checking command to parse powerpc-openwrt-linux-musl-gcc-nm output from powerpc-openwrt-linux-musl-gcc -std=gnu23 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 powerpc-openwrt-linux-mt... no checking for mt... no checking if : is a manifest tool... no 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 dlfcn.h... yes checking for objdir... .libs checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -fno-rtti -fno-exceptions... no checking for powerpc-openwrt-linux-musl-gcc -std=gnu23 option to produce PIC... -fPIC -DPIC checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 PIC flag -fPIC -DPIC works... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 static flag -static works... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -c -o file.o... yes checking if powerpc-openwrt-linux-musl-gcc -std=gnu23 supports -c -o file.o... (cached) yes checking whether the powerpc-openwrt-linux-musl-gcc -std=gnu23 linker (powerpc-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... yes checking for a Lua interpreter with version >= 5.1, < 5.4... lua checking for lua... /builder/shared-workdir/build/sdk/staging_dir/hostpkg/bin/lua checking for lua version... 5.1 checking for lua platform... unknown checking for lua script directory... ${prefix}/share/lua/5.1 checking for lua module directory... ${exec_prefix}/lib/lua/5.1 checking if LUA_VERSION is defined... yes checking for lua.h... yes checking for lualib.h... yes checking for lauxlib.h... yes checking for luaconf.h... yes configure: WARNING: cross compiling so assuming header version number matches checking if LUA_VERSION is defined... yes checking for library containing exp... none required checking for library containing dlopen... none required checking for library containing lua_load... -llua 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 bindings/Makefile config.status: creating bindings/lua/Makefile config.status: creating include/Makefile config.status: creating include/librs232/Makefile config.status: creating src/librs232.pc config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-nls librs232 version 1.0.3 configured successfully. Using '/usr' for installation. make[4]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d' Making all in include make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/include' Making all in librs232 make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/include/librs232' make[6]: Nothing to be done for 'all'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/include/librs232' make[6]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/include' make[6]: Nothing to be done for 'all-am'. make[6]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/include' make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/include' Making all in src make[5]: Entering directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/src' /bin/bash ../libtool --tag=CC --mode=compile powerpc-openwrt-linux-musl-gcc -DPACKAGE_NAME=\"librs232\" -DPACKAGE_TARNAME=\"librs232\" -DPACKAGE_VERSION=\"1.0.3\" -DPACKAGE_STRING=\"librs232\ 1.0.3\" -DPACKAGE_BUGREPORT=\"ynezz@true.cz\" -DPACKAGE_URL=\"\" -DPACKAGE=\"librs232\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LUA_H=1 -DHAVE_LUALIB_H=1 -DHAVE_LAUXLIB_H=1 -DHAVE_LUACONF_H=1 -DBUILD_LUA=1 -I. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify -I../include -Wall -ansi -pedantic -W -Wmissing-prototypes -Wmissing-declarations -Werror -std=gnu99 -O2 -Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts -ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d=lua-rs232-2019.11.20~c106c94d -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c -o rs232.lo rs232.c OpenWrt-libtool: compile: powerpc-openwrt-linux-musl-gcc -DPACKAGE_NAME=\"librs232\" -DPACKAGE_TARNAME=\"librs232\" -DPACKAGE_VERSION=\"1.0.3\" "-DPACKAGE_STRING=\"librs232 1.0.3\"" -DPACKAGE_BUGREPORT=\"ynezz@true.cz\" -DPACKAGE_URL=\"\" -DPACKAGE=\"librs232\" -DVERSION=\"1.0.3\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LUA_H=1 -DHAVE_LUALIB_H=1 -DHAVE_LAUXLIB_H=1 -DHAVE_LUACONF_H=1 -DBUILD_LUA=1 -I. -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/usr/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include -I/builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify -I../include -Wall -ansi -pedantic -W -Wmissing-prototypes -Wmissing-declarations -Werror -std=gnu99 -O2 -Os -pipe -mcpu=464fp -fno-caller-saves -fno-plt -fhonour-copts "-ffile-prefix-map=/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d=lua-rs232-2019.11.20~c106c94d" -ffunction-sections -fdata-sections -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -c rs232.c -fPIC -DPIC -o .libs/rs232.o In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/stdio.h:26, from rs232.c:27: /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:28:7: note: in expansion of macro '__fh_has_builtin' 28 | #if ! __fh_has_builtin(__builtin_trap) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:73:29: note: in expansion of macro '__fh_has_builtin' 73 | #if _FORTIFY_SOURCE > 2 && __fh_has_builtin (__builtin_dynamic_object_size) | ^~~~~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:26:30: error: this use of "defined" may not be portable [-Werror=expansion-to-defined] 26 | #define __fh_has_builtin(x) (__has_builtin(x) || defined(x)) | ^~~~~~~~~~~~~ /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/fortify-headers.h:158:5: note: in expansion of macro '__fh_has_builtin' 158 | #if __fh_has_builtin (__builtin_mul_overflow_p) | ^~~~~~~~~~~~~~~~ In file included from rs232.c:28: /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/stdlib.h: In function 'qsort': /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/stdlib.h:95:16: error: ISO C forbids 'return' with expression, in function returning void [-Werror=pedantic] 95 | return __orig_qsort(base, nmemb, size, compar); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/fortify/stdlib.h:23: /builder/shared-workdir/build/sdk/staging_dir/toolchain-powerpc_464fp_gcc-14.3.0_musl/include/stdlib.h:58:6: note: declared here 58 | void qsort (void *, size_t, size_t, int (*)(const void *, const void *)); | ^~~~~ cc1: all warnings being treated as errors make[5]: *** [Makefile:516: rs232.lo] Error 1 make[5]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/src' make[4]: *** [Makefile:399: all-recursive] Error 1 make[4]: Leaving directory '/builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d' make[3]: *** [Makefile:68: /builder/shared-workdir/build/sdk/build_dir/target-powerpc_464fp_musl/lua-rs232-2019.11.20~c106c94d/.built] Error 2 time: package/feeds/packages/lua-rs232/compile#48.65#8.08#59.26