New comment by pablomancera on void-packages repository https://github.com/void-linux/void-packages/pull/46079#issuecomment-1732124482 Comment: The idea of the line `env -i bash -c "source /etc/profile && cargo xtask generate-manpage"` is that the void build servers (which I think are x86_64) generates the man page using the packages native to their architecture and bundle them in the package for every other architecture. It's the solution I came up with after the review I got at #44899 so every architecture can get the man pages. I'm not entirely sure it's the best though, but it worked in my tests (local building for x86_64 and cross building for aarch64). If there is a better way of doing this I would like to hear it. On the other hand, if anyone wants to build the package on an architecture limited by the pandoc package, they can disable the docs build option and it'll be fine. That's the reason I added a docs build option.