On Fri, Jul 31, 2015 at 1:57 AM, Daniel P. Berrange <berrange@redhat.com> wrote:
On Thu, Jul 30, 2015 at 12:07:36PM -0700, Jason Helfman wrote:
> On Mon, Jul 27, 2015 at 2:46 PM, Jason Helfman <jgh@freebsd.org> wrote:
>
> > Hello All,
> >
> > I am getting build failures on the latest build, and it is currently
> > blocking my commit of the update. Looks like xhtml, is a new build
> > requirement. I added it to the list of dependencies, however it is failing
> > to build within our build cluster.
> >
> >
> > http://meatwad.mouf.net/rubick/poudriere/data/93i386-jgh/2015-07-27_15h41m26s/logs/errors/libvirt-1.2.17.log
> > (also attached for historical purposes)
> >
> > I am able to get this to build locally, but trying to distinguish what is
> > different compared with a clean system.
> >
> > Here is the listing of files contained in the xhtml package:
> >
> > xhtml-1.0.20020801_4:
> >     /usr/local/share/xml/dtd/xhtml/catalog.xml
> >     /usr/local/share/xml/dtd/xhtml/xhtml-dcl.soc
> >     /usr/local/share/xml/dtd/xhtml/xhtml-lat1.ent
> >     /usr/local/share/xml/dtd/xhtml/xhtml-special.ent
> >     /usr/local/share/xml/dtd/xhtml/xhtml-symbol.ent
> >     /usr/local/share/xml/dtd/xhtml/xhtml.soc
> >     /usr/local/share/xml/dtd/xhtml/xhtml1-frameset.dtd
> >     /usr/local/share/xml/dtd/xhtml/xhtml1-strict.dtd
> >     /usr/local/share/xml/dtd/xhtml/xhtml1-transitional.dtd
> >     /usr/local/share/xml/dtd/xhtml/xhtml1.dcl
> >
> >
> Any ideas on fixing this failure?

gmake[2]: Entering directory '/wrkdirs/usr/ports/devel/libvirt/work/libvirt-1.2.17/docs'
Making all in schemas
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/libvirt/work/libvirt-1.2.17/docs/schemas'
gmake[3]: Nothing to be done for 'all'.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/libvirt/work/libvirt-1.2.17/docs/schemas'
gmake[3]: Entering directory '/wrkdirs/usr/ports/devel/libvirt/work/libvirt-1.2.17/docs'
missing XHTML1 DTD
missing XHTML1 DTD
missing XHTML1 DTD
cat: internals/oomtesting.html.tmp: No such file or directory
cat: internals/command.html.tmp: cat: internals/locking.html.tmp: Makefile:2385: recipe for target 'internals/oomtesting.html' failed
gmake[3]: *** [internals/oomtesting.html] Error 1
No such file or directory
gmake[3]: *** Waiting for unfinished jobs....
No such file or directory
Makefile:2385: recipe for target 'internals/command.html' failed
gmake[3]: *** [internals/command.html] Error 1
Makefile:2385: recipe for target 'internals/locking.html' failed
gmake[3]: *** [internals/locking.html] Error 1


What is odd here is that before doing the XHTML1 validation, we are supposed
to see messages about generating the XHTML files. eg

make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/mnt/1c5321f5-14d6-40a2-8ca1-dd61524c9576/berrange/src/virt/libvirt/docs/schemas'
make[1]: Entering directory '/mnt/1c5321f5-14d6-40a2-8ca1-dd61524c9576/berrange/src/virt/libvirt/docs'
Generating csharp.html.tmp
Validating csharp.html
Generating contact.html.tmp
Validating contact.html
Generating hacking.html.tmp
Validating hacking.html
Generating formatdomaincaps.html.tmp
Validating formatdomaincaps.html
Generating uri.html.tmp
Validating uri.html

This does the generation:

%.html.tmp: %.html.in site.xsl page.xsl sitemap.html.in $(acl_generated)
        @if [ -x $(XSLTPROC) ] ; then \
          echo "Generating $@"; \
          name=`echo $@ | sed -e 's/.tmp//'`; \
          $(XSLTPROC) --stringparam pagename $$name --nonet \
            $(top_srcdir)/docs/site.xsl $< > $@ \
            || { rm $@ && exit 1; }; fi


So since you don't see the 'Generating' messages AFAICT the only thing
that can be wrong is for xsltproc command to be missing or not marked
as executable.

Regards,
Daniel
--
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


That was it! Thanks for the support, Daniel. I added it as a build dependency.
Perhaps this could be added to the notes and/or spec file, unless I overlooked it.

Thanks, again.
Jason

--
Jason Helfman          | FreeBSD Committer
jgh@FreeBSD.org     | http://people.freebsd.org/~jgh  | The Power to Serve