>>> android-tools 4.2.2+git20130218 Extracting xzcat /home/buildroot/instance-0/dl/android-tools/android-tools_4.2.2+git20130218.orig.tar.xz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218 -xf - gzip -d -c /home/buildroot/instance-0/dl/android-tools/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar -C /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218 -xf - >>> android-tools 4.2.2+git20130218 Patching TAR="/home/buildroot/instance-0/output-1/host/bin/tar" PATH=/home/buildroot/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218 /home/buildroot/instance-0/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 Applying 0011-core-fastboot-fastboot.c-reorder-functions-to-avoid-.patch using patch: patching file core/fastboot/fastboot.c Applying 0012-core-libsparse-sparse_read.c-add-missing-output_file.patch using patch: patching file core/libsparse/sparse_read.c Applying 0013-extras-ext4_utils-make_ext4fs_main.c-disable-Android.patch using patch: patching file extras/ext4_utils/make_ext4fs_main.c Applying 0014-core-adbd-adb.c-open-code-capset.patch using patch: patching file core/adbd/adb.c Applying 0015-core-adbd-adb.c-include-correct-header-for-prctl.patch using patch: patching file core/adbd/adb.c >>> android-tools 4.2.2+git20130218 Configuring >>> android-tools 4.2.2+git20130218 Building mkdir -p /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-as" LD="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-ld" NM="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-g++" FC="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/home/buildroot/instance-0/output-1/host/bin/ccache /usr/bin/gcc" GCC_FOR_BUILD="/home/buildroot/instance-0/output-1/host/bin/ccache /usr/bin/gcc" CXX_FOR_BUILD="/home/buildroot/instance-0/output-1/host/bin/ccache /usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-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 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 " LDFLAGS=" -ztext" FCFLAGS=" -Os -g0" FFLAGS=" -Os -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/mips64el-buildroot-linux-musl/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j17 SRCDIR=/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218 -C /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd -f /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/debian/makefiles/adbd.mk make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd' /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o adb.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o backup_service.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/backup_service.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o fdevent.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/fdevent.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o transport.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o transport_local.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport_local.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o transport_usb.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport_usb.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o adb_auth_client.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb_auth_client.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o sockets.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/sockets.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o services.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/services.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o file_sync_service.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/file_sync_service.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o jdwp_service.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/jdwp_service.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o framebuffer_service.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/framebuffer_service.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o remount_service.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/remount_service.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o usb_linux_client.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/usb_linux_client.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o log_service.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/log_service.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o utils.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/utils.c /home/buildroot/instance-0/output-1/host/bin/mips64el-buildroot-linux-musl-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os -g0 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -Wno-unused-parameter -DADB_HOST=0 -DHAVE_FORKEXEC=1 -D_XOPEN_SOURCE -D_GNU_SOURCE -DALLOW_ADBD_ROOT=1 -DHAVE_SYMLINKS -DBOARD_ALWAYS_INSECURE -DHAVE_TERMIO_H -DADBD_NON_ANDROID -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o base64.o /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/base64.c ../core/adbd/adb_auth_client.c: In function 'read_keys': ../core/adbd/adb_auth_client.c:75:15: error: implicit declaration of function 'b64_pton' [-Wimplicit-function-declaration] 75 | ret = b64_pton(buf, (u_char *)&key->key, sizeof(key->key) + 4); | ^~~~~~~~ make[1]: *** [: adb_auth_client.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from ../core/adbd/log_service.c:25: ../core/include/cutils/logger.h:54:37: warning: "/*" within comment [-Wcomment] 54 | * more than this amount to /dev/log/* will result in a ../core/adbd/remount_service.c: In function 'find_mount': ../core/adbd/remount_service.c:38:9: warning: variable 'size' set but not used [-Wunused-but-set-variable] 38 | int size; | ^~~~ In file included from ../core/adbd/framebuffer_service.c:29: ../core/adbd/framebuffer_service.c: In function 'framebuffer_service': ../core/adbd/framebuffer_service.c:176:24: warning: 'pid' may be used uninitialized [-Wmaybe-uninitialized] 176 | TEMP_FAILURE_RETRY(waitpid(pid, NULL, 0)); ../core/include/cutils/fs.h:32:16: note: in definition of macro 'TEMP_FAILURE_RETRY' 32 | _rc = (exp); \ | ^~~ ../core/adbd/framebuffer_service.c:67:11: note: 'pid' was declared here 67 | pid_t pid = fork(); | ^~~ ../core/adbd/backup_service.c: In function 'backup_service': ../core/adbd/backup_service.c:55:9: warning: variable 'socketnum' set but not used [-Wunused-but-set-variable] 55 | int socketnum; | ^~~~~~~~~ ../core/adbd/transport_local.c: In function 'server_socket_thread': ../core/adbd/transport_local.c:159:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 159 | int port = (int)arg; | ^ ../core/adbd/transport_local.c: In function 'qemu_socket_thread': ../core/adbd/transport_local.c:241:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 241 | const int port = (int)arg; | ^ ../core/adbd/transport_local.c: In function 'local_init': ../core/adbd/transport_local.c:327:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 327 | if(adb_thread_create(&thr, func, (void *)port)) { | ^ ../core/adbd/services.c: In function 'recover_service': ../core/adbd/services.c:85:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 85 | unsigned count = (unsigned) cookie; | ^ ../core/adbd/services.c: In function 'restart_tcp_service': ../core/adbd/services.c:142:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 142 | int port = (int)cookie; | ^ ../core/adbd/services.c: In function 'subproc_waiter_service': ../core/adbd/services.c:346:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 346 | pid_t pid = (pid_t)cookie; | ^ ../core/adbd/services.c: In function 'create_subproc_thread': ../core/adbd/services.c:391:19: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 391 | sti->cookie = (void*)pid; | ^ ../core/adbd/services.c: In function 'service_to_fd': ../core/adbd/services.c:451:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 451 | ret = create_service_thread(recover_service, (void*) atoi(name + 8)); | ^ ../core/adbd/services.c:481:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 481 | ret = create_service_thread(restart_tcp_service, (void *)port); | ^ ../core/adbd/services.c: In function 'restart_root_service': ../core/adbd/services.c:124:13: warning: 'value' may be used uninitialized [-Wmaybe-uninitialized] 124 | if (strcmp(value, "1") != 0) { | ^~~~~~~~~~~~~~~~~~ : note: by argument 1 of type 'const void *' to '__builtin_strcmp_eq' declared here ../core/adbd/services.c:116:10: note: 'value' declared here 116 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ In file included from ../core/adbd/usb_linux_client.c:32: ../core/adbd/usb_linux_client.c: In function 'bulk_read': ../core/adbd/usb_linux_client.c:394:19: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 394 | D("[ bulk_read failed fd=%d length=%d count=%d ]\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 395 | bulk_out, length, count); | ~~~~~~ | | | size_t {aka long unsigned int} ../core/adbd/adb.h:396:33: note: in definition of macro 'D' 396 | fprintf(stderr, __VA_ARGS__ ); \ | ^~~~~~~~~~~ ../core/adbd/usb_linux_client.c:394:53: note: format string is defined here 394 | D("[ bulk_read failed fd=%d length=%d count=%d ]\n", | ~^ | | | int | %ld ../core/adbd/usb_linux_client.c:394:19: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 394 | D("[ bulk_read failed fd=%d length=%d count=%d ]\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 395 | bulk_out, length, count); | ~~~~~ | | | size_t {aka long unsigned int} ../core/adbd/adb.h:396:33: note: in definition of macro 'D' 396 | fprintf(stderr, __VA_ARGS__ ); \ | ^~~~~~~~~~~ ../core/adbd/usb_linux_client.c:394:62: note: format string is defined here 394 | D("[ bulk_read failed fd=%d length=%d count=%d ]\n", | ~^ | | | int | %ld ../core/adbd/adb.c: In function 'fill_connect_data': ../core/adbd/adb.c:317:14: warning: unused variable 'value' [-Wunused-variable] 317 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ ../core/adbd/adb.c: In function 'start_device_log': ../core/adbd/adb.c:966:10: warning: unused variable 'value' [-Wunused-variable] 966 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ ../core/adbd/adb.c: In function 'adb_main': ../core/adbd/adb.c:1206:10: warning: unused variable 'value' [-Wunused-variable] 1206 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ ../core/adbd/adb.c:1205:9: warning: unused variable 'port' [-Wunused-variable] 1205 | int port; | ^~~~ In file included from ../core/adbd/sockets.c:27: ../core/adbd/sockets.c: In function 'local_socket_event_func': ../core/adbd/sockets.c:329:15: warning: format '%d' expects argument of type 'int', but argument 7 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 329 | D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%d\n", s->id, s->fd, r, r<0?errno:0, avail); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~ | | | size_t {aka long unsigned int} ../core/adbd/adb.h:396:33: note: in definition of macro 'D' 396 | fprintf(stderr, __VA_ARGS__ ); \ | ^~~~~~~~~~~ ../core/adbd/sockets.c:329:72: note: format string is defined here 329 | D("LS(%d): post adb_read(fd=%d,...) r=%d (errno=%d) avail=%d\n", s->id, s->fd, r, r<0?errno:0, avail); | ~^ | | | int | %ld ../core/adbd/transport.c: In function 'acquire_one_transport': ../core/adbd/transport.c:799:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 799 | if (error_out) | ^~ ../core/adbd/transport.c:801:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 801 | continue; | ^~~~~~~~ In file included from ../core/adbd/transport.c:26: ../core/adbd/transport.c: In function 'readx': ../core/adbd/transport.c:1120:7: warning: format '%d' expects argument of type 'int', but argument 5 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 1120 | D("readx: fd=%d wanted=%d got=%d\n", fd, len0, len0 - len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ | | | size_t {aka long unsigned int} ../core/adbd/adb.h:396:33: note: in definition of macro 'D' 396 | fprintf(stderr, __VA_ARGS__ ); \ | ^~~~~~~~~~~ ../core/adbd/transport.c:1120:36: note: format string is defined here 1120 | D("readx: fd=%d wanted=%d got=%d\n", fd, len0, len0 - len); | ~^ | | | int | %ld make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/android-tools-4.2.2+git20130218/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'