<?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>8555</bug_id>
          
          <creation_ts>2015-10-22 10:37:18 +0000</creation_ts>
          <short_desc>Reading shlibs providers sometimes fails</short_desc>
          <delta_ts>2016-08-12 17:11:58 +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>VERIFIED</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>2.2 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jussi Kukkonen">jku</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>jose.perez.carranza</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Jose Perez C">jose.perez.carranza</qa_contact>
          <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>55595</commentid>
    <comment_count>0</comment_count>
    <who name="Jussi Kukkonen">jku</who>
    <bug_when>2015-10-22 10:37:18 +0000</bug_when>
    <thetext>I pulled jethro branch this morning and was building core-image-sato when atk failed. Trying again, it worked fine.

Did glib-networking.list just disappear between os.listdir() and open()?



DEBUG: Executing python function package_do_shlibs
DEBUG: Reading shlib providers in /home/jku/src/poky/build/tmp/sysroots/qemux86/pkgdata/shlibs2
ERROR: Error executing a python function in /home/jku/src/poky/meta/recipes-support/atk/at-spi2-atk_2.16.0.bb:

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;package_do_shlibs&apos;, lineno: 249, function: &lt;module&gt;
     0245:                fd.write(dep + &apos;\n&apos;)
     0246:            fd.close()
     0247:
     0248:
 *** 0249:package_do_shlibs(d)
     0250:
File: &apos;package_do_shlibs&apos;, lineno: 128, function: package_do_shlibs
     0124:    else:
     0125:        use_ldconfig = False
     0126:
     0127:    needed = {}
 *** 0128:    shlib_provider = oe.package.read_shlib_providers(d)
     0129:
     0130:    for pkg in packages.split():
     0131:        private_libs = d.getVar(&apos;PRIVATE_LIBS_&apos; + pkg, True) or d.getVar(&apos;PRIVATE_LIBS&apos;, True) or &quot;&quot;
     0132:        private_libs = private_libs.split()
File: &apos;/home/jku/src/poky/meta/lib/oe/package.py&apos;, lineno: 117, function: read_shlib_providers
     0113:        for file in os.listdir(dir):
     0114:            m = list_re.match(file)
     0115:            if m:
     0116:                dep_pkg = m.group(1)
 *** 0117:                fd = open(os.path.join(dir, file))
     0118:                lines = fd.readlines()
     0119:                fd.close()
     0120:                for l in lines:
     0121:                    s = l.strip().split(&quot;:&quot;)
Exception: IOError: [Errno 2] No such file or directory: &apos;/home/jku/src/poky/build/tmp/sysroots/qemux86/pkgdata/shlibs2/glib-networking.list&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64223</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-07-20 13:41:38 +0000</bug_when>
    <thetext>Fixed in oe-core 1e355da3fda742c78d99ddd2ee5caa9df52f92e1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65138</commentid>
    <comment_count>2</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-08-12 17:11:58 +0000</bug_when>
    <thetext>Verified on commit : 6b66e9317f4ec3a69f98f29836aafa35b52f3fc7</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>