confirmed with 4.9 and 4.11 kernels can't compile it with dash patch available, please backport to all the kernels and all the variants
Created attachment 477736 [details, diff] make apparmor/Makefile POSIX friendly
any hope to see this patch in pre 4.13 kernels?
sorry, I was referring to the variants, like rt
I would suggest a different bug as the maintainers are different people and probably aren't aware of this bug.
This is complete for gentoo-sources.