If USE=doc is specified, building ledger requires the texinfo macros. These used to be provided in the dev-texlive/texlive-texinfo packages, but are now provided by the dev-texlive/texlive-plainextra package. texlive-texinfo and texlive-plainextra packages are mutually exclusive. The following change worked for me: --- ledger-3.1.1.ebuild 2016-10-20 23:26:38.000000000 -0300 +++ ledger-3.1.1-r1.ebuild 2016-12-04 22:33:03.051141720 -0400 @@ -37,7 +37,7 @@ dev-libs/utfcpp doc? ( sys-apps/texinfo - dev-texlive/texlive-texinfo + || ( >=dev-texlive/texlive-plainextra-2013 dev-texlive/texlive-texinfo ) ) " and allowed the unmerging of texlive-texinfo. Not sure if there is any reason to mention dev-texlive/texlive-texinfo as an alternate dependency, but it does work. Please update the ebuild.
Good catch. I've pushed this change in 8e72c0a0fe170cc50ba6b0c939552935151eef92 ...also I added a dep on texlive-fontsrecommended which may not otherwise be pulled in.