Bug 29621

Summary: [regression] build failure in xserver
Product: xorg Reporter: David Ronis <David.Ronis>
Component: Server/GeneralAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED NOTOURBUG QA Contact: Xorg Project Team <xorg-team>
Severity: critical    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description David Ronis 2010-08-17 12:47:07 UTC
The xserver build (git/master) has been failing for a week or so.  Here's the log:


make[4]: Entering directory `/home/ronis/Project/notar/X/xserver/doc/xml/dtrace'
/usr/bin/xmlto --searchpath /home/ronis/Project/notar/X/xserver/doc/xml  txt Xserver-DTrace.xml
xmlto: /home/ronis/Project/notar/X/xserver/doc/xml/dtrace/Xserver-DTrace.xml does not validate (status 3)
xmlto: Fix document syntax or use --skip-validation option
/home/ronis/Project/notar/X/xserver/doc/xml/dtrace/Xserver-DTrace.xml:4: warning: failed to load external entity "/xserver/doc/xml/xserver.ent"
 <!ENTITY % defs SYSTEM "/xserver/doc/xml/xserver.ent"> %defs;
                                                              ^
Entity: line 1: 
 %defs; 
       ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
/home/ronis/Project/notar/X/xserver/doc/xml/dtrace/Xserver-DTrace.xml:5: warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
]>
  ^
/home/ronis/Project/notar/X/xserver/doc/xml/dtrace/Xserver-DTrace.xml:17: parser error : Entity 'xserver.version' not defined
    <releaseinfo>X.Org Xserver version &xserver.version;</releaseinfo>
                                                        ^
I/O error : Attempt to load network entity http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd
warning: failed to load external entity "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
validity error : Could not load the external subset "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
Document /home/ronis/Project/notar/X/xserver/doc/xml/dtrace/Xserver-DTrace.xml does not validate
make[4]: *** [Xserver-DTrace.txt] Error 13
Comment 1 Julien Cristau 2010-08-18 03:09:28 UTC
I guess you need to install the relevant dtds or disable building these docs?
Comment 2 David Ronis 2010-08-18 07:25:23 UTC
Hmm...   Disabling this is an acceptable option, but isn't the problem due to loading some "external" entity, i.e., over the internet?  In addition, according to "configure --help" we have:

 --enable-builddocs      Build docs (default: disabled)
 --enable-devel-docs    Enable building the developer documentation
                          (default: yes)
  --with-xmlto            Use xmlto to regenerate documentation (default: yes,
                          if installed)
  

So, is why are they being built in the first place due to the 2nd or 3rd options?
Should both be set to no?

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.