Matteo Concas created an issue: 
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/92



## Summary
Running waf on Python 3.12 will give warnings about invalid escape sequences:
```bash
$ python3 --version
Python 3.12.3
$ ./waf -p configure --prefix=/opt/rtems/7 --rtems-bsps=sparc/gr740
/home/matteo/dev/rtems-libbsd/rtems_waf/rtems.py:588: SyntaxWarning: invalid 
escape sequence '\.'
  tar_rule = "tar -cf ${TGT} --format=ustar -C ../.. $(echo "${SRC}" | sed -e 
\'s/\.\.\/\.\.\///g\')"
/home/matteo/dev/rtems-libbsd/rtems_waf/pkgconfig.py:70: SyntaxWarning: invalid 
escape sequence '\$'
  mre = re.compile('\$\{[^\}]+\}')
/home/matteo/dev/rtems-libbsd/builder.py:549: SyntaxWarning: invalid escape 
sequence '\/'
  for c in '\/-.':
/home/matteo/dev/rtems-libbsd/waf_libbsd.py:371: SyntaxWarning: invalid escape 
sequence '\:'
  transpose = [(':', '\:'), ('/', '\/')]
/home/matteo/dev/rtems-libbsd/waf_libbsd.py:371: SyntaxWarning: invalid escape 
sequence '\/'
  transpose = [(':', '\:'), ('/', '\/')]
```


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

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/92
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