>>> android-tools 4.2.2+git20130218 Extracting xzcat /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/dl/android-tools/android-tools_4.2.2+git20130218.orig.tar.xz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/tar --strip-components=1 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218 -xf - gzip -d -c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/dl/android-tools/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz | /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/tar -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218 -xf - >>> android-tools 4.2.2+git20130218 Patching PATH=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:$PATH support/scripts/apply-patches.sh /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218 /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/debian/patches \* Applying remove-selinux-android.patch using series: patching file extras/ext4_utils/make_ext4fs.c patching file extras/ext4_utils/make_ext4fs_main.c Applying add_adbd.patch using series: patching file core/adbd/adb.c patching file core/adbd/adb.h patching file core/adbd/adb_auth.h patching file core/adbd/adb_auth_client.c patching file core/adbd/adb_auth_host.c patching file core/adbd/adb_client.c patching file core/adbd/adb_client.h patching file core/adbd/android_filesystem_config.h patching file core/adbd/arpa_nameser.h patching file core/adbd/arpa_nameser_compat.h patching file core/adbd/backup_service.c patching file core/adbd/base64.c patching file core/adbd/commandline.c patching file core/adbd/console.c patching file core/adbd/fdevent.c patching file core/adbd/fdevent.h patching file core/adbd/file_sync_client.c patching file core/adbd/file_sync_service.c patching file core/adbd/file_sync_service.h patching file core/adbd/framebuffer_service.c patching file core/adbd/get_my_path_darwin.c patching file core/adbd/get_my_path_freebsd.c patching file core/adbd/get_my_path_linux.c patching file core/adbd/get_my_path_windows.c patching file core/adbd/jdwp_service.c patching file core/adbd/log_service.c patching file core/adbd/mutex_list.h patching file core/adbd/qemu_pipe.h patching file core/adbd/remount_service.c patching file core/adbd/services.c patching file core/adbd/sockets.c patching file core/adbd/sysdeps.h patching file core/adbd/sysdeps_win32.c patching file core/adbd/test_track_devices.c patching file core/adbd/test_track_jdwp.c patching file core/adbd/transport.c patching file core/adbd/transport.h patching file core/adbd/transport_local.c patching file core/adbd/transport_usb.c patching file core/adbd/usb_libusb.c patching file core/adbd/usb_linux.c patching file core/adbd/usb_linux_client.c patching file core/adbd/usb_osx.c patching file core/adbd/usb_vendors.c patching file core/adbd/usb_vendors.h patching file core/adbd/usb_windows.c patching file core/adbd/utils.c patching file core/adbd/utils.h patching file core/adbd/functionfs.h Applying reboot-syscall.patch using series: patching file core/libcutils/android_reboot.c Applying enable-emulator.patch using series: patching file core/adbd/transport_local.c Applying ppc64el-ftbfs.patch using series: patching file extras/ext4_utils/ext4_utils.c patching file extras/ext4_utils/make_ext4fs_main.c patching file extras/ext4_utils/wipe.c Applying add-bq-vendor-id.patch using series: patching file core/adb/usb_vendors.c Applying add-meizu-vendor-id.patch using series: patching file core/adb/usb_vendors.c Applying 0001-Fix-makefiles-for-out-of-tree-build.patch using patch: patching file debian/makefiles/adb.mk patching file debian/makefiles/adbd.mk patching file debian/makefiles/fastboot.mk Applying 0002-Fix-adbd-for-non-Ubuntu-systems.patch using patch: patching file core/adbd/adb.c patching file core/adbd/services.c patching file debian/makefiles/adbd.mk Applying 0003-Fix-build-issue-with-uclibc.patch using patch: patching file core/adb/adb_auth_client.c patching file core/adbd/adb_auth_client.c Applying 0004-Fix-build-issue-with-musl.patch using patch: patching file core/adbd/arpa_nameser.h patching file core/adbd/framebuffer_service.c Applying 0005-Use-pkgconf-to-get-libs-deps.patch using patch: patching file debian/makefiles/adbd.mk patching file debian/makefiles/adb.mk Applying 0006-fix-big-endian-build.patch using patch: patching file core/adb/usb_linux_client.c patching file core/adbd/usb_linux_client.c Applying 0007-include-cdefs-h-when-needed.patch using patch: patching file core/adbd/services.c patching file core/libcutils/android_reboot.c Applying 0008-Include-sysmacros.h-to-compile-with-glibc-2.28.patch using patch: patching file core/adb/usb_linux.c patching file core/adbd/usb_linux.c patching file core/fastboot/usb_linux.c Applying 0009-Fix-makefiles-for-out-of-tree-ext4_utils-build.patch using patch: patching file debian/makefiles/ext4_utils.mk Applying 0010-adb-added-patch-for-openssl-1.1.0-compatibility.patch using patch: patching file core/adb/adb_auth_host.c >>> android-tools 4.2.2+git20130218 Configuring >>> android-tools 4.2.2+git20130218 Building mkdir -p /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/build-fastboot && PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" PATH="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin:/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/sbin:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/accts/mlweber1/.local/bin:/accts/mlweber1/.local/bin:/accts/mlweber1/python/Python-2.7.11/:/usr/lfs/v0/bin/:/accts/mlweber1/python/:/usr/bin:/bin" AR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-ar" AS="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-as" LD="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-ld" NM="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-nm" CC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc" GCC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc" CPP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-cpp" CXX="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-g++" FC="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gfortran" F77="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gfortran" RANLIB="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-ranlib" READELF="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-readelf" STRIP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-strip" OBJCOPY="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-objcopy" OBJDUMP="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-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/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/include" LDFLAGS_FOR_BUILD="-L/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib -Wl,-rpath,/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-as" DEFAULT_LINKER="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-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 -D_FORTIFY_SOURCE=2" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2" LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/pkg-config" STAGING_DIR="/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/powerpc64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j8 SRCDIR=/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218 -C /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/build-fastboot -f /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/debian/makefiles/fastboot.mk make[1]: Entering directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/build-fastboot' /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o bootimg.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/bootimg.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o engine.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/engine.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o fastboot.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/fastboot.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o protocol.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/protocol.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o usb_linux.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/usb_linux.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o util_linux.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/util_linux.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o centraldir.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libzipfile/centraldir.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o zipfile.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libzipfile/zipfile.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/fastboot.c:29: warning: "_LARGEFILE64_SOURCE" redefined 29 | #define _LARGEFILE64_SOURCE | : note: this is the location of the previous definition /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/fastboot.c: In function 'match_fastboot': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/fastboot.c:191:12: warning: implicit declaration of function 'match_fastboot_with_serial' [-Wimplicit-function-declaration] 191 | return match_fastboot_with_serial(info, serial); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o backed_block.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/backed_block.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/engine.c: In function 'fb_queue_format': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/engine.c:397:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 397 | a->data = (void*)skip_if_not_supported; | ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/engine.c: In function 'fb_execute_queue': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot/engine.c:624:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 624 | status = fb_format(a, usb, (int)a->data); | ^ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o sparse_crc32.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/sparse_crc32.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o sparse.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/sparse.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o sparse_read.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/sparse_read.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o sparse_err.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/sparse_err.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o output_file.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/output_file.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/sparse_read.c: In function 'process_raw_chunk': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/sparse_read.c:122:10: warning: implicit declaration of function 'read_all' [-Wimplicit-function-declaration] 122 | ret = read_all(fd, copybuf, chunk); | ^~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o make_ext4fs.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o crc16.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/crc16.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o ext4_utils.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.c /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o indirect.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/indirect.c In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c:18: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.h:82:15: error: conflicting types for 'u64' 82 | #define __u64 u64 | ^~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.h:87:28: note: previous declaration of 'u64' was here 87 | typedef unsigned long long u64; | ^~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/host/bin/powerpc64-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/fastboot -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/include -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/mkbootimg -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ -I/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/core/libsparse/include/ -c -o allocate.o /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/allocate.c In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.c:17: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.h:82:15: error: conflicting types for 'u64' 82 | #define __u64 u64 | ^~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.h:87:28: note: previous declaration of 'u64' was here 87 | typedef unsigned long long u64; | ^~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c: In function 'build_directory_structure': /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.c:411:5: error: conflicting types for 'get_file_size' 411 | u64 get_file_size(int fd) | ^~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c:150:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 150 | asprintf(&dentries[i].path, "%s%s", dir_path, namelist[i]->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.c:17: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.h:168:5: note: previous declaration of 'get_file_size' was here 168 | u64 get_file_size(int fd); | ^~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c:151:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 151 | asprintf(&dentries[i].full_path, "%s%s", full_path, namelist[i]->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c:207:4: warning: ignoring return value of 'readlink', declared with attribute warn_unused_result [-Wunused-result] 207 | readlink(dentries[i].full_path, dentries[i].link, info.block_size - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/make_ext4fs.c:224:3: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] 224 | asprintf(&dentries[0].path, "%slost+found", dir_path); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.c:440:5: error: conflicting types for 'parse_num' 440 | u64 parse_num(const char *arg) | ^~~~~~~~~ In file included from /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.c:17: /usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/extras/ext4_utils/ext4_utils.h:169:5: note: previous declaration of 'parse_num' was here 169 | u64 parse_num(const char *arg); | ^~~~~~~~~ make[1]: *** [make_ext4fs.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** [ext4_utils.o] Error 1 make[1]: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/build-fastboot' make: *** [/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/output-1/build/android-tools-4.2.2+git20130218/.stamp_built] Error 2 make: Leaving directory `/usr/lfs/hdd_v1/rc-buildroot-test/scripts/instance-1/buildroot'