RTEMS examples build failed

Sebastian Huber sebastian.huber at embedded-brains.de
Sun Apr 19 14:46:40 UTC 2020


On 19/04/2020 15:38, Gedare Bloom wrote:

> On Sun, Apr 19, 2020 at 3:52 AM Vijay Kumar Banerjee<vijay at rtems.org>  wrote:
>> Hi,
>>
>> While trying to build the examples with a fresh pull from upstream,
>> I got the following build error from gccdeps:
>>
>> ```
>> Build failed
>> Traceback (most recent call last):
>>    File "/home/lunatic/development/rtems-examples/.waf-2.0.19-1f3c580272b15a03d2566843c5fe872a/waflib/Task.py", line 190, in process
>>      self.post_run()
>>    File "/home/lunatic/development/rtems-examples/rtems_waf/gccdeps.py", line 144, in post_run
>>      raise ValueError('could not find %r for %r' % (x, self))
>> ValueError: could not find ['filesystem', 'fat_ramdisk', 'fs-root-tar.h'] for
> It's doing an error check to find the build dependency fs-root-tar.h,
> which gets generated in the build directory by bin2c. This has always
> been tricky to handle in waf. I don't grok the way Chris reworked the
> rootfs support in the example so I don't immediately see the root
> (hah) problem or how to try to fix it.

I struggled with this stuff also in the new build system. waf is pretty 
nice, once you figured out how something works, but at least for me it 
was always very hard to figure out solutions. I can write Makefiles a 
hundred times faster. Maybe this helps:

https://git.rtems.org/sebh/rtems.git/tree/wscript?h=build#n410

https://git.rtems.org/sebh/rtems.git/tree/spec/build/testsuites/libtests/RTEMS-BUILD-TEST-LIB-TAR01.yml?h=build

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200419/c0aebde4/attachment.html>


More information about the devel mailing list