>>> tinycbor 0.5.3 Extracting gzip -d -c /home/peko/autobuild/instance-0/dl/tinycbor/tinycbor-0.5.3.tar.gz | /home/peko/autobuild/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3 -xf - >>> tinycbor 0.5.3 Patching >>> tinycbor 0.5.3 Configuring >>> tinycbor 0.5.3 Building PATH="/home/peko/autobuild/instance-0/output-1/host/bin:/home/peko/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" /usr/bin/make -j1 PATH="/home/peko/autobuild/instance-0/output-1/host/bin:/home/peko/autobuild/instance-0/output-1/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games" AR="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ar" AS="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-as" LD="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ld" NM="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-nm" CC="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" GCC="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc" CPP="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-cpp" CXX="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-g++" FC="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" F77="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gfortran" RANLIB="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ranlib" READELF="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-readelf" STRIP="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-strip" OBJCOPY="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-objcopy" OBJDUMP="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/peko/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/peko/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/peko/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/peko/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/peko/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-as" DEFAULT_LINKER="/home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -static" LDFLAGS=" -static" FCFLAGS=" -Os -static" FFLAGS=" -Os -static" PKG_CONFIG="/home/peko/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/peko/autobuild/instance-0/output-1/host/arm-buildroot-linux-musleabihf/sysroot" INTLTOOL_PERL=/usr/bin/perl V=1 BUILD_STATIC=1 BUILD_SHARED=0 -C /home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3 make[1]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3' .config file not yet created /usr/bin/make -f ./Makefile.configure OUT='>&9' configure 9> .config make[2]: Entering directory '/home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3' if printf "extern int open_memstream(); int main() { return open_memstream(); }" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -o /dev/null - ; \ then \ echo open_memstream-pass := 1 >&9; \ fi /home/peko/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: /home/peko/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/libgcc.a(_dvmd_lnx.o): in function `__aeabi_ldiv0': /home/peko/autobuild/instance-0/output-1/build/host-gcc-final-9.3.0/build/arm-buildroot-linux-musleabihf/libgcc/../../../libgcc/config/arm/lib1funcs.S:1494: undefined reference to `raise' collect2: error: ld returned 1 exit status if printf "extern int funopen(); int main() { return funopen(); }" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -o /dev/null - ; \ then \ echo funopen-pass := 1 >&9; \ fi /home/peko/autobuild/instance-0/output-1/host/lib/gcc/arm-buildroot-linux-musleabihf/9.3.0/../../../../arm-buildroot-linux-musleabihf/bin/ld: /tmp/ccScbfr6.o: in function `main': :(.text+0x8): undefined reference to `funopen' collect2: error: ld returned 1 exit status if printf "extern int fopencookie(); int main() { return fopencookie(); }" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -o /dev/null - ; \ then \ echo fopencookie-pass := 1 >&9; \ fi if printf "int main() {}" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -Wl,--gc-sections -o /dev/null - ; \ then \ echo gc_sections-pass := 1 >&9; \ fi if printf "#include \n #include \n int main() { return cJSON_False; }" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -lcjson -o /dev/null - ; \ then \ echo system-cjson-pass := 1 >&9; \ fi :2:11: fatal error: cjson/cJSON.h: No such file or directory compilation terminated. if printf "#include \n #include \n int main() { return cJSON_False; }" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -I./src -o /dev/null - ; \ then \ echo cjson-pass := 1 >&9; \ fi :2:11: fatal error: cjson/cJSON.h: No such file or directory compilation terminated. if printf "#if !defined(__STDC_HOSTED__) || __STDC_HOSTED__-0 == 1\n #error Hosted implementation\n #endif\n int main() {}" | \ /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -xc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -o /dev/null - ; \ then \ echo freestanding-pass := 1 >&9; \ fi :2:3: error: #error Hosted implementation make[2]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3' /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborerrorstrings.o src/cborerrorstrings.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborencoder.o src/cborencoder.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborencoder_close_container_checked.o src/cborencoder_close_container_checked.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborparser.o src/cborparser.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborpretty.o src/cborpretty.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborparser_dup_string.o src/cborparser_dup_string.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborpretty_stdio.o src/cborpretty_stdio.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cbortojson.o src/cbortojson.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/cborvalidation.o src/cborvalidation.c /home/peko/autobuild/instance-0/output-1/host/bin/arm-buildroot-linux-musleabihf-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I./src -std=gnu99 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -static -c -o src/open_memstream.o src/open_memstream.c src/open_memstream.c:45:4: error: #error "Cannot implement open_memstream!" 45 | # error "Cannot implement open_memstream!" | ^~~~~ src/open_memstream.c:57:8: error: unknown type name 'RetType' 57 | static RetType write_to_buffer(void *cookie, const char *data, LenType len) | ^~~~~~~ src/open_memstream.c:57:64: error: unknown type name 'LenType' 57 | static RetType write_to_buffer(void *cookie, const char *data, LenType len) | ^~~~~~~ make[1]: *** [Makefile:235: src/open_memstream.o] Error 1 make[1]: Leaving directory '/home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3' make: *** [package/pkg-generic.mk:250: /home/peko/autobuild/instance-0/output-1/build/tinycbor-0.5.3/.stamp_built] Error 2 make: Leaving directory '/home/peko/autobuild/instance-0/buildroot'