-- Looking for LIST_HEAD - found -- Looking for LIST_FOREACH -- Looking for LIST_FOREACH - found -- Looking for LIST_FOREACH_SAFE -- Looking for LIST_FOREACH_SAFE - found -- Looking for TAILQ_HEAD -- Looking for TAILQ_HEAD - found -- Looking for TAILQ_FOREACH -- Looking for TAILQ_FOREACH - found -- Looking for TAILQ_FOREACH_SAFE -- Looking for TAILQ_FOREACH_SAFE - found -- Looking for SIMPLEQ_HEAD -- Looking for SIMPLEQ_HEAD - found -- Looking for SIMPLEQ_FOREACH -- Looking for SIMPLEQ_FOREACH - found -- Looking for SIMPLEQ_FOREACH_SAFE -- Looking for SIMPLEQ_FOREACH_SAFE - found -- Looking for CIRCLEQ_HEAD -- Looking for CIRCLEQ_HEAD - found -- Looking for CIRCLEQ_FOREACH -- Looking for CIRCLEQ_FOREACH - found -- Looking for CIRCLEQ_FOREACH_SAFE -- Looking for CIRCLEQ_FOREACH_SAFE - not found -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0 >>> lua-sdl2 2.0.5-6.0 Building PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j2 -C /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/ make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' make[2]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' Scanning dependencies of target common make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' [ 3%] Building C object common/CMakeFiles/common.dir/array.c.o [ 6%] Building C object common/CMakeFiles/common.dir/common.c.o [ 9%] Building C object common/CMakeFiles/common.dir/rwops.c.o [ 12%] Building C object common/CMakeFiles/common.dir/surface.c.o /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/surface.c: In function 'l_surface_getRawPixel': /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/surface.c:892:21: warning: pointer targets in passing argument 2 of 'lua_pushlstring' differ in signedness [-Wpointer-sign] lua_pushlstring(L, ptr, size); ^~~ In file included from /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/common.h:25, from /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/rwops.h:22, from /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/surface.c:24: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/lua.h:227:22: note: expected 'const char *' but argument is of type 'Uint8 *' {aka 'unsigned char *'} LUA_API const char *(lua_pushlstring) (lua_State *L, const char *s, size_t len); ^~~~~~~~~~~~~~~ [ 15%] Building C object common/CMakeFiles/common.dir/table.c.o [ 18%] Building C object common/CMakeFiles/common.dir/variant.c.o [ 21%] Building C object common/CMakeFiles/common.dir/video.c.o [ 25%] Linking C static library libcommon.a make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' [ 25%] Built target common make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' Scanning dependencies of target SDL make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' make[3]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' [ 31%] Building C object CMakeFiles/SDL.dir/src/audio.c.o [ 31%] Building C object CMakeFiles/SDL.dir/src/channel.c.o [ 34%] Building C object CMakeFiles/SDL.dir/src/clipboard.c.o [ 37%] Building C object CMakeFiles/SDL.dir/src/cpu.c.o [ 40%] Building C object CMakeFiles/SDL.dir/src/display.c.o [ 43%] Building C object CMakeFiles/SDL.dir/src/events.c.o [ 46%] Building C object CMakeFiles/SDL.dir/src/filesystem.c.o [ 50%] Building C object CMakeFiles/SDL.dir/src/gamecontroller.c.o [ 53%] Building C object CMakeFiles/SDL.dir/src/gl.c.o [ 56%] Building C object CMakeFiles/SDL.dir/src/haptic.c.o [ 59%] Building C object CMakeFiles/SDL.dir/src/joystick.c.o [ 62%] Building C object CMakeFiles/SDL.dir/src/logging.c.o [ 65%] Building C object CMakeFiles/SDL.dir/src/keyboard.c.o /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/src/logging.c: In function 'l_logSetOutputFunction': /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/src/logging.c:229:27: warning: cast between incompatible function types from 'void * (*)(lua_State *, int, int, const char *)' {aka 'void * (*)(struct lua_State *, int, int, const char *)'} to 'void (*)(void *, int, SDL_LogPriority, const char *)' {aka 'void (*)(void *, int, enum , const char *)'} [-Wcast-function-type] SDL_LogSetOutputFunction((SDL_LogOutputFunction)loggingCustomOutput, L); ^ [ 68%] Building C object CMakeFiles/SDL.dir/src/mouse.c.o [ 71%] Building C object CMakeFiles/SDL.dir/src/platform.c.o [ 75%] Building C object CMakeFiles/SDL.dir/src/power.c.o [ 78%] Building C object CMakeFiles/SDL.dir/src/rectangle.c.o [ 81%] Building C object CMakeFiles/SDL.dir/src/renderer.c.o In file included from /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL_video.h:33, from /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL_events.h:33, from /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL.h:41, from /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/common.h:29, from /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/common/video.h:23, from /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/src/rectangle.c:25: /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/src/rectangle.c: In function 'l_rectEquals': /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL_rect.h:92:33: warning: 'b.x' is used uninitialized in this function [-Wuninitialized] return (a && b && (a->x == b->x) && (a->y == b->y) && ~^~~ /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL_rect.h:92:51: warning: 'b.y' may be used uninitialized in this function [-Wmaybe-uninitialized] return (a && b && (a->x == b->x) && (a->y == b->y) && ~^~~ /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL_rect.h:93:23: warning: 'b.w' may be used uninitialized in this function [-Wmaybe-uninitialized] (a->w == b->w) && (a->h == b->h)) ? SDL_TRUE : SDL_FALSE; ~^~~ /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/SDL2/SDL_rect.h:93:41: warning: 'b.h' may be used uninitialized in this function [-Wmaybe-uninitialized] (a->w == b->w) && (a->h == b->h)) ? SDL_TRUE : SDL_FALSE; ~^~~ [ 84%] Building C object CMakeFiles/SDL.dir/src/SDL.c.o [ 87%] Building C object CMakeFiles/SDL.dir/src/texture.c.o [ 90%] Building C object CMakeFiles/SDL.dir/src/thread.c.o [ 93%] Building C object CMakeFiles/SDL.dir/src/timer.c.o [ 96%] Building C object CMakeFiles/SDL.dir/src/window.c.o [100%] Linking C shared module SDL.so make[3]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' [100%] Built target SDL make[2]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' >>> lua-sdl2 2.0.5-6.0 Installing to target PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/make -j2 DESTDIR=/home/mark/buildroot-test/instance-0/output/target install/fast -C /home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0/ make[1]: Entering directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' Install the project... -- Install configuration: "Release" -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/SDL.so -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/audio -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/audio/audio.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/audio/gun.wav -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/audio/audio-processor.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/font -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/font/font.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/font/DejaVuSans.ttf -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/image -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/image/image.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/image/Lua-SDL2.png -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/joystick -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/joystick/joystick.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/keyboard -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/keyboard/keyboard.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/paths -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/paths/paths.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/rwops -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/rwops/rwops.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/tcp -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/tcp/server.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/tcp/client.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/threads -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/threads/channel.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/udp -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/udp/server.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/examples/udp/client.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/01-initialization -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/01-initialization/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/02-window -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/02-window/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/03-events -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/03-events/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/04-drawing -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/04-drawing/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/04-drawing/Lua-SDL2.png -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/05-sound -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/05-sound/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/05-sound/gun.wav -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/06-text -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/06-text/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/06-text/DejaVuSans.ttf -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/07-bouncing -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/07-bouncing/tutorial.lua -- Installing: /home/mark/buildroot-test/instance-0/output/target/usr/share/docs/Lua-SDL2/tutorials/07-bouncing/Lua-SDL2.png make[1]: Leaving directory '/home/mark/buildroot-test/instance-0/output/build/lua-sdl2-2.0.5-6.0' >>> luadbi 0.7.2-1 Downloading --2019-08-18 17:00:49-- http://rocks.moonscript.org/luadbi-0.7.2-1.src.rock Resolving rocks.moonscript.org (rocks.moonscript.org)... 45.33.61.132 Connecting to rocks.moonscript.org (rocks.moonscript.org)|45.33.61.132|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 63223 (62K) [application/x-rock] Saving to: '/home/mark/buildroot-test/instance-0/output/build/.luadbi-0.7.2-1.src.rock.rJfoIY/output' 0K .......... .......... .......... .......... .......... 80% 157K 0s 50K .......... . 100% 11.3M=0.3s 2019-08-18 17:00:50 (194 KB/s) - '/home/mark/buildroot-test/instance-0/output/build/.luadbi-0.7.2-1.src.rock.rJfoIY/output' saved [63223/63223] luadbi-0.7.2-1.src.rock: OK (sha256: 9ebbbaf4ea1f48628341e9ff3c1de10a57200c02453734f41b8016b0fc7b4956) >>> luadbi 0.7.2-1 Extracting mkdir -p /home/mark/buildroot-test/instance-0/output/build/luadbi-0.7.2-1/luarocks-extract cd /home/mark/buildroot-test/instance-0/output/build/luadbi-0.7.2-1/luarocks-extract && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks unpack --force /home/mark/buildroot-test/instance-0/dl/luadbi/luadbi-0.7.2-1.src.rock Done. You may now enter directory luadbi-0.7.2-1/luadbi and type 'luarocks make' to build. mv /home/mark/buildroot-test/instance-0/output/build/luadbi-0.7.2-1/luarocks-extract/*/* /home/mark/buildroot-test/instance-0/output/build/luadbi-0.7.2-1 >>> luadbi 0.7.2-1 Patching >>> luadbi 0.7.2-1 Configuring >>> luadbi 0.7.2-1 Building >>> luadbi 0.7.2-1 Installing to target cd /home/mark/buildroot-test/instance-0/output/build/luadbi-0.7.2-1/luadbi && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks make --keep luadbi-0.7.2-1.rockspec Warning: skipping dependency checks. luadbi 0.7.2-1 is now installed in /home/mark/buildroot-test/instance-0/output/target/usr (license: MIT/X11) Missing dependencies for copas 2.0.2-1: luasocket >= 2.1 (not installed) coxpcall >= 1.14 (not installed) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) luaexpat-1.3.3-1.src.rock: OK (sha256: b55908fcd7df490a59aab25284460add8283f1c6b94ab584900fe3e49775172a) >>> luaexpat 1.3.3-1 Extracting mkdir -p /home/mark/buildroot-test/instance-0/output/build/luaexpat-1.3.3-1/luarocks-extract cd /home/mark/buildroot-test/instance-0/output/build/luaexpat-1.3.3-1/luarocks-extract && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks unpack --force /home/mark/buildroot-test/instance-0/dl/luaexpat/luaexpat-1.3.3-1.src.rock Done. You may now enter directory luaexpat-1.3.3-1/luaexpat-1.3.3 and type 'luarocks make' to build. mv /home/mark/buildroot-test/instance-0/output/build/luaexpat-1.3.3-1/luarocks-extract/*/* /home/mark/buildroot-test/instance-0/output/build/luaexpat-1.3.3-1 >>> luaexpat 1.3.3-1 Patching Applying 0001-restore-getcurrentbytecount.patch using patch: patching file luaexpat-1.3.3/src/lxplib.c >>> luaexpat 1.3.3-1 Configuring >>> luaexpat 1.3.3-1 Building >>> luaexpat 1.3.3-1 Installing to target cd /home/mark/buildroot-test/instance-0/output/build/luaexpat-1.3.3-1/luaexpat-1.3.3 && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks make --keep luaexpat-1.3.3-1.rockspec Warning: skipping dependency checks. /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/lxplib.c -o src/lxplib.o -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -Isrc/ /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o lxp.so src/lxplib.o -L/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/lib -lexpat luaexpat 1.3.3-1 is now installed in /home/mark/buildroot-test/instance-0/output/target/usr (license: MIT/X11) Missing dependencies for copas 2.0.2-1: luasocket >= 2.1 (not installed) coxpcall >= 1.14 (not installed) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) luafilesystem-1.7.0-2.src.rock: OK (sha256: 65e6d437e577a1d6cd509b6cd224d2cb9501d58d32a72cafbd4fd3f911681576) >>> luafilesystem 1.7.0-2 Extracting mkdir -p /home/mark/buildroot-test/instance-0/output/build/luafilesystem-1.7.0-2/luarocks-extract cd /home/mark/buildroot-test/instance-0/output/build/luafilesystem-1.7.0-2/luarocks-extract && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks unpack --force /home/mark/buildroot-test/instance-0/dl/luafilesystem/luafilesystem-1.7.0-2.src.rock Done. You may now enter directory luafilesystem-1.7.0-2/luafilesystem and type 'luarocks make' to build. mv /home/mark/buildroot-test/instance-0/output/build/luafilesystem-1.7.0-2/luarocks-extract/*/* /home/mark/buildroot-test/instance-0/output/build/luafilesystem-1.7.0-2 >>> luafilesystem 1.7.0-2 Patching >>> luafilesystem 1.7.0-2 Configuring >>> luafilesystem 1.7.0-2 Building >>> luafilesystem 1.7.0-2 Installing to target cd /home/mark/buildroot-test/instance-0/output/build/luafilesystem-1.7.0-2/luafilesystem && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks make --keep luafilesystem-1.7.0-2.rockspec Warning: skipping dependency checks. src/lfs.c:33: warning: "_LARGEFILE64_SOURCE" redefined #define _LARGEFILE64_SOURCE : note: this is the location of the previous definition /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/lfs.c -o src/lfs.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o lfs.so src/lfs.o luafilesystem 1.7.0-2 is now installed in /home/mark/buildroot-test/instance-0/output/target/usr (license: MIT/X11) Missing dependencies for copas 2.0.2-1: luasocket >= 2.1 (not installed) coxpcall >= 1.14 (not installed) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) luaposix-34.1.1.tar.gz: OK (sha256: 7948f4ac8b953172e928753632e37ad97cc3014df74b524fe7839f71216a7e90) >>> luaposix 34.1.1 Extracting gzip -d -c /home/mark/buildroot-test/instance-0/dl/luaposix/luaposix-34.1.1.tar.gz | /home/mark/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /home/mark/buildroot-test/instance-0/output/build/luaposix-34.1.1 -xf - >>> luaposix 34.1.1 Patching >>> luaposix 34.1.1 Configuring >>> luaposix 34.1.1 Building (cd /home/mark/buildroot-test/instance-0/output/build/luaposix-34.1.1; /home/mark/buildroot-test/instance-0/output/host/bin/lua build-aux/luke CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LUA_INCDIR=/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ) creating lib/posix/version.lua creating build-aux/config.ld /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/utsname.c -o linux/posix/sys/utsname.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/libgen.c -o linux/posix/libgen.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/stat.c -o linux/posix/sys/stat.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/termio.c -o linux/posix/termio.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/poll.c -o linux/posix/poll.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/dirent.c -o linux/posix/dirent.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/fnmatch.c -o linux/posix/fnmatch.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DHAVE_SCHED_SETSCHEDULER -DNDEBUG -D_XOPEN_SOURCE=700 -DHAVE_SCHED_H -DPACKAGE='"luaposix"' -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DHAVE_SCHED_GETSCHEDULER -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sched.c -o linux/posix/sched.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/times.c -o linux/posix/sys/times.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/errno.c -o linux/posix/errno.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DVERSION='"mark"' -DPACKAGE='"luaposix"' -DHAVE_POSIX_FADVISE -D_POSIX_C_SOURCE=200809L -D_FORTIFY_SOURCE=2 -DNDEBUG -D_XOPEN_SOURCE=700 -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/fcntl.c -o linux/posix/fcntl.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/stdio.c -o linux/posix/stdio.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/ctype.c -o linux/posix/ctype.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/pwd.c -o linux/posix/pwd.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DHAVE_CRYPT -DHAVE_FDATASYNC -D_XOPEN_SOURCE=700 -DHAVE_GETHOSTID -DVERSION='"mark"' -DPACKAGE='"luaposix"' -DHAVE_DECL_FDATASYNC -D_POSIX_C_SOURCE=200809L -D_FORTIFY_SOURCE=2 -DNDEBUG -DHAVE_CRYPT_H -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/unistd.c -o linux/posix/unistd.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DVERSION='"mark"' -DPACKAGE='"luaposix"' -DHAVE_STATVFS -D_POSIX_C_SOURCE=200809L -D_FORTIFY_SOURCE=2 -DNDEBUG -D_XOPEN_SOURCE=700 -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/statvfs.c -o linux/posix/sys/statvfs.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/signal.c -o linux/posix/signal.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/time.c -o linux/posix/sys/time.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/stdlib.c -o linux/posix/stdlib.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DVERSION='"mark"' -D_POSIX_C_SOURCE=200809L -DHAVE_LINUX_NETLINK_H -D_XOPEN_SOURCE=700 -D_FORTIFY_SOURCE=2 -DHAVE_NET_IF_H -DNDEBUG -DPACKAGE='"luaposix"' -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/socket.c -o linux/posix/sys/socket.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/grp.c -o linux/posix/grp.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/syslog.c -o linux/posix/syslog.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/glob.c -o linux/posix/glob.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DHAVE_MSGRCV -DNDEBUG -D_XOPEN_SOURCE=700 -DPACKAGE='"luaposix"' -DVERSION='"mark"' -DHAVE_MSGSND -D_FORTIFY_SOURCE=2 -DHAVE_SYS_MSG_H -D_POSIX_C_SOURCE=200809L -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/msg.c -o linux/posix/sys/msg.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/resource.c -o linux/posix/sys/resource.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/time.c -o linux/posix/time.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/utime.c -o linux/posix/utime.so /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -shared -fPIC -DPACKAGE='"luaposix"' -D_XOPEN_SOURCE=700 -DVERSION='"mark"' -D_FORTIFY_SOURCE=2 -D_POSIX_C_SOURCE=200809L -DNDEBUG -Iext/include -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include ext/posix/sys/wait.c -o linux/posix/sys/wait.so true -c build-aux/config.ld . >>> luaposix 34.1.1 Installing to target (cd /home/mark/buildroot-test/instance-0/output/build/luaposix-34.1.1; /home/mark/buildroot-test/instance-0/output/host/bin/lua build-aux/luke install INST_LIBDIR="/home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3" INST_LUADIR="/home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3" ) mkdir -p /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix cp linux/posix/ctype.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/fcntl.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ mkdir -p /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys cp linux/posix/sys/time.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/poll.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/sched.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/sys/wait.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ mkdir -p /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix cp lib/posix/_base.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp lib/posix/deprecated.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp linux/posix/glob.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/fnmatch.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/stdlib.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp lib/posix/compat.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp linux/posix/errno.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp lib/posix/sys.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp linux/posix/sys/msg.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/dirent.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/sys/utsname.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/sys/resource.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/stdio.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp lib/posix/init.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp linux/posix/pwd.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/termio.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/utime.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp lib/posix/_strict.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp lib/posix/version.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp linux/posix/sys/stat.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/libgen.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/syslog.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/signal.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp lib/posix/util.lua /home/mark/buildroot-test/instance-0/output/target/usr/share/lua/5.3/posix/ cp linux/posix/sys/statvfs.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/unistd.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/sys/times.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/time.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ cp linux/posix/sys/socket.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/sys/ cp linux/posix/grp.so /home/mark/buildroot-test/instance-0/output/target/usr/lib/lua/5.3/posix/ luasocket-3.0rc1-1.src.rock: OK (sha256: 453fc1d0e9b6a44bbada4290d565f840a5e96ba2d1b47562ba38bd9c7e82195a) >>> luasocket 3.0rc1-1 Extracting mkdir -p /home/mark/buildroot-test/instance-0/output/build/luasocket-3.0rc1-1/luarocks-extract cd /home/mark/buildroot-test/instance-0/output/build/luasocket-3.0rc1-1/luarocks-extract && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks unpack --force /home/mark/buildroot-test/instance-0/dl/luasocket/luasocket-3.0rc1-1.src.rock Done. You may now enter directory luasocket-3.0rc1-1/luasocket-3.0-rc1 and type 'luarocks make' to build. mv /home/mark/buildroot-test/instance-0/output/build/luasocket-3.0rc1-1/luarocks-extract/*/* /home/mark/buildroot-test/instance-0/output/build/luasocket-3.0rc1-1 >>> luasocket 3.0rc1-1 Patching >>> luasocket 3.0rc1-1 Configuring >>> luasocket 3.0rc1-1 Building >>> luasocket 3.0rc1-1 Installing to target cd /home/mark/buildroot-test/instance-0/output/build/luasocket-3.0rc1-1/luasocket-3.0-rc1 && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks make --keep luasocket-3.0rc1-1.rockspec Warning: skipping dependency checks. In file included from src/usocket.c:18: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/unix.c -o src/unix.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o socket/unix.so src/buffer.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/unix.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/luasocket.c -o src/luasocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/inet.c -o src/inet.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/except.c -o src/except.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/select.c -o src/select.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instIn file included from src/usocket.c:18: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ ance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/tcp.c -o src/tcp.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/udp.c -o src/udp.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o socket/core.so src/luasocket.o src/timeout.o src/buffer.o src/io.o src/auxiliar.o src/options.o src/inet.o src/except.o src/select.o src/tcp.o src/udp.o src/usocket.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/mime.c -o src/mime.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o mime/core.so src/mime.o /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/buffer.c -o src/buffer.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/auxiliar.c -o src/auxiliar.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/options.c -o src/options.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/timeout.c -o src/timeout.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/outIn file included from src/usocket.c:18: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include/sys/poll.h:1:2: warning: #warning redirecting incorrect #include to [-Wcpp] #warning redirecting incorrect #include to ^~~~~~~ put/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/io.c -o src/io.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/usocket.c -o src/usocket.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/serial.c -o src/serial.o -DLUASOCKET_DEBUG -DLUASOCKET_API=__attribute__((visibility("default"))) -DUNIX_API=__attribute__((visibility("default"))) -DMIME_API=__attribute__((visibility("default"))) /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o socket/serial.so src/buffer.o src/auxiliar.o src/options.o src/timeout.o src/io.o src/usocket.o src/serial.o luasocket 3.0rc1-1 is now installed in /home/mark/buildroot-test/instance-0/output/target/usr (license: MIT) Missing dependencies for copas 2.0.2-1: luasocket >= 2.1 (not installed) coxpcall >= 1.14 (not installed) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) luasql-sqlite3-2.4.0-1.src.rock: OK (sha256: 502faabc5e06c1d7c1ddb9a0550eb19220020c86b9f1e26a2cc2001e1343b35d) >>> luasql-sqlite3 2.4.0-1 Extracting mkdir -p /home/mark/buildroot-test/instance-0/output/build/luasql-sqlite3-2.4.0-1/luarocks-extract cd /home/mark/buildroot-test/instance-0/output/build/luasql-sqlite3-2.4.0-1/luarocks-extract && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks unpack --force /home/mark/buildroot-test/instance-0/dl/luasql-sqlite3/luasql-sqlite3-2.4.0-1.src.rock Done. You may now enter directory luasql-sqlite3-2.4.0-1/luasql and type 'luarocks make' to build. mv /home/mark/buildroot-test/instance-0/output/build/luasql-sqlite3-2.4.0-1/luarocks-extract/*/* /home/mark/buildroot-test/instance-0/output/build/luasql-sqlite3-2.4.0-1 >>> luasql-sqlite3 2.4.0-1 Patching >>> luasql-sqlite3 2.4.0-1 Configuring >>> luasql-sqlite3 2.4.0-1 Building >>> luasql-sqlite3 2.4.0-1 Installing to target cd /home/mark/buildroot-test/instance-0/output/build/luasql-sqlite3-2.4.0-1/luasql && LUA_PATH="/home/mark/buildroot-test/instance-0/output/host/share/lua/5.3/?.lua" TARGET_CC="/home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc" TARGET_CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2" TARGET_LDFLAGS="" /home/mark/buildroot-test/instance-0/output/host/bin/lua /home/mark/buildroot-test/instance-0/output/host/bin/luarocks make --keep luasql-sqlite3-2.4.0-1.rockspec Warning: skipping dependency checks. /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/luasql.c -o src/luasql.o -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -fPIC -DLUA_COMPAT_5_2 -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include -c src/ls_sqlite3.c -o src/ls_sqlite3.o -I/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/include /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -shared -o luasql/sqlite3.so src/luasql.o src/ls_sqlite3.o -L/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/lib -lsqlite3 luasql-sqlite3 2.4.0-1 is now installed in /home/mark/buildroot-test/instance-0/output/target/usr (license: MIT/X11) Missing dependencies for copas 2.0.2-1: luasocket >= 2.1 (not installed) coxpcall >= 1.14 (not installed) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) >>> luv 1.30.1-0 Downloading --2019-08-18 17:01:00-- https://github.com/luvit/luv/releases/download/1.30.1-0/luv-1.30.1-0.tar.gz Resolving github.com (github.com)... 140.82.113.3 Connecting to github.com (github.com)|140.82.113.3|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/6127999/516fc000-b4b1-11e9-8b0d-430dc31ed1c8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190818%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190818T160101Z&X-Amz-Expires=300&X-Amz-Signature=a900f8ef9cdc87ab51de337ba10611d659656398822f8aa27f9e7c27ad89052e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dluv-1.30.1-0.tar.gz&response-content-type=application%2Foctet-stream [following] --2019-08-18 17:01:01-- https://github-production-release-asset-2e65be.s3.amazonaws.com/6127999/516fc000-b4b1-11e9-8b0d-430dc31ed1c8?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190818%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190818T160101Z&X-Amz-Expires=300&X-Amz-Signature=a900f8ef9cdc87ab51de337ba10611d659656398822f8aa27f9e7c27ad89052e&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dluv-1.30.1-0.tar.gz&response-content-type=application%2Foctet-stream Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.217.37.188 Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.217.37.188|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 1355139 (1.3M) [application/octet-stream] Saving to: '/home/mark/buildroot-test/instance-0/output/build/.luv-1.30.1-0.tar.gz.S4F7Dy/output' 0K .......... .......... .......... .......... .......... 3% 557K 2s 50K .......... .......... .......... .......... .......... 7% 573K 2s 100K .......... .......... .......... .......... .......... 11% 601K 2s 150K .......... .......... .......... .......... .......... 15% 8.18M 1s 200K .......... .......... .......... .......... .......... 18% 8.82M 1s 250K .......... .......... .......... .......... .......... 22% 669K 1s 300K .......... .......... .......... .......... .......... 26% 8.37M 1s 350K .......... .......... .......... .......... .......... 30% 8.28M 1s 400K .......... .......... .......... .......... .......... 34% 9.43M 1s 450K .......... .......... .......... .......... .......... 37% 8.93M 1s 500K .......... .......... .......... .......... .......... 41% 8.83M 1s 550K .......... .......... .......... .......... .......... 45% 864K 1s 600K .......... .......... .......... .......... .......... 49% 8.84M 0s 650K .......... .......... .......... .......... .......... 52% 8.66M 0s 700K .......... .......... .......... .......... .......... 56% 8.66M 0s 750K .......... .......... .......... .......... .......... 60% 8.80M 0s 800K .......... .......... .......... .......... .......... 64% 8.94M 0s 850K .......... .......... .......... .......... .......... 68% 12.1M 0s 900K .......... .......... .......... .......... .......... 71% 8.38M 0s 950K .......... .......... .......... .......... .......... 75% 8.36M 0s 1000K .......... .......... .......... .......... .......... 79% 8.03M 0s 1050K .......... .......... .......... .......... .......... 83% 8.33M 0s 1100K .......... .......... .......... .......... .......... 86% 8.61M 0s 1150K .......... .......... .......... .......... .......... 90% 8.05M 0s 1200K .......... .......... .......... .......... .......... 94% 2.15M 0s 1250K .......... .......... .......... .......... .......... 98% 9.21M 0s 1300K .......... .......... ... 100% 14.2M=0.5s 2019-08-18 17:01:02 (2.44 MB/s) - '/home/mark/buildroot-test/instance-0/output/build/.luv-1.30.1-0.tar.gz.S4F7Dy/output' saved [1355139/1355139] luv-1.30.1-0.tar.gz: OK (sha256: 420fc299f3b25aff55b839e9fe590982f45045b3e53ebeab2449eca7e23a106a) >>> luv 1.30.1-0 Extracting gzip -d -c /home/mark/buildroot-test/instance-0/dl/luv/luv-1.30.1-0.tar.gz | /home/mark/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0 -xf - >>> luv 1.30.1-0 Patching >>> luv 1.30.1-0 Configuring (mkdir -p /home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0/ && cd /home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0/ && rm -f CMakeCache.txt && PATH="/home/mark/buildroot-test/instance-0/output/host/bin:/home/mark/buildroot-test/instance-0/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" /usr/bin/cmake /home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0/ -DCMAKE_TOOLCHAIN_FILE="/home/mark/buildroot-test/instance-0/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_MODULE=OFF -DWITH_SHARED_LIBUV=ON -DLUA_BUILD_TYPE=System -DWITH_LUA_ENGINE=Lua ) -- The C compiler identification is GNU 8.3.0 -- The ASM compiler identification is GNU -- Found assembler: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -- Check for working C compiler: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -- Check for working C compiler: /home/mark/buildroot-test/instance-0/output/host/bin/riscv64-buildroot-linux-musl-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found LIBUV: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/libuv.so -- Found Lua: /home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/usr/lib/liblua.so;/home/mark/buildroot-test/instance-0/output/host/riscv64-buildroot-linux-musl/sysroot/lib/libm.a (found version "5.3.5") CMake Error: File /home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0/libluv.pc.in does not exist. CMake Error at CMakeLists.txt:206 (configure_file): configure_file Problem configuring file -- Configuring incomplete, errors occurred! See also "/home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0/CMakeFiles/CMakeOutput.log". make: *** [package/pkg-generic.mk:231: /home/mark/buildroot-test/instance-0/output/build/luv-1.30.1-0/.stamp_configured] Error 1 make: Leaving directory '/home/mark/buildroot-test/instance-0/buildroot'