>>> libzlib 1.2.13 Extracting xzcat /tmp/instance-22/dl/libzlib/zlib-1.2.13.tar.xz | tar --strip-components=1 -C /tmp/instance-22/output-1/build/libzlib-1.2.13 -xf - >>> libzlib 1.2.13 Patching >>> libzlib 1.2.13 Configuring (cd /tmp/instance-22/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="/tmp/instance-22/output-1/host/bin:/tmp/instance-22/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc-ar" AS="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-as" LD="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-ld" NM="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc-nm" CC="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc" GCC="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc" CPP="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-cpp" CXX="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-g++" FC="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gfortran" F77="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gfortran" RANLIB="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc-ranlib" READELF="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-objcopy" OBJDUMP="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-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/tmp/instance-22/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/tmp/instance-22/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/tmp/instance-22/output-1/host/include" LDFLAGS_FOR_BUILD="-L/tmp/instance-22/output-1/host/lib -Wl,-rpath,/tmp/instance-22/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-as" DEFAULT_LINKER="/tmp/instance-22/output-1/host/bin/mips-img-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 -O3 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 " LDFLAGS="" FCFLAGS=" -O3 -g0" FFLAGS=" -O3 -g0" PKG_CONFIG="/tmp/instance-22/output-1/host/bin/pkg-config" STAGING_DIR="/tmp/instance-22/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 -O3 -g0 -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 /tmp/instance-22/output-1/host/bin/mips-img-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 vs[n]printf(). Checking for vsnprintf() in stdio.h... No. WARNING: vsnprintf() not found, falling back to vsprintf(). zlib can build but will be open to possible buffer-overflow security vulnerabilities. Checking for return value of vsprintf()... Yes. Checking for attribute(visibility) support... Yes. >>> libzlib 1.2.13 Building PATH="/tmp/instance-22/output-1/host/bin:/tmp/instance-22/output-1/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /home/autobuild/make/make -j1 -C /tmp/instance-22/output-1/build/libzlib-1.2.13 make[1]: Entering directory '/tmp/instance-22/output-1/build/libzlib-1.2.13' /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -I. -c -o example.o test/example.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o adler32.o adler32.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o crc32.o crc32.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o deflate.o deflate.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o infback.o infback.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o inffast.o inffast.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o inflate.o inflate.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o inftrees.o inftrees.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o trees.o trees.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o zutil.o zutil.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o compress.o compress.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o uncompr.o uncompr.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzclose.o gzclose.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzlib.o gzlib.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzread.o gzread.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -c -o gzwrite.o gzwrite.c /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc-ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o /tmp/instance-22/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -g0 -fPIC -D_LARGEFILE64_SOURCE=1 -DNO_STRERROR -DNO_vsnprintf -DHAVE_HIDDEN -o example example.o -L. libz.a /tmp/instance-22/output-1/host/mips64el-buildroot-linux-gnu/sysroot/mipsel-r6-hard/lib64/ld-linux-mipsn8.so.1: error adding symbols: File in wrong format collect2: error: ld returned 1 exit status make[1]: *** [Makefile:285: example] Error 1 make[1]: Leaving directory '/tmp/instance-22/output-1/build/libzlib-1.2.13' make: *** [package/pkg-generic.mk:293: /tmp/instance-22/output-1/build/libzlib-1.2.13/.stamp_built] Error 2 make: Leaving directory '/tmp/instance-22/buildroot'