<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>996</bug_id>
          
          <creation_ts>2011-04-18 23:47:59 +0000</creation_ts>
          <short_desc>gnome-doc-utils: do_compile failed</short_desc>
          <delta_ts>2011-05-12 18:53:50 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Scott helped to make a fix (05/May/2011)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dexuan Cui">dexuan.cui</reporter>
          <assigned_to name="Dexuan Cui">dexuan.cui</assigned_to>
          <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>scott.a.garman</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>13352</commentid>
    <comment_count>0</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-18 23:47:59 +0000</bug_when>
    <thetext>http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/96/steps/shell_19/logs/stdio

| xsltproc -o gnome-doc-xslt-de.omf --stringparam db2omf.basename gnome-doc-xslt --stringparam db2omf.format &apos;docbook&apos; --stringparam db2omf.dtd &quot;-//OASIS//DTD DocBook XML V4.4//EN&quot; --stringparam db2omf.lang de --stringparam db2omf.omf_dir &quot;/usr/share/omf&quot; --stringparam db2omf.help_dir &quot;/usr/share/gnome/help&quot; --stringparam db2omf.omf_in &quot;/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/armv7a-poky-linux-gnueabi/gnome-doc-utils-0.20.5-r0/gnome-doc-utils-0.20.5/doc/xslt/gnome-doc-xslt.omf.in&quot;  ../../xslt/docbook/omf/db2omf.xsl de/gnome-doc-xslt.xml || { rm -f &quot;gnome-doc-xslt-de.omf&quot;; exit 1; }
| http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod:1: parser error : Content error in the external subset
| HTTP/1.1 200 OK
| ^
| http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod:1: validity error : All markup of the conditional section is not in the same entity
| HTTP/1.1 200 OK
| ^
| http://www.oasis-open.org/docbook/xml/4.4/dbgenent.mod:1: parser error : Content error in the external subset
| HTTP/1.1 200 OK
|    ^
| unable to parse C/gnome-doc-xslt.xml
| make[2]: *** [gnome-doc-xslt-C.omf] Error 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13353</commentid>
    <comment_count>1</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-18 23:56:34 +0000</bug_when>
    <thetext>This happened to 0.20.5-r0, but actually 0.20.4-r0 has the same issue:
http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/95/steps/shell_19/logs/stdio

I can&apos;t reproduce the issue locally so I didn&apos;t catch the issue when upgrading it to 0.20.5.

Looks even on autobuilder, the bug doesn&apos;t always happen, e.g.,  this is a log:
we can see &quot;package gnome-doc-utils-0.20.5-r0: task do_compile: Started&quot; in http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/96/steps/shell_3/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13355</commentid>
    <comment_count>2</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-04-19 00:30:21 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; This happened to 0.20.5-r0, but actually 0.20.4-r0 has the same issue:
&gt; http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/95/steps/shell_19/logs/stdio
&gt; I can&apos;t reproduce the issue locally so I didn&apos;t catch the issue when upgrading
&gt; it to 0.20.5.
&gt; Looks even on autobuilder, the bug doesn&apos;t always happen, e.g.,  this is a log:
&gt; we can see &quot;package gnome-doc-utils-0.20.5-r0: task do_compile: Started&quot; in
&gt; http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/96/steps/shell_3/logs/stdio
I meant &quot;package gnome-doc-utils-0.20.5-r0: task do_compile: Succeeded&quot;.


gnome-doc-utils depends on gnome-doc-utils-native, but in the cases of failure, looks gnome-doc-utils-native was not built at all and libxslt-native and libxml2-native were not built, either.
I don&apos;t know the cause yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13583</commentid>
    <comment_count>3</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-04 22:15:44 +0000</bug_when>
    <thetext>Scott has kindly helped to give a fix: add an option --nonet to xsltproc.

The issue happens on the external autobuilder which has direct access to the Internet and can download the DTDs, but the DTDs are not compatible with gnome-doc-utils&apos;s some .xml files.

Scott: possibly something changed on the DTD oasis server, or maybe the new version of gnome-doc-utils upgraded looks for a different DTD than was used previously.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13636</commentid>
    <comment_count>4</comment_count>
    <who name="liang li">liang.li2</who>
    <bug_when>2011-05-08 19:12:55 +0000</bug_when>
    <thetext>This error also happened on nightly build (20110506-4) which led to qemuppc sato,sato-sdk images build failed,logs link below:
http://autobuilder.pokylinux.org:8010/builders/nightly-external/builds/117/steps/shell_14/logs/stdio
git info :
856a5e496b7ddd814f6a94552d02074f0ab30842</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13638</commentid>
    <comment_count>5</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-05-08 23:54:33 +0000</bug_when>
    <thetext>The same issue also happen on nightly build for qemumips(core-image-sato core-image-sato-dev core-image-sato-sdk). Please see log file below. (git commit 856a5e496b7ddd814f6a94552d02074f0ab30842)

http://autobuilder.yoctoproject.org:8010/builders/nightly-external/builds/117/steps/shell_10/logs/stdio


| http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod:236: validity error : All markup of the conditional section is not in the same entity
| &lt;!--end of setinfo.element--&gt;]]&gt;
|     ^
| http://www.oasis-open.org/docbook/xml/4.4/dbhierx.mod:236: parser error : Content error in the external subset
| &lt;!--end of setinfo.element--&gt;]]&gt;
|         ^
| unable to parse de/gnome-doc-xslt.xml
| make[2]: *** [gnome-doc-xslt-de.omf] Error 1
| make[2]: Leaving directory `/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/mips-poky-linux/gnome-doc-utils-0.20.5-r1/gnome-doc-utils-0.20.5/doc/xslt&apos;
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/mips-poky-linux/gnome-doc-utils-0.20.5-r1/gnome-doc-utils-0.20.5/doc&apos;
| make: *** [all-recursive] Error 1
| ERROR: oe_runmake failed
| ERROR: Function &apos;do_compile&apos; failed (see /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/mips-poky-linux/gnome-doc-utils-0.20.5-r1/temp/log.do_compile.25209 for further information)
| ERROR: Function &apos;do_compile&apos; failed (see /srv/home/pokybuild/poky-slave/nightly-external/build/build/tmp/work/mips-poky-linux/gnome-doc-utils-0.20.5-r1/temp/log.do_compile.25209 for further information)
NOTE: package gnome-doc-utils-0.20.5-r1: task do_compile: Failed
ERROR: Task 4204 (/srv/home/pokybuild/poky-slave/nightly-external/build/meta/recipes-gnome/gnome/gnome-doc-utils_0.20.5.bb, do_compile) failed with exit code &apos;1&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13644</commentid>
    <comment_count>6</comment_count>
    <who name="Scott Garman">scott.a.garman</who>
    <bug_when>2011-05-09 09:53:58 +0000</bug_when>
    <thetext>In my previous fix there was a makefile template that was being included from a different top-level directory which I missed. It included calls to xsltproc that needed the -nonet option.

I have just submitted a pull request to Saul with what I believe should be the final fix for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13654</commentid>
    <comment_count>7</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2011-05-09 23:38:12 +0000</bug_when>
    <thetext>With 20110506-4 build (git commit 856a5e496b7ddd814f6a94552d02074f0ab30842), this issue also caused x86_64-arm toolchain and i686-powerpc toolchain build failures. But i686-arm toolchain and x86_64-powerpc toolcahin were build success.

The error message was same as above. For more details, please see
http://autobuilder.pokylinux.org:8010/builders/nightly-external/builds/117/steps/shell_42/logs/stdio  (For i686-powerpc)
and
http://autobuilder.pokylinux.org:8010/builders/nightly-external/builds/117/steps/shell_47/logs/stdio  (For x86_64-arm)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13767</commentid>
    <comment_count>8</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-12 18:52:22 +0000</bug_when>
    <thetext>(In reply to comment #6)
&gt; In my previous fix there was a makefile template that was being included from a
&gt; different top-level directory which I missed. It included calls to xsltproc
&gt; that needed the -nonet option.
&gt; I have just submitted a pull request to Saul with what I believe should be the
&gt; final fix for this.

Thanks a lot for Scott&apos;s fixes:
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=f20edfe129ae69420f22c857d4100891282932a8
http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ed18794c37338788a5b18f222c36d21793b1a523</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>13768</commentid>
    <comment_count>9</comment_count>
    <who name="Dexuan Cui">dexuan.cui</who>
    <bug_when>2011-05-12 18:53:50 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #6)
&gt; &gt; In my previous fix there was a makefile template that was being included from a
&gt; &gt; different top-level directory which I missed. It included calls to xsltproc
&gt; &gt; that needed the -nonet option.
&gt; &gt; I have just submitted a pull request to Saul with what I believe should be the
&gt; &gt; final fix for this.
&gt; Thanks a lot for Scott&apos;s fixes:
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=f20edfe129ae69420f22c857d4100891282932a8
&gt; http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ed18794c37338788a5b18f222c36d21793b1a523

Let me mark the bug as VERIFIED since I don&apos;t see the bug in recent nightly logs.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>