Waf + gccdeps on Mingw64/MSYS2?

Chris Johns chrisj at rtems.org
Mon Dec 2 00:10:21 UTC 2019


On 28/11/19 5:55 pm, Sebastian Huber wrote:
> Hello,
> 
> I encountered this error on a Mingw64 and MSYS2 system:
> 
> Waf: Leaving directory `/c/rtems/home/rtems-5/build/powerpc/qoriq_e6500_32'
> Build failed
> Traceback (most recent call last):
>   File
> "/c/rtems/home/rtems-5/.waf3-2.0.18-96675f149f50dab16c9e2e6aaf5e787b/waflib/Task.py",
> line 190, in process
>     self.post_run()
>   File "/c/rtems/home/rtems-5/gccdeps.py", line 144, in post_run
>     raise ValueError('could not find %r for %r' % (x, self))
> ValueError: could not find
> 'c:\\rtems\\home\\rtems-5\\bsps\\shared\\dev\\clock\\clockimpl.h' for
>         {task 7696547476648: c clock-config.c -> clock-config.c.13.o}

Tried to build sparc/erc32 on Windows MSYS2 using the eng.pdf quick start guide
and the build locked up with ...

[1706/4038] Compiling build/sparc/erc32/testsuites/libtests/dl06/dl06-pre.exe
[1707/4038] Compiling build/sparc/erc32/testsuites/libtests/dl07/dl07-pre.exe
[1708/4038] Compiling build/sparc/erc32/testsuites/libtests/dl08/dl08-pre.exe
[1709/4038] Compiling build/sparc/erc32/testsuites/libtests/dl09/dl09-pre.exe
[1710/4038] Compiling build/sparc/erc32/testsuites/libtests/dl10/dl10-pre.exe
Unhandled exception in thread started by <bound method Thread._bootstrap of
<Consumer(Thread-1712, started daemon 25777509536)>>
Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 522, in set
    self._cond.notify_all()
  File "/usr/lib/python3.7/threading.py", line 365, in notify_all
    self.notify(len(self._waiters))
  File "/usr/lib/python3.7/threading.py", line 346, in notify
    raise RuntimeError("cannot notify on un-acquired lock")
RuntimeError: cannot notify on un-acquired lock

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.7/threading.py", line 890, in _bootstrap
    self._bootstrap_inner()
  File "/usr/lib/python3.7/threading.py", line 915, in _bootstrap_inner
    self._started.set()
  File "/usr/lib/python3.7/threading.py", line 522, in set
    self._cond.notify_all()
  File "/usr/lib/python3.7/threading.py", line 244, in __exit__
    return self._lock.__exit__(*args)
RuntimeError: release unlocked lock


Chris


More information about the devel mailing list