>>> libzlib 1.2.13 Extracting xzcat /home/thomas/autobuild/instance-0/dl/libzlib/zlib-1.2.13.tar.xz | tar --strip-components=1 -C /home/thomas/autobuild/instance-0/output-1/build/libzlib-1.2.13 -xf - >>> libzlib 1.2.13 Patching >>> libzlib 1.2.13 Configuring (cd /home/thomas/autobuild/instance-0/output-1/build/libzlib-1.2.13; rm -rf config.cache; ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no PATH="/home/thomas/autobuild/instance-0/output-1/host/bin:/home/thomas/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc-ar" AS="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-as" LD="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-ld" NM="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc-nm" CC="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc" GCC="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc" CPP="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-cpp" CXX="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-g++" FC="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gfortran" F77="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gfortran" RANLIB="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc-ranlib" READELF="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-objcopy" OBJDUMP="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/thomas/autobuild/instance-0/output-1/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/thomas/autobuild/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/thomas/autobuild/instance-0/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-as" DEFAULT_LINKER="/home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-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 -Og -g0 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Og -g0" FFLAGS=" -Og -g0" PKG_CONFIG="/home/thomas/autobuild/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/thomas/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -fPIC" ./configure --shared --prefix=/usr ) Checking for shared library support... No shared library support; try without defining CC and CFLAGS Building static library libz.a version 1.2.13 with /home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc. Checking for size_t... Yes. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for strerror... No. Checking for unistd.h... Yes. Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf(). Checking for snprintf() in stdio.h... No. WARNING: snprintf() not found, falling back to sprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. Checking for return value of sprintf()... Yes. Checking for attribute(visibility) support... Yes. >>> libzlib 1.2.13 Building PATH="/home/thomas/autobuild/instance-0/output-1/host/bin:/home/thomas/autobuild/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j1 -C /home/thomas/autobuild/instance-0/output-1/build/libzlib-1.2.13 make[1]: Entering directory '/home/thomas/autobuild/instance-0/output-1/build/libzlib-1.2.13' /home/thomas/autobuild/instance-0/output-1/host/bin/mips-mti-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=2 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_snprintf -DHAVE_HIDDEN -I. -c -o example.o test/example.c In file included from ./zconf.h:424:0, from ./zlib.h:34, from test/example.c:8: /home/thomas/autobuild/instance-0/output-1/host/mips64el-buildroot-linux-gnu/sysroot/usr/include/limits.h:123:26: error: no include path in which to search for limits.h # include_next ^ make[1]: *** [Makefile:143: example.o] Error 1 make[1]: Leaving directory '/home/thomas/autobuild/instance-0/output-1/build/libzlib-1.2.13' make: *** [package/pkg-generic.mk:283: /home/thomas/autobuild/instance-0/output-1/build/libzlib-1.2.13/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-0/buildroot'