log for com.tailscale.ipn:395
== Installed Android Tools ==
2025-04-17 01:16:50,825 DEBUG: Reading 'config.yml'
2025-04-17 01:16:50,836 INFO: Creating log directory
2025-04-17 01:16:50,836 INFO: Creating temporary directory
2025-04-17 01:16:50,837 INFO: Creating output directory
2025-04-17 01:16:50,957 DEBUG: Getting git vcs interface for https://github.com/tailscale/tailscale-android.git
2025-04-17 01:16:50,957 DEBUG: Checking com.tailscale.ipn:395
2025-04-17 01:16:50,957 INFO: Building version 1.82.4-tb45366c80-gce6fa05d5 (395) of com.tailscale.ipn
2025-04-17 01:16:50,957 WARNING: Android NDK version 'r23b' could not be found!
2025-04-17 01:16:50,957 WARNING: Configured versions:
Downloading https://raw.githubusercontent.com/f-droid/android-sdk-transparency-log/master/signed/checksums.json.asc into /home/vagrant/.cache/sdkmanager/checksums.json.asc
2025-04-17 01:16:54,237 DEBUG: Starting new HTTPS connection (1): raw.githubusercontent.com:443
2025-04-17 01:16:54,499 DEBUG: https://raw.githubusercontent.com:443 "GET /f-droid/android-sdk-transparency-log/master/signed/checksums.json.asc HTTP/1.1" 200 406
2025-04-17 01:16:54,510 DEBUG: Starting new HTTPS connection (1): raw.githubusercontent.com:443
2025-04-17 01:16:54,831 DEBUG: https://raw.githubusercontent.com:443 "GET /f-droid/android-sdk-transparency-log/master/signed/checksums.json HTTP/1.1" 200 145999
Downloading https://raw.githubusercontent.com/f-droid/android-sdk-transparency-log/master/signed/checksums.json into /home/vagrant/.cache/sdkmanager/checksums.json
Downloading https://dl.google.com/android/repository/android-ndk-r23b-linux.zip into /home/vagrant/.cache/sdkmanager/android-ndk-r23b-linux.zip
2025-04-17 01:16:55,316 DEBUG: Starting new HTTPS connection (1): dl.google.com:443
2025-04-17 01:16:55,540 DEBUG: https://dl.google.com:443 "GET /android/repository/android-ndk-r23b-linux.zip HTTP/1.1" 200 725122099
Unzipping to /tmp/.sdkmanager-v1xa34u_
ERROR: Unexpected symlink target: android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/arm-linux-androideabi/bin/as -> /buildbot/src/android/ndk-release-r23/out/linux/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-as
ERROR: Unexpected symlink target: android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/i686-linux-android/bin/as -> /buildbot/src/android/ndk-release-r23/out/linux/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/i686-linux-android-as
ERROR: Unexpected symlink target: android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/x86_64-linux-android/bin/as -> /buildbot/src/android/ndk-release-r23/out/linux/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/x86_64-linux-android-as
ERROR: Unexpected symlink target: android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/aarch64-linux-android/bin/as -> /buildbot/src/android/ndk-release-r23/out/linux/android-ndk-r23b/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-as
Installing into /opt/android-sdk/ndk/23.1.7779620
2025-04-17 01:17:51,804 INFO: Set NDK r23b (23.1.7779620) up
2025-04-17 01:17:51,804 INFO: Running 'sudo' commands in /home/vagrant
2025-04-17 01:17:51,804 DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -e -u -o pipefail -x -c apt-get update; apt-get install -y -t bookworm-backports golang-go; apt-get install -y gcc libc-dev make zip
+ apt-get update
Get:1 https://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 https://debian.osuosl.org/debian bookworm InRelease [151 kB]
Get:3 https://debian.osuosl.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 https://debian.osuosl.org/debian bookworm-backports InRelease [59.4 kB]
Get:5 https://security.debian.org/debian-security bookworm-security/main amd64 Packages [254 kB]
Get:6 https://security.debian.org/debian-security bookworm-security/main Translation-en [150 kB]
Get:7 https://debian.osuosl.org/debian bookworm/main amd64 Packages [8792 kB]
Get:8 https://debian.osuosl.org/debian bookworm/main Translation-en [6109 kB]
Get:9 https://debian.osuosl.org/debian bookworm-updates/main amd64 Packages [512 B]
Get:10 https://debian.osuosl.org/debian bookworm-updates/main Translation-en [360 B]
Get:11 https://debian.osuosl.org/debian bookworm-backports/main amd64 Packages [273 kB]
Get:12 https://debian.osuosl.org/debian bookworm-backports/main Translation-en [232 kB]
Fetched 16.1 MB in 15s (1059 kB/s)
Reading package lists...
+ apt-get install -y -t bookworm-backports golang-go
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
golang-1.23-go golang-1.23-src golang-src
Suggested packages:
bzr | brz subversion
Recommended packages:
pkgconf
The following NEW packages will be installed:
golang-1.23-go golang-1.23-src golang-go golang-src
0 upgraded, 4 newly installed, 0 to remove and 48 not upgraded.
Need to get 46.2 MB of archives.
After this operation, 242 MB of additional disk space will be used.
Get:1 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-1.23-src all 1.23.5-1~bpo12+1 [19.1 MB]
Get:2 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-1.23-go amd64 1.23.5-1~bpo12+1 [27.0 MB]
Get:3 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-src all 2:1.23~2~bpo12+1 [5200 B]
Get:4 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-go amd64 2:1.23~2~bpo12+1 [44.4 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 46.2 MB in 23s (2028 kB/s)
Selecting previously unselected package golang-1.23-src.
(Reading database ... 64068 files and directories currently installed.)
Preparing to unpack .../golang-1.23-src_1.23.5-1~bpo12+1_all.deb ...
Unpacking golang-1.23-src (1.23.5-1~bpo12+1) ...
Selecting previously unselected package golang-1.23-go.
Preparing to unpack .../golang-1.23-go_1.23.5-1~bpo12+1_amd64.deb ...
Unpacking golang-1.23-go (1.23.5-1~bpo12+1) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../golang-src_2%3a1.23~2~bpo12+1_all.deb ...
Unpacking golang-src (2:1.23~2~bpo12+1) ...
Selecting previously unselected package golang-go:amd64.
Preparing to unpack .../golang-go_2%3a1.23~2~bpo12+1_amd64.deb ...
Unpacking golang-go:amd64 (2:1.23~2~bpo12+1) ...
Setting up golang-1.23-src (1.23.5-1~bpo12+1) ...
Setting up golang-src (2:1.23~2~bpo12+1) ...
Setting up golang-1.23-go (1.23.5-1~bpo12+1) ...
Setting up golang-go:amd64 (2:1.23~2~bpo12+1) ...
+ apt-get install -y gcc libc-dev make zip
Reading package lists...
Building dependency tree...
Reading state information...
gcc is already the newest version (4:12.2.0-3).
gcc set to manually installed.
libc6-dev is already the newest version (2.36-9+deb12u10).
libc6-dev set to manually installed.
Suggested packages:
make-doc
The following NEW packages will be installed:
make zip
0 upgraded, 2 newly installed, 0 to remove and 1 not upgraded.
Need to get 625 kB of archives.
After this operation, 2261 kB of additional disk space will be used.
Get:1 https://debian.osuosl.org/debian bookworm/main amd64 make amd64 4.3-4.1 [396 kB]
Get:2 https://debian.osuosl.org/debian bookworm/main amd64 zip amd64 3.0-13 [230 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 625 kB in 1s (527 kB/s)
Selecting previously unselected package make.
(Reading database ... 78822 files and directories currently installed.)
Preparing to unpack .../make_4.3-4.1_amd64.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package zip.
Preparing to unpack .../archives/zip_3.0-13_amd64.deb ...
Unpacking zip (3.0-13) ...
Setting up zip (3.0-13) ...
Setting up make (4.3-4.1) ...
2025-04-17 01:19:12,679 DEBUG: > sudo passwd --lock root
passwd: password changed.
2025-04-17 01:19:13,184 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 78885 files and directories currently installed.)
Removing sudo (1.9.13p3-1+deb12u1) ...
Purging configuration files for sudo (1.9.13p3-1+deb12u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
Processing triggers for libc-bin (2.36-9+deb12u10) ...
2025-04-17 01:19:33,764 INFO: Getting source for revision 89593da628b840b3290385439c4e9e228d0957e7
2025-04-17 01:19:33,767 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:33,767 DEBUG: > git rev-parse --show-toplevel
2025-04-17 01:19:33,970 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:33,970 DEBUG: > git submodule foreach --recursive git reset --hard
2025-04-17 01:19:34,173 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:34,173 DEBUG: > git reset --hard
2025-04-17 01:19:34,477 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:34,477 DEBUG: > git submodule foreach --recursive git clean -dffx
2025-04-17 01:19:34,581 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:34,581 DEBUG: > git clean -dffx
2025-04-17 01:19:34,684 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:34,684 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --prune-tags --force origin
2025-04-17 01:19:35,589 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:35,590 DEBUG: > git -c core.askpass=/bin/true -c core.sshCommand=/bin/false -c url.https://.insteadOf=ssh:// -c url.https://u:p@bitbucket.org/.insteadOf=git@bitbucket.org: -c url.https://u:p@bitbucket.org.insteadOf=git://bitbucket.org -c url.https://u:p@bitbucket.org.insteadOf=https://bitbucket.org -c url.https://u:p@github.com/.insteadOf=git@github.com: -c url.https://u:p@github.com.insteadOf=git://github.com -c url.https://u:p@github.com.insteadOf=https://github.com -c url.https://u:p@gitlab.com/.insteadOf=git@gitlab.com: -c url.https://u:p@gitlab.com.insteadOf=git://gitlab.com -c url.https://u:p@gitlab.com.insteadOf=https://gitlab.com -c url.https://u:p@codeberg.org/.insteadOf=git@codeberg.org: -c url.https://u:p@codeberg.org.insteadOf=git://codeberg.org -c url.https://u:p@codeberg.org.insteadOf=https://codeberg.org fetch --prune --tags --force origin
2025-04-17 01:19:36,294 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:36,295 DEBUG: > git remote set-head origin --auto
2025-04-17 01:19:36,999 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:37,000 DEBUG: > git checkout -f 89593da628b840b3290385439c4e9e228d0957e7
2025-04-17 01:19:37,203 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:37,204 DEBUG: > git clean -dffx
2025-04-17 01:19:37,307 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:37,307 DEBUG: > git rev-parse --show-toplevel
2025-04-17 01:19:37,511 DEBUG: Directory: build/com.tailscale.ipn
2025-04-17 01:19:37,511 DEBUG: > git submodule deinit --all --force
2025-04-17 01:19:37,614 INFO: Collecting source libraries
2025-04-17 01:19:37,752 DEBUG: Removing debuggable flags from build/srclib/tailscale-go
2025-04-17 01:19:37,827 INFO: Creating local.properties file at build/com.tailscale.ipn/local.properties
2025-04-17 01:19:37,829 INFO: Creating local.properties file at build/com.tailscale.ipn/android/local.properties
2025-04-17 01:19:37,829 DEBUG: Removing debuggable flags from build/com.tailscale.ipn/android
2025-04-17 01:19:37,843 INFO: Running 'prebuild' commands in build/com.tailscale.ipn/android
2025-04-17 01:19:37,843 DEBUG: Directory: build/com.tailscale.ipn/android
2025-04-17 01:19:37,844 DEBUG: > bash -e -u -o pipefail -x -c -- echo -e "\norg.gradle.jvmargs=-Xmx4096m" >> gradle.properties; sdkmanager 'platforms;android-31' 'platform-tools' 'build-tools;33.0.2'; sed -i -e 's|$(ANDROID_HOME)/cmdline-tools/latest/bin/sdkmanager|sdkmanager|g' -e 's/list_installed/list/' ../Makefile; sed -i -e 's/getVersionProperty("VERSION_LONG")/"1.82.4-tb45366c80-gce6fa05d5"/' build.gradle
/etc/bash.bashrc: line 7: PS1: unbound variable
+ echo -e '\norg.gradle.jvmargs=-Xmx4096m'
+ sdkmanager 'platforms;android-31' platform-tools 'build-tools;33.0.2'
Downloading https://dl.google.com/android/repository/build-tools_r33.0.2-linux.zip into /home/vagrant/.cache/sdkmanager/build-tools_r33.0.2-linux.zip
Unzipping to /tmp/.sdkmanager-50_1d6a0
Installing into /opt/android-sdk/build-tools/33.0.2
+ sed -i -e 's|$(ANDROID_HOME)/cmdline-tools/latest/bin/sdkmanager|sdkmanager|g' -e s/list_installed/list/ ../Makefile
+ sed -i -e 's/getVersionProperty("VERSION_LONG")/"1.82.4-tb45366c80-gce6fa05d5"/' build.gradle
2025-04-17 01:19:43,163 INFO: Cleaning Gradle project...
2025-04-17 01:19:43,164 DEBUG: Directory: build/com.tailscale.ipn/android
2025-04-17 01:19:43,164 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 8.7 via distributionUrl
Downloading missing gradle version 8.7
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.7-bin.zip: OK
Running /opt/gradle/versions/8.7/bin/gradle clean
Welcome to Gradle 8.7!
Here are the highlights of this release:
- Compiling and testing with Java 22
- Cacheable Groovy script compilation
- New methods in lazy collection properties
For more details see https://docs.gradle.org/8.7/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.7/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Configure project :
WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
The current default is 'false'.
It will be removed in version 9.0 of the Android Gradle plugin.
To keep using this feature, add the following to your module-level build.gradle files:
android.buildFeatures.buildConfig = true
or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`.
WARNING: Using flatDir should be avoided because it doesn't support any meta-data formats.
> Task :clean UP-TO-DATE
BUILD SUCCESSFUL in 1m 13s
1 actionable task: 1 up-to-date
2025-04-17 01:21:03,518 INFO: Scanning source for common problems...
2025-04-17 01:21:03,546 DEBUG: scanner is configured to use signature data from: 'suss'
2025-04-17 01:21:03,546 DEBUG: downloading 'https://fdroid.gitlab.io/fdroid-suss/suss.json'
2025-04-17 01:21:04,174 DEBUG: write 'suss.json' to cache
2025-04-17 01:21:04,178 DEBUG: next suss.json cache update due in 23:59:59.985605
2025-04-17 01:21:04,339 INFO: Removing gradle-wrapper.jar at android/gradle/wrapper/gradle-wrapper.jar
2025-04-17 01:21:04,353 INFO: Creating source tarball...
2025-04-17 01:21:04,672 INFO: Running 'build' commands in build/com.tailscale.ipn/android
2025-04-17 01:21:04,672 DEBUG: Directory: build/com.tailscale.ipn/android
2025-04-17 01:21:04,672 DEBUG: > bash -e -u -o pipefail -x -c export TOOLCHAINREV=$(cat ../go.toolchain.rev); export TOOLCHAINDIR=/home/vagrant/build/srclib/tailscale-go; export ANDROID_NDK_ROOT=/opt/android-sdk/ndk/23.1.7779620; export PATH=$TOOLCHAINDIR/bin:$PATH; pushd /home/vagrant/build/srclib/tailscale-go; git checkout $TOOLCHAINREV; cd src; sed -i "s/TAILSCALE_GIT_REV_TO_BE_REPLACED_AT_BUILD_TIME/$TOOLCHAINREV/" runtime/debug/mod.go; ./make.bash; popd; make -C .. env; make -C .. libtailscale
/etc/bash.bashrc: line 7: PS1: unbound variable
++ cat ../go.toolchain.rev
+ export TOOLCHAINREV=982da8f24fa0504f2214f24b0d68b2febd5983f8
+ TOOLCHAINREV=982da8f24fa0504f2214f24b0d68b2febd5983f8
+ export TOOLCHAINDIR=/home/vagrant/build/srclib/tailscale-go
+ TOOLCHAINDIR=/home/vagrant/build/srclib/tailscale-go
+ export ANDROID_NDK_ROOT=/opt/android-sdk/ndk/23.1.7779620
+ ANDROID_NDK_ROOT=/opt/android-sdk/ndk/23.1.7779620
+ export PATH=/home/vagrant/build/srclib/tailscale-go/bin:/opt/android-sdk/ndk/23.1.7779620:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/gradle/bin
+ PATH=/home/vagrant/build/srclib/tailscale-go/bin:/opt/android-sdk/ndk/23.1.7779620:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/gradle/bin
+ pushd /home/vagrant/build/srclib/tailscale-go
~/build/srclib/tailscale-go ~/build/com.tailscale.ipn/android
+ git checkout 982da8f24fa0504f2214f24b0d68b2febd5983f8
Previous HEAD position was bf15628b75 [tailscale] runtime/debug: embed Tailscale toolchain git rev
HEAD is now at 982da8f24f Merge pull request #125 from tailscale/kari/disablepidfd
+ cd src
+ sed -i s/TAILSCALE_GIT_REV_TO_BE_REPLACED_AT_BUILD_TIME/982da8f24fa0504f2214f24b0d68b2febd5983f8/ runtime/debug/mod.go
+ ./make.bash
Building Go cmd/dist using /usr/lib/go-1.23. (go1.23.5 linux/amd64)
Building Go toolchain1 using /usr/lib/go-1.23.
Building Go bootstrap cmd/go (go_bootstrap) using Go toolchain1.
Building Go toolchain2 using go_bootstrap and Go toolchain1.
Building Go toolchain3 using go_bootstrap and Go toolchain2.
Building packages and commands for linux/amd64.
---
Installed Go for linux/amd64 in /home/vagrant/build/srclib/tailscale-go
Installed commands in /home/vagrant/build/srclib/tailscale-go/bin
+ popd
~/build/com.tailscale.ipn/android
+ make -C .. env
make: Entering directory '/home/vagrant/build/com.tailscale.ipn'
Using NDK_ROOT: /opt/android-sdk/ndk/23.1.7779620
Using STRIP_TOOL: /opt/android-sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy
PATH=/home/vagrant/build/com.tailscale.ipn/android/tool:/home/vagrant/build/com.tailscale.ipn/android/android/build/go/bin:/opt/android-sdk/cmdline-tools/latest/bin:/opt/android-sdk/platform-tools:/home/vagrant/build/srclib/tailscale-go/bin:/opt/android-sdk/ndk/23.1.7779620:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/gradle/bin
ANDROID_SDK_ROOT=/opt/android-sdk
ANDROID_HOME=/opt/android-sdk
ANDROID_STUDIO_ROOT=
JAVA_HOME=
TOOLCHAINDIR=/home/vagrant/build/srclib/tailscale-go
AVD_IMAGE=system-images;android-33;google_apis;x86_64
make: Leaving directory '/home/vagrant/build/com.tailscale.ipn'
+ make -C .. libtailscale
make: Entering directory '/home/vagrant/build/com.tailscale.ipn'
Using NDK_ROOT: /opt/android-sdk/ndk/23.1.7779620
Using STRIP_TOOL: /opt/android-sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy
go: downloading tailscale.com v1.82.4
go: downloading github.com/google/uuid v1.6.0
go: downloading golang.org/x/mod v0.23.0
go: downloading golang.org/x/crypto v0.35.0
go: downloading go4.org/mem v0.0.0-20240501181205-ae6ca9944745
go: downloading github.com/go-json-experiment/json v0.0.0-20250223041408-d3c622f1b874
go: downloading golang.org/x/net v0.36.0
go: downloading golang.org/x/sys v0.30.0
./tool/go install golang.org/x/mobile/cmd/gobind
go: downloading golang.org/x/mobile v0.0.0-20240806205939-81131f6468ab
go: downloading golang.org/x/tools v0.30.0
go: downloading golang.org/x/sync v0.11.0
./tool/go install golang.org/x/mobile/cmd/gomobile
Running gomobile bind to generate unstripped AAR...
Output file: /home/vagrant/build/com.tailscale.ipn/android/libs/libtailscale_unstripped.aar
mkdir -p /home/vagrant/build/com.tailscale.ipn/android/libs/
rm -f /home/vagrant/build/com.tailscale.ipn/android/libs/libtailscale_unstripped.aar
/home/vagrant/build/com.tailscale.ipn/android/android/build/go/bin/gomobile bind -target android -androidapi 26 \
-tags "$(./build-tags.sh)" \
-ldflags "$(./version-ldflags.sh)" \
-o /home/vagrant/build/com.tailscale.ipn/android/libs/libtailscale_unstripped.aar ./libtailscale || { echo "gomobile bind failed"; exit 1; }
Generated unstripped AAR: /home/vagrant/build/com.tailscale.ipn/android/libs/libtailscale_unstripped.aar
Extracting libgojni.so from unstripped AAR...
Found arm64-v8a libgojni.so
Stripping debug symbols from libgojni.so...
/opt/android-sdk/ndk/23.1.7779620/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-objcopy --strip-debug libgojni.so.unstripped libgojni.so.stripped
Repackaging AAR with stripped libgojni.so...
rm -rf temp_aar
mkdir temp_aar
unzip /home/vagrant/build/com.tailscale.ipn/android/libs/libtailscale_unstripped.aar -d temp_aar
Archive: /home/vagrant/build/com.tailscale.ipn/android/libs/libtailscale_unstripped.aar
inflating: temp_aar/AndroidManifest.xml
inflating: temp_aar/proguard.txt
inflating: temp_aar/classes.jar
inflating: temp_aar/jni/armeabi-v7a/libgojni.so
inflating: temp_aar/jni/arm64-v8a/libgojni.so
inflating: temp_aar/jni/x86/libgojni.so
inflating: temp_aar/jni/x86_64/libgojni.so
inflating: temp_aar/R.txt
creating: temp_aar/res/
cp libgojni.so.stripped temp_aar/jni/arm64-v8a/libgojni.so
(cd temp_aar && zip -r ../android/libs/libtailscale.aar .)
adding: res/ (stored 0%)
adding: R.txt (stored 0%)
adding: jni/ (stored 0%)
adding: jni/x86/ (stored 0%)
adding: jni/x86/libgojni.so (deflated 47%)
adding: jni/x86_64/ (stored 0%)
adding: jni/x86_64/libgojni.so (deflated 52%)
adding: jni/armeabi-v7a/ (stored 0%)
adding: jni/armeabi-v7a/libgojni.so (deflated 49%)
adding: jni/arm64-v8a/ (stored 0%)
adding: jni/arm64-v8a/libgojni.so (deflated 67%)
adding: AndroidManifest.xml (deflated 22%)
adding: classes.jar (deflated 18%)
adding: proguard.txt (deflated 27%)
rm -rf temp_aar
make: Leaving directory '/home/vagrant/build/com.tailscale.ipn'
2025-04-17 01:29:50,388 INFO: Building Gradle project...
2025-04-17 01:29:50,388 DEBUG: Directory: build/com.tailscale.ipn/android
2025-04-17 01:29:50,388 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid assembleRelease
Found 8.7 via distributionUrl
Running /opt/gradle/versions/8.7/bin/gradle assembleRelease
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.7/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Configure project :
WARNING: The option setting 'android.defaults.buildfeatures.buildconfig=true' is deprecated.
The current default is 'false'.
It will be removed in version 9.0 of the Android Gradle plugin.
To keep using this feature, add the following to your module-level build.gradle files:
android.buildFeatures.buildConfig = true
or from Android Studio, click: `Refactor` > `Migrate BuildConfig to Gradle Build Files`.
WARNING: Using flatDir should be avoided because it doesn't support any meta-data formats.
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
Checking the license for package Android SDK Build-Tools 34 in /opt/android-sdk/licenses
License for package Android SDK Build-Tools 34 accepted.
Preparing "Install Android SDK Build-Tools 34 v.34.0.0".
"Install Android SDK Build-Tools 34 v.34.0.0" ready.
Installing Android SDK Build-Tools 34 in /opt/android-sdk/build-tools/34.0.0
"Install Android SDK Build-Tools 34 v.34.0.0" complete.
"Install Android SDK Build-Tools 34 v.34.0.0" finished.
Checking the license for package Android SDK Platform 34 in /opt/android-sdk/licenses
License for package Android SDK Platform 34 accepted.
Preparing "Install Android SDK Platform 34 (revision 3)".
"Install Android SDK Platform 34 (revision 3)" ready.
Installing Android SDK Platform 34 in /opt/android-sdk/platforms/android-34
"Install Android SDK Platform 34 (revision 3)" complete.
"Install Android SDK Platform 34 (revision 3)" finished.
Exception while marshalling /opt/android-sdk/platforms/android-10/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-11/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-12/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-13/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-14/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-15/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-16/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-17/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-18/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-19/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-20/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-21/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-22/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-23/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-24/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-25/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-26/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-27/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-28/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-29/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-30/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-31/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-32/package.xml. Probably the SDK is read-only
Exception while marshalling /opt/android-sdk/platforms/android-33/package.xml. Probably the SDK is read-only
> Task :checkKotlinGradlePluginConfigurationErrors
> Task :preBuild UP-TO-DATE
> Task :preReleaseBuild UP-TO-DATE
> Task :generateReleaseBuildConfig
> Task :checkReleaseAarMetadata
> Task :generateReleaseResValues
> Task :mapReleaseSourceSetPaths
> Task :generateReleaseResources
> Task :packageReleaseResources
> Task :mergeReleaseResources
> Task :createReleaseCompatibleScreenManifests
> Task :extractDeepLinksRelease
> Task :parseReleaseLocalResources
> Task :processReleaseMainManifest
> Task :processReleaseManifest
> Task :buildKotlinToolingMetadata
> Task :javaPreCompileRelease
> Task :extractProguardFiles
> Task :mergeReleaseJniLibFolders
> Task :mergeReleaseNativeLibs
> Task :checkReleaseDuplicateClasses
> Task :mergeReleaseStartupProfile
> Task :mergeReleaseShaders
> Task :mergeReleaseArtProfile
> Task :compileReleaseShaders NO-SOURCE
> Task :generateReleaseAssets UP-TO-DATE
> Task :stripReleaseDebugSymbols
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :mergeReleaseAssets
> Task :processReleaseManifestForPackage
> Task :compressReleaseAssets
> Task :extractReleaseVersionControlInfo
> Task :processApplicationManifestReleaseForBundle
> Task :extractReleaseNativeSymbolTables
[CXX5106] NDK was located by using ndk.dir property. This method is deprecated and will be removed in a future release. Please delete ndk.dir from local.properties and set android.ndkVersion to [23.1.7779620] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :processReleaseResources
> Task :collectReleaseDependencies
> Task :sdkReleaseDependencyData
> Task :writeReleaseAppMetadata
> Task :writeReleaseSigningConfigVersions
> Task :bundleReleaseResources
> Task :mergeReleaseNativeDebugMetadata
> Task :compileReleaseKotlin
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/App.kt:192:11 Variable 'hideDisconnectAction' is never used
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/util/Lists.kt:102:15 'ClickableText(AnnotatedString, Modifier = ..., TextStyle = ..., Boolean = ..., TextOverflow = ..., Int = ..., (TextLayoutResult) -> Unit = ..., (Int) -> Unit): Unit' is deprecated. Use Text or BasicText and pass an AnnotatedString that contains a LinkAnnotation
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/BugReportView.kt:51:13 'ClickableText(AnnotatedString, Modifier = ..., TextStyle = ..., Boolean = ..., TextOverflow = ..., Int = ..., (TextLayoutResult) -> Unit = ..., (Int) -> Unit): Unit' is deprecated. Use Text or BasicText and pass an AnnotatedString that contains a LinkAnnotation
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/SearchView.kt:103:15 Unnecessary safe call on a non-null receiver of type OnBackInvokedDispatcher
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/SearchView.kt:104:27 Unnecessary safe call on a non-null receiver of type OnBackInvokedDispatcher
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/SearchView.kt:125:7 'SearchBar(String, (String) -> Unit, (String) -> Unit, Boolean, (Boolean) -> Unit, Modifier = ..., Boolean = ..., (() -> Unit)? = ..., (() -> Unit)? = ..., (() -> Unit)? = ..., Shape = ..., SearchBarColors = ..., Dp = ..., Dp = ..., WindowInsets = ..., MutableInteractionSource? = ..., ColumnScope.() -> Unit): Unit' is deprecated. Use overload which takes inputField as a parameter
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/SearchView.kt:149:51 'ArrowBack: ImageVector' is deprecated. Use the AutoMirrored version at Icons.AutoMirrored.Filled.ArrowBack
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/SearchView.kt:211:55 Elvis operator (?:) always returns the left operand of non-nullable type String
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/SharedViews.kt:129:3 'LinearProgressIndicator(Float, Modifier = ..., Color = ..., Color = ..., StrokeCap = ...): Unit' is deprecated. Use the overload that takes `progress` as a lambda
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/ui/view/TailnetLockSetupView.kt:106:5 'ClickableText(AnnotatedString, Modifier = ..., TextStyle = ..., Boolean = ..., TextOverflow = ..., Int = ..., (TextLayoutResult) -> Unit = ..., (Int) -> Unit): Unit' is deprecated. Use Text or BasicText and pass an AnnotatedString that contains a LinkAnnotation
w: file:///home/vagrant/build/com.tailscale.ipn/android/src/main/java/com/tailscale/ipn/util/TSLog.kt:47:61 Unnecessary safe call on a non-null receiver of type Throwable?
> Task :compileReleaseJavaWithJavac
> Task :generateReleaseLintVitalReportModel
> Task :mergeReleaseGeneratedProguardFiles
> Task :processReleaseJavaRes
> Task :expandReleaseArtProfileWildcards
> Task :mergeReleaseJavaResource
> Task :lintVitalAnalyzeRelease
> Task :minifyReleaseWithR8
> Task :lintVitalReportRelease
> Task :lintVitalRelease
> Task :compileReleaseArtProfile
> Task :shrinkReleaseRes
> Task :convertReleaseProtoResources
> Task :optimizeReleaseResources
> Task :packageRelease
> Task :createReleaseApkListingFileRedirect
> Task :assembleRelease
BUILD SUCCESSFUL in 7m 52s
53 actionable tasks: 53 executed
2025-04-17 01:37:44,039 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/com.tailscale.ipn, universal_newlines=False, shell=None, istream=<valid stream>)
2025-04-17 01:37:44,047 INFO: Successfully built version 1.82.4-tb45366c80-gce6fa05d5 of com.tailscale.ipn from 89593da628b840b3290385439c4e9e228d0957e7
2025-04-17 01:37:44,377 DEBUG: Checking build/com.tailscale.ipn/android/build/outputs/apk/release/android-release-unsigned.apk
2025-04-17 01:37:44,593 INFO: success: com.tailscale.ipn
2025-04-17 01:37:44,593 INFO: Finished
2025-04-17 01:37:44,593 INFO: 1 build succeeded