<div dir="ltr"><div><div><div>Yes that is the prefix. The rtems.h file is definitely located at the location in the warning and it works on older commit of rtems_waf (where gccdeps.py is not used).<br>I briefly looked through the gccdeps.py file and it is doing some string stripping operations. <br></div>Maybe that is the issue but I am not sure.<br><br></div>Kind Regards<br></div>Robin<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 29 Apr 2021 at 18:00, Gedare Bloom <<a href="mailto:gedare@rtems.org">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, Apr 29, 2021 at 9:59 AM Gedare Bloom <<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>> wrote:<br>
><br>
> On Thu, Apr 29, 2021 at 3:14 AM Robin Müller <<a href="mailto:robin.mueller.m@gmail.com" target="_blank">robin.mueller.m@gmail.com</a>> wrote:<br>
> ><br>
> > I replaced the file in rtems_waf manually but it still throws the same error:<br>
> ><br>
> > [1/2] Compiling build/conf_check_995d7bdd1834199278843e9a51c37759/test.c<br>
> ><br>
> > ['C:/Users/Robin/Documents/RTEMS/rtems-tools/rtems/6/bin/sparc-rtems6-gcc.exe', '-mcpu=cypress', '-IC:/Users/Robin/Documents/RTEMS/rtems-tools/rtems/6/sparc-rtems6/erc32/lib/include', '-MMD', '../test.c', '-c', '-oC:/Users/Robin/Documents/RTEMS/quickstart/build/conf_check_995d7bdd1834199278843e9a51c37759/testbuild/test.c.1.o']<br>
> > from C:/Users/Robin/Documents/RTEMS/quickstart: Test does not build: Traceback (most recent call last):<br>
> >   File "C:/Users/Robin/Documents/RTEMS/quickstart/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Configure.py", line 335, in run_build<br>
> >     bld.compile()<br>
> >   File "C:/Users/Robin/Documents/RTEMS/quickstart/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Build.py", line 176, in compile<br>
> >     raise Errors.BuildError(self.producer.error)<br>
> > waflib.Errors.BuildError: Build failed<br>
> > Traceback (most recent call last):<br>
> >   File "C:/Users/Robin/Documents/RTEMS/quickstart/waf3-2.0.22-1241519b19b496207abef1f72bbf61c2/waflib/Task.py", line 190, in process<br>
> >     self.post_run()<br>
> >   File "C:/Users/Robin/Documents/RTEMS/quickstart/rtems_waf/gccdeps.py", line 140, in post_run<br>
> >     raise ValueError('could not find %r for %r' % (path, self))<br>
> > ValueError: could not find ['C', ':', 'Users', 'Robin', 'Documents', 'RTEMS', 'rtems-tools', 'rtems', '6', 'sparc-rtems6', 'erc32', 'lib', 'include', 'rtems.h'] for<br>
> > {task 2179590063376: c test.c -> test.c.1.o}<br>
> ><br>
> It's looking for rtems.h in your rtems-tools directory and not in your<br>
> prefix. how did you configure waf?<br>
><br>
Sorry, I should also ask, did you install rtems at<br>
C:\Users\Robin\Documents\RTEMS\rtems-tools/6<br>
<br>
> ><br>
> > no<br>
> > from C:/Users/Robin/Documents/RTEMS/quickstart: The configuration failed<br>
> ><br>
> > Kind Regards<br>
> > Robin<br>
> ><br>
> > On Wed, 28 Apr 2021 at 22:35, Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>> wrote:<br>
> >><br>
> >> On 28/4/21 7:59 pm, Robin Müller wrote:<br>
> >> > I think the following commit in rtems_waf breaks the waf build on Windows 10:<br>
> >> ><br>
> >> > commit 096372fc4504730e50b51b952ce47ca603b35f01<br>
> >> > Author: Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>><br>
> >> > Date:   Thu Oct 10 17:43:11 2019 +1100<br>
> >> ><br>
> >> >     Use gccdeps for dependency scanning.<br>
> >> ><br>
> >> > I get the error that RTEMS is not able to find the rtems.h file in a certain<br>
> >> > directory when building the simple quick start application. The error does not<br>
> >> > occur on commits before that. I tried to run waf both in the WIndows CMD and in<br>
> >> > MinGW64, it is problematic for both.<br>
> >><br>
> >> Could you please update your local version with ...<br>
> >><br>
> >> <a href="https://gitlab.com/ita1024/waf/-/blob/master/waflib/extras/gccdeps.py" rel="noreferrer" target="_blank">https://gitlab.com/ita1024/waf/-/blob/master/waflib/extras/gccdeps.py</a><br>
> >><br>
> >> ... and report back how that goes?<br>
> >><br>
> >> Thanks<br>
> >> Chris<br>
> ><br>
> > _______________________________________________<br>
> > devel mailing list<br>
> > <a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
</blockquote></div>