>>> android-tools 4.2.2+git20130218 Extracting xzcat /workdir/instance-0/dl/android-tools/android-tools_4.2.2+git20130218.orig.tar.xz | tar --strip-components=1 -C /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218 -xf - gzip -d -c /workdir/instance-0/dl/android-tools/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz | tar -C /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218 -xf - >>> android-tools 4.2.2+git20130218 Patching TAR="tar" PATH=/workdir/instance-0/output-1/host/bin:$PATH support/scripts/apply-patches.sh /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218 /workdir/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 /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd && GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" GIT_DIR=. PATH="/workdir/instance-0/output-1/host/bin:/workdir/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/workdir/instance-0/output-1/host/bin/sparc-linux-gcc-ar" AS="/workdir/instance-0/output-1/host/bin/sparc-linux-as" LD="/workdir/instance-0/output-1/host/bin/sparc-linux-ld" NM="/workdir/instance-0/output-1/host/bin/sparc-linux-gcc-nm" CC="/workdir/instance-0/output-1/host/bin/sparc-linux-gcc" GCC="/workdir/instance-0/output-1/host/bin/sparc-linux-gcc" CPP="/workdir/instance-0/output-1/host/bin/sparc-linux-cpp" CXX="/workdir/instance-0/output-1/host/bin/sparc-linux-g++" FC="/workdir/instance-0/output-1/host/bin/sparc-linux-gfortran" F77="/workdir/instance-0/output-1/host/bin/sparc-linux-gfortran" RANLIB="/workdir/instance-0/output-1/host/bin/sparc-linux-gcc-ranlib" READELF="/workdir/instance-0/output-1/host/bin/sparc-linux-readelf" STRIP="/bin/true" OBJCOPY="/workdir/instance-0/output-1/host/bin/sparc-linux-objcopy" OBJDUMP="/workdir/instance-0/output-1/host/bin/sparc-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/workdir/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/workdir/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/workdir/instance-0/output-1/host/lib -Wl,-rpath,/workdir/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/workdir/instance-0/output-1/host/bin/sparc-linux-as" DEFAULT_LINKER="/workdir/instance-0/output-1/host/bin/sparc-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 -O2 -g0 -static" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -static" LDFLAGS=" -static" FCFLAGS=" -O2 -g0 -static" FFLAGS=" -O2 -g0 -static" PKG_CONFIG="/workdir/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/workdir/instance-0/output-1/host/sparc-buildroot-linux-uclibc/sysroot" INTLTOOL_PERL=/usr/bin/perl /usr/bin/make -j1 SRCDIR=/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218 -C /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd -f /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/debian/makefiles/adbd.mk make[1]: Entering directory '/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd' /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o adb.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c: In function 'fill_connect_data': /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:317:14: warning: unused variable 'value' [-Wunused-variable] 317 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c: In function 'start_device_log': /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:966:10: warning: unused variable 'value' [-Wunused-variable] 966 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c: In function 'adb_main': /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:1206:10: warning: unused variable 'value' [-Wunused-variable] 1206 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:1205:9: warning: unused variable 'port' [-Wunused-variable] 1205 | int port; | ^~~~ /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o backup_service.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/backup_service.c /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/backup_service.c: In function 'backup_service': /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/backup_service.c:55:9: warning: variable 'socketnum' set but not used [-Wunused-but-set-variable] 55 | int socketnum; | ^~~~~~~~~ /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o fdevent.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/fdevent.c /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o transport.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport.c /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport.c: In function 'acquire_one_transport': /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport.c:799:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 799 | if (error_out) | ^~ /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/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; | ^~~~~~~~ /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o transport_local.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport_local.c /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o transport_usb.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/transport_usb.c /workdir/instance-0/output-1/host/bin/sparc-linux-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -static -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/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o adb_auth_client.o /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb_auth_client.c /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb_auth_client.c: In function 'read_keys': /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/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]: Leaving directory '/workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/build-adbd' make: *** [package/pkg-generic.mk:289: /workdir/instance-0/output-1/build/android-tools-4.2.2+git20130218/.stamp_built] Error 2 make: Leaving directory '/workdir/instance-0/buildroot'