<?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>3225</bug_id>
          
          <creation_ts>2012-10-03 20:59:15 +0000</creation_ts>
          <short_desc>linux-yocto SRCPV is changed after every MACHINE switch</short_desc>
          <delta_ts>2013-01-03 12:57:30 +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>kernel</component>
          <version>1.3</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.4</target_milestone>
          <dependson>3071</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Martin Jansa">Martin.Jansa</reporter>
          <assigned_to name="Constantin Musca">constantinx.musca</assigned_to>
          <cc>bruce.ashfield</cc>
    
    <cc>tom.zanussi</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>26179</commentid>
    <comment_count>0</comment_count>
    <who name="Martin Jansa">Martin.Jansa</who>
    <bug_when>2012-10-03 20:59:15 +0000</bug_when>
    <thetext>Different machines are using different SRCREV_machine (because of potentionaly diferent branch) and LOCALCOUNT in SRCPV is increased after every MACHINE switch.
Because they share the same key in persistent db:

&gt; &gt; sqlite&gt;  select * from BB_URI_LOCALCOUNT where key like &apos;%linux-yocto-3.4%&apos;;
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitstandard/base-linux-yocto_rev|84d8ee32265eea5d60f57a2f70bd3b9a0fb9213d
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitstandard/base-linux-yocto_count|16
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitmeta-linux-yocto_rev|463299bc2e533e1bd38b0053ae7b210980f269c3
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitmeta-linux-yocto_count|9
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitstandard/common-pc-64/base-linux-yocto_rev|19f7e43b54aef08d58135ed2a897d77b624b320a
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitstandard/common-pc-64/base-linux-yocto_count|7
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitstandard/preempt-rt/base-linux-yocto-rt_rev|9032b1e9daf5b4396f939981c3be95f67802d18c
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitstandard/preempt-rt/base-linux-yocto-rt_count|10
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitmeta-linux-yocto-rt_rev|463299bc2e533e1bd38b0053ae7b210980f269c3
&gt; &gt; git:git.yoctoproject.org.linux-yocto-3.4.gitmeta-linux-yocto-rt_count|8

More details here:
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-September/029413.html

One possible solution is to drop machine from SRCREV_FORMAT and bump PR with every SRCREV_machine change
http://lists.linuxtogo.org/pipermail/openembedded-core/2012-September/030227.html
but RP says it won&apos;t work with current fetcher.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27667</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-11-25 21:49:36 +0000</bug_when>
    <thetext>If we fix 3371, this problem should go away...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28516</commentid>
    <comment_count>2</comment_count>
    <who name="Constantin Musca">constantinx.musca</who>
    <bug_when>2013-01-03 12:57:30 +0000</bug_when>
    <thetext>Since we fixed 3071, we don&apos;t have this problem anymore.

Cheers,
Constantin</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>