When compiling dev-util/rapidsvn, I get the following error: creating rapidsvn make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/src' make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/src' Making all in doc make[1]: Entering directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/doc' cd .. && /bin/sh ./config.status doc/Makefile config.status: creating doc/Makefile make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/doc' make[1]: Entering directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/doc' Making all in manpage make[2]: Entering directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/doc/manpage' make[2]: *** No rule to make target `all'. Stop. make[2]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/doc/manpage' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/rapidsvn-0.9.0/work/rapidsvn-0.9.0/doc' make: *** [all-recursive] Error 1 !!! ERROR: dev-util/rapidsvn-0.9.0 failed. !!! Function src_compile, Line 62, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ... there is indeed no Makefile in doc/manpage Reproducible: Always Steps to Reproduce:
I think this is related to the fact that I have the "doc" use flag unset. configure.in includes the following code: AC_OUTPUT(Makefile \ doc/Makefile \ include/Makefile \ include/svncpp/Makefile \ src/Makefile \ src/svncpp/Makefile \ src/res/Makefile) if test "$DOCBOOK_XSL" ; then AC_OUTPUT(doc/manpage/Makefile) fi ... which only creates a Makefile in manpage if you're using docbook (which I'm not)... but when you make all in doc -- which it does regardless -- it recurses into doc/manpage, and doesn't find a Makefile, and dies. Is this a clear bugreport? Are there better ways to say these things?
Looks like it's already reported upstream: http://rapidsvn.tigris.org/issues/show_bug.cgi?id=333
Created attachment 72583 [details, diff] Patch file that encompasses upstream revisions to fix this bug
Created attachment 72584 [details] rapidsvn-0.9.0-r1.ebuild Updated ebuild that uses the patch and also adds a "libtoolize --copy --force" line, which seems to be necessitated by the patch.
(needless to say, I haven't tried this ebuild / patch with the "doc" flag set.)
Try the (slightly modified) 0.9.0-r1 and see if it works for you; it works both ways for me.