New comment by Chocimier on void-packages repository https://github.com/void-linux/void-packages/pull/31512#issuecomment-872512326 Comment: Well. Cross build fails because default build target generate keys with just-compiled binary. Keys shouldn't be generated build-time, disable with @@ -55,6 +53,11 @@ pre_configure() { ./bootstrap } +post_configure() { + vsed -i keygen/Makefile -e 's@./xrdp-keygen@:@' + vsed -i keygen/Makefile -e 's@$(OPENSSL)@:@' +} + post_install() { vsv xrdp vsv xrdp-sesman Musl build fails because of wrong --build target passed. Pass none, build style gets that right. Build of test need check-devel in checkdepends. xorgxrdp should be build for all archs. depends= are filled automatically, see 04-generate-runtime-deps in build log.