cros_sdk not running

96 views
Skip to first unread message

Matt Sap

unread,
Mar 7, 2021, 10:49:34 AM3/7/21
to Chromium OS Discussion
Hello,
I am new to building Chromium OS. I followed the guide up to the point where I enter the chroot. When I enter "cros_sdk" inside my chromiumos directory I receive the following error. I made sure to sync repo before running this. I tried running this as the user and as root and receive the same errors. Anybody know what causes this?
Capture.PNG

Mike Frysinger

unread,
Mar 7, 2021, 11:31:05 AM3/7/21
to matt...@gmail.com, Chromium OS Discussion
you don't want to run it as root
-mike

--
--
Chromium OS Discussion mailing list: chromium-...@chromium.org
View archives, change email options, or unsubscribe:
https://groups.google.com/a/chromium.org/group/chromium-os-discuss

Matt Sap

unread,
Mar 7, 2021, 12:01:10 PM3/7/21
to Mike Frysinger, Chromium OS Discussion
I tried running it as both root and non-root and received the same result.
--
Matt Sapio

Mike Frysinger

unread,
Mar 7, 2021, 4:00:20 PM3/7/21
to Matt Sap, Chromium OS Discussion
once you run it as root, it might get you into a bad state that non-root can't recover.  i'd recommend deleting the entire checkout and then redoing it all only as a non-root user.
-mike

Matt Sap

unread,
Mar 8, 2021, 1:57:24 AM3/8/21
to Mike Frysinger, Chromium OS Discussion
So i deleted everything, went through the instructions again and made sure to not use root and am still receiving the same error message
--
Matt Sapio

Matt Sap

unread,
Mar 8, 2021, 1:57:25 AM3/8/21
to Mike Frysinger, Chromium OS Discussion
The only difference that i made was i built my /chromium directory in a home folder and not ~/chromium directory. Would that make a difference?
--
Matt Sapio

Mike Frysinger

unread,
Mar 8, 2021, 2:22:04 AM3/8/21
to Matt Sap, Chromium OS Discussion
the path does not matter.  the tools can handle any location.

are you sure it's showing the same error message ?
-mike

Matt Sap

unread,
Mar 8, 2021, 11:11:24 AM3/8/21
to Mike Frysinger, Chromium OS Discussion
Yeah, here is the message:
image.png
--
Matt Sapio

Mike Frysinger

unread,
Mar 8, 2021, 6:47:42 PM3/8/21
to Matt Sap, Chromium OS Discussion
that isn't the same error message you posted originally

it sounds like you need to (re)follow the depot_tools setup steps:

Joel Lin

unread,
Aug 20, 2022, 11:01:59 PM8/20/22
to ChromiumOS Discussion, vap...@chromium.org, Chromium OS Discussion, matt...@gmail.com
why we don't stop this fatal fault of this script design at very beginning before user tries to repo sync to get 39GB data ?

Mike Frysinger

unread,
Aug 20, 2022, 11:02:04 PM8/20/22
to Joel Lin, ChromiumOS Discussion, matt...@gmail.com
sorry, but i have no idea what you're trying to say
-mike 
Reply all
Reply to author
Forward
0 new messages