There's a merged pull request on the void-packages repository hooks/do-extract: refrain from extracting text files outside wrksrc https://github.com/void-linux/void-packages/pull/19053 Description: For leaving buildir clean. Solves #18190. One downside is that -p1 patches are needed now.