<?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>5184</bug_id>
          
          <creation_ts>2013-09-13 10:22:06 +0000</creation_ts>
          <short_desc>telepathy-mission-control: do_compile failed</short_desc>
          <delta_ts>2013-09-25 09:37:48 +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>connectivity</component>
          <version>1.5</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>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</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>36670</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-09-13 10:22:06 +0000</bug_when>
    <thetext>I think that it should be a race issue so we rarely see it:

       /buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/telepathy-mission-control-5.15.0/tools/c-constants-generator.xsl \
        _gen/mcd.xml &gt; _gen/enums.h
/buildarea/lyang1/wd/tmp/sysroots/x86_64-linux/usr/bin/python-native/python /buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/telepathy-mission-control-5.15.0/tools/glib-gtypes-generator.py \
        _gen/mcd.xml _gen/gtypes mc
xsltproc  \
        --stringparam mixed-case-prefix mc \
        /buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/telepathy-mission-control-5.15.0/tools/glib-interfaces-generator.xsl \
        _gen/mcd.xml &gt; _gen/interfaces.h
{ echo &apos;#include &quot;_gen/signals-marshal.h&quot;&apos; &amp;&amp; \
glib-genmarshal --body --prefix=_mcd_ext_marshal _gen/signals-marshal.list; } \
&gt; _gen/signals-marshal.c
glib-genmarshal --header --prefix=_mcd_ext_marshal _gen/signals-marshal.list &gt; _gen/signals-marshal.h
Traceback (most recent call last):
  File &quot;/buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/telepathy-mission-control-5.15.0/tools/glib-gtypes-generator.py&quot;, line 304, in &lt;module&gt;
    GTypesGenerator(dom, argv[1], argv[2])()
  File &quot;/buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/telepathy-mission-control-5.15.0/tools/glib-gtypes-generator.py&quot;, line 295, in __call__
    file_set_contents(self.output + &apos;.h&apos;, &apos;&apos;.join(self.header))
  File &quot;/buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/telepathy-mission-control-5.15.0/tools/libtpcodegen.py&quot;, line 42, in file_set_contents
    os.rename(filename + &apos;.tmp&apos;, filename)
OSError: [Errno 2] No such file or directory
make[2]: *** [_gen/gtypes-body.h] Error 1
make[2]: *** Waiting for unfinished jobs....
rm _gen/dispatcher.xml _gen/Account_Interface_External_Password_Storage.xml _gen/Connection_Manager_Interface_Account_Storage.xml _gen/Account_Interface_Conditions.xml _gen/Account_Interface_Hidden.xml _gen/Account_Manager_Interface_Hidden.xml
make[2]: Leaving directory `/buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/build/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/buildarea/lyang1/wd/tmp/work/armv5te-poky-linux-gnueabi/telepathy-mission-control/5.15.0-r0/build&apos;
make: *** [all] Error 2
ERROR: oe_runmake failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36672</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-09-13 10:27:54 +0000</bug_when>
    <thetext>I think maybe it is because of this:

src/Makefile.am:
_gen/gtypes.h _gen/gtypes-body.h: _gen/mcd.xml \
        $(top_srcdir)/tools/glib-gtypes-generator.py
        $(AM_V_GEN)$(PYTHON) $(top_srcdir)/tools/glib-gtypes-generator.py \
                $&lt; _gen/gtypes mc

The two rules can run parallelly, and they do the same file operation on the same file (not very sure about this atm.), need more investigation sooner.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37151</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2013-09-25 02:52:19 +0000</bug_when>
    <thetext>Merged into master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c68888f762f190c24a2fb97c9ff9ea55aadf6375</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37171</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2013-09-25 09:37:48 +0000</bug_when>
    <thetext>*** Bug 5056 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>