nextcloud-releases / talk-clients-webrtc

Host the WebRTC binaries and build tooling for our Nextcloud Talk clients
0 stars 1 forks source link

errors in ./build.sh script #8

Closed mahibi closed 7 months ago

mahibi commented 1 year ago

build fails with this log:

[marcel@tuxedo talk-clients-webrtc]$ ./build.sh 5672
webrtc-build
+ set -euo pipefail
+ IFS='
    '
+ cd workdir
+ [[ ! -d src ]]
+ gclient sync
Updating depot_tools...
[P33 06:30:42.209 fs.go:455 W] [cleanup] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/8": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/fAw0hsSG0eXz: invalid cross-device link
[P33 06:30:42.209 client.go:1913 E] [cleanup] Failed to remove infra/3pp/tools/ninja/linux-amd64: removing the deployed package directory: rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/fAw0hsSG0eXz: invalid cross-device link
[P33 06:30:54.828 fs.go:455 W] [unzip  1/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/0/Gz9krHL6kKjbvGdxI5atUyCuwSXBMIhmVrK6FblTzSIC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/0/Gz9krHL6kKjbvGdxI5atUyCuwSXBMIhmVrK6FblTzSIC /opt/depot_tools/.cipd_bin/.cipd/pkgs/0/PfSFoWFp-Pry: invalid cross-device link
[P33 06:30:58.162 fs.go:455 W] [unzip  3/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/1/DTNmSGn0G81Go5_OiNeHOP6mCbWrb5OysleISLxVO8YC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/1/DTNmSGn0G81Go5_OiNeHOP6mCbWrb5OysleISLxVO8YC /opt/depot_tools/.cipd_bin/.cipd/pkgs/1/acwLd2gcUnGv: invalid cross-device link
[P33 06:30:58.357 fs.go:455 W] [unzip  2/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/2/jc-f_eWwIS3nEvX_0TqfEickV0D8txhgptqaM5R2l2gC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/2/jc-f_eWwIS3nEvX_0TqfEickV0D8txhgptqaM5R2l2gC /opt/depot_tools/.cipd_bin/.cipd/pkgs/2/VMGMhEFJ8oPn: invalid cross-device link
[P33 06:31:03.008 fs.go:455 W] [unzip  4/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/3/ifuMgrBw52FZoNeCoOOBKJnEOVZissbo16oyfdNNFR4C": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/3/ifuMgrBw52FZoNeCoOOBKJnEOVZissbo16oyfdNNFR4C /opt/depot_tools/.cipd_bin/.cipd/pkgs/3/FdjMojB8BP6j: invalid cross-device link
[P33 06:31:03.607 fs.go:455 W] [unzip  5/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/6/HSjMYcMrGa8U5nZ8v466K3fXrY-5pTrVwGRQr-TwOpMC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/6/HSjMYcMrGa8U5nZ8v466K3fXrY-5pTrVwGRQr-TwOpMC /opt/depot_tools/.cipd_bin/.cipd/pkgs/6/9i34QyFpwSW2: invalid cross-device link
[P33 06:31:03.940 fs.go:455 W] [unzip  7/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/4/kzrBeZ4JH-MmwWGmxgHfz27HGpgV6Vn6z2rkgGp0XIAC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/4/kzrBeZ4JH-MmwWGmxgHfz27HGpgV6Vn6z2rkgGp0XIAC /opt/depot_tools/.cipd_bin/.cipd/pkgs/4/LTRS8OL1D5nK: invalid cross-device link
[P33 06:31:04.097 fs.go:455 W] [unzip  6/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/5/8_cSH_bEVH8fu2Bwqs2I_naZPiIAsn6muwvGuC8xZLYC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/5/8_cSH_bEVH8fu2Bwqs2I_naZPiIAsn6muwvGuC8xZLYC /opt/depot_tools/.cipd_bin/.cipd/pkgs/5/RmPIJkpAOniI: invalid cross-device link
[P33 06:31:12.687 fs.go:455 W] [unzip  9/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/9/mgyvbEbfnuD8b5Ei7jz1Pf_fw3jkn72uDNbHJcN5p_cC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/9/mgyvbEbfnuD8b5Ei7jz1Pf_fw3jkn72uDNbHJcN5p_cC /opt/depot_tools/.cipd_bin/.cipd/pkgs/9/kimAUCpUyQ8t: invalid cross-device link
[P33 06:31:14.610 fs.go:455 W] [unzip 10/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/10/fj_n4JALx9z6cvqCwVa36SReO92qkNNTUBWaKT9oBg8C": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/10/fj_n4JALx9z6cvqCwVa36SReO92qkNNTUBWaKT9oBg8C /opt/depot_tools/.cipd_bin/.cipd/pkgs/10/V-nBG8KYEhVW: invalid cross-device link
[P33 06:31:31.484 fs.go:455 W] [unzip  8/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/11/9NoTFsY-wYeSuPFt7DfyzHHeUvXUs1sGybxe5iwciTQC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/11/9NoTFsY-wYeSuPFt7DfyzHHeUvXUs1sGybxe5iwciTQC /opt/depot_tools/.cipd_bin/.cipd/pkgs/11/vAN9_FjVf35E: invalid cross-device link
Errors:
  failed to remove infra/3pp/tools/ninja/linux-amd64: removing the deployed package directory: rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/fAw0hsSG0eXz: invalid cross-device link
Syncing projects: 100% (243/243), done.                                                                                                                                                                                                                                                         
Hook 'vpython3 src/testing/generate_location_tags.py --out src/testing/location_tags.json' took 11.93 secs
Running hooks: 100% (31/31), done.                               
+ cd src
++ git branch --list 5672
+ [[ -z '' ]]
+ git checkout -b 5672 branch-heads/5672
fatal: 'branch-heads/5672' is not a commit and a branch '5672' cannot be created from it

with another attempt (identical command), the script continued at first, but failed later:

[marcel@tuxedo talk-clients-webrtc]$ ./build.sh 5672
webrtc-build
+ set -euo pipefail
+ IFS='
    '
+ cd workdir
+ [[ ! -d src ]]
+ gclient sync
Updating depot_tools...
[P33 06:47:55.755 fs.go:455 W] [cleanup] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/8": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/Bmbs82SpyNe4: invalid cross-device link
[P33 06:47:55.755 client.go:1913 E] [cleanup] Failed to remove infra/3pp/tools/ninja/linux-amd64: removing the deployed package directory: rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/Bmbs82SpyNe4: invalid cross-device link
[P33 06:48:06.236 fs.go:455 W] [unzip  1/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/0/Gz9krHL6kKjbvGdxI5atUyCuwSXBMIhmVrK6FblTzSIC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/0/Gz9krHL6kKjbvGdxI5atUyCuwSXBMIhmVrK6FblTzSIC /opt/depot_tools/.cipd_bin/.cipd/pkgs/0/wHPHva33vid5: invalid cross-device link
[P33 06:48:08.158 fs.go:455 W] [unzip  3/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/1/DTNmSGn0G81Go5_OiNeHOP6mCbWrb5OysleISLxVO8YC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/1/DTNmSGn0G81Go5_OiNeHOP6mCbWrb5OysleISLxVO8YC /opt/depot_tools/.cipd_bin/.cipd/pkgs/1/0_iYs9lVyxQx: invalid cross-device link
[P33 06:48:08.358 fs.go:455 W] [unzip  2/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/2/jc-f_eWwIS3nEvX_0TqfEickV0D8txhgptqaM5R2l2gC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/2/jc-f_eWwIS3nEvX_0TqfEickV0D8txhgptqaM5R2l2gC /opt/depot_tools/.cipd_bin/.cipd/pkgs/2/nKK3Xm9AGJ-b: invalid cross-device link
[P33 06:48:12.277 fs.go:455 W] [unzip  4/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/3/ifuMgrBw52FZoNeCoOOBKJnEOVZissbo16oyfdNNFR4C": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/3/ifuMgrBw52FZoNeCoOOBKJnEOVZissbo16oyfdNNFR4C /opt/depot_tools/.cipd_bin/.cipd/pkgs/3/HyMRQg10D0b1: invalid cross-device link
[P33 06:48:13.386 fs.go:455 W] [unzip  5/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/6/HSjMYcMrGa8U5nZ8v466K3fXrY-5pTrVwGRQr-TwOpMC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/6/HSjMYcMrGa8U5nZ8v466K3fXrY-5pTrVwGRQr-TwOpMC /opt/depot_tools/.cipd_bin/.cipd/pkgs/6/H7fUfuqULUFu: invalid cross-device link
[P33 06:48:14.431 fs.go:455 W] [unzip  6/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/5/8_cSH_bEVH8fu2Bwqs2I_naZPiIAsn6muwvGuC8xZLYC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/5/8_cSH_bEVH8fu2Bwqs2I_naZPiIAsn6muwvGuC8xZLYC /opt/depot_tools/.cipd_bin/.cipd/pkgs/5/8c8V-SCvjpd4: invalid cross-device link
[P33 06:48:14.593 fs.go:455 W] [unzip  7/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/4/kzrBeZ4JH-MmwWGmxgHfz27HGpgV6Vn6z2rkgGp0XIAC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/4/kzrBeZ4JH-MmwWGmxgHfz27HGpgV6Vn6z2rkgGp0XIAC /opt/depot_tools/.cipd_bin/.cipd/pkgs/4/VJ5XlkWXfcDn: invalid cross-device link
[P33 06:48:22.157 fs.go:455 W] [unzip  9/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/9/mgyvbEbfnuD8b5Ei7jz1Pf_fw3jkn72uDNbHJcN5p_cC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/9/mgyvbEbfnuD8b5Ei7jz1Pf_fw3jkn72uDNbHJcN5p_cC /opt/depot_tools/.cipd_bin/.cipd/pkgs/9/HjBZfru1dkmz: invalid cross-device link
[P33 06:48:23.416 fs.go:455 W] [unzip 10/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/10/fj_n4JALx9z6cvqCwVa36SReO92qkNNTUBWaKT9oBg8C": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/10/fj_n4JALx9z6cvqCwVa36SReO92qkNNTUBWaKT9oBg8C /opt/depot_tools/.cipd_bin/.cipd/pkgs/10/EYIXbMhYo1YG: invalid cross-device link
[P33 06:48:34.970 fs.go:455 W] [unzip  8/11] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/11/9NoTFsY-wYeSuPFt7DfyzHHeUvXUs1sGybxe5iwciTQC": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/11/9NoTFsY-wYeSuPFt7DfyzHHeUvXUs1sGybxe5iwciTQC /opt/depot_tools/.cipd_bin/.cipd/pkgs/11/M6m7l9_PyThy: invalid cross-device link
Errors:
  failed to remove infra/3pp/tools/ninja/linux-amd64: removing the deployed package directory: rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/Bmbs82SpyNe4: invalid cross-device link
Syncing projects:   4% (12/249) src/examples/androidtests/third_party/gradle        
[0:01:04] Still working on:
[0:01:04]   src/third_party
[0:01:04]   src/tools

[0:01:14] Still working on:
[0:01:14]   src/third_party
[0:01:14]   src/tools

[0:01:24] Still working on:
[0:01:24]   src/third_party
[0:01:24]   src/tools

[0:01:34] Still working on:
[0:01:34]   src/third_party
[0:01:34]   src/tools

[0:01:44] Still working on:
[0:01:44]   src/third_party
[0:01:44]   src/tools
...
...
...
...
...

Running hooks:  90% (27/30) msan_no_origins_focal     
________ running 'python3 src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-instrumented-libraries -s src/third_party/instrumented_libraries/binaries/msan-no-origins-focal.tgz.sha1' in '/webrtc/workdir'
0> Downloading src/third_party/instrumented_libraries/binaries/msan-no-origins-focal.tgz@1c1dc5a2f68921e58a8f5c531d6eed81373d9a82...
Downloading 1 files took 39.934380 second(s)
Hook 'python3 src/third_party/depot_tools/download_from_google_storage.py --no_resume --no_auth --bucket chromium-instrumented-libraries -s src/third_party/instrumented_libraries/binaries/msan-no-origins-focal.tgz.sha1' took 39.98 secs
Hook 'download_from_google_storage --directory --recursive --num_threads=10 --no_auth --quiet --bucket chromium-webrtc-resources src/resources' took 317.31 secs
Hook 'vpython3 src/testing/generate_location_tags.py --out src/testing/location_tags.json' took 46.74 secs
Running hooks: 100% (30/30), done.                               
+ cd src
++ git branch --list 5672
+ [[ -z '' ]]
+ git checkout -b 5672 branch-heads/5672
Previous HEAD position was df4bc33e11 Allow EglBase instances to share EGLConnection.
Branch '5672' set up to track remote ref 'refs/branch-heads/5672'.
Switched to a new branch '5672'
+ echo 'You'\''ll ask for some interactions:'
You'll ask for some interactions:
+ echo '  1. Skip snapcraft'
  1. Skip snapcraft
+ echo '  2. Configure timezone'
  2. Configure timezone
+ read -r -p 'Press key to continue.. ' -n1 -s
Press key to continue.. + gclient sync -D
Updating depot_tools...
[P151962 07:36:50.440 fs.go:455 W] [cleanup] fs: failed to rename directory "/opt/depot_tools/.cipd_bin/.cipd/pkgs/8": rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/AJkOGGR0_Jff: invalid cross-device link
[P151962 07:36:50.440 client.go:1913 E] [cleanup] Failed to remove infra/3pp/tools/ninja/linux-amd64: removing the deployed package directory: rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/AJkOGGR0_Jff: invalid cross-device link
Errors:
  failed to remove infra/3pp/tools/ninja/linux-amd64: removing the deployed package directory: rename /opt/depot_tools/.cipd_bin/.cipd/pkgs/8 /opt/depot_tools/.cipd_bin/.cipd/pkgs/AJkOGGR0_Jff: invalid cross-device link
using /tmp/goma_webrtc-build as tmpdir
INFO: creating cache dir (/tmp/goma_webrtc-build/goma_cache).
compiler_proxy is not running
Syncing projects: 100% (250/250), done.                                                                                                                                                                                                                                                         

________ running 'python3 src/build/linux/sysroot_scripts/install-sysroot.py --arch=i386' in '/webrtc/workdir'
Installing Debian bullseye i386 root image: /webrtc/workdir/src/build/linux/debian_bullseye_i386-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/de629dcc11a6ab1b11e6d66c4180a959c6290097/debian_bullseye_i386_sysroot.tar.xz
Hook 'python3 src/build/linux/sysroot_scripts/install-sysroot.py --arch=i386' took 15.99 secs
Running hooks:  23% ( 7/30) sysroot_x64 
________ running 'python3 src/build/linux/sysroot_scripts/install-sysroot.py --arch=amd64' in '/webrtc/workdir'
Installing Debian bullseye amd64 root image: /webrtc/workdir/src/build/linux/debian_bullseye_amd64-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/3bdb3503702d35520d101fc5eec9a8ab5353149f/debian_bullseye_amd64_sysroot.tar.xz
Hook 'python3 src/build/linux/sysroot_scripts/install-sysroot.py --arch=amd64' took 15.69 secs
Running hooks:  43% (13/30) clang                         
________ running 'python3 src/tools/clang/scripts/update.py' in '/webrtc/workdir'
Downloading https://commondatastorage.googleapis.com/chromium-browser-clang/Linux_x64/clang-llvmorg-17-init-4759-g547e3456-1.tar.xz .......... Done.
Hook 'vpython3 src/testing/generate_location_tags.py --out src/testing/location_tags.json' took 16.18 secs
Running hooks: 100% (30/30), done.                               
+ sudo build/install-build-deps-android.sh
sudo: build/install-build-deps-android.sh: command not found
[marcel@tuxedo talk-clients-webrtc]$ 
mahibi commented 7 months ago

Notes from @SystemKeeper :

replace install-build-deps-android.sh with install-build-deps.sh in container-script.sh

image

mahibi commented 7 months ago

closing as install-build-deps-android.sh was renamed to install-build-deps.sh which should just solve it. However for the record: When i built the lib (Talk hackweek Feb 2024) it failed, but most probably because internet connection broke. The aar for v121.6167.0 was taken from the built of @SystemKeeper