Can't launch a build locally --> zygote_host_impl_linux.cc(201)] Check failed: . : No such file or directory (2)

2,412 views
Skip to first unread message

Merlin

unread,
May 9, 2023, 4:40:25 PM5/9/23
to Chromium-dev
I've just compiled Chromium on Arch Linux on a VPS.  My local machine is on the same distro and they both are up to date.

I then downloaded out/build1/chrome onto my local machine and ran it. A few times it threw exceptions, which I dealt with  downloading some files from the "out" directory onto my local machine. However, eventually I got into this one which I haven't been able to resolve thus far:

./my_chromium

[229623:229623:0509/140628.363314:FATAL:zygote_host_impl_linux.cc(201)] Check failed: . : No such file or directory (2)
zsh: trace trap (core dumped)  ./my_chromium


If I use --no-sandbox flag  it won't resolve the error but will make it a slightly more different:

./my_chromium --no-sandbox                     
zsh: trace trap (core dumped)  ./my_chromium --no-sandbox

 --no-zygote-sandbox -- the same as the 1st error

What's the matter? How to fix this?

K. Moon

unread,
May 9, 2023, 7:33:27 PM5/9/23
to manguc...@gmail.com, Chromium-dev
You're probably hitting this line of code:

Even though the distros are the same, you're probably missing more important pieces from the out directory. Downloading files piece by piece is not a supported configuration; I suspect if you downloaded the entire out directory, this would start working, but I assume you don't want to do that, either.

If there's something else you want to try, you could recompile with is_component_build=false, as that should avoid the use of shared libraries created by Chromium. To be clear, though, this isn't a supported way of running Chromium, and you're largely on your own.

--
--
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 unsubscribe from this group and stop receiving emails from it, send an email to chromium-dev...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/ee9c27dd-6126-4616-aa18-bf67a690eef2n%40chromium.org.
Reply all
Reply to author
Forward
0 new messages