<?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>15283</bug_id>
          
          <creation_ts>2023-11-17 08:17:27 +0000</creation_ts>
          <short_desc>encounter error(create archive failed: cpio: write failed) when build iso-codes</short_desc>
          <delta_ts>2024-01-11 15:49:25 +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>multimedia</component>
          <version>4.0.14</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>5.0 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="sucrehu">181262679</reporter>
          <assigned_to name="sucrehu">181262679</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</cc>
    
    <cc>ross.burton</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97273</commentid>
    <comment_count>0</comment_count>
    <who name="sucrehu">181262679</who>
    <bug_when>2023-11-17 08:17:27 +0000</bug_when>
    <thetext>1. install essential components according below link.
https://docs.yoctoproject.org/4.0.14/ref-manual/system-requirements.html#supported-linux-distributions
2. according below link to build the original yocto Kirkstone project, then got the error log(create archive failed: cpio: write failed - Resource temporarily unavailable).
https://docs.yoctoproject.org/4.0.14/brief-yoctoprojectqs/index.html
3. It also got the error log when perform command(bitbake iso-codes).

build server info:
lsb_release -a
LSB Version:    core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

error log as below:
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable

error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable

error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable

error: create archive failed: cpio: write failed - Resource temporarily unavailable

error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable
error: create archive failed: cpio: write failed - Resource temporarily unavailable

error: create archive failed: cpio: write failed - Resource temporarily unavailable

error: create archive failed: cpio: write failed - Resource temporarily unavailable

Wrote: /home/data/xxxxx/yocto_poky/poky/build/tmp/work/all-poky-linux/iso-codes/4.15.0-r0/deploy-rpms/noarch/iso-codes-locale-ba-4.15.0-r0.noarch.rpm

Wrote: /home/data/xxxx/yocto_poky/poky/build/tmp/work/all-poky-linux/iso-codes/4.15.0-r0/deploy-rpms/noarch/iso-codes-locale-tl-4.15.0-r0.noarch.rpm

....................</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97321</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2023-11-23 16:23:03 +0000</bug_when>
    <thetext>Is this inside a container or some unusual file system?  cpio just does very conventional file operations so getting &quot;resource temporarily unavailable&quot; is very odd.

It feels like you&apos;re doing a build over NFS, or in a container with a network-backend filesystemm.  If this is the case we should be detecting and refusing to work, for reasons like this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97776</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2024-01-11 15:49:25 +0000</bug_when>
    <thetext>Closing as works-for-me: if this continues to be a problem please re-open with the details requested.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>