app-text/asciidoc-7.0.4 is not enough because the a2x program is not included there. Without the appropriate asciidoc version installed ghh always fails with: Making install in doc make[1]: Entering directory `/var/tmp/portage/dev-util/ghh-9999/work/ghh-9999/doc' f manpage git-home-history.txt make[1]: f: Command not found make[1]: [git-home-history.1] Error 127 (ignored) make[2]: Entering directory `/var/tmp/portage/dev-util/ghh-9999/work/ghh-9999/doc' make[2]: Nothing to be done for `install-exec-am'. f manpage git-home-history.txt make[2]: f: Command not found make[2]: [git-home-history.1] Error 127 (ignored) test -z "/usr/share/man/man1" || /bin/mkdir -p "/var/tmp/portage/dev-util/ghh-9999/image//usr/share/man/man1" /usr/bin/install -c -m 644 'git-home-history.1' '/var/tmp/portage/dev-util/ghh-9999/image//usr/share/man/man1/git-home-history.1' /usr/bin/install: cannot stat `git-home-history.1': No such file or directory make[2]: *** [install-man1] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-util/ghh-9999/work/ghh-9999/doc' Reproducible: Always Steps to Reproduce: 1. emerge --unmerge asciidoc 2. emerge ghh 3. Actual Results: emerge will fail Expected Results: emerge should succeed or at least inform you that a dependency can't be installed (as app-text/asciidoc-8.2.6 is ~KEYWORDED).
http://sources.gentoo.org/dev-util/ghh/ghh-9999.ebuild?r1=1.1&r2=1.2
Unfortunately this still doesn't fix the issue completely. app-text/asciidoc-7.0.2 is the only asciidoc ebuild marked stable, but it doesn't install the a2x binary that ghh needs. Changing the DEPEND atom to ">=app-text/asciidoc-8.1.0" fixed that problem for me. (8.1.0 is the lowest version in the portage tree that builds the a2x binary)
not that mixing unkeyworded and stable is safe anyways, but fixed in the tree