As a follow-up to the Gentoo compilation issues, I successfully
installed Lilypond 2.5.2 with documentation after upgrading imagemagick
to latest and re-installing ec-fonts-mftraced. This is on the x86
platform; further issues may exist on other platforms.