<?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>5652</bug_id>
          
          <creation_ts>2013-12-10 12:35:57 +0000</creation_ts>
          <short_desc>package_tar sometimes gives errors during do_package_write_tar</short_desc>
          <delta_ts>2014-02-25 10:27:59 +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>All</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>Low</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>1.6</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>jessica.zhang</cc>
    
    <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>39314</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2013-12-10 12:35:57 +0000</bug_when>
    <thetext>If you set PACKAGE_CLASSES = &quot;package_ipk package_tar&quot; then you&apos;ll get a number of errors during a build:

ERROR: Creation of tar /media/large/tmp/deploy/tar/libc6-dbg-2.18-r0.tar.gz failed.
ERROR: Creation of tar /media/large/tmp/deploy/tar/eglibc-pic-2.18-r0.tar.gz failed.
ERROR: Creation of tar /media/large/tmp/deploy/tar/libx11-dbg-1.6.2-r0.tar.gz failed.
ERROR: Creation of tar /media/large/tmp/deploy/tar/libx11-staticdev-1.6.2-r0.tar.gz failed.
...

If you look at the log you can see what is happening:

tar: .: file changed as we read it

I think this is probably related to do_package_write_ipk and do_package_write_tar running concurrently, and temporary files being written to and then removed from PKGDESTWORK by the former during its operation. Assuming that&apos;s the case, we just need to ignore those files as we have for the other package backends.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>40666</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-02-25 10:27:59 +0000</bug_when>
    <thetext>Fix merged to master:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ae1265809503494f4c5da21c8335cedc3569ba62</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>