You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to build electron on an Ubuntu 22.04 arm64 machine and running into errors because the goma download for arm64 is not actually an arm64 binary. I've described more of my workflow in depth in another ticket, but copying some details from electron/electron#40790 (comment) here:
All of the binaries contained in this archive except http_proxy are actually x86-64 binaries:
$ file goma/*
goma/LICENSE: ASCII text, with very long lines (460)
goma/android: directory
goma/c++: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/cc: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/clang: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/clang++: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/compiler_proxy: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/compiler_proxy.sym: ASCII text
goma/diagnose_goma_log.py: Python script text executable, ASCII text
goma/g++: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/gcc: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/goma_auth: Bourne-Again shell script text executable, ASCII text
goma/goma_auth.py: Python script text executable, ASCII text
goma/goma_ctl.py: Python script text executable, ASCII text
goma/goma_fetch: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/gomacc: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/gomacc.sym: ASCII text, with very long lines (459)
goma/http_proxy: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=K-woq5CZne0U5XSNMDJ_/iQ5M21D2UtoIi7za53Mu/GgEGuv8yPVGho7rMpQrZ/R2yC_7q76GX_oJoa9jwE, with debug_info, not stripped
goma/javac: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, with debug_info, not stripped
goma/report_env.sh: POSIX shell script text executable, ASCII text
goma/sha256.json: JSON data
Running gomacc results in cannot execute binary file: Exec format error.
To Reproduce
$ wget https://dev-cdn.electronjs.org/goma-clients/5d1c3bf476097de6db9176e4d88ad3549661c1544bdc14a1701fa46fd70df2e2/goma-linux-arm64.tgz
$ tar -xvf goma-linux-arm64.tgz
$ goma/gomacc
bash: goma/gomacc: cannot execute binary file: Exec format error
Full build workflow (running in GitHub Actions on an Ubuntu 22.04 arm64 runner from BuildJet):
This is unfortunately a fundamental support issue, not a bug. There is no cipd support for Linux except on amd64: https://chrome-infra-packages.appspot.com/p/infra/goma/client. We can add documentation for this but it's not something we can fix on our end, especially given Goma is disappearing upstream.
Thanks for the reply. If the configuration is not supported, it would help to have a clearer error message earlier in the process if possible, rather than failing with an obscure error like this mid-build.
I'm trying to build electron on an Ubuntu 22.04 arm64 machine and running into errors because the goma download for arm64 is not actually an arm64 binary. I've described more of my workflow in depth in another ticket, but copying some details from electron/electron#40790 (comment) here:
Operating System
Ubuntu 22.04 arm64
Expected Behavior
Goma is able to run on arm64 linux
Actual Behavior
Running
e build
downloads https://dev-cdn.electronjs.org/goma-clients/5d1c3bf476097de6db9176e4d88ad3549661c1544bdc14a1701fa46fd70df2e2/goma-linux-arm64.tgz.All of the binaries contained in this archive except
http_proxy
are actually x86-64 binaries:Running
gomacc
results incannot execute binary file: Exec format error
.To Reproduce
Full build workflow (running in GitHub Actions on an Ubuntu 22.04 arm64 runner from BuildJet):
The text was updated successfully, but these errors were encountered: