New comment by pullmoll on void-packages repository https://github.com/void-linux/void-packages/issues/28103#issuecomment-765561102 Comment: This type of issue has bitten me not too long ago as well. The `(error 19)` is the only indication that there is indeed a cyclic dependency and we need to identify and eliminate it. Edit: I'm confused: just tried with my locally built repository and there I can build libevent w/o error. Edit2: The first thing I did to get `armv5tel-musl` built is to cross build the `base-chroot` package. Perhaps you can try that and then build with `-N` option to use your local repository's `arm5tel-musl` packages.