<?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>14353</bug_id>
          
          <creation_ts>2021-04-21 03:38:18 +0000</creation_ts>
          <short_desc>oe-selftest-ubuntu: buildoptions.ImageOptionsTests.test_ccache_tool failed</short_desc>
          <delta_ts>2021-05-03 16:32:51 +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>3.3</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>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>3.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Naveen Saini">naveen.kumar.saini</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>randy.macleod</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>90036</commentid>
    <comment_count>0</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-04-21 03:38:18 +0000</bug_when>
    <thetext>ccache-native is failing on master-next:

worker: ubuntu1604-ty-1

https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2041


NOTE: Running task 182 of 183 (virtual:native:/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/recipes-devtools/ccache/ccache_4.2.1.bb:do_populate_sysroot)
NOTE: recipe ccache-native-4.2.1-r0: task do_populate_sysroot: Started
ERROR: ccache-native-4.2.1-r0 do_populate_sysroot: Error executing a python function in exec_python_func() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: &apos;exec_python_func() autogenerated&apos;, lineno: 2, function: &lt;module&gt;
     0001:
 *** 0002:uninative_changeinterp(d)
     0003:
File: &apos;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/meta/classes/uninative.bbclass&apos;, lineno: 170, function: uninative_changeinterp
     0166:                continue
     0167:            if not elf.isDynamic():
     0168:                continue
     0169:
 *** 0170:            subprocess.check_output((&quot;patchelf-uninative&quot;, &quot;--set-interpreter&quot;, d.getVar(&quot;UNINATIVE_LOADER&quot;), f), stderr=subprocess.STDOUT)
     0171:}
File: &apos;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.9/subprocess.py&apos;, lineno: 420, function: check_output
     0416:        # Explicitly passing input=None was previously equivalent to passing an
     0417:        # empty string. That is maintained here for backwards compatibility.
     0418:        kwargs[&apos;input&apos;] = &apos;&apos; if kwargs.get(&apos;universal_newlines&apos;, False) else b&apos;&apos;
     0419:
 *** 0420:    return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
     0421:               **kwargs).stdout
     0422:
     0423:
     0424:class CompletedProcess(object):
File: &apos;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/buildtools/sysroots/x86_64-pokysdk-linux/usr/lib/python3.9/subprocess.py&apos;, lineno: 524, function: run
     0520:            # We don&apos;t call process.wait() as .__exit__ does that for us.
     0521:            raise
     0522:        retcode = process.poll()
     0523:        if check and retcode:
 *** 0524:            raise CalledProcessError(retcode, process.args,
     0525:                                     output=stdout, stderr=stderr)
     0526:    return CompletedProcess(process.args, retcode, stdout, stderr)
     0527:
     0528:
Exception: subprocess.CalledProcessError: Command &apos;(&apos;patchelf-uninative&apos;, &apos;--set-interpreter&apos;, &apos;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-45480/tmp/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2&apos;, &apos;/home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-45480/tmp/work/x86_64-linux/ccache-native/4.2.1-r0/sstate-build-populate_sysroot/recipe-sysroot-native/usr/bin/ccache&apos;)&apos; returned non-zero exit status 1.

Subprocess output:
patchelf: cannot normalize PT_NOTE segment: non-contiguous SHT_NOTE sections

ERROR: Logfile of failure stored in: /home/pokybuild/yocto-worker/oe-selftest-ubuntu/build/build-st-45480/tmp/work/x86_64-linux/ccache-native/4.2.1-r0/temp/log.do_populate_sysroot.9127
NOTE: recipe ccache-native-4.2.1-r0: task do_populate_sysroot: Failed</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90038</commentid>
    <comment_count>1</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-04-21 04:54:50 +0000</bug_when>
    <thetext>oe-selftest-fedora (master-next):
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/2011

oe-selftest-debian (master-next):
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2006

oe-selftest-centos (master-next):
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2027

oe-selftest-ubuntu (master-next):
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2043</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90053</commentid>
    <comment_count>2</comment_count>
    <who name="Randy MacLeod">randy.macleod</who>
    <bug_when>2021-04-22 14:40:50 +0000</bug_when>
    <thetext>Only seen in master-next. We need to rebuild uninative to fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90111</commentid>
    <comment_count>3</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-04-26 02:44:30 +0000</bug_when>
    <thetext>Happened again on master too:

oe-selftest-fedora (master):
https://autobuilder.yoctoproject.org/typhoon/#/builders/86/builds/2019

oe-selftest-debian (master):
https://autobuilder.yoctoproject.org/typhoon/#/builders/80/builds/2015

oe-selftest-centos (master):
https://autobuilder.yoctoproject.org/typhoon/#/builders/79/builds/2039

oe-selftest-ubuntu (master):
https://autobuilder.yoctoproject.org/typhoon/#/builders/87/builds/2051</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90113</commentid>
    <comment_count>4</comment_count>
    <who name="Naveen Saini">naveen.kumar.saini</who>
    <bug_when>2021-04-26 03:12:17 +0000</bug_when>
    <thetext>Again on master:
https://autobuilder.yoctoproject.org/typhoon/#/builders/56/builds/1433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>90231</commentid>
    <comment_count>5</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2021-05-03 16:32:51 +0000</bug_when>
    <thetext>The patchelf fixes in master fix this and are included in uninative 3.1: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=fc277ba0117ea27a53790654a90503d457209f53</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>