the output of emerge -pv seamonkey on a musl profile Calculating dependencies... done! [ebuild N ] sys-devel/pmake-1.111.3.3::gentoo 290 KiB [ebuild N ] virtual/pmake-0::gentoo 0 KiB [ebuild N ~] sys-freebsd/freebsd-mk-defs-11.0::gentoo USE="-profile" 136966 KiB [ebuild N *] dev-libs/libexecinfo-1.1::gentoo USE="-profile" 5 KiB [ebuild N ] www-client/seamonkey-2.46-r1::gentoo USE="chatzilla crypt dbus ipc jemalloc jit minimal skia system-harfbuzz system-icu system-jpeg (system-libevent) system-libvpx system-sqlite -calendar -custom-cflags -custom-optimization -debug -gmp-autoupdate -gtk3 (-neon) -pulseaudio -roaming (-selinux) -startup-notification (-system-cairo) {-test} -wifi" L10N="de -be -ca -cs -en-GB -es-AR -es-ES -fi -fr -gl -hu -it -ja -lt -nb -nl -pl -pt-PT -ru -sk -sv -tr -uk -zh-CN -zh-TW" 0 KiB It seems as if the ebuild is designed to pull in those for versions of elibc_ with the exception of elibc_glibc and elibc_uclibc. My guess is that adding elibc_musl in the list of exceptions will solve this problem. For sure it is not needed at compile time.
Created attachment 463722 [details, diff] small patch for the ebuild to fix this this patch should be working I guess
Created attachment 464396 [details, diff] updated patch for in tree ebuild fixed a typo, should be good to commit
Unlike glibc and uclibc, musl does not have execinfo. So if seamonkey builds on musl without execinfo.h, it will likely do so on all other systems as well (possibly at the expense of functionality). Please try building seamonkey without libexexinfo, and attach the resulting build log.
It builds just fine without libexecinfo, pmake and the likes I listed in the first posting, as they get pulled in for no reason by the ebuild. The bug can be solved be inheriting eclibc_musl into the list of exceptions as I tried to demonstrate with the patch for the ebuild.
Author: Lars Wendler <polynomial-c@gentoo.org> Date: Tue Feb 21 14:14:55 2017 www-client/seamonkey: no dev-libs/libexecinfo on musl (bug #609348). Package-Manager: Portage-2.3.3, Repoman-2.3.1