Trouble building release with docs

Warren Block wblock at wonkity.com
Sat Jul 20 13:17:34 UTC 2013


On Sat, 20 Jul 2013, Daniel O'Connor wrote:

> Hi,
> I am trying to do a full (customised) release of 9.1 but I am having trouble building the docs. If I use NODOC it builds fine, but without that I get..
> [andenes 7:04] /usr/src/release #/usr/bin/time make release BUILDNAME=$BUILDNAME
> make -C /usr/src/release  BUILDNAME=9.1-GENESIS obj
> make -C /usr/src/release  BUILDNAME=9.1-GENESIS ftp cdrom memstick
> cd /usr/src/release/doc && make all install clean 'FORMATS=html txt'  INSTALL_COMPRESSED='' URLS_ABSOLUTE=YES DOCDIR=/usr/obj/usr/src/release/rdoc
> ===> en_US.ISO8859-1 (all)
> ===> en_US.ISO8859-1/relnotes (all)
> /usr/bin/grep '^<?xml version=.*?>' article.xml > article.parsed.xml.tmp
> grep: article.xml: No such file or directory
> *** [article.parsed.xml] Error code 2
>
> Stop in /usr/src/release/doc/en_US.ISO8859-1/relnotes.
> *** [all] Error code 1
>
> Stop in /usr/src/release/doc/en_US.ISO8859-1.
> *** [all] Error code 1
>
> Stop in /usr/src/release/doc.
> *** [reldoc] Error code 1
>
> Stop in /usr/src/release.
> *** [release] Error code 1
>
> Stop in /usr/src/release.
>        0.48 real         0.37 user         0.10 sys
>
> There is article.sgml though.. I have installed textproc/docproj and I can build /usr/docs fine.

What does svn say about that file?

   % cd /usr/src/release/doc/en_US.ISO8859-1/relnotes/
   % svn stat

The article.sgml suggests a leftover file from an earlier /usr/src that 
was not removed before svn checkout.  That does not explain why 
article.xml is missing, though.  It is present on my 9-stable and 
8-stable checkouts.  Maybe a mixed or partial checkout?


More information about the freebsd-doc mailing list