Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 112081

Summary: dev-util/rapidsvn-0.9.0 doesn't compile (possible upstream)
Product: Gentoo Linux Reporter: Dan Check <check>
Component: [OLD] DevelopmentAssignee: Steve Arnold <nerdboy>
Status: RESOLVED FIXED    
Severity: normal CC: rak088+gentoobugzilla
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch file that encompasses upstream revisions to fix this bug
rapidsvn-0.9.0-r1.ebuild

Description Dan Check 2005-11-10 07:34:35 UTC
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:
Comment 1 Dan Check 2005-11-10 07:58:24 UTC
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?
Comment 2 Dan Check 2005-11-10 08:01:05 UTC
Looks like it's already reported upstream:

http://rapidsvn.tigris.org/issues/show_bug.cgi?id=333
Comment 3 Dan Check 2005-11-10 08:51:42 UTC
Created attachment 72583 [details, diff]
Patch file that encompasses upstream revisions to fix this bug
Comment 4 Dan Check 2005-11-10 08:52:57 UTC
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.
Comment 5 Dan Check 2005-11-10 08:55:06 UTC
(needless to say, I haven't tried this ebuild / patch with the "doc" flag set.)
Comment 6 Steve Arnold archtester gentoo-dev 2005-11-27 12:34:45 UTC
Try the (slightly modified) 0.9.0-r1 and see if it works for you; it works both 
ways for me.