You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Summers <da...@summersoft.fay.ar.us> on 2003/12/25 20:33:07 UTC

Question on RedHat RPM documentation build

All the tests passed on my new build of subversion 0.35.1 for RedHat RPMs
but now I'm getting the following when trying to build the documentation:

===============================================================================
+ make SVNVERSION=8063 XSL_DIR=/usr/share/sgml/docbook/xsl-stylesheets 
all-html
make[1]: Entering directory 
`/home/david/rpms/build/subversion-0.35.1/doc/book'
echo '<!ENTITY svn.version "Draft Revision '`echo 8063`'">' > 
./book/version.xml;
xsltproc  \
           --output ./book/book.html ./tools/html-stylesheet.xsl 
./book/book.xmlwarning: failed to load external entity 
"tools/xsl/html/docbook.xsl"
compilation error: file ./tools/html-stylesheet.xsl line 3 element import
xsl:import : unable to load tools/xsl/html/docbook.xsl
make[1]: *** [book/book.html] Error 5
make[1]: Leaving directory 
`/home/david/rpms/build/subversion-0.35.1/doc/book'
+ cp -r doc/book/book/html-chunk book
cp: cannot stat `doc/book/book/html-chunk': No such file or directory
error: Bad exit status from /home/david/rpms/tmp/rpm-tmp.79928 (%install)
===============================================================================

Is anyone else seeing something similar?

I don't find a docbook.xsl now in the subversion doc directories.  Should 
that be changed to html-stylesheet.xsl or one of the other xsl files in 
those directories or am I doing something wrong?  (This is my first try
at compiling subversion since 0.32.1 so something else might have changed,
but I'm looking through the log files and the only thing that looks like 
it might be affecting it since 0.32.1 is r7740.)

Any pointers, suggestions, ideas, etc., gratefully accepted.

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Question on RedHat RPM documentation build

Posted by David Summers <da...@summersoft.fay.ar.us>.
On Thu, 25 Dec 2003, Ben Reser wrote:

> Yes it's a bug in the way the docs are built.  
> 
> I pointed the problem out in this email:
> http://marc.theaimsgroup.com/?l=subversion-dev&m=107112162701634&w=2
> 
> This is the workaround I'm using in my spec file for Mandrake:
> 
> %{__perl} -pi -e 's#href="xsl/(html/docbook.xsl)"#href="%{_datadir}/sgml/docbook/xsl-stylesheets/$1"#;' tools/html-stylesheet.xsl
> %{__perl} -pi -e 's#href="xsl/(html/chunk.xsl)"#href="%{_datadir}/sgml/docbook/xsl-stylesheets/$1"#;' tools/chunk-stylesheet.xsl
> 
> Ugly but it works.

Excellant!  Thanks!  That did the trick!

Now to clean up a couple of loose-ends and in a few hours I should have 
those RedHat RPMs.

-- 
David Wayne Summers          "Linux: Because reboots are for hardware upgrades!"
david@summersoft.fay.ar.us   PGP Key: http://summersoft.fay.ar.us/~david/pgp.txt
PGP Key fingerprint =  C0 E0 4F 50 DD A9 B6 2B  60 A1 31 7E D2 28 6D A8 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: Question on RedHat RPM documentation build

Posted by Ben Reser <be...@reser.org>.
On Thu, Dec 25, 2003 at 02:33:07PM -0600, David Summers wrote:
> Is anyone else seeing something similar?
> 
> I don't find a docbook.xsl now in the subversion doc directories.  Should 
> that be changed to html-stylesheet.xsl or one of the other xsl files in 
> those directories or am I doing something wrong?  (This is my first try
> at compiling subversion since 0.32.1 so something else might have changed,
> but I'm looking through the log files and the only thing that looks like 
> it might be affecting it since 0.32.1 is r7740.)
> 
> Any pointers, suggestions, ideas, etc., gratefully accepted.

Yes it's a bug in the way the docs are built.  

I pointed the problem out in this email:
http://marc.theaimsgroup.com/?l=subversion-dev&m=107112162701634&w=2

This is the workaround I'm using in my spec file for Mandrake:

%{__perl} -pi -e 's#href="xsl/(html/docbook.xsl)"#href="%{_datadir}/sgml/docbook/xsl-stylesheets/$1"#;' tools/html-stylesheet.xsl
%{__perl} -pi -e 's#href="xsl/(html/chunk.xsl)"#href="%{_datadir}/sgml/docbook/xsl-stylesheets/$1"#;' tools/chunk-stylesheet.xsl

Ugly but it works.

-- 
Ben Reser <be...@reser.org>
http://ben.reser.org

"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org