<?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>4186</bug_id>
          
          <creation_ts>2013-04-04 01:55:43 +0000</creation_ts>
          <short_desc>bitbake package-index fails over NFS</short_desc>
          <delta_ts>2014-03-04 16:56:27 +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>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.6</target_milestone>
          
          <blocked>5444</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Beth Flanagan">elizabeth.flanagan</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>elizabeth.flanagan</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>mhalstead</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>31487</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2013-04-04 01:55:43 +0000</bug_when>
    <thetext>given:

tmp/deploy/ipk

where ipk is a symlink to an nfs mounted ipk directory, creation of the package index fails. My guess is that this is due to flock disliking nfs.

This impacts autobuilder build times as the workaround is that the nightly builder will need to copy the ipk dir back to the main builder in order to build the index.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31742</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-04-08 23:11:40 +0000</bug_when>
    <thetext>Workaround available, deferring to 1.5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38572</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-11-05 20:48:12 +0000</bug_when>
    <thetext>This issue is due to the usage of flock() in the package-index code</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40552</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2014-02-21 02:05:03 +0000</bug_when>
    <thetext>Laurentiu, Beth: did the refactor fix this issue in package-index or do we 
still have the flock issue buried someplace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40559</commentid>
    <comment_count>4</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2014-02-21 07:53:14 +0000</bug_when>
    <thetext>We&apos;re not using the shell flock anymore. We&apos;re using the bb.utils.lockfile() now. But I cannot say if this fixes the NFS issue. It needs to be tested.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40865</commentid>
    <comment_count>5</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2014-03-04 16:56:27 +0000</bug_when>
    <thetext>Tested and functional:

http://autobuilder.yoctoproject.org/pub/nightly/20140303-21/ipk/</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>