Wont build on WSL

458 views
Skip to first unread message

Rudy

unread,
Jul 25, 2024, 8:06:53 PM7/25/24
to Chromium-dev
I'm trying to compile V8 on linux, but i only have a windows machine so i'm using WSL Ubuntu 20.04. I installed depot_tools but whenever I run gclient sync, I get this error. Here is my full setup from a fresh install:

```
rudy@DESKTOP-8RJ4MU6:~$ git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
Cloning into 'depot_tools'...
remote: Sending approximately 61.71 MiB ...
remote: Counting objects: 15, done
remote: Finding sources: 100% (15/15)
remote: Total 60655 (delta 39792), reused 60647 (delta 39792)
Receiving objects: 100% (60655/60655), 61.63 MiB | 51.81 MiB/s, done.
Resolving deltas: 100% (39792/39792), done.
rudy@DESKTOP-8RJ4MU6:~$ export PATH=/home/rudy/depot_tools:$PATH
rudy@DESKTOP-8RJ4MU6:~$ gclient
[E2024-07-25T11:09:58.895549-05:00 90 0 builder.go:222]
[P261 11:09:57.852 action_plan.go:163 I] In root:
[P261 11:09:57.852 action_plan.go:169 I]   to install:
[P261 11:09:57.852 action_plan.go:171 I]     infra/3pp/tools/virtualenv:JSnVx-Qo0tlD_pwiRH9M-K_vi-w55zXeMJcEF9TkjiQC
[P261 11:09:57.853 instancecache.go:188 I] Using temporary instance cache at /home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents/.cipd/tmp/dl_3276927404
[P261 11:09:57.856 client.go:1840 I] [fetch] Resolving fetch URL for infra/3pp/tools/virtualenv:JSnVx-Qo0tlD_pwiRH9M-K_vi-w55zXeMJcEF9TkjiQC
[P261 11:09:57.901 storage.go:283 I] [fetch] Connecting...
[P261 11:09:58.364 storage.go:245 I] [fetch] Fetching: 0.0/4.4 MB (  0%)
[P261 11:09:58.587 storage.go:245 I] [fetch] Fetching: 4.4/4.4 MB (100%, 15.54 MB/s)
[P261 11:09:58.587 client.go:1834 I] [fetch] Fetched infra/3pp/tools/virtualenv:JSnVx-Qo0tlD_pwiRH9M-K_vi-w55zXeMJcEF9TkjiQC in 0.7s
[P261 11:09:58.599 deployer.go:303 I] [unzip] Deploying infra/3pp/tools/virtualenv:JSnVx-Qo0tlD_pwiRH9M-K_vi-w55zXeMJcEF9TkjiQC into /home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents(/) (copy-mode override)
[P261 11:09:58.602 reader.go:400 I] [unzip] Extracting (2 files left): 0.0/5.7 MB (  0%)
[P261 11:09:58.623 reader.go:424 I] [unzip] Extracting (0 files left): 5.7/5.7 MB (100%)
[P261 11:09:58.629 deployer.go:388 I] [unzip] Moving files to their final destination...
[P261 11:09:58.631 deployer.go:403 I] [unzip] Cleaning up...
[P261 11:09:58.631 deployer.go:409 I] [unzip] Deployed infra/3pp/tools/virtualenv:JSnVx-Qo0tlD_pwiRH9M-K_vi-w55zXeMJcEF9TkjiQC in 0.0s
[P261 11:09:58.632 client.go:2141 I] All changes applied.
[P261 11:09:58.634 main.go:1775 I] Removing cipd metadata
[P261 11:09:58.894 fs.go:455 W] fs: failed to rename directory "/home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents/.cipd": rename /home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents/.cipd /home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents/qm5pOW5tj7AJ: permission denied
Error: unable to purge service dir: rename /home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents/.cipd /home/rudy/.cache/.vpython-root/store/virtualenv+n21fvm7m09pn5o63l11eh3li0k/contents/qm5pOW5tj7AJ: permission denied.
2024/07/25 11:09:58 exit status 1

failed to generate venv derivation: failed to build package: virtualenv+n21fvm7m09pn5o63l11eh3li0k: failed to execute builder: exit status 1
rudy@DESKTOP-8RJ4MU6:~$```

What do i do to fix this? I'm not quite the linux expert, but i do know my way around usually, but I'm not sure why this error might be occuring

徐建保

unread,
Oct 3, 2024, 3:53:30 PM10/3/24
to Chromium-dev, Rudy
I have also encountered the same problem, have you solved it yet?
Reply all
Reply to author
Forward
0 new messages