Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 675574 - dev-lang/swi-prolog USE="doc -archive" - make[2]: *** No rule to make target '../man/archive', needed by 'man/lib/prologpack.tex'. Stop.
Summary: dev-lang/swi-prolog USE="doc -archive" - make[2]: *** No rule to make target ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prolog project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-16 12:16 UTC by Victor Mataré
Modified: 2019-08-02 09:13 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2019-01-16 12:16:13 UTC
If only the doc useflag is set, but not archive, then the build fails during doc generation:

[...]

[ 74%] Generating lib/pureinput.tex
cd /var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/build/man && ../src/swipl -x /var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/build/man/pldoc2tex -- --source=/var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/man --summaries --out=lib/pureinput.tex --subsection 'library(pure_input)'
[ 74%] Generating lib/explain.tex
cd /var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/build/man && ../src/swipl -x /var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/build/man/pldoc2tex -- --source=/var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/man --summaries --out=lib/explain.tex --subsection 'library(explain)'
make[2]: *** No rule to make target '../man/archive', needed by 'man/lib/prologpack.tex'.  Stop.
make[2]: Leaving directory '/var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/build'
make[1]: *** [CMakeFiles/Makefile2:1552: man/CMakeFiles/core.doc.html.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-lang/swi-prolog-8.0.0/work/swipl-8.0.0/build'
make: *** [Makefile:163: all] Error 2
Comment 1 Keri Harris gentoo-dev 2019-08-02 09:13:31 UTC
This has been fixed in git for a while now. Thanks for reporting this bug.