Created attachment 540496 [details] build.log emerge fails with "No such file or directory 'Doc/zsh.dvi'" The build log seems to indicate it built the documentation but there's no sign of the generated dvi file. Running `emake Doc pdf dvi` in the src_install function seems to solve things.
Created attachment 540498 [details, diff] zsh-9999_build-documentation.diff
Please do _not_ call emake in src_install(). That's what src_compile() is for.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a38cc9e5a1c3263d46a419eabda387e020ac54eb commit a38cc9e5a1c3263d46a419eabda387e020ac54eb Author: Thomas Bracht Laumann Jespersen <t@laumann.xyz> AuthorDate: 2022-07-04 14:38:46 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-04 23:22:58 +0000 app-shells/zsh: fix docs building on live ebuild Original proposed patch was provided in the docs, but adjusted to generate docs in src_compile instead of src_install. Closes: https://bugs.gentoo.org/661802 Co-authored-by: Aidan Harris <me@aidanharr.is> Signed-off-by: Thomas Bracht Laumann Jespersen <t@laumann.xyz> Closes: https://github.com/gentoo/gentoo/pull/26220 Signed-off-by: Sam James <sam@gentoo.org> app-shells/zsh/zsh-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)