-
-
Save nick-owens-eero/3b8ae9191bcb488b3e2c56b398804f50 to your computer and use it in GitHub Desktop.
do_unpack_and_patch error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jenkins@cd70340cbb00:~/workspace/fenrir/build-trieste/tmp/work/x86_64-linux/libmpc-native/1.2.1-r0/temp$ cat log.do_unpack_and_patch | |
DEBUG: Executing python function do_unpack_and_patch | |
DEBUG: Executing python function do_unpack | |
DEBUG: Executing python function base_do_unpack | |
NOTE: Unpacking /home/jenkins/downloads/mpc-1.2.1.tar.gz to /home/jenkins/workspace/fenrir/build-trieste/tmp/work/x86_64-linux/libmpc-native/1.2.1-r0/archiver-work// | |
DEBUG: Python function base_do_unpack finished | |
DEBUG: Python function do_unpack finished | |
ERROR: Error executing a python function in exec_func_python() autogenerated: | |
The stack trace of python calls that resulted in this exception/failure was: | |
File: 'exec_func_python() autogenerated', lineno: 2, function: <module> | |
0001: | |
*** 0002:do_unpack_and_patch(d) | |
0003: | |
File: '/home/jenkins/workspace/fenrir/build-trieste/../poky/meta/classes/archiver.bbclass', lineno: 495, function: do_unpack_and_patch | |
0491: # Save the original source for creating the patches | |
0492: if d.getVarFlag('ARCHIVER_MODE', 'diff') == '1': | |
0493: src = d.getVar('S').rstrip('/') | |
0494: src_orig = '%s.orig' % src | |
*** 0495: oe.path.copytree(src, src_orig) | |
0496: | |
0497: if bb.data.inherits_class('dos2unix', d): | |
0498: bb.build.exec_func('do_convert_crlf_to_lf', d) | |
0499: | |
File: '/home/jenkins/workspace/fenrir/build-trieste/../poky/meta/lib/oe/path.py', lineno: 94, function: copytree | |
0090: # This way we also preserve hardlinks between files in the tree. | |
0091: | |
0092: bb.utils.mkdirhier(dst) | |
0093: cmd = "tar --xattrs --xattrs-include='*' -cf - -S -C %s -p . | tar --xattrs --xattrs-include='*' -xf - -C %s" % (src, dst) | |
*** 0094: subprocess.check_output(cmd, shell=True, stderr=subprocess.STDOUT) | |
0095: | |
0096:def copyhardlinktree(src, dst): | |
0097: """Make a tree of hard links when possible, otherwise copy.""" | |
0098: bb.utils.mkdirhier(dst) | |
File: '/usr/lib/python3.6/subprocess.py', lineno: 356, function: check_output | |
0352: # empty string. That is maintained here for backwards compatibility. | |
0353: kwargs['input'] = '' if kwargs.get('universal_newlines', False) else b'' | |
0354: | |
0355: return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, | |
*** 0356: **kwargs).stdout | |
0357: | |
0358: | |
0359:class CompletedProcess(object): | |
0360: """A process that has finished running. | |
File: '/usr/lib/python3.6/subprocess.py', lineno: 438, function: run | |
0434: raise | |
0435: retcode = process.poll() | |
0436: if check and retcode: | |
0437: raise CalledProcessError(retcode, process.args, | |
*** 0438: output=stdout, stderr=stderr) | |
0439: return CompletedProcess(process.args, retcode, stdout, stderr) | |
0440: | |
0441: | |
0442:def list2cmdline(seq): | |
Exception: subprocess.CalledProcessError: Command 'tar --xattrs --xattrs-include='*' -cf - -S -C /home/jenkins/workspace/fenrir/build-trieste/tmp/work/x86_64-linux/libmpc-native/1.2.1-r0/archiver-work//mpc-1.2.1 -p . | tar --xattrs --xattrs-include='*' -xf - -C /home/jenkins/workspace/fenrir/build-trieste/tmp/work/x86_64-linux/libmpc-native/1.2.1-r0/archiver-work//mpc-1.2.1.orig' returned non-zero exit status 2. | |
Subprocess output: | |
tar: ./m4/ltoptions.m4: Cannot open: Permission denied | |
tar: ./m4/lt~obsolete.m4: Cannot open: Permission denied | |
tar: ./m4/ltsugar.m4: Cannot open: Permission denied | |
tar: ./m4/ltversion.m4: Cannot open: Permission denied | |
tar: ./m4/libtool.m4: Cannot open: Permission denied | |
tar: ./INSTALL: Cannot open: Permission denied | |
tar: Exiting with failure status due to previous errors | |
DEBUG: Python function do_unpack_and_patch finished | |
j |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment