>>> android-tools 4.2.2+git20130218 Downloading wget -nd -t 3 -O '/home/autobuild/autobuild/instance-13/output-1/build/.android-tools_4.2.2+git20130218.orig.tar.xz.tWpwX5/output' 'https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git20130218.orig.tar.xz' --2024-06-25 20:46:31-- https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git20130218.orig.tar.xz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving launchpad.net (launchpad.net)... 185.125.189.223, 185.125.189.222, 2620:2d:4000:1009::3ba, ... Connecting to launchpad.net (launchpad.net)|185.125.189.223|:443... connected. HTTP request sent, awaiting response... 303 See Other Location: https://launchpadlibrarian.net/131566234/android-tools_4.2.2+git20130218.orig.tar.xz [following] --2024-06-25 20:46:32-- https://launchpadlibrarian.net/131566234/android-tools_4.2.2+git20130218.orig.tar.xz Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 185.125.189.229, 185.125.189.228, 2620:2d:4000:1009::3b8, ... Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|185.125.189.229|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 215868 (211K) [application/octet-stream] Saving to: '/home/autobuild/autobuild/instance-13/output-1/build/.android-tools_4.2.2+git20130218.orig.tar.xz.tWpwX5/output' 0K .......... .......... .......... .......... .......... 23% 200K 1s 50K .......... .......... .......... .......... .......... 47% 404K 0s 100K .......... .......... .......... .......... .......... 71% 29.3M 0s 150K .......... .......... .......... .......... .......... 94% 73.2M 0s 200K .......... 100% 88.1K=0.5s 2024-06-25 20:46:33 (423 KB/s) - '/home/autobuild/autobuild/instance-13/output-1/build/.android-tools_4.2.2+git20130218.orig.tar.xz.tWpwX5/output' saved [215868/215868] android-tools_4.2.2+git20130218.orig.tar.xz: OK (sha256: 9bfba987e1351b12aa983787b9ae4424ab752e9e646d8e93771538dc1e5d932f) wget -nd -t 3 -O '/home/autobuild/autobuild/instance-13/output-1/build/.android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz.GRgyKB/output' 'https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz' --2024-06-25 20:46:33-- https://launchpad.net/ubuntu/+archive/primary/+files/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving launchpad.net (launchpad.net)... 185.125.189.222, 185.125.189.223, 2620:2d:4000:1009::f3, ... Connecting to launchpad.net (launchpad.net)|185.125.189.222|:443... connected. HTTP request sent, awaiting response... 303 See Other Location: https://launchpadlibrarian.net/199160784/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz [following] --2024-06-25 20:46:34-- https://launchpadlibrarian.net/199160784/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz Resolving launchpadlibrarian.net (launchpadlibrarian.net)... 185.125.189.228, 185.125.189.229, 2620:2d:4000:1009::13e, ... Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|185.125.189.228|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 154346 (151K) [application/gzipped-tar] Saving to: '/home/autobuild/autobuild/instance-13/output-1/build/.android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz.GRgyKB/output' 0K .......... .......... .......... .......... .......... 33% 200K 1s 50K .......... .......... .......... .......... .......... 66% 403K 0s 100K .......... .......... .......... .......... .......... 99% 31.1M 0s 150K 100% 1.36T=0.4s 2024-06-25 20:46:35 (402 KB/s) - '/home/autobuild/autobuild/instance-13/output-1/build/.android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz.GRgyKB/output' saved [154346/154346] android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz: OK (sha256: 73c3078de3e44d8a3cadf7a360863c63155d9d558c2f0933cf38ad901a3f5998) >>> android-tools 4.2.2+git20130218 Extracting mkdir -p /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host mkdir -p /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target xzcat /home/autobuild/autobuild/instance-13/dl/android-tools/android-tools_4.2.2+git20130218.orig.tar.xz | tar --strip-components=1 -C /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218 -xf - gzip -d -c /home/autobuild/autobuild/instance-13/dl/android-tools/android-tools_4.2.2+git20130218-3ubuntu41.debian.tar.gz | tar -C /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218 -xf - >>> android-tools 4.2.2+git20130218 Patching TAR="tar" PATH=/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin:$PATH support/scripts/apply-patches.sh /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218 /home/autobuild/autobuild/instance-13/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 mkdir -p /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/host-pkgconf/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/host-pkgconf/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/host-skeleton/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/libxcrypt/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/libxcrypt/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/openssl/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/openssl/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/skeleton/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/toolchain/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/zlib/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/zlib/host/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host mkdir -p /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/host-pkgconf/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/host-pkgconf/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/host-skeleton/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/libxcrypt/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/libxcrypt/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/openssl/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/openssl/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/skeleton/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/toolchain/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target rsync -a --hard-links --link-dest=/home/autobuild/autobuild/instance-13/output-1/per-package/zlib/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/zlib/target/ /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/target >>> android-tools 4.2.2+git20130218 Building mkdir -p /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/build-adbd && GIT_DIR=. PATH="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin:/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" GIT_DIR=. PATH="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin:/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/sbin:/home/autobuild/make:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gcc-ar" AS="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-as" LD="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-ld" NM="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gcc-nm" CC="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gcc" GCC="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gcc" CPP="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-cpp" CXX="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-g++" FC="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gfortran" F77="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gfortran" RANLIB="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gcc-ranlib" READELF="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-objcopy" OBJDUMP="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-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/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/include" LDFLAGS_FOR_BUILD="-L/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/lib -Wl,-rpath,/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-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 -Og -g0 -D_FORTIFY_SOURCE=3" CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=3" LDFLAGS="" FCFLAGS=" -Og -g0" FFLAGS=" -Og -g0" PKG_CONFIG="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/pkg-config" STAGING_DIR="/home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/sparc64-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no /usr/bin/make SRCDIR=/home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218 -C /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/build-adbd -f /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/debian/makefiles/adbd.mk make[1]: Entering directory '/home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/build-adbd' /home/autobuild/autobuild/instance-13/output-1/per-package/android-tools/host/bin/sparc64-buildroot-linux-gnu-gcc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Og -g0 -D_FORTIFY_SOURCE=3 -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/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd -I/home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/include -c -o adb.o /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c: In function 'fill_connect_data': /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:316:14: warning: unused variable 'value' [-Wunused-variable] 316 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c: In function 'start_device_log': /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:965:10: warning: unused variable 'value' [-Wunused-variable] 965 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c: In function 'adb_main': /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:1256:13: error: implicit declaration of function 'prctl' [-Wimplicit-function-declaration] 1256 | if (prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0) != 0) { | ^~~~~ /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:1296:9: error: implicit declaration of function 'capset' [-Wimplicit-function-declaration] 1296 | capset(&header, cap); | ^~~~~~ /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:1205:10: warning: unused variable 'value' [-Wunused-variable] 1205 | char value[PROPERTY_VALUE_MAX]; | ^~~~~ /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/core/adbd/adb.c:1204:9: warning: unused variable 'port' [-Wunused-variable] 1204 | int port; | ^~~~ make[1]: *** [: adb.o] Error 1 make[1]: Leaving directory '/home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/build-adbd' make: *** [package/pkg-generic.mk:283: /home/autobuild/autobuild/instance-13/output-1/build/android-tools-4.2.2+git20130218/.stamp_built] Error 2 make: Leaving directory '/home/autobuild/autobuild/instance-13/buildroot'