install -m 644 "src/luarocks/build/make.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/build/make.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/manif.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/manif.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/upload" install -m 644 "src/luarocks/upload/api.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/upload/api.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/upload" install -m 644 "src/luarocks/upload/multipart.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/upload/multipart.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/pack.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/pack.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/deplocks.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/deplocks.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/build.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/build.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/test.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/test.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/type_check.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/type_check.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/hg_ssh.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/hg_ssh.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/git.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/git.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/hg_http.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/hg_http.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/hg.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/hg.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/sscm.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/sscm.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/svn.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/svn.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/git_http.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/git_http.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/hg_https.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/hg_https.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/git_ssh.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/git_ssh.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/git_https.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/git_https.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/cvs.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/cvs.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch" install -m 644 "src/luarocks/fetch/git_file.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch/git_file.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/fetch.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fetch.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/argparse.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/argparse.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/download.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/download.lua" mkdir -p "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks" install -m 644 "src/luarocks/fs.lua" "/tmp/instance-1/output-1/host/share/lua/5.3/luarocks/fs.lua" make[1]: Leaving directory '/tmp/instance-1/output-1/build/host-luarocks-3.7.0' cp /tmp/instance-1/output-1/host/etc/luarocks/config-5.3.lua /tmp/instance-1/output-1/host/etc/luarocks/config.lua echo "-- BR cross-compilation" >> /tmp/instance-1/output-1/host/etc/luarocks/config.lua echo "gcc_rpath = false" >> /tmp/instance-1/output-1/host/etc/luarocks/config.lua echo "wrap_bin_scripts = false" >> /tmp/instance-1/output-1/host/etc/luarocks/config.lua cp /tmp/instance-1/output-1/host/etc/luarocks/config-5.3.lua /tmp/instance-1/output-1/host/etc/luarocks/host-config.lua rm -f /tmp/instance-1/output-1/host/etc/luarocks/config-5.3.lua >>> lpeg 1.0.2-1 Extracting mkdir -p /tmp/instance-1/output-1/build/lpeg-1.0.2-1/luarocks-extract cd /tmp/instance-1/output-1/build/lpeg-1.0.2-1/luarocks-extract && /tmp/instance-1/output-1/host/bin/luarocks unpack --force /tmp/instance-1/dl/lpeg/lpeg-1.0.2-1.src.rock Done. You may now enter directory lpeg-1.0.2-1/lpeg-1.0.2 and type 'luarocks make' to build. mv /tmp/instance-1/output-1/build/lpeg-1.0.2-1/luarocks-extract/*/* /tmp/instance-1/output-1/build/lpeg-1.0.2-1 >>> lpeg 1.0.2-1 Patching >>> lpeg 1.0.2-1 Configuring >>> lpeg 1.0.2-1 Building >>> lpeg 1.0.2-1 Installing to target cd /tmp/instance-1/output-1/build/lpeg-1.0.2-1/lpeg-1.0.2 && LUAROCKS_CONFIG=/tmp/instance-1/output-1/host/etc/luarocks/config.lua /tmp/instance-1/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/tmp/instance-1/output-1/target/usr" DEPS_DIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr" LUA_INCDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include" LUA_LIBDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib" CC=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc LD=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2" LIBFLAG="-shared " lpeg-1.0.2-1.rockspec /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c lpcap.c -o lpcap.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c lpcode.c -o lpcode.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c lpprint.c -o lpprint.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c lptree.c -o lptree.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c lpvm.c -o lpvm.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -shared -o lpeg.so lpcap.o lpcode.o lpprint.o lptree.o lpvm.o No existing manifest. Attempting to rebuild... lpeg 1.0.2-1 is now installed in /tmp/instance-1/output-1/target/usr (license: MIT/X11) lshw-B.02.19.2.tar.gz: OK (sha256: 9bb347ac87142339a366a1759ac845e3dbb337ec000aa1b99b50ac6758a80f80) >>> lshw 02.19.2 Extracting gzip -d -c /tmp/instance-1/dl/lshw/lshw-B.02.19.2.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/lshw-02.19.2 -xf - >>> lshw 02.19.2 Patching Applying 0001-Fix-musl-build-basename-is-in-libgen.h.patch using patch: patching file src/core/sysfs.cc Applying 0002-Fix-musl-build-wrong-usage-of-LONG_BIT.patch using patch: patching file src/core/abi.cc >>> lshw 02.19.2 Configuring >>> lshw 02.19.2 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" LIBS= /usr/bin/make -j96 -C /tmp/instance-1/output-1/build/lshw-02.19.2/src CC="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc" CXX="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++" AR="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-ar" RPM_OPT_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" all make[1]: Entering directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src' make -C core all fatal: not a git repository (or any of the parent directories): .git make[2]: Entering directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src/core' /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c hw.cc -o hw.o fatal: not a git repository (or any of the parent directories): .git /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c main.cc -o main.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c print.cc -o print.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c lshw.cc -o lshw.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c mem.cc -o mem.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c dmi.cc -o dmi.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c device-tree.cc -o device-tree.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c cpuinfo.cc -o cpuinfo.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c osutils.cc -o osutils.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c pci.cc -o pci.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c version.cc -o version.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c cpuid.cc -o cpuid.o fatal: not a git repository (or any of the parent directories): .git /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c ide.cc -o ide.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c cdrom.cc -o cdrom.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c pcmcia-legacy.cc -o pcmcia-legacy.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c scsi.cc -o scsi.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c s390.cc -o s390.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c disk.cc -o disk.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c spd.cc -o spd.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c network.cc -o network.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c isapnp.cc -o isapnp.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c pnp.cc -o pnp.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c fb.cc -o fb.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c options.cc -o options.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c usb.cc -o usb.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c sysfs.cc -o sysfs.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c display.cc -o display.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c heuristics.cc -o heuristics.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c parisc.cc -o parisc.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c cpufreq.cc -o cpufreq.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c partitions.cc -o partitions.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c blockio.cc -o blockio.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c lvm.cc -o lvm.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c ideraid.cc -o ideraid.o partitions.cc:14: warning: "_LARGEFILE_SOURCE" redefined 14 | #define _LARGEFILE_SOURCE | : note: this is the location of the previous definition blockio.cc:7: warning: "_LARGEFILE_SOURCE" redefined 7 | #define _LARGEFILE_SOURCE | : note: this is the location of the previous definition /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c pcmcia.cc -o pcmcia.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c volumes.cc -o volumes.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c mounts.cc -o mounts.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c smp.cc -o smp.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c abi.cc -o abi.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c jedec.cc -o jedec.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c dump.cc -o dump.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c fat.cc -o fat.o volumes.cc:6: warning: "_LARGEFILE_SOURCE" redefined 6 | #define _LARGEFILE_SOURCE | : note: this is the location of the previous definition /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c virtio.cc -o virtio.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c vio.cc -o vio.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c nvme.cc -o nvme.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -g -Wall -g -I./core/ -DPREFIX=\"/usr\" -DSBINDIR=\"/usr/sbin\" -DMANDIR=\"/usr/share/man\" -DDATADIR=\"/usr/share\" -DVERSION=\"\" -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -c mmc.cc -o mmc.o cpuinfo.cc: In function 'hwNode* getcpu(hwNode&, int)': cpuinfo.cc:32:49: warning: '%d' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Wformat-truncation=] 32 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ^~ cpuinfo.cc:32:44: note: directive argument in the range [0, 2147483647] 32 | snprintf(cpubusinfo, sizeof(cpubusinfo), "cpu@%d", n); | ^~~~~~~~ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from cpuinfo.h:4, from cpuinfo.cc:2: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 6 and 15 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ partitions.cc: In function 'bool detect_gpt(source&, hwNode&)': partitions.cc:748:49: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 7 [-Wformat-truncation=] 748 | snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); | ^ partitions.cc:748:46: note: directive argument in the range [0, 255] 748 | snprintf(gpt_version, sizeof(gpt_version), "%d.%02d", (gpt_header.Revision >> 8), (gpt_header.Revision & 0xff)); | ^~~~~~~~~ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from partitions.h:4, from partitions.cc:18: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 5 and 13 bytes into a destination of size 8 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ device-tree.cc: In function 'void add_memory_bank_spd(std::string, hwNode&)': device-tree.cc:861:9: warning: ignoring return value of 'ssize_t read(int, void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result] 861 | read(fd, &dimminfo[0x80], len - 0x80); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ scsi.cc: In function 'std::string scsi_handle(unsigned int, int, int, int)': scsi.cc:222:41: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 222 | snprintf(buffer, sizeof(buffer), "%02d", channel); | ^ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from mem.h:4, from scsi.cc:2: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 3 and 11 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scsi.cc:228:41: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 228 | snprintf(buffer, sizeof(buffer), "%02d", id); | ^ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from mem.h:4, from scsi.cc:2: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 3 and 11 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ scsi.cc:234:41: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 234 | snprintf(buffer, sizeof(buffer), "%02d", lun); | ^ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from mem.h:4, from scsi.cc:2: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 3 and 11 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ usb.cc: In function 'bool addUSBChild(hwNode&, hwNode&, unsigned int, unsigned int, unsigned int)': usb.cc:88:44: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size between 0 and 4 [-Wformat-truncation=] 88 | snprintf(buffer, sizeof(buffer), "USB:%u:%u", bus, dev); | ^~ usb.cc:88:36: note: directive argument in the range [1, 4294967295] 88 | snprintf(buffer, sizeof(buffer), "USB:%u:%u", bus, dev); | ^~~~~~~~~~~ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from usb.h:4, from usb.cc:12: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 8 and 26 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ dmi.cc: In function 'void dmi_table(const u8*, int, hwNode&, int, int, int)': dmi.cc:1555:48: warning: '%d' directive output may be truncated writing between 1 and 5 bytes into a region of size between 4 and 8 [-Wformat-truncation=] 1555 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ^~ dmi.cc:1555:44: note: directive argument in the range [1, 65534] 1555 | snprintf(bits, sizeof(bits), "%d/%d", width, u); | ^~~~~~~ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from dmi.h:4, from dmi.cc:80: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 4 and 12 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ device-tree.cc: In function 'bool scan_device_tree(hwNode&)': device-tree.cc:1140:41: warning: '__builtin_snprintf' output may be truncated before the last format character [-Wformat-truncation=] 1140 | snprintf(buffer, sizeof(buffer), "%d", currentmc); | ^ In file included from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/stdio.h:866, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/cstdio:42, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/ext/string_conversions.h:43, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/bits/basic_string.h:6535, from /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/include/c++/10.2.0/string:55, from hw.h:4, from device-tree.h:4, from device-tree.cc:15: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include/bits/stdio2.h:71:35: note: '__builtin_snprintf' output between 2 and 11 bytes into a destination of size 10 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-ar rs liblshw.a hw.o main.o print.o mem.o dmi.o device-tree.o cpuinfo.o osutils.o pci.o version.o cpuid.o ide.o cdrom.o pcmcia-legacy.o scsi.o s390.o disk.o spd.o network.o isapnp.o pnp.o fb.o options.o usb.o sysfs.o display.o heuristics.o parisc.o cpufreq.o partitions.o blockio.o lvm.o ideraid.o pcmcia.o volumes.o mounts.o smp.o abi.o jedec.o dump.o fat.o virtio.o vio.o nvme.o mmc.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-ar: creating liblshw.a make[2]: Leaving directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src/core' /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv fatal: not a git repository (or any of the parent directories): .git make[1]: Leaving directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src' >>> lshw 02.19.2 Installing to target PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" LIBS= /usr/bin/make -j96 -C /tmp/instance-1/output-1/build/lshw-02.19.2/src DESTDIR=/tmp/instance-1/output-1/target CC="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc" CXX="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++" AR="/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-ar" RPM_OPT_FLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1" all install make[1]: Entering directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src' make -C core all fatal: not a git repository (or any of the parent directories): .git make[2]: Entering directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src/core' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src/core' /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-g++ -L./core/ -g -Wl,--as-needed -o lshw lshw.o -llshw -lresolv fatal: not a git repository (or any of the parent directories): .git install -p -d -m 0755 /tmp/instance-1/output-1/target//usr/sbin fatal: not a git repository (or any of the parent directories): .git install -p -m 0755 lshw /tmp/instance-1/output-1/target//usr/sbin install -p -d -m 0755 /tmp/instance-1/output-1/target//usr/share/man/man1 install -p -m 0644 lshw.1 /tmp/instance-1/output-1/target//usr/share/man/man1 install -p -d -m 0755 /tmp/instance-1/output-1/target//usr/share/lshw install -p -m 0644 pci.ids usb.ids oui.txt manuf.txt pnp.ids pnpid.txt /tmp/instance-1/output-1/target//usr/share/lshw make -C po install make[2]: Entering directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src' make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. install -D fr.mo /tmp/instance-1/output-1/target//usr/share/locale/fr/LC_MESSAGES/lshw.mo ; make[2]: Leaving directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src/po' make[1]: Leaving directory '/tmp/instance-1/output-1/build/lshw-02.19.2/src' rm -f -rf /tmp/instance-1/output-1/target/usr/share/lshw bit32-5.3.5.1-1.src.rock: OK (sha256: 0e273427f2b877270f9cec5642ebe2670242926ba9638d4e6df7e4e1263ca12c) >>> lua-bit32 5.3.5.1-1 Extracting mkdir -p /tmp/instance-1/output-1/build/lua-bit32-5.3.5.1-1/luarocks-extract cd /tmp/instance-1/output-1/build/lua-bit32-5.3.5.1-1/luarocks-extract && /tmp/instance-1/output-1/host/bin/luarocks unpack --force /tmp/instance-1/dl/lua-bit32/bit32-5.3.5.1-1.src.rock Done. You may now enter directory bit32-5.3.5.1-1/lua-compat-5.3-0.10 and type 'luarocks make' to build. mv /tmp/instance-1/output-1/build/lua-bit32-5.3.5.1-1/luarocks-extract/*/* /tmp/instance-1/output-1/build/lua-bit32-5.3.5.1-1 >>> lua-bit32 5.3.5.1-1 Patching >>> lua-bit32 5.3.5.1-1 Configuring >>> lua-bit32 5.3.5.1-1 Building >>> lua-bit32 5.3.5.1-1 Installing to target cd /tmp/instance-1/output-1/build/lua-bit32-5.3.5.1-1/lua-compat-5.3-0.10 && LUAROCKS_CONFIG=/tmp/instance-1/output-1/host/etc/luarocks/config.lua /tmp/instance-1/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/tmp/instance-1/output-1/target/usr" DEPS_DIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr" LUA_INCDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include" LUA_LIBDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib" CC=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc LD=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2" LIBFLAG="-shared " bit32-5.3.5.1-1.rockspec /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c lbitlib.c -o lbitlib.o -DLUA_COMPAT_BITLIB -Ic-api /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -shared -o bit32.so lbitlib.o bit32 5.3.5.1-1 is now installed in /tmp/instance-1/output-1/target/usr (license: MIT) lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981.tar.gz: OK (sha256: 4e26e05830955fdd882a1b48b535be94356582eea310327f839f830cd9250d3a) >>> lua-ev 339426fbe528f11cb3cd1af69a88f06bba367981 Extracting gzip -d -c /tmp/instance-1/dl/lua-ev/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981 -xf - >>> lua-ev 339426fbe528f11cb3cd1af69a88f06bba367981 Patching >>> lua-ev 339426fbe528f11cb3cd1af69a88f06bba367981 Configuring (mkdir -p /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981/ && cd /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981/ && rm -f CMakeCache.txt && PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /tmp/instance-1/output-1/host/bin/cmake /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981/ -DCMAKE_TOOLCHAIN_FILE="/tmp/instance-1/output-1/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 -DINSTALL_CMOD="/usr/lib/lua/5.3" ) -- The C compiler identification is GNU 10.2.0 -- Check for working C compiler: /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -- Check for working C compiler: /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Found libev: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib/libev.so -- Found Lua5X: /tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib/liblua.so;/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib/libm.so -- 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_TESTS -- Build files have been written to: /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981 >>> lua-ev 339426fbe528f11cb3cd1af69a88f06bba367981 Building PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 -C /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981/ make[1]: Entering directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' make[2]: Entering directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' make[3]: Entering directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' Scanning dependencies of target cmod_ev make[3]: Leaving directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' make[3]: Entering directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' [ 50%] Building C object CMakeFiles/cmod_ev.dir/lua_ev.c.o [100%] Linking C shared module ev.so make[3]: Leaving directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' [100%] Built target cmod_ev make[2]: Leaving directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' make[1]: Leaving directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' >>> lua-ev 339426fbe528f11cb3cd1af69a88f06bba367981 Installing to target PATH="/tmp/instance-1/output-1/host/bin:/tmp/instance-1/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j96 DESTDIR=/tmp/instance-1/output-1/target install/fast -C /tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981/ make[1]: Entering directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' Install the project... -- Install configuration: "Release" -- Installing: /tmp/instance-1/output-1/target/usr/lib/lua/5.3/ev.so make[1]: Leaving directory '/tmp/instance-1/output-1/build/lua-ev-339426fbe528f11cb3cd1af69a88f06bba367981' lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30.tar.gz: OK (sha256: 928fa036b37595d773db1999c9ff43195c4290f0722298fa5b0c3e619c678525) >>> lua-gd 2ce8e478a8591afd71e607506bc8c64b161bbd30 Extracting gzip -d -c /tmp/instance-1/dl/lua-gd/lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30.tar.gz | tar --strip-components=1 -C /tmp/instance-1/output-1/build/lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30 -xf - >>> lua-gd 2ce8e478a8591afd71e607506bc8c64b161bbd30 Patching Applying 0001-Protect-declaration-of-LgdImageCreateFromPng-with-GD.patch using patch: patching file luagd.c >>> lua-gd 2ce8e478a8591afd71e607506bc8c64b161bbd30 Configuring >>> lua-gd 2ce8e478a8591afd71e607506bc8c64b161bbd30 Building /usr/bin/make -j96 -C /tmp/instance-1/output-1/build/lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30 gd.so GDFEATURES="-DGD_FONTCONFIG -DGD_FREETYPE -DGD_JPEG -DGD_PNG" CC=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DVERSION=\\\"2.3.2r3\\\"" LFLAGS="-shared -lgd" make[1]: Entering directory '/tmp/instance-1/output-1/build/lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30' /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -o gd.lo -c -DGD_FONTCONFIG -DGD_FREETYPE -DGD_JPEG -DGD_PNG -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DVERSION=\"2.3.2r3\" luagd.c /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -o gd.so gd.lo -shared -lgd make[1]: Leaving directory '/tmp/instance-1/output-1/build/lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30' >>> lua-gd 2ce8e478a8591afd71e607506bc8c64b161bbd30 Installing to target /usr/bin/install -m 755 -D /tmp/instance-1/output-1/build/lua-gd-2ce8e478a8591afd71e607506bc8c64b161bbd30/gd.so /tmp/instance-1/output-1/target/usr/lib/lua/5.3/gd.so lua-livr-0.2.2-1.src.rock: OK (sha256: e2f39316b8a1e66420c56e8ddc9ce4c0118c1a240582f2ba52d7627da6dfb76d) >>> lua-livr 0.2.2-1 Extracting mkdir -p /tmp/instance-1/output-1/build/lua-livr-0.2.2-1/luarocks-extract cd /tmp/instance-1/output-1/build/lua-livr-0.2.2-1/luarocks-extract && /tmp/instance-1/output-1/host/bin/luarocks unpack --force /tmp/instance-1/dl/lua-livr/lua-livr-0.2.2-1.src.rock Done. You may now enter directory lua-livr-0.2.2-1/lua-LIVR-0.2.2 and type 'luarocks make' to build. mv /tmp/instance-1/output-1/build/lua-livr-0.2.2-1/luarocks-extract/*/* /tmp/instance-1/output-1/build/lua-livr-0.2.2-1 >>> lua-livr 0.2.2-1 Patching >>> lua-livr 0.2.2-1 Configuring >>> lua-livr 0.2.2-1 Building >>> lua-livr 0.2.2-1 Installing to target cd /tmp/instance-1/output-1/build/lua-livr-0.2.2-1/lua-LIVR-0.2.2 && LUAROCKS_CONFIG=/tmp/instance-1/output-1/host/etc/luarocks/config.lua /tmp/instance-1/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/tmp/instance-1/output-1/target/usr" DEPS_DIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr" LUA_INCDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include" LUA_LIBDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib" CC=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc LD=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2" LIBFLAG="-shared " lua-livr-0.2.2-1.rockspec lua-livr 0.2.2-1 is now installed in /tmp/instance-1/output-1/target/usr (license: MIT/X11) >>> lua-lunix 20170920-1 Downloading wget --passive-ftp -nd -t 3 --no-check-certificate -O '/tmp/instance-1/output-1/build/.lunix-20170920-1.src.rock.8PIP7a/output' 'http://rocks.moonscript.org/lunix-20170920-1.src.rock' --2021-08-02 05:09:12-- http://rocks.moonscript.org/lunix-20170920-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: 406650 (397K) [application/x-rock] Saving to: '/tmp/instance-1/output-1/build/.lunix-20170920-1.src.rock.8PIP7a/output' 0K .......... .......... .......... .......... .......... 12% 160K 2s 50K .......... .......... .......... .......... .......... 25% 341K 1s 100K .......... .......... .......... .......... .......... 37% 6.77M 1s 150K .......... .......... .......... .......... .......... 50% 321K 1s 200K .......... .......... .......... .......... .......... 62% 244M 0s 250K .......... .......... .......... .......... .......... 75% 255M 0s 300K .......... .......... .......... .......... .......... 88% 286M 0s 350K .......... .......... .......... .......... ....... 100% 332K=0.8s 2021-08-02 05:09:14 (519 KB/s) - '/tmp/instance-1/output-1/build/.lunix-20170920-1.src.rock.8PIP7a/output' saved [406650/406650] lunix-20170920-1.src.rock: OK (sha256: 4a4007b394ae884e18e9d0319ea584e8b4a682d7bf8fa5b99c7eea9baf1e5ed6) >>> lua-lunix 20170920-1 Extracting mkdir -p /tmp/instance-1/output-1/build/lua-lunix-20170920-1/luarocks-extract cd /tmp/instance-1/output-1/build/lua-lunix-20170920-1/luarocks-extract && /tmp/instance-1/output-1/host/bin/luarocks unpack --force /tmp/instance-1/dl/lua-lunix/lunix-20170920-1.src.rock Done. You may now enter directory lunix-20170920-1/lunix-rel-20170920 and type 'luarocks make' to build. mv /tmp/instance-1/output-1/build/lua-lunix-20170920-1/luarocks-extract/*/* /tmp/instance-1/output-1/build/lua-lunix-20170920-1 >>> lua-lunix 20170920-1 Patching Applying 0001-fix-with-uClibc.patch using patch: patching file lunix-rel-20170920/src/unix.c Applying 0002-remove-link-with-librt.patch using patch: patching file lunix-rel-20170920/lunix-20170920-1.rockspec >>> lua-lunix 20170920-1 Configuring >>> lua-lunix 20170920-1 Building >>> lua-lunix 20170920-1 Installing to target cd /tmp/instance-1/output-1/build/lua-lunix-20170920-1/lunix-rel-20170920 && LUAROCKS_CONFIG=/tmp/instance-1/output-1/host/etc/luarocks/config.lua /tmp/instance-1/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/tmp/instance-1/output-1/target/usr" DEPS_DIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr" LUA_INCDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include" LUA_LIBDIR="/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/lib" CC=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc LD=/tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2" LIBFLAG="-shared " lunix-20170920-1.rockspec src/unix.c:483:10: fatal error: sys/sysctl.h: No such file or directory 483 | #if HAVE_SYS_SYSCTL_H | ^~~~~~~~~~~~ compilation terminated. Error: Build error: Failed compiling object src/unix.o /tmp/instance-1/output-1/host/bin/arc-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_FORTIFY_SOURCE=1 -fPIC -DLUA_COMPAT_5_2 -I/tmp/instance-1/output-1/host/arc-buildroot-linux-gnu/sysroot/usr/include -c src/unix.c -o src/unix.o -D_REENTRANT -D_THREAD_SAFE -D_GNU_SOURCE make: *** [package/pkg-generic.mk:361: /tmp/instance-1/output-1/build/lua-lunix-20170920-1/.stamp_target_installed] Error 1 make: Leaving directory '/tmp/instance-1/buildroot'