<div dir="ltr"><div><div dir="ltr"><span class="gmail-im" style="color:rgb(80,0,80)">Hi Mentors, <br><br>Hope you all are doing well!<div><br></div><div>My name is Simrann Arora and I am an aspiring GSoC 2023 contributor. I have been actively trying to contribute to the 'Sugar on Raspberry Pi' project that has been selected for GSoC this year. As far as my progress is concerned, till now I have completed the following tasks: </div></span><div>- Setting up Debian version 11(bullseye) VM on my mac using Parallels Desktop, earlier I had installed Ubuntu 23.04 using VMware Fusion</div><span class="gmail-im" style="color:rgb(80,0,80)"><div>- Cloning the rpi23-gen-image repo for building Sugar OS image.</div></span><div>- I tried running the rpi23-gen-image builder script but I am getting this error:</div><div>```</div><span class="gmail-im" style="color:rgb(80,0,80)"><div> chroot: failed to run command '/debootstrap/debootstrap': Exec format error.</div><div>```</div><div><br></div></span><div>I did some research to fix this, and found out that it might have occured due to the architecture mismatch of the chroot environment and the command that I am using to run the script, like suppose the chroot environment is 64-bit and the executable is 32-bit. Another reason could be that the executable is not compatible with the OS or the linux distro within the chroot environment.</div><div><br></div><div>- To fix this, I created a chroot environment of Debian version 9 (stretch) within my Debian 11 distro to make it compatible with the `rpi3stretch-sugar` template as given in the `rpi23-gen-image` repository and cloned it.</div><div>However, when I ran the script, I encountered the same error:</div><div>```</div><span class="gmail-im" style="color:rgb(80,0,80)"><div> chroot: failed to run command '/debootstrap/debootstrap': Exec format error. </div><div>```</div><div><br></div><div>To further troubleshoot this, I tried installing the `binfmts support` and enabling qemu-arm within the chroot. </div></span><div>Again I got an error:  `update-binfmts: warning: qemu-arm not in database of installed binary formats. `</div><div><br></div><div><span class="gmail-im" style="color:rgb(80,0,80)">Now to fix this one I tried reinstalling qemu-user-static and enabling it but it says that it might be possible that this package isn't installed in my system's repo or I need to use another repo for the same.<br><br></span>I would like to request the mentors to guide me further on this and discuss the next steps of implementation and the project requirements. </div><div><span class="gmail-im" style="color:rgb(80,0,80)">I am very keen on working on this project, gaining in-depth understanding on this and taking it further.<br><br></span>Also, as the proposal deadline is just around the corner, I would be really grateful if I could connect with all the mentors on a Zoom/GMeets call to discuss the project<br><br>Thanks a lot</div><span class="gmail-im" style="color:rgb(80,0,80)"><font color="#888888"><div>Simrann Arora</div><div>GitHub Handle - <a class="gmail_plusreply" id="m_-3251859457837496269m_5522220217899061451m_2250287501069073373plusReplyChip-0" style="color:rgb(34,34,34)">@simrann20</a></div></font></span></div><div class="gmail-yj6qo gmail-ajU" style="outline:none;padding:10px 0px;width:22px;margin:2px 0px 0px"><br class="gmail-Apple-interchange-newline"></div></div><br></div><img src="https://my-email-signature.link/signature.gif?u=968470&e=340588101&v=9586ef410d4dab8d347a969ca3a08b184209965184dc091d58d4cb8be377be0d" alt="" width="0" height="0" style="width:2px;max-height:0;overflow:hidden">