>>> lua-cffi 0.2.3 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/home/buildroot/instance-0/output-1/build/.lua-cffi-0.2.3.tar.gz.glJhnY/output' 'https://github.com/q66/cffi-lua/archive/v0.2.3/lua-cffi-0.2.3.tar.gz' --2024-04-26 18:12:14-- https://github.com/q66/cffi-lua/archive/v0.2.3/lua-cffi-0.2.3.tar.gz Resolving github.com (github.com)... 140.82.121.4 Connecting to github.com (github.com)|140.82.121.4|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/q66/cffi-lua/tar.gz/refs/tags/v0.2.3 [following] --2024-04-26 18:12:14-- https://codeload.github.com/q66/cffi-lua/tar.gz/refs/tags/v0.2.3 Resolving codeload.github.com (codeload.github.com)... 140.82.121.9 Connecting to codeload.github.com (codeload.github.com)|140.82.121.9|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/instance-0/output-1/build/.lua-cffi-0.2.3.tar.gz.glJhnY/output' 0K .......... .......... .......... .......... .......... 1.75M 50K .......... .......... .......... .......... .......... 3.52M 100K .......... ... 44.6M=0.04s 2024-04-26 18:12:14 (2.63 MB/s) - '/home/buildroot/instance-0/output-1/build/.lua-cffi-0.2.3.tar.gz.glJhnY/output' saved [116042] lua-cffi-0.2.3.tar.gz: OK (sha256: 1d2577a62a843e5e6db35af1b58300d279b4df58eccef5e823441501f960d388) >>> lua-cffi 0.2.3 Extracting gzip -d -c /home/buildroot/instance-0/dl/lua-cffi/lua-cffi-0.2.3.tar.gz | tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3 -xf - >>> lua-cffi 0.2.3 Patching >>> lua-cffi 0.2.3 Configuring rm -rf /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build mkdir -p /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build sed -e "/^\[binaries\]$/s:$::" -e "/^\[properties\]$/s:$::" -e "s%@TARGET_CC@%/home/buildroot/instance-0/output-1/host/bin/or1k-linux-gcc%g" -e "s%@TARGET_CXX@%/home/buildroot/instance-0/output-1/host/bin/or1k-linux-g++%g" -e "s%@TARGET_AR@%/home/buildroot/instance-0/output-1/host/bin/or1k-linux-gcc-ar%g" -e "s%@TARGET_FC@%/home/buildroot/instance-0/output-1/host/bin/or1k-linux-gfortran%g" -e "s%@TARGET_STRIP@%/home/buildroot/instance-0/output-1/host/bin/or1k-linux-strip%g" -e "s%@TARGET_ARCH@%or1k%g" -e "s%@TARGET_CPU@%%g" -e "s%@TARGET_ENDIAN@%big%g" -e "s%@TARGET_FCFLAGS@%%g" -e "s%@TARGET_CFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@TARGET_LDFLAGS@%%g" -e "s%@TARGET_CXXFLAGS@%'-D_LARGEFILE_SOURCE', '-D_LARGEFILE64_SOURCE', '-D_FILE_OFFSET_BITS=64', '-O2', '-g0'%g" -e "s%@BR2_CMAKE@%/home/buildroot/instance-0/output-1/host/bin/cmake%g" -e "s%@PKGCONF_HOST_BINARY@%/home/buildroot/instance-0/output-1/host/bin/pkgconf%g" -e "s%@HOST_DIR@%/home/buildroot/instance-0/output-1/host%g" -e "s%@STAGING_DIR@%/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot%g" -e "s%@STATIC@%false%g" /home/buildroot/instance-0/buildroot/support/misc/cross-compilation.conf.in > /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build/cross-compilation.conf PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" CC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/meson setup --prefix=/usr --libdir=lib --default-library=shared --buildtype=release --cross-file=/home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build/cross-compilation.conf -Db_pie=false -Db_staticpic=true -Dstrip=false -Dbuild.pkg_config_path=/home/buildroot/instance-0/output-1/host/lib/pkgconfig -Dbuild.cmake_prefix_path=/home/buildroot/instance-0/output-1/host/lib/cmake /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3/ /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build WARNING: Unknown CPU family or1k, please report this at https://github.com/mesonbuild/meson/issues/new The Meson build system Version: 1.3.1 Source dir: /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3 Build dir: /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3/build Build type: cross build Project name: cffi-lua Project version: 0.2.3 C++ compiler for the host machine: /home/buildroot/instance-0/output-1/host/bin/or1k-linux-g++ (gcc 12.3.0 "or1k-linux-g++.br_real (Buildroot 2021.11-11272-ge2962af) 12.3.0") C++ linker for the host machine: /home/buildroot/instance-0/output-1/host/bin/or1k-linux-g++ ld.bfd 2.41 C++ compiler for the build machine: /usr/bin/g++ (gcc 10.2.1 "g++ (Debian 10.2.1-6) 10.2.1 20210110") C++ linker for the build machine: /usr/bin/g++ ld.bfd 2.35.2 Build machine cpu family: x86_64 Build machine cpu: x86_64 Host machine cpu family: or1k Host machine cpu: Target machine cpu family: or1k Target machine cpu: Compiler for C++ supports arguments -Wshadow: YES Compiler for C++ supports arguments -Wold-style-cast: YES Found pkg-config: YES (/home/buildroot/instance-0/output-1/host/bin/pkgconf) 1.6.3 Run-time dependency lua found: YES 5.4.6 Run-time dependency libffi found: YES 3.4.6 Library dl found: YES Computing int of "LUA_VERSION_NUM" with dependency lua: 504 Build targets in project: 1 NOTICE: Future-deprecated features used: * 0.56.0: {'meson.build_root', 'meson.source_root'} * 1.1.0: {'"boolean option" keyword argument "value" of type str'} cffi-lua 0.2.3 User defined options Cross files : /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build/cross-compilation.conf build.cmake_prefix_path: /home/buildroot/instance-0/output-1/host/lib/cmake build.pkg_config_path : /home/buildroot/instance-0/output-1/host/lib/pkgconfig buildtype : release default_library : shared libdir : lib prefix : /usr strip : false b_pie : false b_staticpic : true Found ninja-1.11.1.git.kitware.jobserver-1 at /home/buildroot/instance-0/output-1/host/bin/ninja >>> lua-cffi 0.2.3 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" PYTHONNOUSERSITE=y /home/buildroot/instance-0/output-1/host/bin/ninja -C /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build ninja: Entering directory `/home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3//build' [1/8] Compiling C++ object cffi.so.p/src_main.cc.o [2/8] Compiling C++ object cffi.so.p/src_util.cc.o [3/8] Compiling C++ object cffi.so.p/src_lib.cc.o [4/8] Compiling C++ object cffi.so.p/src_ffilib.cc.o FAILED: cffi.so.p/src_ffilib.cc.o /home/buildroot/instance-0/output-1/host/bin/or1k-linux-g++ -Icffi.so.p -I. -I.. -I/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include -fvisibility=hidden -fdiagnostics-color=always -DNDEBUG -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++14 -fno-exceptions -fno-rtti -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -fPIC -DCFFI_LUA_DLL -Wshadow -Wold-style-cast -DFFI_BIG_ENDIAN -MD -MQ cffi.so.p/src_ffilib.cc.o -MF cffi.so.p/src_ffilib.cc.o.d -o cffi.so.p/src_ffilib.cc.o -c ../src/ffilib.cc In file included from ../src/ffilib.cc:11: ../src/ffi.hh:187:38: warning: ISO C++ forbids zero-size array 'align_pad' [-Wpedantic] 187 | alignof(util::max_aligned_t) - alignof(lua::user_align_t) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include/lua.hpp:6, from ../src/lua.hh:23, from ../src/parser.hh:4, from ../src/ffilib.cc:7: ../src/ffilib.cc: In static member function 'static void ffi_module::setup(lua_State*)': ../src/ffilib.cc:1616:28: error: expected ')' before 'FFI_ARCH_NAME' 1616 | lua_pushliteral(L, FFI_ARCH_NAME); | ^~~~~~~~~~~~~ ../src/ffilib.cc:1616:9: note: to match this '(' 1616 | lua_pushliteral(L, FFI_ARCH_NAME); | ^~~~~~~~~~~~~~~ [5/8] Compiling C++ object cffi.so.p/src_ffi.cc.o In file included from ../src/ffi.cc:3: ../src/ffi.hh:187:38: warning: ISO C++ forbids zero-size array 'align_pad' [-Wpedantic] 187 | alignof(util::max_aligned_t) - alignof(lua::user_align_t) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [6/8] Compiling C++ object cffi.so.p/src_ast.cc.o In file included from ../src/ast.cc:7: ../src/ffi.hh:187:38: warning: ISO C++ forbids zero-size array 'align_pad' [-Wpedantic] 187 | alignof(util::max_aligned_t) - alignof(lua::user_align_t) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [7/8] Compiling C++ object cffi.so.p/src_parser.cc.o ninja: build stopped: subcommand failed. make: *** [package/pkg-generic.mk:283: /home/buildroot/instance-0/output-1/build/lua-cffi-0.2.3/.stamp_built] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'