<div dir="ltr">Hello James,<br><br>Thanks a lot for the detailed response.<br><br>I have gone through the logs and prepared a log report of the bugs and broken activities that I encountered. I will be trying to find fixes and continue working on them during the GSoC period.<br><br>I would request you to review this and give your suggestions on how to fix these errors further.<br><br><span style="color:rgb(80,0,80)">Thanks and Best Regards</span><font color="#888888"><div>Simrann Arora<br>GitHub Handle: <a class="gmail_plusreply" id="m_-2135143464169259417m_-6135916215121701617m_-1787204107895656850plusReplyChip-3">@simrann20</a></div></font><br></div><img src="https://my-email-signature.link/signature.gif?u=968470&e=343048683&v=8c9e2065392fa58be3bb698718421ed35887b8d655df63ce04d75f92088d27b3" alt="" width="0" height="0" style="width:2px;max-height:0;overflow:hidden"><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 31, 2023 at 4:10 AM James Cameron <<a href="mailto:quozl@laptop.org">quozl@laptop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thanks for testing.<br>
<br>
Some of the information we gave was out of date, please see the<br>
changes in <a href="https://github.com/sugarlabs/sugar/commit/cc22632" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/commit/cc22632</a><br>
<br>
The missing icon for the description is a known issue being tracked as<br>
<a href="https://github.com/sugarlabs/sugar-toolkit-gtk3/issues/465" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar-toolkit-gtk3/issues/465</a> but nobody<br>
seems to be working on it.<br>
<br>
Reasons for fail to start of Calculator, Image Viewer, Chat, Pippy,<br>
Write and Log may be found in .sugar/default/logs<br>
<br>
Please use copy and paste of terminal text rather than photographs or<br>
screenshots. We cannot search them.<br>
<br>
On Fri, Mar 31, 2023 at 03:14:12AM +0530, Simrann Arora wrote:<br>
> Hi Mentors,<br>
> <br>
> Hope you all are doing great!<br>
> <br>
> I have tested Sugar on Raspberry Pi and I have prepared a report based on my<br>
> findings. I am attaching the same for your reference. I am trying to fix these<br>
> bugs and would request you all to review and give your suggestions on how to<br>
> fix these issues going forward.<br>
> <br>
> Thanks and Best Regards<br>
> Simrann Arora<br>
> GitHub Handle: @simrann20<br>
> *<br>
> On Wed, Mar 29, 2023 at 2:10 AM James Cameron <[1]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>> wrote:<br>
> <br>
> G'day Simrann,<br>
> <br>
> Running Sugar on Raspberry Pi OS to identify what needs fixing will be<br>
> a good thing for Sugar Labs. It will also feed into and affect the<br>
> other proposals and ideas. There is an opportunity to collaborate<br>
> with many others.<br>
> <br>
> Your proposal could include a list of Raspberry Pi focused Linux<br>
> distributions you have tested Sugar on, along with the broad outcomes.<br>
> <br>
> On Wed, Mar 29, 2023 at 01:43:04AM +0530, Simrann Arora wrote:<br>
> > Hello James,<br>
> ><br>
> > Thanks for your quick response.<br>
> ><br>
> > From what I understand, `rpi23-gen-image` repository is old so it cannot<br>
> be<br>
> > used for this project.<br>
> > I think I should run Sugar on Raspberry Pi OS and identify what is broken<br>
> /bugs,<br>
> > so I can work on fixing them during my GSoC period.<br>
> ><br>
> > I will also check out other debian image builders for Raspberry Pi<br>
> which can be<br>
> > leveraged to create Sugar OS images.<br>
> ><br>
> > I would also request my mentors @walterbender and @alexperez to see if<br>
> my<br>
> > understanding is correct and also discuss the hardware requirements to<br>
> extend<br>
> > the functionalities of existing activities like Turtle Blocks, Measure,<br>
> and<br>
> > Pippy.<br>
> ><br>
> > Thanks and Best Regards<br>
> > Simrann Arora<br>
> > GitHub Handle: @simrann20<br>
> > *<br>
> > On Tue, Mar 28, 2023 at 5:39 AM James Cameron <[1][2]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a>><br>
> wrote:<br>
> ><br>
> > Hello Simrann,<br>
> ><br>
> > I've just now tested [2][3]<a href="https://github.com/drtyhlpr/" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/</a><br>
> rpi23-gen-image on a<br>
> > Debian 10 Buster 64-bit system, and it got past the debootstrap<br>
> stage,<br>
> > compiled a kernel, generated an image, but failed with "losetup:<br>
> > cannot find an unused loop device". I did not see an exec format<br>
> > error. The method was;<br>
> ><br>
> > ```<br>
> > apt install -y git debootstrap debian-archive-keyring<br>
> qemu-user-static<br>
> > binfmt-support dosfstools rsync bmap-tools whois git bc psmisc dbus<br>
> sudo<br>
> > crossbuild-essential-armhf crossbuild-essential-armel bison flex<br>
> libssl-dev<br>
> > git clone [3][4]<a href="https://github.com/drtyhlpr/rpi23-gen-image.git" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image.git</a><br>
> > cd rpi23-gen-image<br>
> > ./rpi23-gen-image.sh<br>
> > ```<br>
> ><br>
> > I suggest making sure you are using the operating system versions<br>
> > described in the README.md file, and the HEAD of the master branch.<br>
> ><br>
> > Do not use the Sugar Labs fork of the repository, as it is very old.<br>
> ><br>
> > Do engage with the rpi23-gen-image project; it is not part of Sugar<br>
> > Labs, and we have not used it for a while. Your problem with<br>
> > debootstrap is best answered there, or by reading the debootstrap<br>
> > or Linux source code.<br>
> ><br>
> > I'm not a mentor for Google Summer of Code this year, but I've a few<br>
> > things to say.<br>
> ><br>
> > I doubt that rpi23-gen-image is suitable for your project. It is for<br>
> > making images. It is an external tool, and not part of the workflow<br>
> > of either the Raspberry Pi Foundation, Debian Project, or Fedora<br>
> > Project. These projects use other tools to prepare their images,<br>
> > based on their package archives.<br>
> ><br>
> > Sugar is available for Raspberry Pi on Debian, Fedora, and Raspberry<br>
> > Pi OS already.<br>
> ><br>
> > Raspberry Pi OS does not include Sugar in the images, but it can be<br>
> > installed. This is because Raspberry Pi OS is based on Debian.<br>
> ><br>
> > The Fedora Sugar on a Stick images are available for Raspberry Pi.<br>
> ><br>
> > The number of organisations involved that are not Sugar Labs makes<br>
> > your project a challenge. Mentors working for Sugar Labs can't<br>
> easily<br>
> > affect the other projects or make resources available for you. You<br>
> > should ask your mentors to better define the scope, without creating<br>
> > work dependencies on other organisations.<br>
> ><br>
> > Sugar on Raspberry Pi does have several bugs, and does not have<br>
> > Raspberry Pi specific extensions.<br>
> ><br>
> > Fixing those bugs is a matter of either (a) fixing our software in a<br>
> > Sugar Labs repository, (b) fixing packaging in the Fedora or Debian<br>
> > Projects, and (c) waiting for the fixes to reach the released images.<br>
> > That wait always exceeds the time available for Google Summer of<br>
> Code.<br>
> ><br>
> > Adding features specific to the Raspberry Pi is important. For that,<br>
> > you will need a Raspberry Pi, and electronics components and tools.<br>
> > If you've worked on Arduino previously, this will be easy. You will<br>
> > write software in Sugar Labs repositories, such as Turtle Blocks,<br>
> > Measure, and Pippy.<br>
> ><br>
> > References:<br>
> ><br>
> > [4][5]<a href="https://arm.fedoraproject.org/" rel="noreferrer" target="_blank">https://arm.fedoraproject.org/</a><br>
> > [5][6]<a href="https://spins.fedoraproject.org/en/soas/" rel="noreferrer" target="_blank">https://spins.fedoraproject.org/en/soas/</a><br>
> > [6][7]<a href="https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi</a><br>
> > [7][8]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md</a><br>
> > [8][9]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md</a><br>
> > [9][10]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/debian.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/debian.md</a><br>
> > [10][11]<a href="https://wiki.sugarlabs.org/go/Raspberry_Pi" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Raspberry_Pi</a><br>
> ><br>
> > On Tue, Mar 28, 2023 at 03:09:48AM +0530, Simrann Arora wrote:<br>
> > > Hi Mentors, <br>
> > ><br>
> > > Hope you all are doing well!<br>
> > ><br>
> > > My name is Simrann Arora and I am an aspiring GSoC 2023<br>
> contributor. I<br>
> > have<br>
> > > been actively trying to contribute to the 'Sugar on Raspberry Pi'<br>
> project<br>
> > that<br>
> > > has been selected for GSoC this year. As far as my progress is<br>
> concerned,<br>
> > till<br>
> > > now I have completed the following tasks: <br>
> > > - Setting up Debian version 11(bullseye) VM on my mac using<br>
> Parallels<br>
> > Desktop,<br>
> > > earlier I had installed Ubuntu 23.04 using VMware Fusion<br>
> > > - Cloning the rpi23-gen-image repo for building Sugar OS image.<br>
> > > - I tried running the rpi23-gen-image builder script but I am<br>
> getting<br>
> > this<br>
> > > error:<br>
> > > ```<br>
> > > chroot: failed to run command '/debootstrap/debootstrap': Exec<br>
> format<br>
> > error.<br>
> > > ```<br>
> > ><br>
> > > I did some research to fix this, and found out that it might have<br>
> > occured due<br>
> > > to the architecture mismatch of the chroot environment and the<br>
> command<br>
> > that I<br>
> > > am using to run the script, like suppose the chroot environment is<br>
> 64-bit<br>
> > and<br>
> > > the executable is 32-bit. Another reason could be that the<br>
> executable is<br>
> > not<br>
> > > compatible with the OS or the linux distro within the chroot<br>
> environment.<br>
> > ><br>
> > > - To fix this, I created a chroot environment of Debian version 9<br>
> > (stretch)<br>
> > > within my Debian 11 distro to make it compatible with the<br>
> > `rpi3stretch-sugar`<br>
> > > template as given in the `rpi23-gen-image` repository and cloned<br>
> it.<br>
> > > However, when I ran the script, I encountered the same error:<br>
> > > ```<br>
> > > chroot: failed to run command '/debootstrap/debootstrap': Exec<br>
> format<br>
> > error. <br>
> > > ```<br>
> > ><br>
> > > To further troubleshoot this, I tried installing the `binfmts<br>
> support`<br>
> > and<br>
> > > enabling qemu-arm within the chroot. <br>
> > > Again I got an error: `update-binfmts: warning: qemu-arm not in<br>
> database<br>
> > of<br>
> > > installed binary formats. `<br>
> > ><br>
> > > Now to fix this one I tried reinstalling qemu-user-static and<br>
> enabling it<br>
> > but<br>
> > > it says that it might be possible that this package isn't installed<br>
> in my<br>
> > > system's repo or I need to use another repo for the same.<br>
> > ><br>
> > > I would like to request the mentors to guide me further on this and<br>
> > discuss the<br>
> > > next steps of implementation and the project requirements. <br>
> > > I am very keen on working on this project, gaining in-depth<br>
> understanding<br>
> > on<br>
> > > this and taking it further.<br>
> > ><br>
> > > Also, as the proposal deadline is just around the corner, I would<br>
> be<br>
> > really<br>
> > > grateful if I could connect with all the mentors on a Zoom/GMeets<br>
> call to<br>
> > > discuss the project<br>
> > ><br>
> > > Thanks a lot<br>
> > > Simrann Arora<br>
> > > GitHub Handle - @simrann20<br>
> > ><br>
> > > *<br>
> ><br>
> > References:<br>
> ><br>
> > [1] mailto:[12]<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> > [2] [13]<a href="https://github.com/drtyhlpr/rpi23-gen-image" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image</a><br>
> > [3] [14]<a href="https://github.com/drtyhlpr/rpi23-gen-image.git" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image.git</a><br>
> > [4] [15]<a href="https://arm.fedoraproject.org/" rel="noreferrer" target="_blank">https://arm.fedoraproject.org/</a><br>
> > [5] [16]<a href="https://spins.fedoraproject.org/en/soas/" rel="noreferrer" target="_blank">https://spins.fedoraproject.org/en/soas/</a><br>
> > [6] [17]<a href="https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi</a><br>
> > [7] [18]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md</a><br>
> > [8] [19]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md</a><br>
> > [9] [20]<a href="https://github.com/sugarlabs/sugar/blob/master/docs/debian.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/debian.md</a><br>
> > [10] [21]<a href="https://wiki.sugarlabs.org/go/Raspberry_Pi" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Raspberry_Pi</a><br>
> <br>
> References:<br>
> <br>
> [1] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [2] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [3] <a href="https://github.com/drtyhlpr/rpi23-gen-image" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image</a><br>
> [4] <a href="https://github.com/drtyhlpr/rpi23-gen-image.git" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image.git</a><br>
> [5] <a href="https://arm.fedoraproject.org/" rel="noreferrer" target="_blank">https://arm.fedoraproject.org/</a><br>
> [6] <a href="https://spins.fedoraproject.org/en/soas/" rel="noreferrer" target="_blank">https://spins.fedoraproject.org/en/soas/</a><br>
> [7] <a href="https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi</a><br>
> [8] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md</a><br>
> [9] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md</a><br>
> [10] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/debian.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/debian.md</a><br>
> [11] <a href="https://wiki.sugarlabs.org/go/Raspberry_Pi" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Raspberry_Pi</a><br>
> [12] mailto:<a href="mailto:quozl@laptop.org" target="_blank">quozl@laptop.org</a><br>
> [13] <a href="https://github.com/drtyhlpr/rpi23-gen-image" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image</a><br>
> [14] <a href="https://github.com/drtyhlpr/rpi23-gen-image.git" rel="noreferrer" target="_blank">https://github.com/drtyhlpr/rpi23-gen-image.git</a><br>
> [15] <a href="https://arm.fedoraproject.org/" rel="noreferrer" target="_blank">https://arm.fedoraproject.org/</a><br>
> [16] <a href="https://spins.fedoraproject.org/en/soas/" rel="noreferrer" target="_blank">https://spins.fedoraproject.org/en/soas/</a><br>
> [17] <a href="https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi" rel="noreferrer" target="_blank">https://fedoraproject.org/wiki/Architectures/ARM/Raspberry_Pi</a><br>
> [18] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi-soas.md</a><br>
> [19] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/rpi.md</a><br>
> [20] <a href="https://github.com/sugarlabs/sugar/blob/master/docs/debian.md" rel="noreferrer" target="_blank">https://github.com/sugarlabs/sugar/blob/master/docs/debian.md</a><br>
> [21] <a href="https://wiki.sugarlabs.org/go/Raspberry_Pi" rel="noreferrer" target="_blank">https://wiki.sugarlabs.org/go/Raspberry_Pi</a><br>
<br>
<br>
</blockquote></div>