Joel Sherrill created an issue: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5508



## Summary

This is an error that I get occasionally and learned how to resolve without 
worrying about the underlying cause. The error from _waf configure_ in 
rtems.git is:

```
Traceback (most recent call last):
  File "/home/joel/rtems-work/rtems/./waf", line 171, in <module>
    from waflib import Scripting
ImportError: cannot import name 'Scripting' from 'waflib' (unknown location)
```

In the top rtems directory, there is a waf created directory:

```
$ ls -al .waf3-2.1.4-72787ce48f227ac42c4b0da24e780694/
total 104
drwxr-xr-x  3 joel joel  4096 Mar  2 09:51 .
drwxr-xr-x 26 joel joel 94208 Mar  2 09:51 ..
drwxr-xr-x  3 joel joel  4096 Mar  2 09:51 waflib
```

In case there is some useful information in the .waflib directory, I have 
uploaded the directory as 
[waflib.tar.bz2](/uploads/aef3588ccec8a67024a32c1a0267a291/waflib.tar.bz2)


## Steps to reproduce

I have no idea how to reproduce this but removing the .waf directory fixes the 
error.

<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5508
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to