Results 1 to 5 of 5
  1. #1

    ChromiumOS build, chroot fails

    I'm currently trying to build ChromiumOS, but I'm running into some difficulties.

    I'm following this page but as I dislike Ubuntu/Unity/et all, I'm using Debian 7.6 Mate in a VirtualBox VM instead. Both host and guest have sufficient RAM and disk space. The repo is synced.

    The issue is when calling
    Code:
    cros_sdk
    to create (and enter) the chroot. This is the error I get:
    Code:
    <user>@chromium-build:~/chromiumos$: cros_sdk
    cros_sdk: Unhandled exception:
    Traceback (most recent call last):
      File "/home/<user>/chromiumos/chromite/bin/cros_sdk", line 130, in <module>
        commandline.ScriptWrapperMain(FindTarget)
      File "/home/<user>/chromiumos/chromite/lib/commandline.py", line 588, in ScriptWrapperMain
        ret = target(argv[1:])
      File "/home/<user>/chromiumos/chromite/scripts/cros_sdk.py", line 514, in main
        _ReExecuteIfNeeded([sys.argv[0]] + argv)
      File "/home/<user>/chromiumos/chromite/scripts/cros_sdk.py", line 410, in _ReExecuteIfNeeded
        os.execvp(cmd[0], cmd)
      File "/usr/lib/python2.7/os.py", line 346, in execvp
        _execvpe(file, args)
      File "/usr/lib/python2.7/os.py", line 382, in _execvpe
        func(fullname, *argrest)
    OSError: [Errno 2] No such file or directory
    (I've replaced my user account name with <user> for privacy reasons)
    I'm assuming this could be related to my use of Debian over Ubuntu (12.04) as specified in the above Developers Guide, but Debian 7.6 (Jessie) is newer then Ubuntu 12.04 so IMO it should work, shouldn't it?

    Anything else I may have missed? Or is this a bug that needs reporting?

    TIA!

  2. #2
    I has the same error messages on the gentoo.
    After I installed the "sudo", the cros_sdk works well.


    Last edited by auronc; 08-27-2014 at 07:50 AM.

  3. #3
    Junior Member
    Join Date
    Jul 2014
    Posts
    5

    Original Poster
    Thanks for the reply (a bit belated, sorry). Anything else you did with the sudo package? I'm not a fan of sudo, so if I can avoid it....



  4. #4
    Quote Originally Posted by Dutch Master View Post
    Thanks for the reply (a bit belated, sorry). Anything else you did with the sudo package? I'm not a fan of sudo, so if I can avoid it....
    The sudo is prerequisite, refer the "Prerequisites" section of the link:
    http://www.chromium.org/chromium-os/developer-guide

    You can try to install sudo package to check if the error message is gone.



  5. #5
    Quote Originally Posted by auronc View Post
    The sudo is prerequisite, refer the "Prerequisites" section of the link:

    You can try to install sudo package to check if the error message is gone.
    I'm having the same problem.Thank you for that information!



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •