Created attachment 487770 [details] build.log related to #447688 Basically the fix for the above bug breaks mtools on musl. Removing the `use elibc_glibc || append-libs iconv` line in mtools-4.0.18-r2.ebuild allows it to build. Unsure of how one should handle this case, so I will not be providing a patch in this situation.
Created attachment 487772 [details] config.log
https://github.com/gentoo/gentoo/pull/5394 This PR should fix the issue.
Thanks for the report & PR, fixed via https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732bf88e235195795c460388e03bf276e164409b