[Sugar-devel] Error

James Cameron quozl at laptop.org
Thu Feb 28 15:33:44 EST 2019


Agreed, Sugar Live Build cannot be built within macOS alone.

But you can use Parallels or VMware or VirtualBox to install a Debian
Stretch virtual machine and do the build inside that machine.

However, the mounted filesystem list on the screenshot doesn't look
like macOS, it looks like an Ubuntu Live Build environment.

So doubly confusing.

You probably don't need to build Sugar Live Build, as we have built it
already, but if it has broken due to changes in Debian please do
provide pull requests.

Sugar Live Build does not use /usr/bin/env directly.

On Thu, Feb 28, 2019 at 03:05:32PM +0100, Chihurumnaya Ibiam wrote:
> Hrishi is right, see [1]https://github.com/sugarlabs/sugar/blob/master/docs/
> development-environment.md#sugar-live-build to get download the already created
> image and run in a vm.
> 
> On Thu, Feb 28, 2019, 2:32 PM Hrishi Patel <[2]hrishipatel99 at gmail.com> wrote:
> 
>     [3]https://github.com/sugarlabs/sugar-live-build/blob/master/README.md
>     states that to use Debian (Stretch). You seem to be using MacOS. Maybe
>     that's causing it?
> 
>     On Thu, Feb 28, 2019, 6:56 PM Gautham santhosh <[4]gautham18sks at gmail.com>
>     wrote:
> 
>         I was trying to build sugarlabs live build, that's when I encountered
>         this problem.
>          
> 
>         On Thu, 28 Feb 2019, 6:42 pm Chihurumnaya Ibiam <[5]
>         ibiamchihurumnaya at gmail.com wrote:
> 
>             Hi Gotham,
> 
>             What exactly did you do to get this error - the command you typed
>             and at what point did you get this error -, are you trying to run a
>             native sugar build?
> 
>             Also paste a full log.
> 
>             On Thu, Feb 28, 2019, 1:02 PM Gautham santhosh <[6]
>             gautham18sks at gmail.com> wrote:
> 
>                 Hello,
>                 I was trying to build sugarlabs live build and I happen to
>                 encounter this error
>                 "chroot: failed to run command ‘/usr/bin/env’: No such file or
>                 directory"
>                 can someone tell me how to resolve this?
> 
>                 --
>                 ---
>                 Regards,
>                 Gautham Santhosh
>                 [7]GitHub.
>                 _______________________________________________
>                 Sugar-devel mailing list
>                 [8]Sugar-devel at lists.sugarlabs.org
>                 [9]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
>         _______________________________________________
>         Sugar-devel mailing list
>         [10]Sugar-devel at lists.sugarlabs.org
>         [11]http://lists.sugarlabs.org/listinfo/sugar-devel
> 
> References:
> 
> [1] https://github.com/sugarlabs/sugar/blob/master/docs/development-environment.md#sugar-live-build
> [2] mailto:hrishipatel99 at gmail.com
> [3] https://github.com/sugarlabs/sugar-live-build/blob/master/README.md
> [4] mailto:gautham18sks at gmail.com
> [5] mailto:ibiamchihurumnaya at gmail.com
> [6] mailto:gautham18sks at gmail.com
> [7] https://github.com/GauthamSks
> [8] mailto:Sugar-devel at lists.sugarlabs.org
> [9] http://lists.sugarlabs.org/listinfo/sugar-devel
> [10] mailto:Sugar-devel at lists.sugarlabs.org
> [11] http://lists.sugarlabs.org/listinfo/sugar-devel

> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel


-- 
James Cameron
http://quozl.netrek.org/


More information about the Sugar-devel mailing list