Check the above options and compile with: make >>> lldpd 1.0.17 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" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/lldpd-1.0.17/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' /usr/bin/make all-recursive make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' Making all in src/compat make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/compat' CC empty.lo CC setproctitle.lo CC strtonum.lo CCLD libcompat.la make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/compat' Making all in src make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src' CC log.lo CC version.lo CC marshal.lo CC ctl.lo CC lldpd-structs.lo CCLD libcommon-daemon-client.la CCLD libcommon-daemon-lib.la make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src' Making all in src/daemon make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' /usr/bin/make all-am make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' CC main.o CC liblldpd_la-frame.lo CC liblldpd_la-client.lo CC liblldpd_la-priv.lo CC liblldpd_la-privsep.lo CC liblldpd_la-privsep_io.lo CC liblldpd_la-privsep_fd.lo CC liblldpd_la-interfaces.lo CC liblldpd_la-lldpd.lo CC liblldpd_la-event.lo CC liblldpd_la-pattern.lo CC liblldpd_la-bitmap.lo CC liblldpd_la-forward-linux.lo CC liblldpd_la-interfaces-linux.lo CC liblldpd_la-netlink.lo CC liblldpd_la-priv-linux.lo CC liblldpd_la-dmi-linux.lo CC liblldpd_snmp_la-agent.lo CC liblldpd_snmp_la-agent_priv.lo GEN lldpd.8 CC protocols/liblldpd_la-lldp.lo CC protocols/liblldpd_la-cdp.lo CC protocols/liblldpd_la-sonmp.lo CC protocols/liblldpd_la-edp.lo lldpd.c: In function 'lldpd_hide_ports': lldpd.c:955:40: warning: 'strncat' specified bound 2 equals source length [-Wstringop-overflow=] 955 | if (buffer[0]) strncat(buffer, ", ", 2); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from protocols/cdp.c:20: protocols/../frame.h:26:3: warning: 'types' defined but not used [-Wunused-variable] 26 | } types; | ^~~~~ In file included from protocols/edp.c:19: protocols/../frame.h:26:3: warning: 'types' defined but not used [-Wunused-variable] 26 | } types; | ^~~~~ In file included from protocols/sonmp.c:19: protocols/../frame.h:26:3: warning: 'types' defined but not used [-Wunused-variable] 26 | } types; | ^~~~~ CCLD liblldpd-snmp.la CCLD liblldpd.la copying selected object files to avoid basename conflicts... CCLD lldpd make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' Making all in src/lib make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/lib' CC errors.lo CC connection.lo CC atom.lo CC helpers.lo GEN atom-glue.c CC fixedpoint.lo GEN lldpctl.pc CC atoms/config.lo CC atoms/dot1.lo CC atoms/dot3.lo CC atoms/interface.lo CC atoms/med.lo CC atoms/mgmt.lo CC atoms/port.lo CC atoms/custom.lo CC atoms/chassis.lo CCLD libfixedpoint.la CC atom-glue.lo CCLD liblldpctl.la make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/lib' Making all in src/client make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/client' CC lldpcli-lldpcli.o CC lldpcli-display.o CC lldpcli-conf.o CC lldpcli-conf-med.o CC lldpcli-conf-inv.o CC lldpcli-conf-dot3.o CC lldpcli-conf-power.o CC lldpcli-conf-lldp.o CC lldpcli-conf-system.o CC lldpcli-commands.o CC lldpcli-show.o CC lldpcli-misc.o CC lldpcli-tokenizer.o CC lldpcli-utf8.o CC lldpcli-text_writer.o CC lldpcli-kv_writer.o CC lldpcli-json_writer.o GEN lldpcli.8 CCLD lldpcli make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/client' Making all in tests make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/tests' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/tests' Making all in osx make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/osx' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/osx' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' GEN ChangeLog make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' >>> lldpd 1.0.17 Installing to target 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" /usr/bin/make -j17 DESTDIR=/home/buildroot/instance-0/output-1/target install -C /home/buildroot/instance-0/output-1/build/lldpd-1.0.17/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' Making install in src/compat make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/compat' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/compat' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/compat' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/compat' Making install in src make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/include' /usr/bin/install -c -m 644 lldp-const.h '/home/buildroot/instance-0/output-1/target/usr/include' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src' Making install in src/daemon make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' /usr/bin/make install-am make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' make[4]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/sbin' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/share/man/man8' /bin/sh ../../libtool --mode=install /usr/bin/install -c lldpd '/home/buildroot/instance-0/output-1/target/usr/sbin' /usr/bin/install -c -m 644 lldpd.8 '/home/buildroot/instance-0/output-1/target/usr/share/man/man8' libtool: install: /usr/bin/install -c lldpd /home/buildroot/instance-0/output-1/target/usr/sbin/lldpd make[4]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/daemon' Making install in src/lib make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/lib' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/lib' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/lib' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/include' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/lib/pkgconfig' /bin/sh ../../libtool --mode=install /usr/bin/install -c liblldpctl.la '/home/buildroot/instance-0/output-1/target/usr/lib' /usr/bin/install -c -m 644 lldpctl.h '/home/buildroot/instance-0/output-1/target/usr/include' /usr/bin/install -c -m 644 lldpctl.pc '/home/buildroot/instance-0/output-1/target/usr/lib/pkgconfig' libtool: install: /usr/bin/install -c .libs/liblldpctl.so.4.9.1 /home/buildroot/instance-0/output-1/target/usr/lib/liblldpctl.so.4.9.1 libtool: install: (cd /home/buildroot/instance-0/output-1/target/usr/lib && { ln -s -f liblldpctl.so.4.9.1 liblldpctl.so.4 || { rm -f liblldpctl.so.4 && ln -s liblldpctl.so.4.9.1 liblldpctl.so.4; }; }) libtool: install: (cd /home/buildroot/instance-0/output-1/target/usr/lib && { ln -s -f liblldpctl.so.4.9.1 liblldpctl.so || { rm -f liblldpctl.so && ln -s liblldpctl.so.4.9.1 liblldpctl.so; }; }) libtool: install: /usr/bin/install -c .libs/liblldpctl.lai /home/buildroot/instance-0/output-1/target/usr/lib/liblldpctl.la libtool: warning: remember to run 'libtool --finish /usr/lib' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/lib' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/lib' Making install in src/client make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/client' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/client' cd /home/buildroot/instance-0/output-1/target/usr/sbin && rm -f lldpctl /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/sbin' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/share/bash-completion/completions' cd /home/buildroot/instance-0/output-1/target/usr/sbin && ln -s lldpcli lldpctl /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/etc/lldpd.d' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/share/zsh/site-functions' /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/share/man/man8' /usr/bin/install -c -m 644 completion/lldpcli '/home/buildroot/instance-0/output-1/target/usr/share/bash-completion/completions' /usr/bin/install -c -m 644 README.conf '/home/buildroot/instance-0/output-1/target/etc/lldpd.d' /usr/bin/install -c -m 644 completion/_lldpcli '/home/buildroot/instance-0/output-1/target/usr/share/zsh/site-functions' /bin/sh ../../libtool --mode=install /usr/bin/install -c lldpcli '/home/buildroot/instance-0/output-1/target/usr/sbin' /usr/bin/install -c -m 644 lldpctl.8 lldpcli.8 '/home/buildroot/instance-0/output-1/target/usr/share/man/man8' libtool: install: /usr/bin/install -c lldpcli /home/buildroot/instance-0/output-1/target/usr/sbin/lldpcli make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/client' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/src/client' Making install in tests make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/tests' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/tests' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/tests' Making install in osx make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/osx' make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/osx' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/osx' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17/osx' make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' GEN ChangeLog make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/share/doc/lldpd' GEN ChangeLog /bin/mkdir -p '/home/buildroot/instance-0/output-1/target/usr/share/doc/lldpd' /usr/bin/install -c -m 644 README.md NEWS CONTRIBUTE.md LICENSE '/home/buildroot/instance-0/output-1/target/usr/share/doc/lldpd' /usr/bin/install -c -m 644 ChangeLog '/home/buildroot/instance-0/output-1/target/usr/share/doc/lldpd' make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lldpd-1.0.17' lpc3250loader-1.0.tar.gz: OK (sha256: 267de7541c92e5b007b93c660a41188976d531a3757f4ffd9b7142d3994da7d1) >>> host-lpc3250loader 1.0 Extracting gzip -d -c /home/buildroot/instance-0/dl/lpc3250loader/lpc3250loader-1.0.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/host-lpc3250loader-1.0 -xf - >>> host-lpc3250loader 1.0 Patching >>> host-lpc3250loader 1.0 Configuring >>> host-lpc3250loader 1.0 Building >>> host-lpc3250loader 1.0 Installing to host directory /usr/bin/install -m 0755 -D /home/buildroot/instance-0/output-1/build/host-lpc3250loader-1.0/LPC3250loader.py /home/buildroot/instance-0/output-1/host/bin/LPC3250loader.py >>> luainterpreter Extracting >>> luainterpreter Patching >>> luainterpreter Configuring >>> luainterpreter Building >>> luainterpreter Installing to target lua-csnappy-0.1.5-1.src.rock: OK (sha256: 4fc373ba714cb8b428e9971f1725d82de6a43dfea361a0b7894e4762238dc95c) lua-5.1.5.tar.gz: OK (md5: 2e115fe26e435e33b0d5c022e4490567) lua-5.1.5.tar.gz: OK (sha1: b3882111ad02ecc6b972f8c1241647905cb2e3fc) >>> host-lua 5.1.5 Extracting gzip -d -c /home/buildroot/instance-0/dl/lua/lua-5.1.5.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/host-lua-5.1.5 -xf - >>> host-lua 5.1.5 Patching Applying 0001-root-path.patch using patch: patching file etc/lua.pc patching file src/luaconf.h Applying 0002-shared-libs-for-lua.patch using patch: patching file Makefile patching file src/Makefile Applying 0011-linenoise.patch using patch: patching file src/luaconf.h Applying 0012-fix-reader-at-eoz.patch using patch: patching file src/lzio.c patching file src/lzio.h /bin/sed -i -e 's|#define LUA_ROOT.*|#define LUA_ROOT "/home/buildroot/instance-0/output-1/host/"|' /home/buildroot/instance-0/output-1/build/host-lua-5.1.5/src/luaconf.h >>> host-lua 5.1.5 Configuring >>> host-lua 5.1.5 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" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j17 CFLAGS="-Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX" MYLDFLAGS="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" MYLIBS="-ldl" BUILDMODE=dynamic PKG_VERSION=5.1.5 -C /home/buildroot/instance-0/output-1/build/host-lua-5.1.5/src all make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lua-5.1.5/src' gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lapi.o lapi.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lcode.o lcode.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ldebug.o ldebug.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ldo.o ldo.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ldump.o ldump.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lfunc.o lfunc.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lgc.o lgc.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o llex.o llex.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lmem.o lmem.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lobject.o lobject.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lopcodes.o lopcodes.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lparser.o lparser.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lstate.o lstate.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lstring.o lstring.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ltable.o ltable.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ltm.o ltm.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lundump.o lundump.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lvm.o lvm.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lzio.o lzio.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lauxlib.o lauxlib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lbaselib.o lbaselib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ldblib.o ldblib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o liolib.o liolib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lmathlib.o lmathlib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o loslib.o loslib.c lauxlib.c: In function 'luaL_loadfile': lauxlib.c:577:4: warning: this 'while' clause does not guard... [-Wmisleading-indentation] 577 | while ((c = getc(lf.f)) != EOF && c != LUA_SIGNATURE[0]) ; | ^~~~~ lauxlib.c:578:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while' 578 | lf.extraline = 0; | ^~ gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o ltablib.o ltablib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lstrlib.o lstrlib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o loadlib.o loadlib.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o linit.o linit.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o lua.o lua.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o luac.o luac.c gcc -Wall -fPIC -DLUA_USE_DLOPEN -DLUA_USE_POSIX -c -o print.o print.c ltablib.c: In function 'addfield': ltablib.c:137:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 137 | if (!lua_isstring(L, -1)) | ^~ ltablib.c:140:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 140 | luaL_addvalue(b); | ^~~~~~~~~~~~~ ar rcu liblua.a lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o # DLL needs all object files gcc -o liblua.so.5.1.5 -shared -Wl,-soname="liblua.so.5.1.5" lapi.o lcode.o ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o lmathlib.o loslib.o ltablib.o lstrlib.o loadlib.o linit.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblua.a gcc -o luac -L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib luac.o print.o liblua.a -lm -ldl ln -fs liblua.so.5.1.5 liblua.so gcc -o lua -L. -L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib lua.o -llua -lm -ldl make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lua-5.1.5/src' sed -e "s/@VERSION@/5.1.5/;s/@ABI@/5.1/;s/@MYLIBS@/-ldl/" package/lua/lua.pc.in > /home/buildroot/instance-0/output-1/build/host-lua-5.1.5/lua.pc >>> host-lua 5.1.5 Installing to host directory 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" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/buildroot/instance-0/output-1/host/lib/pkgconfig:/home/buildroot/instance-0/output-1/host/share/pkgconfig" /usr/bin/make -j17 INSTALL_TOP="/home/buildroot/instance-0/output-1/host" -C /home/buildroot/instance-0/output-1/build/host-lua-5.1.5 install make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/host-lua-5.1.5' cd src && mkdir -p /home/buildroot/instance-0/output-1/host/bin /home/buildroot/instance-0/output-1/host/include /home/buildroot/instance-0/output-1/host/lib /home/buildroot/instance-0/output-1/host/man/man1 /home/buildroot/instance-0/output-1/host/share/lua/5.1 /home/buildroot/instance-0/output-1/host/lib/lua/5.1 cd src && install -p -m 0755 lua luac /home/buildroot/instance-0/output-1/host/bin test -f src/liblua.so.5.1.5 && cd src && install -p -m 0755 liblua.so.5.1.5 /home/buildroot/instance-0/output-1/host/lib || : test -f src/liblua.so.5.1.5 && ln -sf liblua.so.5.1.5 /home/buildroot/instance-0/output-1/host/lib/liblua.so || : cd src && install -p -m 0644 lua.h luaconf.h lualib.h lauxlib.h ../etc/lua.hpp /home/buildroot/instance-0/output-1/host/include cd src && install -p -m 0644 liblua.a /home/buildroot/instance-0/output-1/host/lib cd doc && install -p -m 0644 lua.1 luac.1 /home/buildroot/instance-0/output-1/host/man/man1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-lua-5.1.5' /usr/bin/install -m 0644 -D /home/buildroot/instance-0/output-1/build/host-lua-5.1.5/lua.pc /home/buildroot/instance-0/output-1/host/lib/pkgconfig/lua.pc >>> host-luainterpreter Extracting >>> host-luainterpreter Patching >>> host-luainterpreter Configuring >>> host-luainterpreter Building >>> host-luainterpreter Installing to host directory luarocks-3.11.1.tar.gz: OK (sha256: c3fb3d960dffb2b2fe9de7e3cb004dc4d0b34bb3d342578af84f84325c669102) >>> host-luarocks 3.11.1 Extracting gzip -d -c /home/buildroot/instance-0/dl/luarocks/luarocks-3.11.1.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/host-luarocks-3.11.1 -xf - /usr/bin/install -D -m 0644 package/luarocks/buildroot.lua /home/buildroot/instance-0/output-1/build/host-luarocks-3.11.1/src/luarocks/cmd/external/buildroot.lua >>> host-luarocks 3.11.1 Patching >>> host-luarocks 3.11.1 Configuring cd /home/buildroot/instance-0/output-1/build/host-luarocks-3.11.1 && ./configure --prefix=/home/buildroot/instance-0/output-1/host --sysconfdir=/home/buildroot/instance-0/output-1/host/etc --with-lua=/home/buildroot/instance-0/output-1/host Configuring LuaRocks version 3.11.1... Lua version detected: 5.1 Lua interpreter found: /home/buildroot/instance-0/output-1/host/bin/lua lua.h found: /home/buildroot/instance-0/output-1/host/include/lua.h unzip found in PATH: /usr/bin Done configuring. LuaRocks will be installed at......: /home/buildroot/instance-0/output-1/host LuaRocks will install rocks at.....: /home/buildroot/instance-0/output-1/host LuaRocks configuration directory...: /home/buildroot/instance-0/output-1/host/etc/luarocks Using Lua from.....................: /home/buildroot/instance-0/output-1/host * Type make and make install: to install to /home/buildroot/instance-0/output-1/host as usual. * Type make bootstrap: to install LuaRocks into /home/buildroot/instance-0/output-1/host as a rock. >>> host-luarocks 3.11.1 Building >>> host-luarocks 3.11.1 Installing to host directory rm -f /home/buildroot/instance-0/output-1/host/etc/luarocks/config-5.1.lua /usr/bin/make -j1 -C /home/buildroot/instance-0/output-1/build/host-luarocks-3.11.1 install make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/host-luarocks-3.11.1' mkdir -p "build" mkdir -p "build" (printf '#!/home/buildroot/instance-0/output-1/host/bin/lua\n'\ 'package.loaded["luarocks.core.hardcoded"] = { '\ "$([ -n "" ] && printf 'FORCE_CONFIG = true, ')"\ 'SYSCONFDIR = [[/home/buildroot/instance-0/output-1/host/etc/luarocks]] }\n'\ 'package.path=[[/home/buildroot/instance-0/output-1/host/share/lua/5.1/?.lua;]] .. package.path\n'\ 'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[/home/buildroot/instance-0/output-1/host/share/lua/5.1/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ tail -n +2 src/bin/luarocks \ )> "build/luarocks" mkdir -p "build" (printf '#!/home/buildroot/instance-0/output-1/host/bin/lua\n'\ 'package.loaded["luarocks.core.hardcoded"] = { '\ "$([ -n "" ] && printf 'FORCE_CONFIG = true, ')"\ 'SYSCONFDIR = [[/home/buildroot/instance-0/output-1/host/etc/luarocks]] }\n'\ 'package.path=[[/home/buildroot/instance-0/output-1/host/share/lua/5.1/?.lua;]] .. package.path\n'\ 'local list = package.searchers or package.loaders; table.insert(list, 1, function(name) if name:match("^luarocks%%.") then return loadfile([[/home/buildroot/instance-0/output-1/host/share/lua/5.1/]] .. name:gsub([[%%.]], [[/]]) .. [[.lua]]) end end)\n'; \ tail -n +2 src/bin/luarocks-admin \ )> "build/luarocks-admin" mkdir -p '/home/buildroot/instance-0/output-1/host/etc/luarocks/' install -m 644 './build/config-5.1.lua' '/home/buildroot/instance-0/output-1/host/etc/luarocks/config-5.1.lua' mkdir -p '/home/buildroot/instance-0/output-1/host/bin/' install './build/luarocks' '/home/buildroot/instance-0/output-1/host/bin/luarocks' install './build/luarocks-admin' '/home/buildroot/instance-0/output-1/host/bin/luarocks-admin' find src/luarocks/ -type d | while read f; \ do \ mkdir -p '/home/buildroot/instance-0/output-1/host/share/lua/5.1'/`echo $f | sed 's,^src/,,'`; \ done find src/luarocks/ -type f -name '*.lua' | while read f; \ do \ install -m 644 "$f" '/home/buildroot/instance-0/output-1/host/share/lua/5.1'/`echo $f | sed 's,^src/,,'`; \ done make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/host-luarocks-3.11.1' cp /home/buildroot/instance-0/output-1/host/etc/luarocks/config-5.1.lua /home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua echo "-- BR cross-compilation" >> /home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua echo "gcc_rpath = false" >> /home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua echo "wrap_bin_scripts = false" >> /home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua cp /home/buildroot/instance-0/output-1/host/etc/luarocks/config-5.1.lua /home/buildroot/instance-0/output-1/host/etc/luarocks/host-config.lua rm -f /home/buildroot/instance-0/output-1/host/etc/luarocks/config-5.1.lua >>> lua-csnappy 0.1.5-1 Extracting mkdir -p /home/buildroot/instance-0/output-1/build/lua-csnappy-0.1.5-1/luarocks-extract cd /home/buildroot/instance-0/output-1/build/lua-csnappy-0.1.5-1/luarocks-extract && /home/buildroot/instance-0/output-1/host/bin/luarocks unpack --force /home/buildroot/instance-0/dl/lua-csnappy/lua-csnappy-0.1.5-1.src.rock Done. You may now enter directory lua-csnappy-0.1.5-1/lua-csnappy-0.1.5 and type 'luarocks make' to build. mv /home/buildroot/instance-0/output-1/build/lua-csnappy-0.1.5-1/luarocks-extract/*/* /home/buildroot/instance-0/output-1/build/lua-csnappy-0.1.5-1 >>> lua-csnappy 0.1.5-1 Patching >>> lua-csnappy 0.1.5-1 Configuring >>> lua-csnappy 0.1.5-1 Building >>> lua-csnappy 0.1.5-1 Installing to target cd /home/buildroot/instance-0/output-1/build/lua-csnappy-0.1.5-1/lua-csnappy-0.1.5 && LUAROCKS_CONFIG=/home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua /home/buildroot/instance-0/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/home/buildroot/instance-0/output-1/target/usr" DEPS_DIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr" LUA_INCDIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include" LUA_LIBDIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/lib" CC=/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc LD=/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC" LIBFLAG="-shared " lua-csnappy-0.1.5-1.rockspec /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -I/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include -c lsnappy.c -o lsnappy.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -shared -o /tmp/luarocks_build-lua-csnappy-0.1.5-1-8682953/snappy.so lsnappy.o No existing manifest. Attempting to rebuild... lua-csnappy 0.1.5-1 is now installed in /home/buildroot/instance-0/output-1/target/usr (license: BSD) lua-periphery-1.1.1-1.src.rock: OK (sha256: ff8a4d08f02356586fadfe47f01859ba28539cc42013836f79a032bf4ccc78b3) >>> lua-periphery 1.1.1-1 Extracting mkdir -p /home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/luarocks-extract cd /home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/luarocks-extract && /home/buildroot/instance-0/output-1/host/bin/luarocks unpack --force /home/buildroot/instance-0/dl/lua-periphery/lua-periphery-1.1.1-1.src.rock Done. You may now enter directory lua-periphery-1.1.1-1/lua-periphery and type 'luarocks make' to build. mv /home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/luarocks-extract/*/* /home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1 >>> lua-periphery 1.1.1-1 Patching >>> lua-periphery 1.1.1-1 Configuring >>> lua-periphery 1.1.1-1 Building >>> lua-periphery 1.1.1-1 Installing to target cd /home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery && LUAROCKS_CONFIG=/home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua /home/buildroot/instance-0/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/home/buildroot/instance-0/output-1/target/usr" DEPS_DIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr" LUA_INCDIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include" LUA_LIBDIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/lib" CC=/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc LD=/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC" LIBFLAG="-shared " lua-periphery-1.1.1-1.rockspec Warning: variable CFLAGS was not passed in build_variables make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery' cd c-periphery; make make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery/c-periphery' mkdir obj /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=gnu99 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-pointer-to-int-cast -fPIC -DPERIPHERY_VERSION_COMMIT=\"\" -c src/gpio.c -o obj/gpio.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=gnu99 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-pointer-to-int-cast -fPIC -DPERIPHERY_VERSION_COMMIT=\"\" -c src/spi.c -o obj/spi.o src/spi.c: In function 'spi_tostring': src/spi.c:277:65: warning: '%u' directive output may be truncated writing between 1 and 3 bytes into a region of size 2 [-Wformat-truncation=] 277 | snprintf(bits_per_word_str, sizeof(bits_per_word_str), "%u", bits_per_word); | ^~ src/spi.c:277:64: note: directive argument in the range [0, 255] 277 | snprintf(bits_per_word_str, sizeof(bits_per_word_str), "%u", bits_per_word); | ^~~~ src/spi.c:277:9: note: 'snprintf' output between 2 and 4 bytes into a destination of size 2 277 | snprintf(bits_per_word_str, sizeof(bits_per_word_str), "%u", bits_per_word); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=gnu99 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-pointer-to-int-cast -fPIC -DPERIPHERY_VERSION_COMMIT=\"\" -c src/i2c.c -o obj/i2c.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=gnu99 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-pointer-to-int-cast -fPIC -DPERIPHERY_VERSION_COMMIT=\"\" -c src/mmio.c -o obj/mmio.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=gnu99 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-pointer-to-int-cast -fPIC -DPERIPHERY_VERSION_COMMIT=\"\" -c src/serial.c -o obj/serial.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=gnu99 -pedantic -Wall -Wextra -Wno-unused-parameter -Wno-pointer-to-int-cast -fPIC -DPERIPHERY_VERSION_COMMIT=\"\" -c src/version.c -o obj/version.o ar rcs periphery.a obj/gpio.o obj/spi.o obj/i2c.o obj/mmio.o obj/serial.o obj/version.o make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery/c-periphery' /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -std=c99 -pedantic -D_XOPEN_SOURCE=700 -Wall -Wextra -Wno-unused-parameter -fPIC -I. -I/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include -shared src/lua_periphery.c src/lua_mmio.c src/lua_gpio.c src/lua_spi.c src/lua_i2c.c src/lua_serial.c c-periphery/periphery.a -o periphery.so make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery' make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery' mkdir -p /home/buildroot/instance-0/output-1/target/usr/lib/luarocks/rocks-5.1/lua-periphery/1.1.1-1/lib cp periphery.so /home/buildroot/instance-0/output-1/target/usr/lib/luarocks/rocks-5.1/lua-periphery/1.1.1-1/lib/periphery.so make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/lua-periphery-1.1.1-1/lua-periphery' lua-periphery 1.1.1-1 is now installed in /home/buildroot/instance-0/output-1/target/usr (license: MIT/X11) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) luautf8-0.1.5-2.src.rock: OK (sha256: 68bd8e3c3e20f98fceb9e20d5a7a50168202c22eb45b87eff3247a0608f465ae) >>> lua-utf8 0.1.5-2 Extracting mkdir -p /home/buildroot/instance-0/output-1/build/lua-utf8-0.1.5-2/luarocks-extract cd /home/buildroot/instance-0/output-1/build/lua-utf8-0.1.5-2/luarocks-extract && /home/buildroot/instance-0/output-1/host/bin/luarocks unpack --force /home/buildroot/instance-0/dl/lua-utf8/luautf8-0.1.5-2.src.rock Done. You may now enter directory luautf8-0.1.5-2/luautf8-0.1.5 and type 'luarocks make' to build. mv /home/buildroot/instance-0/output-1/build/lua-utf8-0.1.5-2/luarocks-extract/*/* /home/buildroot/instance-0/output-1/build/lua-utf8-0.1.5-2 >>> lua-utf8 0.1.5-2 Patching >>> lua-utf8 0.1.5-2 Configuring >>> lua-utf8 0.1.5-2 Building >>> lua-utf8 0.1.5-2 Installing to target cd /home/buildroot/instance-0/output-1/build/lua-utf8-0.1.5-2/luautf8-0.1.5 && LUAROCKS_CONFIG=/home/buildroot/instance-0/output-1/host/etc/luarocks/config.lua /home/buildroot/instance-0/output-1/host/bin/luarocks make --keep --deps-mode none --tree "/home/buildroot/instance-0/output-1/target/usr" DEPS_DIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr" LUA_INCDIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include" LUA_LIBDIR="/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/lib" CC=/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc LD=/home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC" LIBFLAG="-shared " luautf8-0.1.5-2.rockspec /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -fPIC -I/home/buildroot/instance-0/output-1/host/or1k-buildroot-linux-uclibc/sysroot/usr/include -c lutf8lib.c -o lutf8lib.o /home/buildroot/instance-0/output-1/host/bin/or1k-buildroot-linux-uclibc-gcc -shared -o /tmp/luarocks_build-luautf8-0.1.5-2-2779563/lua-utf8.so lutf8lib.o luautf8 0.1.5-2 is now installed in /home/buildroot/instance-0/output-1/target/usr (license: MIT) Missing dependencies for lua-periphery 1.1.1-1: luarocks-fetch-gitrec >= 0.2 (not installed) >>> luabitop 1.0.2-1 Downloading wget -nd -t 3 --no-check-certificate -O '/home/buildroot/instance-0/output-1/build/.luabitop-1.0.2-1.src.rock.Hq3MU6/output' 'http://rocks.moonscript.org/luabitop-1.0.2-1.src.rock' --2024-09-14 18:32:16-- http://rocks.moonscript.org/luabitop-1.0.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... 404 Not Found 2024-09-14 18:32:16 ERROR 404: Not Found. make: *** [package/pkg-generic.mk:179: /home/buildroot/instance-0/output-1/build/luabitop-1.0.2-1/.stamp_downloaded] Error 1 make: Leaving directory '/home/buildroot/instance-0/buildroot'