Building Chromium Fails: failed to install infra/python/virtualenv 'invalid package name'

774 views
Skip to first unread message

businesso...@gmail.com

unread,
Nov 25, 2017, 5:22:11 PM11/25/17
to Chromium-dev
Error:
F:\depot_tools\chromium>gclient runhooks --force

________ running 'vpython.bat src/build/landmines.py' in 'F:\depot_tools\chromium'
[E2017-11-25T14:09:40.310236-08:00 26220 0 client.go:1378] Failed to install infra/python/virtualenv:d7fe4ca0377e894777e4f0a4d10defc600baf537 - invalid package name:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] original error: failed to update packages, see the log
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] goroutine 1:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] #0 go.chromium.org/luci/cipd/client/cipd/client.go:120 - cipd.init()
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] #1 go.chromium.org/luci/vpython/./<autogenerated>:1 - cipd.init()
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] #2 ./<autogenerated>:1 - main.init()
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] #3 runtime/proc.go:173 - runtime.main()
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]   annotation #0:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]     reason: failed to create empty probe environment
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]   annotation #1:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]     reason: failed to create new VirtualEnv
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]   annotation #2:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]     reason: failed to download packages
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]   annotation #3:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]     reason: failed to download packages
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]   annotation #4:
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]     reason: failed to install CIPD packages
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238]
[E2017-11-25T14:09:40.312239-08:00 26220 0 annotate.go:238] #4 runtime/asm_amd64.s:2337 - runtime.goexit()
Error: Command 'vpython.bat src/build/landmines.py' returned non-zero exit status 1 in F:\depot_tools\chromium

What I have done:
-Made sure that the environmental variable DEPOT_TOOLS_WIN_TOOLCHAIN=0.
-
Added GYP_MSVS_VERSION=2017.
-
Deleted and tried again, fetch chromium command; and also gclient runhooks, plus restarted PC and command console
-
Visual Studio 2017 Community 15.4.4, Desktop development with C++ component, and the MFC and ATL support
-Windows 10 SDK 10.0.16299.0
- F:\depot_tools\chromium>where python
  F:\depot_tools\python.bat
  C:\Python27\python.exe
-
Python: 2.7.6 32 bit on win32, virtualenv 15.1.0, pywin32 221
-OS: Windows 10 Pro 64-bit

Robert Iannucci

unread,
Dec 5, 2017, 5:15:00 PM12/5/17
to businesso...@gmail.com, Chromium-dev
Hi!

Can you verify that your machine has access to `https://chrome-infra-packages.appspot.com`?

Thanks,
Robbie Iannucci

--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
---
You received this message because you are subscribed to the Google Groups "Chromium-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/bda71271-fa2e-4229-b091-c8c3c3dd66b9%40chromium.org.
Reply all
Reply to author
Forward
0 new messages