<?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>5994</bug_id>
          
          <creation_ts>2014-03-18 06:57:57 +0000</creation_ts>
          <short_desc>sgml-common-native: fix the generation of sgml-docbook.cat</short_desc>
          <delta_ts>2014-03-20 02:03:36 +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>1.6</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.6 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>41348</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-03-18 06:57:57 +0000</bug_when>
    <thetext>There would be build errors if multiple builds use the same SSTATE_DIR,
    and the builds use the different versions&apos; docbook-sgml-dtd-native, the
    problems are: we have multiple versions docbook-sgml-dtd-native:
    
    docbook-sgml-dtd-3.1-native
    docbook-sgml-dtd-4.1-native
    docbook-sgml-dtd-4.5-native
    
    And they depend on sgml-common-native which installs the file
    sysroot/etc/sgml/sgml-docbook.cat, this file is also included in the
    sstate cache file (.tar.gz), but both the 3 versions
    docbook-sgml-dtd-native may update the
    sysroot/ect/sgml/sgml-docbook.cat, and it is a hardlink to
    SYSROOT_DESTDIR/etc/sgml/sgml-docbook.cat, so the sgml-docbook.cat in
    the sstate cache file may contain the
    docbook-sgml-dtd-&lt;version&gt;-native&apos;s info, and there would be errors when
    we mirror the sstate-cache to another build which uses a different
    version.
    
    Now we exclude the sgml-docbook.cat from the ${D}, and generate
    sysroot/ect/sgml/sgml-docbook.cat dynamically will fix the problem, both
    the sgml-common-native and docbook-sgml-dtd-&lt;version&gt;-native can update
    it it correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>41478</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2014-03-20 02:03:36 +0000</bug_when>
    <thetext>Merged:

http://git.openembedded.org/openembedded-core/commit/?id=50683df81e1605ad7c03bc633aa55da7e97cfe62</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>