>>> civetweb 1.16 Extracting gzip -d -c /home/thomas/autobuild/instance-2/dl/civetweb/civetweb-1.16.tar.gz | /home/thomas/autobuild/instance-2/output-1/host/bin/tar --strip-components=1 -C /home/thomas/autobuild/instance-2/output-1/build/civetweb-1.16 -xf - >>> civetweb 1.16 Patching >>> civetweb 1.16 Configuring >>> civetweb 1.16 Building PATH="/home/thomas/autobuild/instance-2/output-1/host/bin:/home/thomas/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc-ar" AS="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-as" LD="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-ld" NM="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc-nm" CC="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc" GCC="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc" CPP="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-cpp" CXX="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-g++" FC="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gfortran" F77="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gfortran" RANLIB="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc-ranlib" READELF="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-objcopy" OBJDUMP="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/thomas/autobuild/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/thomas/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 " LDFLAGS="" FCFLAGS=" -O0 -g0" FFLAGS=" -O0 -g0" PKG_CONFIG="/home/thomas/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/thomas/autobuild/instance-2/output-1/host/i686-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no /usr/bin/make -j4 -C /home/thomas/autobuild/instance-2/output-1/build/civetweb-1.16 build slib TARGET_OS=LINUX WITH_IPV6=1 WITH_LUAJIT_SHARED=1 WITH_ZLIB=1 COPT="-DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL" LIBS="-lpthread -lm `/home/thomas/autobuild/instance-2/output-1/host/bin/pkg-config --libs luajit` -ldl `/home/thomas/autobuild/instance-2/output-1/host/bin/pkg-config --libs openssl` -lz" make[1]: Entering directory '/home/thomas/autobuild/instance-2/output-1/build/civetweb-1.16' Lua: Using version 5.1.5 Lua: using dynamic linking Makefile:427: target 'out/src/third_party/lua-5.1.5/src' given more than once in the same rule /home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DLINUX -Iinclude -DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG -DOPENSSL_API_1_1 -DLUA_VERSION_MAKEFILE=501 -Isrc/third_party/lua-5.1.5/src -DLUA_COMPAT_ALL -DUSE_LUA -DLUA_UCID -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Isrc/third_party -DUSE_LUA_FILE_SYSTEM -Isrc/third_party -DUSE_LUA_STRUCT -DUSE_ZLIB -DUSE_IPV6 -fPIC src/civetweb.c -o out/src/civetweb.o /home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DLINUX -Iinclude -DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG -DOPENSSL_API_1_1 -DLUA_VERSION_MAKEFILE=501 -Isrc/third_party/lua-5.1.5/src -DLUA_COMPAT_ALL -DUSE_LUA -DLUA_UCID -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Isrc/third_party -DUSE_LUA_FILE_SYSTEM -Isrc/third_party -DUSE_LUA_STRUCT -DUSE_ZLIB -DUSE_IPV6 src/main.c -o out/src/main.o /home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DLINUX -Iinclude -DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG -DOPENSSL_API_1_1 -DLUA_VERSION_MAKEFILE=501 -Isrc/third_party/lua-5.1.5/src -DLUA_COMPAT_ALL -DUSE_LUA -DLUA_UCID -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Isrc/third_party -DUSE_LUA_FILE_SYSTEM -Isrc/third_party -DUSE_LUA_STRUCT -DUSE_ZLIB -DUSE_IPV6 -fPIC src/third_party/lfs.c -o out/src/third_party/lfs.o /home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc -c -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DLINUX -Iinclude -DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG -DOPENSSL_API_1_1 -DLUA_VERSION_MAKEFILE=501 -Isrc/third_party/lua-5.1.5/src -DLUA_COMPAT_ALL -DUSE_LUA -DLUA_UCID -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Isrc/third_party -DUSE_LUA_FILE_SYSTEM -Isrc/third_party -DUSE_LUA_STRUCT -DUSE_ZLIB -DUSE_IPV6 -fPIC src/third_party/lua_struct.c -o out/src/third_party/lua_struct.o src/third_party/lfs.c:38: warning: "_LARGEFILE64_SOURCE" redefined 38 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition src/third_party/lua_struct.c: In function 'luaopen_struct': src/third_party/lua_struct.c:397:3: warning: implicit declaration of function 'luaL_newlib'; did you mean 'luaL_openlib'? [-Wimplicit-function-declaration] 397 | luaL_newlib(L, thislib); | ^~~~~~~~~~~ | luaL_openlib In file included from src/civetweb.c:13036: src/mod_lua.inl: In function 'lsp_get_var': src/mod_lua.inl:1212:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1212 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lsp_split_form_urlencoded': src/mod_lua.inl:1257:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1257 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lsp_get_cookie': src/mod_lua.inl:1355:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1355 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lsp_url_encode': src/mod_lua.inl:1435:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1435 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lsp_url_decode': src/mod_lua.inl:1475:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1475 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lsp_base64_encode': src/mod_lua.inl:1513:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1513 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lsp_base64_decode': src/mod_lua.inl:1555:28: warning: variable 'ctx' set but not used [-Wunused-but-set-variable] 1555 | struct mg_context *ctx; | ^~~ src/mod_lua.inl: In function 'lua_allocator': src/mod_lua.inl:2651:28: warning: unused variable 'ctx' [-Wunused-variable] 2651 | struct mg_context *ctx = (struct mg_context *)ud; | ^~~ src/mod_lua.inl: At top level: src/mod_lua.inl:2792:32: warning: 'struct lua_websock_data' declared inside parameter list will not be visible outside of this definition or declaration 2792 | struct lua_websock_data *ws_conn_list, | ^~~~~~~~~~~~~~~~ src/mod_lua.inl: In function 'lua_ctx_init': src/mod_lua.inl:3593:33: warning: unused parameter 'ctx' [-Wunused-parameter] 3593 | lua_ctx_init(struct mg_context *ctx) | ~~~~~~~~~~~~~~~~~~~^~~ src/mod_lua.inl: In function 'lua_ctx_exit': src/mod_lua.inl:3602:33: warning: unused parameter 'ctx' [-Wunused-parameter] 3602 | lua_ctx_exit(struct mg_context *ctx) | ~~~~~~~~~~~~~~~~~~~^~~ /home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc -o civetweb -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DLINUX -Iinclude -DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG -DOPENSSL_API_1_1 -DLUA_VERSION_MAKEFILE=501 -Isrc/third_party/lua-5.1.5/src -DLUA_COMPAT_ALL -DUSE_LUA -DLUA_UCID -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Isrc/third_party -DUSE_LUA_FILE_SYSTEM -Isrc/third_party -DUSE_LUA_STRUCT -DUSE_ZLIB -DUSE_IPV6 out/src/civetweb.o out/src/main.o out/src/third_party/lfs.o out/src/third_party/lua_struct.o -lpthread -lm -L/home/thomas/autobuild/instance-2/output-1/host/bin/../i686-buildroot-linux-gnu/sysroot/usr/lib -lluajit-5.1 -ldl -L/home/thomas/autobuild/instance-2/output-1/host/bin/../i686-buildroot-linux-gnu/sysroot/usr/lib -lssl -lcrypto -lz /home/thomas/autobuild/instance-2/output-1/host/bin/i686-buildroot-linux-gnu-gcc -shared -Wl,-soname,libcivetweb.so.1 -o libcivetweb.so.1.16.0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O0 -g0 -Wall -Wextra -Wshadow -Wformat-security -Winit-self -Wmissing-prototypes -DLINUX -Iinclude -DHAVE_POSIX_FALLOCATE=0 -DNO_SSL_DL -DUSE_STACK_SIZE=102400 -O2 -DNDEBUG -DOPENSSL_API_1_1 -DLUA_VERSION_MAKEFILE=501 -Isrc/third_party/lua-5.1.5/src -DLUA_COMPAT_ALL -DUSE_LUA -DLUA_UCID -DLUA_USE_POSIX -DLUA_USE_DLOPEN -Isrc/third_party -DUSE_LUA_FILE_SYSTEM -Isrc/third_party -DUSE_LUA_STRUCT -DUSE_ZLIB -DUSE_IPV6 -fPIC out/src/civetweb.o out/src/third_party/lfs.o out/src/third_party/lua_struct.o -lpthread -lm -L/home/thomas/autobuild/instance-2/output-1/host/bin/../i686-buildroot-linux-gnu/sysroot/usr/lib -lluajit-5.1 -ldl -L/home/thomas/autobuild/instance-2/output-1/host/bin/../i686-buildroot-linux-gnu/sysroot/usr/lib -lssl -lcrypto -lz /home/thomas/autobuild/instance-2/output-1/host/lib/gcc/i686-buildroot-linux-gnu/12.3.0/../../../../i686-buildroot-linux-gnu/bin/ld: out/src/third_party/lua_struct.o: in function `luaopen_struct': lua_struct.c:(.text+0xdfd): undefined reference to `luaL_newlib' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:420: civetweb] Error 1 make[1]: *** Waiting for unfinished jobs.... ln -s -f libcivetweb.so.1 libcivetweb.so ln -s -f libcivetweb.so.1.16.0 libcivetweb.so.1 make[1]: Leaving directory '/home/thomas/autobuild/instance-2/output-1/build/civetweb-1.16' make: *** [package/pkg-generic.mk:283: /home/thomas/autobuild/instance-2/output-1/build/civetweb-1.16/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-2/buildroot'