Make.rules fails to generate cap_names.h and af_names.h
This is kind of a weird one.
I'm from Solus and we are in the middle of our Python 3.7 upgrade and happened upon a bizarre bug while rebuilding AppArmor. The current Make.rules escapes # when calling out to shell to populate the CAPABILITIES and AF_NAMES variables used to generate cap_names.h and af_names.h. If I remove the escape (\# --> #) everything builds correctly.
See: rules.patch
Relevant software versions:
- AppArmor 2.13.3
- Bash 5.0.11
- gcc 9.2.0
- Make 4.3
- sed 4.8