creating: /home/test/test/output/build/cjson-undefined/__MACOSX/ creating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/ inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/._cJSON.c inflating: /home/test/test/output/build/cjson-undefined/cJSON/cJSON.h inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/._cJSON.h inflating: /home/test/test/output/build/cjson-undefined/cJSON/README inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/._README inflating: /home/test/test/output/build/cjson-undefined/cJSON/test.c inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/._test.c creating: /home/test/test/output/build/cjson-undefined/cJSON/tests/ inflating: /home/test/test/output/build/cjson-undefined/cJSON/tests/test1 creating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/tests/ inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/tests/._test1 inflating: /home/test/test/output/build/cjson-undefined/cJSON/tests/test2 inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/tests/._test2 inflating: /home/test/test/output/build/cjson-undefined/cJSON/tests/test3 inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/tests/._test3 inflating: /home/test/test/output/build/cjson-undefined/cJSON/tests/test4 inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/tests/._test4 inflating: /home/test/test/output/build/cjson-undefined/cJSON/tests/test5 inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/tests/._test5 inflating: /home/test/test/output/build/cjson-undefined/__MACOSX/cJSON/._tests >>> cjson undefined Patching package//cjson >>> cjson undefined Configuring >>> cjson undefined Building cd /home/test/test/output/build/cjson-undefined/cJSON && /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -shared -fpic cJSON.c -o libcJSON.so >>> cjson undefined Installing to staging directory /usr/bin/install -D /home/test/test/output/build/cjson-undefined/cJSON/cJSON.h /home/test/test/output/host/usr/mips-unknown-linux-gnu/sysroot/usr/include/cJSON.h /usr/bin/install -D /home/test/test/output/build/cjson-undefined/cJSON/libcJSON.so /home/test/test/output/host/usr/mips-unknown-linux-gnu/sysroot/usr/lib/libcJSON.so >>> cjson undefined Installing to target /usr/bin/install -D /home/test/test/output/build/cjson-undefined/cJSON/cJSON.h /home/test/test/output/host/usr/mips-unknown-linux-gnu/sysroot/usr/include/cJSON.h /usr/bin/install -D /home/test/test/output/build/cjson-undefined/cJSON/libcJSON.so /home/test/test/output/target/usr/lib/libcJSON.so >>> copas 1.1.6 Extracting gzip -d -c /home/test/dl//copas-1.1.6.tar.gz | tar --strip-components=1 -C /home/test/test/output/build/copas-1.1.6 -xf - >>> copas 1.1.6 Patching package//copas >>> lua 5.1.5 Extracting gzip -d -c /home/test/dl//lua-5.1.5.tar.gz | tar --strip-components=1 -C /home/test/test/output/build/lua-5.1.5 -xf - >>> lua 5.1.5 Patching package//lua Applying lua-01-root-path.patch using patch: patching file etc/lua.pc patching file src/luaconf.h Applying lua-02-shared-libs-for-lua.patch using patch: patching file src/Makefile Applying lua-03-shared-libs-for-luac.patch using patch: patching file src/ldo.h patching file src/lfunc.h patching file src/lmem.h patching file src/lstring.h patching file src/lundump.h patching file src/Makefile Hunk #2 succeeded at 62 with fuzz 2. >>> lua 5.1.5 Configuring >>> lua 5.1.5 Building /usr/bin/make -j12 CC="/home/test/test/output/host/usr/bin/mips-linux-gnu-gcc" RANLIB="/home/test/test/output/host/usr/bin/mips-linux-gnu-ranlib" CFLAGS=" -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN" MYLIBS="-ldl" AR="/home/test/test/output/host/usr/bin/mips-linux-gnu-ar rcu" PKG_VERSION=5.1.5 -C /home/test/test/output/build/lua-5.1.5/src all make[1]: Entering directory `/home/test/test/output/build/lua-5.1.5/src' /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lapi.o lapi.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lcode.o lcode.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldebug.o ldebug.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldo.o ldo.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldump.o ldump.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lfunc.o lfunc.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lgc.o lgc.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o llex.o llex.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lmem.o lmem.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lobject.o lobject.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lopcodes.o lopcodes.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lparser.o lparser.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstate.o lstate.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstring.o lstring.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltable.o ltable.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltm.o ltm.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lundump.o lundump.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lvm.o lvm.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lzio.o lzio.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lauxlib.o lauxlib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lbaselib.o lbaselib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ldblib.o ldblib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o liolib.o liolib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lmathlib.o lmathlib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o loslib.o loslib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o ltablib.o ltablib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lstrlib.o lstrlib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o loadlib.o loadlib.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o linit.o linit.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o lua.o lua.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o luac.o luac.c /home/test/test/output/host/usr/bin/mips-linux-gnu-gcc -pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -DLUA_USE_POSIX -DLUA_USE_DLOPEN -c -o print.o print.c /home/test/test/output/host/usr/bin/mips-linux-gnu-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 /home/test/test/output/host/usr/bin/mips-linux-gnu-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 -nostdlib -lgcc /home/test/test/output/host/usr/bin/mips-linux-gnu-ranlib liblua.a /home/test/test/output/host/opt/ext-toolchain/bin/../lib/gcc/mips-linux-gnu/4.4.1/../../../../mips-linux-gnu/bin/ld: lapi.o: relocation R_MIPS_26 against `a local symbol' can not be used when making a shared object; recompile with -fPIC lapi.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[1]: *** [liblua.so] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/home/test/test/output/build/lua-5.1.5/src' make: *** [/home/test/test/output/build/lua-5.1.5/.stamp_built] Error 2