Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 661802 - app-shells/zsh-9999[doc] fails to build documentation
Summary: app-shells/zsh-9999[doc] fails to build documentation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal trivial
Assignee: Piotr Karbowski (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-07-22 13:05 UTC by Aidan Harris
Modified: 2022-07-04 23:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,211.38 KB, text/x-log)
2018-07-22 13:05 UTC, Aidan Harris
Details
zsh-9999_build-documentation.diff (zsh-9999_build-documentation.diff,384 bytes, patch)
2018-07-22 13:06 UTC, Aidan Harris
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aidan Harris 2018-07-22 13:05:43 UTC
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.
Comment 1 Aidan Harris 2018-07-22 13:06:29 UTC
Created attachment 540498 [details, diff]
zsh-9999_build-documentation.diff
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-07-24 13:25:26 UTC
Please do _not_ call emake in src_install(). That's what src_compile() is for.
Comment 3 Larry the Git Cow gentoo-dev 2022-07-04 23:24:14 UTC
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(-)