<div dir="ltr"><div>Hello,</div><div>Please I need some help. Following the GSoC getting started guide(<a href="https://docs.rtems.org/branches/master/user/start/gsoc.html">https://docs.rtems.org/branches/master/user/start/gsoc.html</a>),everything went well to the point I had to do an offline download. I used this command<br></div><div><span style="font-family:monospace">../source-builder/sb-set-builder --source-only-download 5/rtems-sparc</span></div><div> Seems like there was a mismatch. I got this error:</div><div><span style="color:rgb(255,0,0)"><span style="font-family:monospace">b-set-builder --source-only-download 5/rtems-sparc<br>RTEMS Source Builder - Set Builder, 6 (5e449fb5c2cb)<br>Build Set: 5/rtems-sparc<br>error: no build set file found: 5/rtems-sparc.bset<br>Build Set: Time 0:00:00.000205<br>Build FAILED</span></span></div><div>I then replaced 5/rtems in the command with 6/rtems and everything worked. I was able to install the suite, build the board support package, and test my BSP though along the way I had to replace "5" with "6" in certain commands. Everything went well until I wanted to prove I can work on RTEMS. I followed the instructions to create my hello application and added the necessary .c files. The problem was when I tried configuring this application using waf with the command:</div><div><pre>./waf configure --rtems=$HOME/quick-start/rtems/5 --rtems-bsp=sparc/erc32
</pre></div><div>I got this error:</div><div><span style="color:rgb(255,0,0)"><span style="font-family:monospace">Setting top to : /home/idadel/quick-start/app/hello <br>Setting </span>out to <span style="font-family:monospace">: /home/idadel/quick-start/app/hello/build <br>RTEMS path is not valid, "/home/idadel/quick-start/rtems/5/share/rtems5" not found.<br>(complete log in /home/idadel/quick-start/app/hello/build/config.log)</span></span></div><div>I thought I showld startover but and work with rtems.git/5 instead of rtems.git/master. Same with rsb. So I got the sources and did a "git checkout" from the master to the "5" branch. Everything went well with me not not having to change any "5" to "6" in some commands. I didn't make it as far as testing my BSP. I had issues with configuring my BSP with the command:</div><div><pre>./waf configure --rtems=$HOME/quick-start/rtems/5 --rtems-bsp=sparc/erc32
</pre></div><div>I got this:</div><div><span style="font-family:monospace"><span style="color:rgb(255,0,0)">bash: ./waf: No such file or director</span>y</span></div><div>I'm confused and don't know what I missed or where I went wrong. <br></div><div><br></div><div>Ida.<br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 11, 2021 at 6:03 PM Ida Delphine <<a href="mailto:idadelm@gmail.com">idadelm@gmail.com</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"><div dir="auto">Okay. Thank you :)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 11 Mar 2021, 5:57 pm Gedare Bloom, <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.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">On Thu, Mar 11, 2021 at 9:48 AM Ida Delphine <<a href="mailto:idadelm@gmail.com" rel="noreferrer" target="_blank">idadelm@gmail.com</a>> wrote:<br>
><br>
> Thank you for your response. I am not working on the rtems.git/master branch. I'm not using it because earlier I tried downloading sources with it but I got this error<br>
> error: shell macro failed: /home/idadel/quick-start/src/rsb/source-builder/sb/rtems-build-dep -c gcc -l : 2: error: no library (-l) provided<br>
> So I decided to use the other alternative(get the sources from releases)<br>
><br>
> Since I'm a GSoC applicant should I wait till the issue at the master branch is resolved?<br>
><br>
Yes, that issue has been resolved so please try again. Hopefully,<br>
things work a bit better. We try not to break things, but unexpected<br>
problems come up from time to time, especially based on host OS<br>
dependencies.<br>
<br>
> Cheers,<br>
> Ida.<br>
><br>
> On Thu, Mar 11, 2021 at 4:18 PM Gedare Bloom <<a href="mailto:gedare@rtems.org" rel="noreferrer" target="_blank">gedare@rtems.org</a>> wrote:<br>
>><br>
>> On Thu, Mar 11, 2021 at 7:33 AM Ida Delphine <<a href="mailto:idadelm@gmail.com" rel="noreferrer" target="_blank">idadelm@gmail.com</a>> wrote:<br>
>> ><br>
>> > Hello everyone,<br>
>> > Was following the quick build documentation and had issues around where I have to do a manual BSP build. In the last step of configuring the BSP, I ran this command:<br>
>> ><br>
>> > ./waf configure --prefix=$HOME/quick-start/rtems/5<br>
>> ><br>
>> Are you working on rtems.git/master branch or /5 branch? Note that you<br>
>> need to be sure to use a consistent compiler toolchain based on the<br>
>> version of RTEMS that you use.<br>
>><br>
>> In rtems/5 branch we don't have waf support integrated yet. The<br>
>> upgrade to waf is happening currently on the master branch, which will<br>
>> eventually become the RTEMS version 6 release.<br>
>><br>
>> For GSoC students we expect development to happen on the development<br>
>> head and not a release, so please make sure that you have the<br>
>> toolchain built from rtems-source-builder.git/master and the rtems<br>
>> source tree from rtems.git/master.<br>
>><br>
>> > It didn't produce the expected output. I instead got:<br>
>> > bash: ./waf: No such file or directory<br>
>> > As a result I downloaded it with the command:<br>
>> > curl <a href="https://waf.io/waf-2.0.19" rel="noreferrer noreferrer" target="_blank">https://waf.io/waf-2.0.19</a> > waf<br>
>><br>
>> <a href="https://git.rtems.org/rtems/tree/waf" rel="noreferrer noreferrer" target="_blank">https://git.rtems.org/rtems/tree/waf</a><br>
>><br>
>> Currently, the waf-based build of rtems only supports "in tree"<br>
>> builds, which means you need to run waf from within the rtems.git/<br>
>> root of your source. This is a limitation of the waf build.<br>
>><br>
>> FWIW, waf build improvements could also fall under GSoC effort,<br>
>> although no one has written it up as a task yet. It would be mostly<br>
>> Python.<br>
>><br>
>> > I ran the last command to configure the BSP again but still did not get the expected output. I got this rather:<br>
>> > Waf: Run from a folder containing a 'wscript' file (or try -h for the generic options)<br>
>> > Please how do I fix this? What am I missing?<br>
>> > I have tried looking for solutions but to no avail.<br>
>> ><br>
>> Sometimes the solutions only exist inside other people's heads, so<br>
>> asking questions is encouraged.<br>
>><br>
>> > Thanks,<br>
>> > Ida.<br>
>> > _______________________________________________<br>
>> > users mailing list<br>
>> > <a href="mailto:users@rtems.org" rel="noreferrer" target="_blank">users@rtems.org</a><br>
>> > <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</blockquote></div>
</blockquote></div>