>>> bzip2 1.0.8 Extracting gzip -d -c /home/thomas/autobuild/instance-2/dl/bzip2/bzip2-1.0.8.tar.gz | tar --strip-components=1 -C /home/thomas/autobuild/instance-2/output-1/build/bzip2-1.0.8 -xf - >>> bzip2 1.0.8 Patching Applying 0001-build-objects-twice.patch using patch: patching file Makefile-libbz2_so Hunk #1 succeeded at 26 with fuzz 2 (offset 1 line). Hunk #2 succeeded at 43 with fuzz 2 (offset -2 lines). Applying 0002-improve-build-system.patch using patch: patching file Makefile patching file Makefile-libbz2_so Hunk #1 succeeded at 23 with fuzz 2. >>> bzip2 1.0.8 Configuring >>> bzip2 1.0.8 Building PATH="/home/thomas/autobuild/instance-2/output-1/host/bin:/home/thomas/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" /usr/bin/make -j4 -C /home/thomas/autobuild/instance-2/output-1/build/bzip2-1.0.8 libbz2.a bzip2 bzip2recover PATH="/home/thomas/autobuild/instance-2/output-1/host/bin:/home/thomas/autobuild/instance-2/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" AR="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc-ar" AS="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-as" LD="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-ld" NM="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc-nm" CC="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc" GCC="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc" CPP="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-cpp" CXX="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-g++" FC="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gfortran" F77="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gfortran" RANLIB="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc-ranlib" READELF="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-objcopy" OBJDUMP="/home/thomas/autobuild/instance-2/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/home/thomas/autobuild/instance-2/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-2/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/thomas/autobuild/instance-2/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/thomas/autobuild/instance-2/output-1/host/lib -Wl,-rpath,/home/thomas/autobuild/instance-2/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-as" DEFAULT_LINKER="/home/thomas/autobuild/instance-2/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 -Ofast -g0 -D_FORTIFY_SOURCE=1" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1" LDFLAGS="" FCFLAGS=" -Ofast -g0" FFLAGS=" -Ofast -g0" PKG_CONFIG="/home/thomas/autobuild/instance-2/output-1/host/bin/pkg-config" STAGING_DIR="/home/thomas/autobuild/instance-2/output-1/host/mips64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl make[1]: Entering directory '/home/thomas/autobuild/instance-2/output-1/build/bzip2-1.0.8' /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c huffman.c /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c crctable.c If compilation produces errors, or a large number of warnings, please read README.COMPILATION.PROBLEMS -- you might be able to adjust the flags in this Makefile to improve matters. Also in README.COMPILATION.PROBLEMS are some hints that may help if your build produces an executable which is unable to correctly handle so-called 'large files' -- files of size 2GB or more. /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c randtable.c /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c blocksort.c /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c compress.c /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c decompress.c /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c bzlib.c compress.c: In function 'BZ2_compressBlock': compress.c:391:54: warning: 'cost[5]' may be used uninitialized in this function [-Wmaybe-uninitialized] for (t = 0; t < nGroups; t++) cost[t] += s->len[t][icv]; ^~ compress.c:256:11: note: 'cost[5]' was declared here UInt16 cost[BZ_N_GROUPS]; ^~~~ compress.c:401:21: warning: 'cost[3]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (cost[t] < bc) { bc = cost[t]; bt = t; }; ~~~~^~~ compress.c:256:11: note: 'cost[3]' was declared here UInt16 cost[BZ_N_GROUPS]; ^~~~ compress.c:401:21: warning: 'cost[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] if (cost[t] < bc) { bc = cost[t]; bt = t; }; ~~~~^~~ compress.c:256:11: note: 'cost[2]' was declared here UInt16 cost[BZ_N_GROUPS]; ^~~~ /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c bzip2.c bzip2.c: In function 'applySavedFileAttrToOutputFile': bzip2.c:1073:4: warning: ignoring return value of 'fchown', declared with attribute warn_unused_result [-Wunused-result] (void) fchown ( fd, fileMetaInfo.st_uid, fileMetaInfo.st_gid ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -c bzip2recover.c /home/thomas/autobuild/instance-2/output-1/host/bin/mips-img-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Ofast -g0 -D_FORTIFY_SOURCE=1 -Wall -o bzip2recover bzip2recover.o /home/thomas/autobuild/instance-2/output-1/host/mips64-buildroot-linux-gnu/sysroot/mips-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:43: bzip2recover] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/home/thomas/autobuild/instance-2/output-1/build/bzip2-1.0.8' make: *** [package/pkg-generic.mk:293: /home/thomas/autobuild/instance-2/output-1/build/bzip2-1.0.8/.stamp_built] Error 2 make: Leaving directory '/home/thomas/autobuild/instance-2/buildroot'