log for io.github.saeeddev94.xray:283
Traceback (most recent call last):
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 1057, in main
if trybuild(app, build, build_dir, output_dir, log_dir,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 815, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 274, in build_server
raise BuildException(message.format(app.id, build.versionName),
fdroidserver.exception.BuildException: Build.py failed on server for io.github.saeeddev94.xray:6.5.0
==== detail begin ====
== Installed Android Tools ==
2024-04-08 16:37:45,207 DEBUG: Reading 'config.yml'
2024-04-08 16:37:45,254 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2024-04-08 16:37:45,262 INFO: Creating log directory
2024-04-08 16:37:45,263 INFO: Creating temporary directory
2024-04-08 16:37:45,264 INFO: Creating output directory
2024-04-08 16:37:45,421 DEBUG: Getting git vcs interface for https://github.com/SaeedDev94/Xray.git
2024-04-08 16:37:45,422 DEBUG: Checking io.github.saeeddev94.xray:283
2024-04-08 16:37:45,422 INFO: Building version 6.5.0 (283) of io.github.saeeddev94.xray
2024-04-08 16:37:45,422 WARNING: Android NDK version '26.2.11394342' could not be found!
2024-04-08 16:37:45,422 WARNING: Configured versions:
Downloading https://fdroid.gitlab.io/android-sdk-transparency-log/checksums.json.asc into /home/vagrant/.cache/sdkmanager/checksums.json.asc
2024-04-08 16:37:49,344 DEBUG: Starting new HTTPS connection (1): fdroid.gitlab.io:443
2024-04-08 16:37:49,908 DEBUG: https://fdroid.gitlab.io:443 "GET /android-sdk-transparency-log/checksums.json.asc HTTP/1.1" 200 488
2024-04-08 16:37:49,924 DEBUG: Starting new HTTPS connection (1): fdroid.gitlab.io:443
2024-04-08 16:37:50,428 DEBUG: https://fdroid.gitlab.io:443 "GET /android-sdk-transparency-log/checksums.json HTTP/1.1" 200 647138
Downloading https://fdroid.gitlab.io/android-sdk-transparency-log/checksums.json into /home/vagrant/.cache/sdkmanager/checksums.json
Downloading https://dl.google.com/android/repository/android-ndk-r26c-linux.zip into /home/vagrant/.cache/sdkmanager/android-ndk-r26c-linux.zip
2024-04-08 16:37:52,873 DEBUG: Starting new HTTPS connection (1): dl.google.com:443
2024-04-08 16:37:53,033 DEBUG: https://dl.google.com:443 "GET /android/repository/android-ndk-r26c-linux.zip HTTP/1.1" 200 668556021
Unzipping to /tmp/.sdkmanager-5f3k_hfd
Installing into /opt/android-sdk/ndk/26.2.11394342
2024-04-08 16:38:44,944 INFO: Set NDK 26.2.11394342 (26.2.11394342) up
2024-04-08 16:38:44,944 INFO: Running 'sudo' commands in /home/vagrant
2024-04-08 16:38:44,944 DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -e -u -o pipefail -x -c apt-get update; apt-get install -t bookworm-backports -y golang-go; apt-get install -y gcc libc-dev
+ 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 [56.5 kB]
Get:5 https://security.debian.org/debian-security bookworm-security/main amd64 Packages [150 kB]
Get:6 https://security.debian.org/debian-security bookworm-security/main Translation-en [90.3 kB]
Get:7 https://debian.osuosl.org/debian bookworm/main amd64 Packages [8786 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 [12.7 kB]
Get:10 https://debian.osuosl.org/debian bookworm-updates/main Translation-en [13.8 kB]
Get:11 https://debian.osuosl.org/debian bookworm-backports/main amd64 Packages [188 kB]
Get:12 https://debian.osuosl.org/debian bookworm-backports/main Translation-en [157 kB]
Fetched 15.8 MB in 14s (1095 kB/s)
Reading package lists...
+ apt-get install -t bookworm-backports -y golang-go
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
golang-1.21-go golang-1.21-src golang-src
Suggested packages:
bzr | brz subversion
Recommended packages:
pkg-config
The following NEW packages will be installed:
golang-1.21-go golang-1.21-src golang-go golang-src
0 upgraded, 4 newly installed, 0 to remove and 27 not upgraded.
Need to get 42.2 MB of archives.
After this operation, 219 MB of additional disk space will be used.
Get:1 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-1.21-src all 1.21.8-1~bpo12+1 [18.5 MB]
Get:2 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-1.21-go amd64 1.21.8-1~bpo12+1 [23.6 MB]
Get:3 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-src all 2:1.21~2~bpo12+1 [4864 B]
Get:4 https://debian.osuosl.org/debian bookworm-backports/main amd64 golang-go amd64 2:1.21~2~bpo12+1 [44.1 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 42.2 MB in 34s (1259 kB/s)
Selecting previously unselected package golang-1.21-src.
(Reading database ... 64096 files and directories currently installed.)
Preparing to unpack .../golang-1.21-src_1.21.8-1~bpo12+1_all.deb ...
Unpacking golang-1.21-src (1.21.8-1~bpo12+1) ...
Selecting previously unselected package golang-1.21-go.
Preparing to unpack .../golang-1.21-go_1.21.8-1~bpo12+1_amd64.deb ...
Unpacking golang-1.21-go (1.21.8-1~bpo12+1) ...
Selecting previously unselected package golang-src.
Preparing to unpack .../golang-src_2%3a1.21~2~bpo12+1_all.deb ...
Unpacking golang-src (2:1.21~2~bpo12+1) ...
Selecting previously unselected package golang-go:amd64.
Preparing to unpack .../golang-go_2%3a1.21~2~bpo12+1_amd64.deb ...
Unpacking golang-go:amd64 (2:1.21~2~bpo12+1) ...
Setting up golang-1.21-src (1.21.8-1~bpo12+1) ...
Setting up golang-src (2:1.21~2~bpo12+1) ...
Setting up golang-1.21-go (1.21.8-1~bpo12+1) ...
Setting up golang-go:amd64 (2:1.21~2~bpo12+1) ...
+ apt-get install -y gcc libc-dev
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+deb12u4).
libc6-dev set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
2024-04-08 16:40:04,375 DEBUG: > sudo passwd --lock root
passwd: password changed.
2024-04-08 16:40:04,780 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 78068 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+deb12u4) ...
2024-04-08 16:40:31,801 INFO: Getting source for revision 750a7e3c5ef804df0c326439aad03ad2d894ef54
2024-04-08 16:40:31,802 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:31,802 DEBUG: > git rev-parse --show-toplevel
2024-04-08 16:40:32,007 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:32,007 DEBUG: > git submodule foreach --recursive git reset --hard
2024-04-08 16:40:32,716 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:32,716 DEBUG: > git reset --hard
2024-04-08 16:40:32,920 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:32,920 DEBUG: > git submodule foreach --recursive git clean -dffx
2024-04-08 16:40:33,225 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:33,225 DEBUG: > git clean -dffx
2024-04-08 16:40:33,328 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:33,329 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 origin
2024-04-08 16:40:34,434 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:34,435 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 remote prune origin
2024-04-08 16:40:35,039 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:35,040 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
2024-04-08 16:40:35,644 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:35,644 DEBUG: > git remote set-head origin --auto
2024-04-08 16:40:36,249 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:36,252 DEBUG: > git checkout -f 750a7e3c5ef804df0c326439aad03ad2d894ef54
2024-04-08 16:40:36,459 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:36,460 DEBUG: > git clean -dffx
2024-04-08 16:40:36,563 INFO: Initialising submodules
2024-04-08 16:40:36,563 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:36,564 DEBUG: > git rev-parse --show-toplevel
2024-04-08 16:40:36,768 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:36,769 DEBUG: > git submodule sync
2024-04-08 16:40:36,972 DEBUG: Directory: build/io.github.saeeddev94.xray
2024-04-08 16:40:36,972 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 submodule update --init --force --recursive
Submodule path 'app/src/main/jni/hev-socks5-tunnel': checked out 'dec294e1402ebb0b2d78d1f6efebaba81511e960'
Submodule path 'app/src/main/jni/hev-socks5-tunnel/src/core': checked out '4162eba2dd607e8aa8a284b43cad721ffe184d19'
Submodule path 'app/src/main/jni/hev-socks5-tunnel/third-part/hev-task-system': checked out 'c2fcff74dc80d588246def14e775a63bf9701ddc'
Submodule path 'app/src/main/jni/hev-socks5-tunnel/third-part/lwip': checked out '033586d005f38bfe71cc83474545729badd0a9d9'
Submodule path 'app/src/main/jni/hev-socks5-tunnel/third-part/yaml': checked out '162227cd7d2b6108bc8bc133273e11413222ddf4'
2024-04-08 16:40:37,577 INFO: Collecting source libraries
2024-04-08 16:40:37,716 DEBUG: Removing debuggable flags from build/srclib/go
2024-04-08 16:40:37,793 INFO: Creating local.properties file at build/io.github.saeeddev94.xray/local.properties
2024-04-08 16:40:37,794 INFO: Creating local.properties file at build/io.github.saeeddev94.xray/app/local.properties
2024-04-08 16:40:37,795 DEBUG: Removing debuggable flags from build/io.github.saeeddev94.xray/app
2024-04-08 16:40:37,819 INFO: Running 'prebuild' commands in build/io.github.saeeddev94.xray/app
2024-04-08 16:40:37,819 DEBUG: Directory: build/io.github.saeeddev94.xray/app
2024-04-08 16:40:37,819 DEBUG: > bash -e -u -o pipefail -x -c -- sdkmanager "platforms;android-34" "build-tools;34.0.0"
/etc/bash.bashrc: line 7: PS1: unbound variable
+ sdkmanager 'platforms;android-34' 'build-tools;34.0.0'
Downloading https://dl.google.com/android/repository/platform-34-ext7_r03.zip into /home/vagrant/.cache/sdkmanager/platform-34-ext7_r03.zip
Unzipping to /tmp/.sdkmanager-tk_2obj2
Installing into /opt/android-sdk/platforms/android-34
Downloading https://dl.google.com/android/repository/build-tools_r34-linux.zip into /home/vagrant/.cache/sdkmanager/build-tools_r34-linux.zip
Unzipping to /tmp/.sdkmanager-xuq77n06
Installing into /opt/android-sdk/build-tools/34.0.0
2024-04-08 16:40:50,660 INFO: Cleaning Gradle project...
2024-04-08 16:40:50,660 DEBUG: Directory: build/io.github.saeeddev94.xray/app
2024-04-08 16:40:50,660 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid -PabiId=3 -PabiTarget=x86 clean
Found 8.4 via distributionUrl
Downloading missing gradle version 8.4
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.4-bin.zip: OK
Running /opt/gradle/versions/8.4/bin/gradle -PabiId=3 -PabiTarget=x86 clean
Welcome to Gradle 8.4!
Here are the highlights of this release:
- Compiling and testing with Java 21
- Faster Java compilation on Windows
- Role focused dependency configurations creation
For more details see https://docs.gradle.org/8.4/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.4/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Configure project :app
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
[CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
[CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :app:externalNativeBuildCleanDebug
> Task :app:externalNativeBuildCleanRelease
> Task :app:clean UP-TO-DATE
BUILD SUCCESSFUL in 2m
3 actionable tasks: 2 executed, 1 up-to-date
2024-04-08 16:42:58,610 INFO: Scanning source for common problems...
2024-04-08 16:42:58,627 INFO: Removing gradle-wrapper.jar at gradle/wrapper/gradle-wrapper.jar
2024-04-08 16:42:58,629 DEBUG: scanner is configured to use signature data from: 'suss'
2024-04-08 16:42:58,630 DEBUG: downloading 'https://fdroid.gitlab.io/fdroid-suss/suss.json'
2024-04-08 16:42:59,234 DEBUG: write 'suss.json' to cache
2024-04-08 16:42:59,236 DEBUG: next suss.json cache update due in 23:59:59.993581
2024-04-08 16:42:59,413 INFO: Creating source tarball...
2024-04-08 16:43:00,188 INFO: Running 'build' commands in build/io.github.saeeddev94.xray/app
2024-04-08 16:43:00,188 DEBUG: Directory: build/io.github.saeeddev94.xray/app
2024-04-08 16:43:00,188 DEBUG: > bash -e -u -o pipefail -x -c pushd /home/vagrant/build/srclib/go/src; ./make.bash; popd; export GOROOT=/home/vagrant/build/srclib/go; export GOPATH="$HOME/go"; export PATH="$GOROOT/bin:$PATH"; export PATH="$GOPATH/bin:$PATH"; pushd ../XrayCore; go install golang.org/x/mobile/cmd/gomobile@v0.0.0-20240213143359-d1f7d3436075; go mod download; gomobile init; gomobile bind -o "../app/libs/XrayCore.aar" -androidapi 26 -target android/386 -ldflags="-buildid=" -trimpath; popd
/etc/bash.bashrc: line 7: PS1: unbound variable
+ pushd /home/vagrant/build/srclib/go/src
~/build/srclib/go/src ~/build/io.github.saeeddev94.xray/app
+ ./make.bash
Building Go cmd/dist using /usr/lib/go-1.21. (go1.21.8 linux/amd64)
Building Go toolchain1 using /usr/lib/go-1.21.
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/go
Installed commands in /home/vagrant/build/srclib/go/bin
*** You need to add /home/vagrant/build/srclib/go/bin to your PATH.
+ popd
~/build/io.github.saeeddev94.xray/app
+ export GOROOT=/home/vagrant/build/srclib/go
+ GOROOT=/home/vagrant/build/srclib/go
+ export GOPATH=/home/vagrant/go
+ GOPATH=/home/vagrant/go
+ export PATH=/home/vagrant/build/srclib/go/bin:/opt/android-sdk/ndk/26.2.11394342:/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/go/bin:/opt/android-sdk/ndk/26.2.11394342:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/gradle/bin
+ export PATH=/home/vagrant/go/bin:/home/vagrant/build/srclib/go/bin:/opt/android-sdk/ndk/26.2.11394342:/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/go/bin:/home/vagrant/build/srclib/go/bin:/opt/android-sdk/ndk/26.2.11394342:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/gradle/bin
+ pushd ../XrayCore
~/build/io.github.saeeddev94.xray/XrayCore ~/build/io.github.saeeddev94.xray/app
+ go install golang.org/x/mobile/cmd/gomobile@v0.0.0-20240213143359-d1f7d3436075
go: downloading golang.org/x/mobile v0.0.0-20240213143359-d1f7d3436075
go: downloading golang.org/x/tools v0.18.0
go: downloading golang.org/x/mod v0.15.0
go: downloading golang.org/x/sync v0.6.0
+ go mod download
go: downloading go1.22.1 (linux/amd64)
+ gomobile init
+ gomobile bind -o ../app/libs/XrayCore.aar -androidapi 26 -target android/386 -ldflags=-buildid= -trimpath
+ popd
~/build/io.github.saeeddev94.xray/app
2024-04-08 16:49:19,729 INFO: Building Gradle project...
2024-04-08 16:49:19,730 DEBUG: Directory: build/io.github.saeeddev94.xray/app
2024-04-08 16:49:19,730 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid -PabiId=3 -PabiTarget=x86 assembleRelease
Found 8.4 via distributionUrl
Running /opt/gradle/versions/8.4/bin/gradle -PabiId=3 -PabiTarget=x86 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.4/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Configure project :app
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
[CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
[CXX5202] This app only has 32-bit [x86] native libraries. Beginning August 1, 2019 Google Play store requires that all apps that include native libraries must provide 64-bit versions. For more information, visit https://g.co/64-bit-requirement
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
WARNING: [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 [26.2.11394342] 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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
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 :app:buildKotlinToolingMetadata
> Task :app:checkKotlinGradlePluginConfigurationErrors
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:generateReleaseResValues
> Task :app:dataBindingMergeDependencyArtifactsRelease
> Task :app:generateReleaseResources
> Task :app:packageReleaseResources
> Task :app:mergeReleaseResources
> Task :app:generateReleaseBuildConfig
> Task :app:parseReleaseLocalResources
> Task :app:mapReleaseSourceSetPaths
> Task :app:checkReleaseAarMetadata
> Task :app:dataBindingGenBaseClassesRelease
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :app:processReleaseMainManifest
> Task :app:processReleaseManifest
> Task :app:javaPreCompileRelease
> Task :app:extractProguardFiles
> Task :app:configureNdkBuildRelease[x86]
> Task :app:processReleaseManifestForPackage
> Task :app:buildNdkBuildRelease[x86]
> Task :app:mergeReleaseJniLibFolders
> Task :app:checkReleaseDuplicateClasses
> Task :app:mergeReleaseNativeLibs
> Task :app:mergeReleaseArtProfile
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:compressReleaseAssets
> Task :app:stripReleaseDebugSymbols
> Task :app:extractReleaseVersionControlInfo
> Task :app: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 [26.2.11394342] in all native modules in the project. https://developer.android.com/r/studio-ui/ndk-dir
> Task :app:collectReleaseDependencies
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:sdkReleaseDependencyData
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :app:desugarReleaseFileDependencies
> Task :app:processReleaseResources
> Task :app:mergeExtDexRelease
> Task :app:optimizeReleaseResources
> Task :app:kspReleaseKotlin
> Task :app:compileReleaseKotlin
> Task :app:compileReleaseJavaWithJavac
> Task :app:generateReleaseLintVitalReportModel
Generating lint files for backported methods only (compile API B)
> Task :app:dexBuilderRelease
> Task :app:mergeReleaseGlobalSynthetics
> Task :app:processReleaseJavaRes
> Task :app:mergeReleaseJavaResource
> Task :app:mergeDexRelease
> Task :app:compileReleaseArtProfile
Sorting /home/vagrant/build/io.github.saeeddev94.xray/app/build/intermediates/binary_art_profile_metadata/release/compileReleaseArtProfile/baseline.profm ...
> Task :app:packageRelease
> Task :app:createReleaseApkListingFileRedirect
> Task :app:lintVitalAnalyzeRelease
> Task :app:lintVitalReportRelease
> Task :app:lintVitalRelease
> Task :app:assembleRelease
BUILD SUCCESSFUL in 3m 52s
54 actionable tasks: 54 executed
2024-04-08 16:53:13,206 DEBUG: Popen(['git', 'cat-file', '--batch-check'], cwd=/home/vagrant/build/io.github.saeeddev94.xray, universal_newlines=False, shell=None, istream=<valid stream>)
2024-04-08 16:53:13,213 INFO: Successfully built version 6.5.0 of io.github.saeeddev94.xray from 750a7e3c5ef804df0c326439aad03ad2d894ef54
2024-04-08 16:53:13,802 DEBUG: AXML contains a RESOURCE MAP
2024-04-08 16:53:13,802 DEBUG: Start of Namespace mapping: prefix 32: 'android' --> uri 72: 'http://schemas.android.com/apk/res/android'
2024-04-08 16:53:13,803 DEBUG: Checking build/io.github.saeeddev94.xray/app/build/outputs/apk/release/app-x86-release-unsigned.apk
2024-04-08 16:53:13,816 DEBUG: AXML contains a RESOURCE MAP
2024-04-08 16:53:13,816 DEBUG: Start of Namespace mapping: prefix 32: 'android' --> uri 72: 'http://schemas.android.com/apk/res/android'
2024-04-08 16:53:13,921 INFO: Created directory for storing developer supplied reference binaries: 'unsigned/binaries'
2024-04-08 16:53:13,921 INFO: ...retrieving https://github.com/SaeedDev94/Xray/releases/download/v6.5.0/Xray-v6.5.0-283.apk
2024-04-08 16:53:13,924 DEBUG: Starting new HTTPS connection (1): github.com:443
2024-04-08 16:53:14,265 DEBUG: https://github.com:443 "GET /SaeedDev94/Xray/releases/download/v6.5.0/Xray-v6.5.0-283.apk HTTP/1.1" 302 0
2024-04-08 16:53:14,271 DEBUG: Starting new HTTPS connection (1): objects.githubusercontent.com:443
2024-04-08 16:53:14,742 DEBUG: https://objects.githubusercontent.com:443 "GET /github-production-release-asset-2e65be/666542599/2698a361-00ab-4c32-bbef-b25798cd447a?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAVCODYLSA53PQK4ZA%2F20240408%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240408T165314Z&X-Amz-Expires=300&X-Amz-Signature=3ab6ef0f7aebec5e70a048a86a76ff4286ed6256a454569ec3a8b81b28e96836&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=666542599&response-content-disposition=attachment%3B%20filename%3DXray-v6.5.0-283.apk&response-content-type=application%2Fvnd.android.package-archive HTTP/1.1" 200 45016767
2024-04-08 16:53:19,352 DEBUG: unsigned/binaries/io.github.saeeddev94.xray_283.binary.apk: Verifies
Verified using v1 scheme (JAR signing): false
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1
DOES NOT VERIFY
ERROR: APK Signature Scheme v3 signer #1: APK integrity check failed. CHUNKED_SHA256 digest mismatch. Expected: <0810e8572223268675bed941f80f990c0a327852cb68eef806ccca2d846b0706>, actual: <50f4395b9bf5471c32e07f053b4c33468177ebbacc580566e56c3ce5bce7d5e1>
2024-04-08 16:53:21,043 ERROR:
/tmp/tmppduql3z6/sigcp_io.github.saeeddev94.xray_283.apk:
2024-04-08 16:53:21,043 INFO: ...NOT verified - /tmp/tmppduql3z6/sigcp_io.github.saeeddev94.xray_283.apk
2024-04-08 16:53:21,929 DEBUG: > diff -r /tmp/tmppduql3z6/unsigned_binaries_io.github.saeeddev94.xray_283.binary /tmp/tmppduql3z6/_tmp_tmppduql3z6_sigcp_io.github.saeeddev94.xray_283
2024-04-08 16:53:22,134 DEBUG: removing unsigned/io.github.saeeddev94.xray_283.apk
2024-04-08 16:53:22,161 DEBUG: removing unsigned/binaries/io.github.saeeddev94.xray_283.binary.apk
2024-04-08 16:53:22,324 ERROR: Could not build app io.github.saeeddev94.xray: compared built binary to supplied reference binary but failed
==== detail begin ====
verification of APK with copied signature failed
Comparing reference APK to APK with copied signature...
Unexpected diff output:
Binary files /tmp/tmppduql3z6/unsigned_binaries_io.github.saeeddev94.xray_283.binary/content/lib/x86/libgojni.so and /tmp/tmppduql3z6/_tmp_tmppduql3z6_sigcp_io.github.saeeddev94.xray_283/content/lib/x86/libgojni.so differ
==== detail end ====
2024-04-08 16:53:22,324 DEBUG: Error encountered, stopping by user request.
==== detail end ====