orbit
orbit copied to clipboard
Fetching crashpad fails when python2.7 is unavailable
Build fails if python2.7 is not available when fetching crashpad module.
Yet python2.7 is not installed by bootstrap-orbit.sh
________ running 'download_from_google_storage --no_resume --no_auth --bucket=chromium-clang-format --sha1_file buildtools/linux64/clang-format.sha1' in '/home/florent/.conan/data/crashpad/20200624/orbitdeps/stable/source'
Failed to fetch file gs://chromium-clang-format/942fc8b1789144b8071d3fc03ff0fcbe1cf81ac8 for buildtools/linux64/clang-format. [Err: [E2022-08-26T18:11:42.296567+02:00 31551 0 annotate.go:241] goroutine 1:
[E2022-08-26T18:11:42.296593+02:00 31551 0 annotate.go:241] #0 go.chromium.org/luci/vpython/python/find.go:93 - python.Find()
[E2022-08-26T18:11:42.296609+02:00 31551 0 annotate.go:241] annotation #0:
[E2022-08-26T18:11:42.296614+02:00 31551 0 annotate.go:241] reason: no Python found
[E2022-08-26T18:11:42.296619+02:00 31551 0 annotate.go:241] annotation #1:
[E2022-08-26T18:11:42.296624+02:00 31551 0 annotate.go:241] reason: could not find appropriate executable for: "python2.7"
[E2022-08-26T18:11:42.296629+02:00 31551 0 annotate.go:241] annotation #2:
[E2022-08-26T18:11:42.296633+02:00 31551 0 annotate.go:241] reason: could not find target in system
[E2022-08-26T18:11:42.296638+02:00 31551 0 annotate.go:241] internal reason: target(python2.7)/dirs([/home/florent/.conan/data/depot_tools/20200407/_/_/package/cb054d0b3e1ca595dc66bc2339d40f1f8f04ab31/bin /home/florent/.conan/data/ninja/1.10.2/_/_/package/252f7e09f641bef29a75fc98d05ac217b842cde4/bin /home/florent/.conan/data/openssl/1.1.1k/_/_/package/f246571472552ef75bc9871dbfa2a3622e57b7f1/bin /home/florent/.local/bin /usr/local/cuda/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin /home/florent/.conan/data/depot_tools/20200407/_/_/package/cb054d0b3e1ca595dc66bc2339d40f1f8f04ab31/bin])
[E2022-08-26T18:11:42.296647+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296652+02:00 31551 0 annotate.go:241] #1 go.chromium.org/luci/vpython/venv/config.go:271 - venv.(*Config).resolvePythonInterpreter()
[E2022-08-26T18:11:42.296658+02:00 31551 0 annotate.go:241] reason: could not find Python for: 2.7.0
[E2022-08-26T18:11:42.296663+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296669+02:00 31551 0 annotate.go:241] #2 go.chromium.org/luci/vpython/venv/config.go:186 - venv.(*Config).makeEnv()
[E2022-08-26T18:11:42.296675+02:00 31551 0 annotate.go:241] reason: failed to resolve system Python interpreter
[E2022-08-26T18:11:42.296683+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296688+02:00 31551 0 annotate.go:241] #3 go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
[E2022-08-26T18:11:42.296694+02:00 31551 0 annotate.go:241] reason: failed to initialize empty probe environment
[E2022-08-26T18:11:42.296699+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296704+02:00 31551 0 annotate.go:241] #4 go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2022-08-26T18:11:42.296709+02:00 31551 0 annotate.go:241] #5 go.chromium.org/luci/vpython/application/application.go:320 - application.(*application).mainImpl()
[E2022-08-26T18:11:42.296717+02:00 31551 0 annotate.go:241] #6 go.chromium.org/luci/vpython/application/application.go:406 - application.(*Config).Main.func1()
[E2022-08-26T18:11:42.296723+02:00 31551 0 annotate.go:241] #7 go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2022-08-26T18:11:42.296728+02:00 31551 0 annotate.go:241] #8 go.chromium.org/luci/vpython/application/application.go:405 - application.(*Config).Main()
[E2022-08-26T18:11:42.296734+02:00 31551 0 annotate.go:241] #9 vpython/main.go:106 - main.mainImpl()
[E2022-08-26T18:11:42.296739+02:00 31551 0 annotate.go:241] #10 vpython/main.go:112 - main.main()
[E2022-08-26T18:11:42.296747+02:00 31551 0 annotate.go:241] #11 runtime/proc.go:203 - runtime.main()
[E2022-08-26T18:11:42.296752+02:00 31551 0 annotate.go:241] #12 runtime/asm_amd64.s:1357 - runtime.goexit()
]
0> Failed to fetch file gs://chromium-clang-format/942fc8b1789144b8071d3fc03ff0fcbe1cf81ac8 for buildtools/linux64/clang-format, skipping. [Err: [E2022-08-26T18:11:42.296567+02:00 31551 0 annotate.go:241] goroutine 1:
[E2022-08-26T18:11:42.296593+02:00 31551 0 annotate.go:241] #0 go.chromium.org/luci/vpython/python/find.go:93 - python.Find()
[E2022-08-26T18:11:42.296609+02:00 31551 0 annotate.go:241] annotation #0:
[E2022-08-26T18:11:42.296614+02:00 31551 0 annotate.go:241] reason: no Python found
[E2022-08-26T18:11:42.296619+02:00 31551 0 annotate.go:241] annotation #1:
[E2022-08-26T18:11:42.296624+02:00 31551 0 annotate.go:241] reason: could not find appropriate executable for: "python2.7"
[E2022-08-26T18:11:42.296629+02:00 31551 0 annotate.go:241] annotation #2:
[E2022-08-26T18:11:42.296633+02:00 31551 0 annotate.go:241] reason: could not find target in system
[E2022-08-26T18:11:42.296638+02:00 31551 0 annotate.go:241] internal reason: target(python2.7)/dirs([/home/florent/.conan/data/depot_tools/20200407/_/_/package/cb054d0b3e1ca595dc66bc2339d40f1f8f04ab31/bin /home/florent/.conan/data/ninja/1.10.2/_/_/package/252f7e09f641bef29a75fc98d05ac217b842cde4/bin /home/florent/.conan/data/openssl/1.1.1k/_/_/package/f246571472552ef75bc9871dbfa2a3622e57b7f1/bin /home/florent/.local/bin /usr/local/cuda/bin /usr/local/sbin /usr/local/bin /usr/sbin /usr/bin /sbin /bin /usr/games /usr/local/games /snap/bin /home/florent/.conan/data/depot_tools/20200407/_/_/package/cb054d0b3e1ca595dc66bc2339d40f1f8f04ab31/bin])
[E2022-08-26T18:11:42.296647+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296652+02:00 31551 0 annotate.go:241] #1 go.chromium.org/luci/vpython/venv/config.go:271 - venv.(*Config).resolvePythonInterpreter()
[E2022-08-26T18:11:42.296658+02:00 31551 0 annotate.go:241] reason: could not find Python for: 2.7.0
[E2022-08-26T18:11:42.296663+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296669+02:00 31551 0 annotate.go:241] #2 go.chromium.org/luci/vpython/venv/config.go:186 - venv.(*Config).makeEnv()
[E2022-08-26T18:11:42.296675+02:00 31551 0 annotate.go:241] reason: failed to resolve system Python interpreter
[E2022-08-26T18:11:42.296683+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296688+02:00 31551 0 annotate.go:241] #3 go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
[E2022-08-26T18:11:42.296694+02:00 31551 0 annotate.go:241] reason: failed to initialize empty probe environment
[E2022-08-26T18:11:42.296699+02:00 31551 0 annotate.go:241]
[E2022-08-26T18:11:42.296704+02:00 31551 0 annotate.go:241] #4 go.chromium.org/luci/vpython/run.go:62 - vpython.Run()
[E2022-08-26T18:11:42.296709+02:00 31551 0 annotate.go:241] #5 go.chromium.org/luci/vpython/application/application.go:320 - application.(*application).mainImpl()
[E2022-08-26T18:11:42.296717+02:00 31551 0 annotate.go:241] #6 go.chromium.org/luci/vpython/application/application.go:406 - application.(*Config).Main.func1()
[E2022-08-26T18:11:42.296723+02:00 31551 0 annotate.go:241] #7 go.chromium.org/luci/vpython/application/support.go:46 - application.run()
[E2022-08-26T18:11:42.296728+02:00 31551 0 annotate.go:241] #8 go.chromium.org/luci/vpython/application/application.go:405 - application.(*Config).Main()
[E2022-08-26T18:11:42.296734+02:00 31551 0 annotate.go:241] #9 vpython/main.go:106 - main.mainImpl()
[E2022-08-26T18:11:42.296739+02:00 31551 0 annotate.go:241] #10 vpython/main.go:112 - main.main()
[E2022-08-26T18:11:42.296747+02:00 31551 0 annotate.go:241] #11 runtime/proc.go:203 - runtime.main()
[E2022-08-26T18:11:42.296752+02:00 31551 0 annotate.go:241] #12 runtime/asm_amd64.s:1357 - runtime.goexit()
]
Downloading 1 files took 0.323675 second(s)
Error: Command 'download_from_google_storage --no_resume --no_auth --bucket=chromium-clang-format --sha1_file buildtools/linux64/clang-format.sha1' returned non-zero exit status 1 in /home/florent/.conan/data/crashpad/20200624/orbitdeps/stable/source
ERROR: crashpad/20200624@orbitdeps/stable: Error in source() method, line 77
self.run("gclient sync --no-history")
ConanException: Error 2 while executing gclient sync --no-history
Note : when building v1.71
Hey, You should probably be able to build by disabling crashpad, as described in https://github.com/google/orbit/issues/3232.