Skip to content

Instantly share code, notes, and snippets.

@lhl2617
Created June 15, 2020 12:11
Show Gist options
  • Save lhl2617/89fe38b4754bfbb0561d7e4e5522314b to your computer and use it in GitHub Desktop.
Save lhl2617/89fe38b4754bfbb0561d7e4e5522314b to your computer and use it in GitHub Desktop.
ERROR: perl-native-5.24.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: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:sstate_hardcode_path(d)
0003:
File: '/Wedge100/clean-attempt/openbmc/yocto/rocko/poky/meta/classes/sstate.bbclass', lineno: 574, function: sstate_hardcode_path
0570: # This has the side effect of making sure the vfs cache is hot
0571: sstate_hardcode_cmd = "%s | xargs %s | %s | xargs %s %s" % (sstate_scan_cmd, sstate_grep_cmd, sstate_filelist_cmd, xargs_no_empty_run_cmd, sstate_sed_cmd)
0572:
0573: bb.note("Removing hardcoded paths from sstate package: '%s'" % (sstate_hardcode_cmd))
*** 0574: subprocess.check_output(sstate_hardcode_cmd, shell=True, cwd=sstate_builddir)
0575:
0576: # If the fixmefn is empty, remove it..
0577: if os.stat(fixmefn).st_size == 0:
0578: os.remove(fixmefn)
File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function: check_output
0622: # empty string. That is maintained here for backwards compatibility.
0623: kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b''
0624:
0625: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
*** 0626: **kwargs).stdout
0627:
0628:
0629:class CompletedProcess(object):
0630: """A process that has finished running.
File: '/usr/lib/python3.5/subprocess.py', lineno: 708, function: run
0704: raise
0705: retcode = process.poll()
0706: if check and retcode:
0707: raise CalledProcessError(retcode, process.args,
*** 0708: output=stdout, stderr=stderr)
0709: return CompletedProcess(process.args, retcode, stdout, stderr)
0710:
0711:
0712:def list2cmdline(seq):
Exception: subprocess.CalledProcessError: Command 'grep -Irl -e /Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/recipe-sysroot -e /Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/recipe-sysroot-native -e /Wedge100/clean-attempt/openbmc/build/tmp/hosttools /Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/sstate-build-populate_sysroot/ | xargs grep -l -e '/Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/recipe-sysroot-native' -e '/Wedge100/clean-attempt/openbmc/build/tmp/hosttools' | tee /Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/sstate-build-populate_sysroot/fixmepath | xargs --no-run-if-empty sed -i -e 's:/Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/recipe-sysroot-native:FIXMESTAGINGDIRHOST:g' -e 's:/Wedge100/clean-attempt/openbmc/build/tmp/hosttools:FIXME_HOSTTOOLS_DIR:g'' returned non-zero exit status 123
ERROR: perl-native-5.24.1-r0 do_populate_sysroot: Function failed: sstate_hardcode_path
ERROR: Logfile of failure stored in: /Wedge100/clean-attempt/openbmc/build/tmp/work/x86_64-linux/perl-native/5.24.1-r0/temp/log.do_populate_sysroot.18745
ERROR: Task (/Wedge100/clean-attempt/openbmc/yocto/rocko/poky/meta/recipes-devtools/perl/perl-native_5.24.1.bb:do_populate_sysroot) failed with exit code '1'
@lhl2617
Copy link
Author

lhl2617 commented Jul 9, 2020

testslide1024
testslide2048
testslide512

@lhl2617
Copy link
Author

lhl2617 commented Jul 16, 2020

107714279_749326322508309_9103777232181072210_n

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment