log for org.linphone:500901
Traceback (most recent call last):
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 1053, in main
if trybuild(app, build, build_dir, output_dir, log_dir,
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 813, in trybuild
build_server(app, build, vcs, build_dir, output_dir, log_dir, force)
File "/home/fdroid/fdroidserver/fdroidserver/build.py", line 272, in build_server
raise BuildException(message.format(app.id, build.versionName),
fdroidserver.exception.BuildException: Build.py failed on server for org.linphone:5.1.0
==== detail begin ====
== Installed Android Tools ==
2023-05-09 03:14:52,011 DEBUG: Reading 'config.yml'
2023-05-09 03:14:52,025 DEBUG: ipfs_cid not found, skipping CIDv1 generation
2023-05-09 03:14:52,026 INFO: Creating log directory
2023-05-09 03:14:52,026 INFO: Creating temporary directory
2023-05-09 03:14:52,026 INFO: Creating output directory
2023-05-09 03:14:52,104 DEBUG: Getting git vcs interface for https://gitlab.linphone.org/BC/public/linphone-android.git
2023-05-09 03:14:52,104 DEBUG: Checking org.linphone:500901
2023-05-09 03:14:52,104 INFO: Building version 5.1.0 (500901) of org.linphone
2023-05-09 03:14:52,104 WARNING: Android NDK version 'r21e' could not be found!
2023-05-09 03:14:52,104 WARNING: Configured versions:
Downloading https://fdroid.gitlab.io/android-sdk-transparency-log/checksums.json.asc into /home/vagrant/.cache/sdkmanager/checksums.json.asc
2023-05-09 03:14:52,111 DEBUG: Starting new HTTPS connection (1): fdroid.gitlab.io:443
2023-05-09 03:14:52,484 DEBUG: https://fdroid.gitlab.io:443 "GET /android-sdk-transparency-log/checksums.json.asc HTTP/1.1" 200 488
2023-05-09 03:14:52,494 DEBUG: Starting new HTTPS connection (1): fdroid.gitlab.io:443
2023-05-09 03:14:52,851 DEBUG: https://fdroid.gitlab.io:443 "GET /android-sdk-transparency-log/checksums.json HTTP/1.1" 200 547493
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-r21e-linux-x86_64.zip into /home/vagrant/.cache/sdkmanager/android-ndk-r21e-linux-x86_64.zip
2023-05-09 03:14:53,576 DEBUG: Starting new HTTPS connection (1): dl.google.com:443
2023-05-09 03:14:53,639 DEBUG: https://dl.google.com:443 "GET /android/repository/android-ndk-r21e-linux-x86_64.zip HTTP/1.1" 200 1190670072
Unzipping to /tmp/.sdkmanager-k7b27pje
Installing into /opt/android-sdk/ndk/r21e
2023-05-09 03:16:31,719 INFO: Set NDK r21e (21.4.7075529) up
2023-05-09 03:16:31,719 INFO: Running 'sudo' commands in /home/vagrant
2023-05-09 03:16:31,720 DEBUG: > sudo DEBIAN_FRONTEND=noninteractive bash -e -u -o pipefail -x -c apt-get update; apt-get install -y cmake doxygen pkgconf python3-pystache yasm
+ apt-get update
Get:1 https://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:2 https://debian.osuosl.org/debian bullseye InRelease [116 kB]
Get:3 https://debian.osuosl.org/debian bullseye-updates InRelease [44.1 kB]
Get:4 https://debian.osuosl.org/debian bullseye-backports InRelease [49.0 kB]
Get:5 https://security.debian.org/debian-security bullseye-security/main amd64 Packages [239 kB]
Get:6 https://security.debian.org/debian-security bullseye-security/main Translation-en [157 kB]
Get:7 https://debian.osuosl.org/debian bullseye/main amd64 Packages [8183 kB]
Get:8 https://debian.osuosl.org/debian bullseye/main Translation-en [6240 kB]
Get:9 https://debian.osuosl.org/debian bullseye-updates/main amd64 Packages [14.6 kB]
Get:10 https://debian.osuosl.org/debian bullseye-updates/main Translation-en [7929 B]
Get:11 https://debian.osuosl.org/debian bullseye-backports/main amd64 Packages [419 kB]
Get:12 https://debian.osuosl.org/debian bullseye-backports/main Translation-en [351 kB]
Fetched 15.9 MB in 10s (1536 kB/s)
Reading package lists...
+ apt-get install -y cmake doxygen pkgconf python3-pystache yasm
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu bzip2 cmake-data dpkg-dev
libbinutils libclang-cpp11 libclang1-11 libctf-nobfd0 libctf0 libdpkg-perl
libjsoncpp24 libpkgconf3 librhash0 libuv1 libxapian30 make xz-utils
Suggested packages:
binutils-doc bzip2-doc cmake-doc ninja-build doxygen-latex doxygen-doc
doxygen-gui debian-keyring gcc | c-compiler bzr xapian-tools make-doc
Recommended packages:
gcc build-essential gcc | c-compiler fakeroot libalgorithm-merge-perl
libfile-fcntllock-perl
The following NEW packages will be installed:
binutils binutils-common binutils-x86-64-linux-gnu bzip2 cmake cmake-data
doxygen dpkg-dev libbinutils libclang-cpp11 libclang1-11 libctf-nobfd0
libctf0 libdpkg-perl libjsoncpp24 libpkgconf3 librhash0 libuv1 libxapian30
make pkgconf python3-pystache xz-utils yasm
0 upgraded, 24 newly installed, 0 to remove and 1 not upgraded.
Need to get 38.0 MB of archives.
After this operation, 163 MB of additional disk space will be used.
Get:1 https://debian.osuosl.org/debian bullseye/main amd64 bzip2 amd64 1.0.8-4 [49.3 kB]
Get:2 https://debian.osuosl.org/debian bullseye/main amd64 xz-utils amd64 5.2.5-2.1~deb11u1 [220 kB]
Get:3 https://debian.osuosl.org/debian bullseye/main amd64 binutils-common amd64 2.35.2-2 [2220 kB]
Get:4 https://debian.osuosl.org/debian bullseye/main amd64 libbinutils amd64 2.35.2-2 [570 kB]
Get:5 https://debian.osuosl.org/debian bullseye/main amd64 libctf-nobfd0 amd64 2.35.2-2 [110 kB]
Get:6 https://debian.osuosl.org/debian bullseye/main amd64 libctf0 amd64 2.35.2-2 [53.2 kB]
Get:7 https://debian.osuosl.org/debian bullseye/main amd64 binutils-x86-64-linux-gnu amd64 2.35.2-2 [1809 kB]
Get:8 https://debian.osuosl.org/debian bullseye/main amd64 binutils amd64 2.35.2-2 [61.2 kB]
Get:9 https://debian.osuosl.org/debian bullseye/main amd64 cmake-data all 3.18.4-2+deb11u1 [1725 kB]
Get:10 https://debian.osuosl.org/debian bullseye/main amd64 libjsoncpp24 amd64 1.9.4-4 [78.9 kB]
Get:11 https://debian.osuosl.org/debian bullseye/main amd64 librhash0 amd64 1.4.1-2 [129 kB]
Get:12 https://debian.osuosl.org/debian bullseye/main amd64 libuv1 amd64 1.40.0-2 [132 kB]
Get:13 https://debian.osuosl.org/debian bullseye/main amd64 cmake amd64 3.18.4-2+deb11u1 [5593 kB]
Get:14 https://debian.osuosl.org/debian bullseye/main amd64 libclang-cpp11 amd64 1:11.0.1-2 [9632 kB]
Get:15 https://debian.osuosl.org/debian bullseye/main amd64 libclang1-11 amd64 1:11.0.1-2 [5521 kB]
Get:16 https://debian.osuosl.org/debian bullseye/main amd64 libxapian30 amd64 1.4.18-3+deb11u1 [1089 kB]
Get:17 https://debian.osuosl.org/debian bullseye/main amd64 doxygen amd64 1.9.1-1 [4232 kB]
Get:18 https://debian.osuosl.org/debian bullseye/main amd64 libdpkg-perl all 1.20.12 [1551 kB]
Get:19 https://debian.osuosl.org/debian bullseye/main amd64 make amd64 4.3-4.1 [396 kB]
Get:20 https://debian.osuosl.org/debian bullseye/main amd64 dpkg-dev all 1.20.12 [2312 kB]
Get:21 https://debian.osuosl.org/debian bullseye/main amd64 libpkgconf3 amd64 1.7.4~git20210206+dcf529b-3 [35.2 kB]
Get:22 https://debian.osuosl.org/debian bullseye/main amd64 pkgconf amd64 1.7.4~git20210206+dcf529b-3 [41.9 kB]
Get:23 https://debian.osuosl.org/debian bullseye/main amd64 python3-pystache all 0.5.4-6.1 [35.1 kB]
Get:24 https://debian.osuosl.org/debian bullseye/main amd64 yasm amd64 1.3.0-2.1 [409 kB]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 38.0 MB in 9s (4014 kB/s)
Selecting previously unselected package bzip2.
(Reading database ... 36749 files and directories currently installed.)
Preparing to unpack .../00-bzip2_1.0.8-4_amd64.deb ...
Unpacking bzip2 (1.0.8-4) ...
Selecting previously unselected package xz-utils.
Preparing to unpack .../01-xz-utils_5.2.5-2.1~deb11u1_amd64.deb ...
Unpacking xz-utils (5.2.5-2.1~deb11u1) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../02-binutils-common_2.35.2-2_amd64.deb ...
Unpacking binutils-common:amd64 (2.35.2-2) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../03-libbinutils_2.35.2-2_amd64.deb ...
Unpacking libbinutils:amd64 (2.35.2-2) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../04-libctf-nobfd0_2.35.2-2_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.35.2-2) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../05-libctf0_2.35.2-2_amd64.deb ...
Unpacking libctf0:amd64 (2.35.2-2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../06-binutils-x86-64-linux-gnu_2.35.2-2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.35.2-2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../07-binutils_2.35.2-2_amd64.deb ...
Unpacking binutils (2.35.2-2) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../08-cmake-data_3.18.4-2+deb11u1_all.deb ...
Unpacking cmake-data (3.18.4-2+deb11u1) ...
Selecting previously unselected package libjsoncpp24:amd64.
Preparing to unpack .../09-libjsoncpp24_1.9.4-4_amd64.deb ...
Unpacking libjsoncpp24:amd64 (1.9.4-4) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../10-librhash0_1.4.1-2_amd64.deb ...
Unpacking librhash0:amd64 (1.4.1-2) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../11-libuv1_1.40.0-2_amd64.deb ...
Unpacking libuv1:amd64 (1.40.0-2) ...
Selecting previously unselected package cmake.
Preparing to unpack .../12-cmake_3.18.4-2+deb11u1_amd64.deb ...
Unpacking cmake (3.18.4-2+deb11u1) ...
Selecting previously unselected package libclang-cpp11.
Preparing to unpack .../13-libclang-cpp11_1%3a11.0.1-2_amd64.deb ...
Unpacking libclang-cpp11 (1:11.0.1-2) ...
Selecting previously unselected package libclang1-11.
Preparing to unpack .../14-libclang1-11_1%3a11.0.1-2_amd64.deb ...
Unpacking libclang1-11 (1:11.0.1-2) ...
Selecting previously unselected package libxapian30:amd64.
Preparing to unpack .../15-libxapian30_1.4.18-3+deb11u1_amd64.deb ...
Unpacking libxapian30:amd64 (1.4.18-3+deb11u1) ...
Selecting previously unselected package doxygen.
Preparing to unpack .../16-doxygen_1.9.1-1_amd64.deb ...
Unpacking doxygen (1.9.1-1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../17-libdpkg-perl_1.20.12_all.deb ...
Unpacking libdpkg-perl (1.20.12) ...
Selecting previously unselected package make.
Preparing to unpack .../18-make_4.3-4.1_amd64.deb ...
Unpacking make (4.3-4.1) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../19-dpkg-dev_1.20.12_all.deb ...
Unpacking dpkg-dev (1.20.12) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../20-libpkgconf3_1.7.4~git20210206+dcf529b-3_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.7.4~git20210206+dcf529b-3) ...
Selecting previously unselected package pkgconf.
Preparing to unpack .../21-pkgconf_1.7.4~git20210206+dcf529b-3_amd64.deb ...
Adding 'diversion of /usr/bin/pkg-config to /usr/bin/pkg-config.real by pkgconf'
Adding 'diversion of /usr/share/aclocal/pkg.m4 to /usr/share/aclocal/pkg.real.m4 by pkgconf'
Adding 'diversion of /usr/share/man/man1/pkg-config.1.gz to /usr/share/man/man1/pkg-config.real.1.gz by pkgconf'
Adding 'diversion of /usr/share/pkg-config-crosswrapper to /usr/share/pkg-config-crosswrapper.real by pkgconf'
Unpacking pkgconf (1.7.4~git20210206+dcf529b-3) ...
Selecting previously unselected package python3-pystache.
Preparing to unpack .../22-python3-pystache_0.5.4-6.1_all.deb ...
Unpacking python3-pystache (0.5.4-6.1) ...
Selecting previously unselected package yasm.
Preparing to unpack .../23-yasm_1.3.0-2.1_amd64.deb ...
Unpacking yasm (1.3.0-2.1) ...
Setting up libxapian30:amd64 (1.4.18-3+deb11u1) ...
Setting up binutils-common:amd64 (2.35.2-2) ...
Setting up libctf-nobfd0:amd64 (2.35.2-2) ...
Setting up bzip2 (1.0.8-4) ...
Setting up libclang-cpp11 (1:11.0.1-2) ...
Setting up yasm (1.3.0-2.1) ...
Setting up libpkgconf3:amd64 (1.7.4~git20210206+dcf529b-3) ...
Setting up libuv1:amd64 (1.40.0-2) ...
Setting up make (4.3-4.1) ...
Setting up xz-utils (5.2.5-2.1~deb11u1) ...
update-alternatives: using /usr/bin/xz to provide /usr/bin/lzma (lzma) in auto mode
Setting up libclang1-11 (1:11.0.1-2) ...
Setting up libdpkg-perl (1.20.12) ...
Setting up libjsoncpp24:amd64 (1.9.4-4) ...
Setting up librhash0:amd64 (1.4.1-2) ...
Setting up cmake-data (3.18.4-2+deb11u1) ...
Setting up libbinutils:amd64 (2.35.2-2) ...
Setting up python3-pystache (0.5.4-6.1) ...
Setting up libctf0:amd64 (2.35.2-2) ...
Setting up doxygen (1.9.1-1) ...
Setting up cmake (3.18.4-2+deb11u1) ...
Setting up binutils-x86-64-linux-gnu (2.35.2-2) ...
Setting up binutils (2.35.2-2) ...
Setting up dpkg-dev (1.20.12) ...
Setting up pkgconf (1.7.4~git20210206+dcf529b-3) ...
Processing triggers for libc-bin (2.31-13+deb11u6) ...
2023-05-09 03:17:37,658 DEBUG: > sudo passwd --lock root
passwd: password expiry information changed.
2023-05-09 03:17:37,970 DEBUG: > sudo SUDO_FORCE_REMOVE=yes dpkg --purge sudo
(Reading database ... 40759 files and directories currently installed.)
Removing sudo (1.9.5p2-3+deb11u1) ...
Purging configuration files for sudo (1.9.5p2-3+deb11u1) ...
dpkg: warning: while removing sudo, directory '/etc/sudoers.d' not empty so not removed
2023-05-09 03:17:50,981 INFO: Getting source for revision 951a4aeb507a9f1fa95e53d3926f6f57019f6bf1
2023-05-09 03:17:50,981 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:50,982 DEBUG: > git rev-parse --show-toplevel
2023-05-09 03:17:51,192 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:51,192 DEBUG: > git submodule foreach --recursive git reset --hard
2023-05-09 03:17:51,404 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:51,404 DEBUG: > git reset --hard
2023-05-09 03:17:51,817 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:51,817 DEBUG: > git submodule foreach --recursive git clean -dffx
2023-05-09 03:17:51,929 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:51,930 DEBUG: > git clean -dffx
2023-05-09 03:17:52,041 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:52,042 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
2023-05-09 03:17:53,157 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:53,158 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
2023-05-09 03:17:54,574 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:54,574 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
2023-05-09 03:17:55,589 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:55,589 DEBUG: > git remote set-head origin --auto
2023-05-09 03:17:57,105 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:57,106 DEBUG: > git checkout -f 951a4aeb507a9f1fa95e53d3926f6f57019f6bf1
2023-05-09 03:17:57,418 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:57,424 DEBUG: > git clean -dffx
2023-05-09 03:17:57,535 INFO: Collecting source libraries
2023-05-09 03:17:57,558 DEBUG: Removing debuggable flags from build/srclib/linphone-sdk
2023-05-09 03:17:57,575 INFO: Creating local.properties file at build/org.linphone/local.properties
2023-05-09 03:17:57,576 DEBUG: Removing debuggable flags from build/org.linphone
2023-05-09 03:17:57,595 INFO: Removing specified files
2023-05-09 03:17:57,595 INFO: Removing app/google-services.json
2023-05-09 03:17:57,603 INFO: Cleaned build.gradle of keysigning configs at build/org.linphone/app/build.gradle
2023-05-09 03:17:57,619 INFO: Running 'prebuild' commands in build/org.linphone
2023-05-09 03:17:57,620 DEBUG: Directory: build/org.linphone
2023-05-09 03:17:57,620 DEBUG: > bash -e -u -o pipefail -x -c -- pushd /home/vagrant/build/srclib/linphone-sdk; export LINPHONE_SDK_VERSION=$(git tag --sort=v:refname --list '[0-9].[0-9].[0-9][0-9]' --list '[0-9].[0-9].[0-9]' | tail -1); echo "Using Linphone SDK" $LINPHONE_SDK_VERSION; git checkout $LINPHONE_SDK_VERSION; git submodule update --init --recursive; rm -R liblinphone/wrappers/java/classes/org/linphone/core/tools/firebase; sed -i -e '/import com.google.firebase.FirebaseApp/d' -e '/FirebaseApp.initializeApp/d' liblinphone/wrappers/java/classes/org/linphone/core/tools/PushNotificationUtils.java; popd; sed -i -e '/FirebaseMessaging/,+6d' app/src/main/AndroidManifest.xml; sed -i -e '/com.google.firebase/d' /home/vagrant/build/srclib/linphone-sdk/cmake/Android/gradle/build.gradle.cmake build.gradle app/build.gradle; sed -i -e '/google-services/d' build.gradle; sed -i -e '/keystore/d' -e '/repositories/,+17d' -e 's/${project.version}/5.1.0/g' -e '/com.google.gms.google-services/d' -e '/org.linphone:linphone-sdk-android/d' -e "s/'\*.jar'/'linphone-sdk-android-release.aar'/" -e 's/appVersionCode = .*/appVersionCode = 500901/' app/build.gradle; sed -i -e '/FirebaseCrashlytics/d' app/src/main/java/org/linphone/core/CoreContext.kt; sed -i -e 's|https://www.linphone.org/releases||' -e 's|push_notification=.*|push_notification=0|' app/src/main/assets/linphonerc_default; sed -i -e '/ndk.dir/d' local.properties; sed -i -e '16,22d' settings.gradle
/etc/bash.bashrc: line 7: PS1: unbound variable
+ pushd /home/vagrant/build/srclib/linphone-sdk
~/build/srclib/linphone-sdk ~/build/org.linphone
++ git tag --sort=v:refname --list '[0-9].[0-9].[0-9][0-9]' --list '[0-9].[0-9].[0-9]'
++ tail -1
+ export LINPHONE_SDK_VERSION=5.2.57
+ LINPHONE_SDK_VERSION=5.2.57
+ echo 'Using Linphone SDK' 5.2.57
Using Linphone SDK 5.2.57
+ git checkout 5.2.57
Previous HEAD position was 604550a Enable arm64 macos built on x86_64 platforms + fixes in liblinphone and mediastreamer2. Workaround crash with mkv audio/video recording in append mode.
HEAD is now at 75f9dfc Fix active speaker with participant with no video
+ git submodule update --init --recursive
Submodule 'bcg729' (https://gitlab.linphone.org/BC/public/bcg729.git) registered for path 'bcg729'
Submodule 'bcmatroska2' (https://gitlab.linphone.org/BC/public/bcmatroska2.git) registered for path 'bcmatroska2'
Submodule 'bctoolbox' (https://gitlab.linphone.org/BC/public/bctoolbox.git) registered for path 'bctoolbox'
Submodule 'bcunit' (https://gitlab.linphone.org/BC/public/bcunit.git) registered for path 'bcunit'
Submodule 'belcard' (https://gitlab.linphone.org/BC/public/belcard.git) registered for path 'belcard'
Submodule 'belle-sip' (https://gitlab.linphone.org/BC/public/belle-sip.git) registered for path 'belle-sip'
Submodule 'belr' (https://gitlab.linphone.org/BC/public/belr.git) registered for path 'belr'
Submodule 'bzrtp' (https://gitlab.linphone.org/BC/public/bzrtp.git) registered for path 'bzrtp'
Submodule 'cmake-builder' (https://gitlab.linphone.org/BC/public/linphone-cmake-builder.git) registered for path 'cmake-builder'
Submodule 'external/bv16-floatingpoint' (https://gitlab.linphone.org/BC/public/external/bv16-floatingpoint.git) registered for path 'external/bv16-floatingpoint'
Submodule 'external/codec2' (https://gitlab.linphone.org/BC/public/external/codec2.git) registered for path 'external/codec2'
Submodule 'external/decaf' (https://gitlab.linphone.org/BC/public/external/decaf.git) registered for path 'external/decaf'
Submodule 'external/ffmpeg' (https://gitlab.linphone.org/BC/public/external/ffmpeg.git) registered for path 'external/ffmpeg'
Submodule 'external/gsm' (https://gitlab.linphone.org/BC/public/external/gsm.git) registered for path 'external/gsm'
Submodule 'external/jsoncpp' (https://github.com/open-source-parsers/jsoncpp.git) registered for path 'external/jsoncpp'
Submodule 'external/libjpeg-turbo' (https://gitlab.linphone.org/BC/public/external/libjpeg-turbo.git) registered for path 'external/libjpeg-turbo'
Submodule 'external/liboqs' (https://gitlab.linphone.org/BC/public/external/liboqs.git) registered for path 'external/liboqs'
Submodule 'external/libvpx' (https://gitlab.linphone.org/BC/public/external/libvpx.git) registered for path 'external/libvpx'
Submodule 'external/libxml2' (https://gitlab.linphone.org/BC/public/external/libxml2.git) registered for path 'external/libxml2'
Submodule 'external/libyuv' (https://gitlab.linphone.org/BC/public/external/libyuv.git) registered for path 'external/libyuv'
Submodule 'external/mbedtls' (https://gitlab.linphone.org/BC/public/external/mbedtls.git) registered for path 'external/mbedtls'
Submodule 'external/opencore-amr' (https://gitlab.linphone.org/BC/public/external/opencore-amr.git) registered for path 'external/opencore-amr'
Submodule 'external/openh264' (https://gitlab.linphone.org/BC/public/external/openh264.git) registered for path 'external/openh264'
Submodule 'external/openldap' (https://gitlab.linphone.org/BC/public/external/openldap.git) registered for path 'external/openldap'
Submodule 'external/opus' (https://gitlab.linphone.org/BC/public/external/opus.git) registered for path 'external/opus'
Submodule 'external/soci' (https://gitlab.linphone.org/BC/public/external/soci.git) registered for path 'external/soci'
Submodule 'external/speex' (https://gitlab.linphone.org/BC/public/external/speex.git) registered for path 'external/speex'
Submodule 'external/sqlite3' (https://gitlab.linphone.org/BC/public/external/sqlite3.git) registered for path 'external/sqlite3'
Submodule 'external/srtp' (https://gitlab.linphone.org/BC/public/external/srtp.git) registered for path 'external/srtp'
Submodule 'external/vo-amrwbenc' (https://gitlab.linphone.org/BC/public/external/vo-amrwbenc.git) registered for path 'external/vo-amrwbenc'
Submodule 'external/xerces-c' (https://gitlab.linphone.org/BC/public/external/xerces-c.git) registered for path 'external/xerces-c'
Submodule 'external/zlib' (https://gitlab.linphone.org/BC/public/external/zlib.git) registered for path 'external/zlib'
Submodule 'external/zxing-cpp' (https://gitlab.linphone.org/BC/public/external/zxing-cpp.git) registered for path 'external/zxing-cpp'
Submodule 'liblinphone' (https://gitlab.linphone.org/BC/public/liblinphone.git) registered for path 'liblinphone'
Submodule 'lime' (https://gitlab.linphone.org/BC/public/lime.git) registered for path 'lime'
Submodule 'mediastreamer2' (https://gitlab.linphone.org/BC/public/mediastreamer2.git) registered for path 'mediastreamer2'
Submodule 'msaaudio' (https://gitlab.linphone.org/BC/public/msaaudio.git) registered for path 'msaaudio'
Submodule 'msamr' (https://gitlab.linphone.org/BC/public/msamr.git) registered for path 'msamr'
Submodule 'msandroidcamera2' (https://gitlab.linphone.org/BC/public/msandroidcamera2.git) registered for path 'msandroidcamera2'
Submodule 'mscodec2' (https://gitlab.linphone.org/BC/public/mscodec2.git) registered for path 'mscodec2'
Submodule 'msoboe' (https://gitlab.linphone.org/BC/public/msoboe.git) registered for path 'msoboe'
Submodule 'msopenh264' (https://gitlab.linphone.org/BC/public/msopenh264.git) registered for path 'msopenh264'
Submodule 'mssilk' (https://gitlab.linphone.org/BC/public/mssilk.git) registered for path 'mssilk'
Submodule 'mswasapi' (https://gitlab.linphone.org/BC/public/mswasapi.git) registered for path 'mswasapi'
Submodule 'mswebrtc' (https://gitlab.linphone.org/BC/public/mswebrtc.git) registered for path 'mswebrtc'
Submodule 'mswinrtvid' (https://gitlab.linphone.org/BC/public/mswinrtvid.git) registered for path 'mswinrtvid'
Submodule 'ortp' (https://gitlab.linphone.org/BC/public/ortp.git) registered for path 'ortp'
Submodule 'postquantumcryptoengine' (https://gitlab.linphone.org/BC/public/postquantumcryptoengine.git) registered for path 'postquantumcryptoengine'
Cloning into '/home/vagrant/build/srclib/linphone-sdk/bcg729'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/bcmatroska2'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/bctoolbox'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/bcunit'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/belcard'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/belle-sip'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/belr'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/bzrtp'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/cmake-builder'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/bv16-floatingpoint'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/codec2'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/decaf'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/ffmpeg'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/gsm'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/jsoncpp'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/libjpeg-turbo'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/liboqs'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/libvpx'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/libxml2'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/libyuv'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/mbedtls'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/opencore-amr'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/openh264'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/openldap'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/opus'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/soci'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/speex'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/sqlite3'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/srtp'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/vo-amrwbenc'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/xerces-c'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/zlib'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/external/zxing-cpp'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/liblinphone'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/lime'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mediastreamer2'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/msaaudio'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/msamr'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/msandroidcamera2'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mscodec2'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/msoboe'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/msopenh264'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mssilk'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mswasapi'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mswebrtc'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mswinrtvid'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/ortp'...
Cloning into '/home/vagrant/build/srclib/linphone-sdk/postquantumcryptoengine'...
Submodule path 'bcg729': checked out 'faaa895862165acde6df8add722ba4f85a25007d'
Submodule path 'bcmatroska2': checked out '4d125bf2788915325c5ab93b9a97835f96d566d3'
Submodule path 'bctoolbox': checked out 'c2888c536b06b114cd36caf652e71394639e9e37'
Submodule path 'bcunit': checked out 'e9101548b1aba4298a18c3817ebee053c7f3a0a7'
Submodule path 'belcard': checked out 'f50f203d6a44b6ec3bfd897d8057a94dfefa3e57'
Submodule path 'belle-sip': checked out '31d3be8d73fc55ef560c652ed9cd4f55492e9dbd'
Submodule path 'belr': checked out '4e0fee77c87c5abf2b002f1a4b5f0c7f5d4c69f6'
Submodule path 'bzrtp': checked out 'bf66d442d1881eff4310ce9516e25f2616adfd35'
Submodule path 'cmake-builder': checked out '300b2ede684da75d831c1f9e17d566f81bbcf578'
Submodule path 'external/bv16-floatingpoint': checked out 'c64804e46b2edd6a941db7f1b28233c5735a4479'
Submodule path 'external/codec2': checked out '4e154e6bbbe92cc76e333a0b4acb365b5c042ec6'
Submodule path 'external/decaf': checked out '876ddb4d465c94f97beba1be450e8538d866cc5d'
Submodule path 'external/ffmpeg': checked out '8b92b3898b00cc214e81f39cc9f020c2ce69c533'
Submodule path 'external/gsm': checked out '5b603ccf4620d76c9e642ca8c4560e3c43650017'
Submodule path 'external/jsoncpp': checked out 'b1bd848241880ccea2d940f67343a899b9f65d5d'
Submodule path 'external/libjpeg-turbo': checked out 'd4da2a4869361c82b61188f00a1fb0085ddae748'
Submodule path 'external/liboqs': checked out 'fe69ee473c878a3f015f405000877c5eb1de8996'
Submodule path 'external/libvpx': checked out '894d0f3b1e0e4224fc3c353a224ffb770c31d48c'
Submodule path 'external/libxml2': checked out '3efe42fd5facc2b476e8f5f288ef241930160e79'
Submodule path 'external/libyuv': checked out '7f813af29c72e531a3a0394252c328ec8c5245c0'
Submodule path 'external/mbedtls': checked out 'a4f4f947c1c1dbaba7052a96eb4995a75aa4e523'
Submodule path 'external/opencore-amr': checked out '8731a39f6e805e4537153541e165da34d9fa93bd'
Submodule path 'external/openh264': checked out 'b16b12c031362bbe605549eec39922521b61fc72'
Submodule path 'external/openldap': checked out '2bca580b6b2ef22c44fbeaeabac6cbdc7c4756e7'
Submodule path 'external/opus': checked out 'a97fe72ad43d51f103a3b508b6302c587435317b'
Submodule path 'external/soci': checked out 'bc4f22657b9f2ce6cfe15d904b9fa54ee79b8a06'
Submodule path 'external/speex': checked out 'c8fcd72ef8d29bc913b0f384c9d8578b3e59718b'
Submodule path 'external/sqlite3': checked out '953ffcf472e7ced41003b6ec5be040b9f815df79'
Submodule path 'external/srtp': checked out '2481874bc4c24cdcc16577313d9460f8423dc57c'
Submodule path 'external/vo-amrwbenc': checked out '36dd497b9a570968b7ffaf74613334bc41d94199'
Submodule path 'external/xerces-c': checked out '27f09a04c5c02921e69210067ac14bb9e31091b9'
Submodule path 'external/zlib': checked out 'affdc78f119e43bb4277e4c16488dd281a2163b0'
Submodule path 'external/zxing-cpp': checked out '2050520071cb798a1712d4d6f43e45ab94550660'
Submodule path 'liblinphone': checked out '1715c17e0b18d268d8b8691c7890674c11516b34'
Submodule path 'lime': checked out '29c778125ff52b0cb2b66b7b983337031edf2a89'
Submodule path 'mediastreamer2': checked out '6a34e189e4682cb17267560809df509fa52abecd'
Submodule path 'msaaudio': checked out 'a44089d176e52f73d15de444fddb9497e5103de4'
Submodule path 'msamr': checked out 'e23b62f1556118563cbdf2e4abb2a0b15a296624'
Submodule path 'msandroidcamera2': checked out '0b8590aa895b14aa7b498fecb417112291d538cf'
Submodule path 'mscodec2': checked out '30d88f890897a8d82a4b195591045e9fe5cf7208'
Submodule path 'msoboe': checked out '11d0f703482ddc11d9d15ec81ed8c97d2d9bd317'
Submodule 'oboe' (https://github.com/google/oboe) registered for path 'msoboe/oboe'
Cloning into '/home/vagrant/build/srclib/linphone-sdk/msoboe/oboe'...
Submodule path 'msoboe/oboe': checked out '5975ab04b02861dc126f3c8fd687321520cd8ae4'
Submodule path 'msopenh264': checked out '5c7a9522478f5eedc9a3e1600fdd705da1e00d23'
Submodule path 'mssilk': checked out 'ff9ddf985266bf25ba2dcd3256172fa0ab52e4b1'
Submodule path 'mswasapi': checked out 'c8a851cc1358b860a93b42c17b267d1d8f6952b8'
Submodule path 'mswebrtc': checked out '80b8e33b11516870b887b80279b9da4de8b26ebe'
Submodule 'webrtc' (https://gitlab.linphone.org/BC/public/external/webrtc.git) registered for path 'mswebrtc/webrtc'
Cloning into '/home/vagrant/build/srclib/linphone-sdk/mswebrtc/webrtc'...
Submodule path 'mswebrtc/webrtc': checked out '583acd27665cfadef8ab03eb85a768d308bd29dd'
Submodule path 'mswinrtvid': checked out '384dba6ff7ac37f4123f1f02b9b7b2bc40784dc4'
Submodule path 'ortp': checked out '6e05272d70456ef8a84684572a3bb847873ec176'
Submodule path 'postquantumcryptoengine': checked out '0f71ffb829102cce337ed5cdc42c5a57d06791ab'
+ rm -R liblinphone/wrappers/java/classes/org/linphone/core/tools/firebase
+ sed -i -e '/import com.google.firebase.FirebaseApp/d' -e /FirebaseApp.initializeApp/d liblinphone/wrappers/java/classes/org/linphone/core/tools/PushNotificationUtils.java
+ popd
~/build/org.linphone
+ sed -i -e /FirebaseMessaging/,+6d app/src/main/AndroidManifest.xml
+ sed -i -e /com.google.firebase/d /home/vagrant/build/srclib/linphone-sdk/cmake/Android/gradle/build.gradle.cmake build.gradle app/build.gradle
+ sed -i -e /google-services/d build.gradle
+ sed -i -e /keystore/d -e /repositories/,+17d -e 's/${project.version}/5.1.0/g' -e /com.google.gms.google-services/d -e /org.linphone:linphone-sdk-android/d -e 's/'\''\*.jar'\''/'\''linphone-sdk-android-release.aar'\''/' -e 's/appVersionCode = .*/appVersionCode = 500901/' app/build.gradle
+ sed -i -e /FirebaseCrashlytics/d app/src/main/java/org/linphone/core/CoreContext.kt
+ sed -i -e 's|https://www.linphone.org/releases||' -e 's|push_notification=.*|push_notification=0|' app/src/main/assets/linphonerc_default
+ sed -i -e /ndk.dir/d local.properties
+ sed -i -e 16,22d settings.gradle
2023-05-09 03:23:55,711 INFO: Cleaning Gradle project...
2023-05-09 03:23:55,712 DEBUG: Directory: build/org.linphone
2023-05-09 03:23:55,713 DEBUG: > /home/vagrant/fdroidserver/gradlew-fdroid clean
Found 8.0 via distributionUrl
Downloading missing gradle version 8.0
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.0-bin.zip: OK
Running /opt/gradle/versions/8.0/bin/gradle clean
Welcome to Gradle 8.0!
For more details see https://docs.gradle.org/8.0/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.0/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
* Where:
Build file '/home/vagrant/build/org.linphone/app/build.gradle' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /usr/lib/jvm/java-11-openjdk-amd64
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 4s
2023-05-09 03:25:06,161 ERROR: Could not build app org.linphone: Error cleaning org.linphone:5.1.0
==== detail begin ====
Found 8.0 via distributionUrl
Downloading missing gradle version 8.0
cachedir /home/vagrant/.cache/fdroidserver
/home/vagrant/.cache/fdroidserver/gradle-8.0-bin.zip: OK
Running /opt/gradle/versions/8.0/bin/gradle clean
Welcome to Gradle 8.0!
For more details see https://docs.gradle.org/8.0/release-notes.html
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/8.0/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
FAILURE: Build failed with an exception.
* Where:
Build file '/home/vagrant/build/org.linphone/app/build.gradle' line: 2
* What went wrong:
An exception occurred applying plugin request [id: 'com.android.application']
> Failed to apply plugin 'com.android.internal.application'.
> Android Gradle plugin requires Java 17 to run. You are currently using Java 11.
Your current JDK is located in /usr/lib/jvm/java-11-openjdk-amd64
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing `org.gradle.java.home` in `gradle.properties`.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 4s
==== detail end ====
2023-05-09 03:25:06,168 DEBUG: Error encoutered, stopping by user request.
==== detail end ====