<?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>2294</bug_id>
          
          <creation_ts>2012-04-13 21:24:11 +0000</creation_ts>
          <short_desc>cedartrail: fails to merge yocto/pvr branch for linux-yocto-3.0</short_desc>
          <delta_ts>2012-10-03 08:10:22 +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>BSPs</product>
          <component>bsps-configuration</component>
          <version>1.2</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Bruce Ashfield">bruce.ashfield</assigned_to>
          <cc>dvhart</cc>
    
    <cc>kishore.k.bodke</cc>
    
    <cc>mihai.lindner</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>song.liu</cc>
    
    <cc>tom.zanussi</cc>
    
    <cc>yp.bsp.watcher</cc>
    
    <cc>yp.watcher</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>20348</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2012-04-13 21:24:11 +0000</bug_when>
    <thetext>Autobuilder caught this failure:
http://autobuilder.yoctoproject.org:8010/builders/cedartrail/builds/63

ERROR: Task 809
(/srv/home/pokybuild/yocto-autobuilder/yocto-slave/cedartrail/build/meta/recipes-kernel/linux/linux-yocto_3.0.bb,
do_patch) failed with exit code &apos;1&apos;

fatal: &apos;yocto/pvr&apos; does not point to a commit
| ERROR: could not complete git cmd &quot;git merge yocto/pvr&quot;

I suspect this should either be using 3.2 and not 3.0, or there is a
missing patch or SRCREV change needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20350</commentid>
    <comment_count>1</comment_count>
    <who name="kishore">kishore.k.bodke</who>
    <bug_when>2012-04-13 23:12:12 +0000</bug_when>
    <thetext>Since there is no 1.2_M4 for meta-intel, I assume this is for 1.2_M3.rcx.

Even then, Cedartrail will not build for 1.2_M3.rcx, as it does not have the correct patches for the pvr updates.

This is available in meta-intel/master.

Thanks
Kishore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20351</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2012-04-14 03:39:09 +0000</bug_when>
    <thetext>updating the bug with my email comments:

No branches in the 3.2 tree have yocto/ as a base in their branch hierarchy. The branch
is simply &apos;pvr&apos; .. and in my 3.2 tree, the cedartrail doesn&apos;t attempt
to merge it at all.

We merged a prep feature for pvr merging, and yocto/pvr exists in
3.0.

http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/log/?h=yocto/pvr

But it looks like this is under control, but has anyone looked at the
downloaded kernel tree for that build .. did the yocto/pvr branch
even show up ? Since whether or not it was ready, that branch should
be in the tree.


I don&apos;t think I should be the assignee for this one .. who should it be ? or should this just
be put on hold for now ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20418</commentid>
    <comment_count>3</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-04-16 04:34:04 +0000</bug_when>
    <thetext>Here&apos;s a patch that might work, seems like it should but I haven&apos;t verified that it actually does...

commit b1fe099459ed96ef116b7be560459538f8566e2c
Author: Tom Zanussi &lt;tom.zanussi@intel.com&gt;
Date:   Sun Apr 15 22:26:38 2012 -0500

    meta-cedartrail: add yocto/pvr branch to SRC_URI
    
    meta-cedartrail merges yocto/pvr via the back-end kernel tooling, but
    there&apos;s nothing to tell it when it needs to be re-fetched.
    
    Add pvr to the SRC_URI along with its current SRCREV, so the git
    fetcher can determine whether or not it needs to refetch the repo.
    
    Signed-off-by: Tom Zanussi &lt;tom.zanussi@intel.com&gt;

diff --git a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
index dc15a5e..0a4095d 100644
--- a/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
+++ b/meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
@@ -1,5 +1,7 @@
 FILESEXTRAPATHS_prepend := &quot;${THISDIR}/${PN}:&quot;
 
+SRC_URI = &quot;git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=${KBRANCH},meta,yocto/pvr;name=machine,meta,pvr&quot;
+
 COMPATIBLE_MACHINE_cedartrail = &quot;cedartrail&quot;
 KMACHINE_cedartrail  = &quot;yocto/standard/cedartrail&quot;
 KERNEL_FEATURES_append_cedartrail += &quot; cfg/smp.scc&quot;
@@ -13,6 +15,7 @@ KERNEL_FEATURES_append_cedartrail-nopvr += &quot; cfg/smp.scc&quot;
 
 SRCREV_machine_pn-linux-yocto_cedartrail ?= &quot;81fd8c307997aff37916828dc8b4ef72f5d35a94&quot;
 SRCREV_meta_pn-linux-yocto_cedartrail ?= &quot;a4ac64fe873f08ef718e2849b88914725dc99c1c&quot;
+SRCREV_pvr_pn-linux-yocto_cedartrail ?= &quot;9d0264753e869d21ec4d9a6dd5558de73d64f94d&quot;
 
 SRCREV_machine_pn-linux-yocto_cedartrail-nopvr ?= &quot;81fd8c307997aff37916828dc8b4ef72f5d35a94&quot;
 SRCREV_meta_pn-linux-yocto_cedartrail-nopvr ?= &quot;a4ac64fe873f08ef718e2849b88914725dc99c1c&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20445</commentid>
    <comment_count>4</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-16 14:26:23 +0000</bug_when>
    <thetext>This is a single BSP failure, not a broad release blocking issue, reset priority accordingly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20689</commentid>
    <comment_count>5</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-04-19 00:19:43 +0000</bug_when>
    <thetext>Just one thing to note - I don&apos;t have access to ab07 so can&apos;t show actual output:

When I did the git clone command that you see in the temp/unpack_log exactly as entered, the resulting clone did not have the yocto/pvr branch, although the source clearly did.  I&apos;m either missing something or that shouldn&apos;t happen.

My guess is that a from-scratch build would fix this, but then of course the underlying problem wouldn&apos;t get fixed.  The patch in another comment didn&apos;t seem to do anything when tested locally in any case.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20690</commentid>
    <comment_count>6</comment_count>
    <who name="Tom Zanussi">tom.zanussi</who>
    <bug_when>2012-04-19 00:48:30 +0000</bug_when>
    <thetext>Just a clarification, not a from-scratch build, but a from-scratch build, including removal of the git2_ tarball and the 3.0 kernel from the git2 dir.  Basically, as I understand from Kishore et al, there&apos;s not a build problem outside of autobuilder, and I successfully built it before pulling it in in any case.  But I will try to reproduce the problem locally regardless.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20691</commentid>
    <comment_count>7</comment_count>
    <who name="kishore">kishore.k.bodke</who>
    <bug_when>2012-04-19 00:57:57 +0000</bug_when>
    <thetext>I just gave a build from scratch and booted successfully today.

I don&apos;t see any build failures.  Not sure why Autobuild is giving build failures.

Thanks
Kishore.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>20885</commentid>
    <comment_count>8</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2012-04-26 11:50:30 +0000</bug_when>
    <thetext>This turned out to be some &quot;corrupted&quot; data on the autobuilder where there were two copies of the git reprository, one with a &quot;.git&quot; extension and one without. We&apos;ve fixed the fetcher and git to avoid this problem previously, this is a leftover artifact from that.

cedartrail is now building green on the autobuilder.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26097</commentid>
    <comment_count>9</comment_count>
    <who name="Mihai Lindner">mihai.lindner</who>
    <bug_when>2012-10-03 08:10:22 +0000</bug_when>
    <thetext>Seems ok now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>