Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I have seen the error below in six setscene tasks I am running, out of a total of 889 setscene tasks.
- The failing tasks are:
- e2fsprogs-native-1.43-r1 do_populate_sysroot_setscene
- unzip-native-1_6.0-r5 do_populate_sysroot_setscene
- python3-native-3.5.2-r1.0 do_populate_sysroot_setscene
- perl-native-5.22.1-r0 do_populate_sysroot_setscene
- pkgconfig-native-0.29.1+gitAUTOINC+87152c05be-r0 do_populate_sysroot_setscene
- binutils-cross-x86_64-2.27-r0 do_populate_sysroot_setscene
- The error looks like:
- ERROR: e2fsprogs-native-1.43-r1 do_populate_sysroot_setscene: 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:uninative_changeinterp(d)
- 0003:
- File: '/opt/buildagent/work/fb6c849372502425/meta/classes/uninative.bbclass', lineno: 130, function: uninative_changeinterp
- 0126: try:
- 0127: elf.open()
- 0128: except oe.qa.NotELFFileError:
- 0129: continue
- *** 0130: if not elf.isDynamic():
- 0131: continue
- 0132:
- 0133: try:
- 0134: subprocess.check_output(("patchelf-uninative", "--set-interpreter",
- File: '/opt/buildagent/work/fb6c849372502425/meta/lib/oe/qa.py', lineno: 114, function: isDynamic
- 0110: size = self.getShort(self.bits == 32 and 0x2A or 0x36)
- 0111: count = self.getShort(self.bits == 32 and 0x2C or 0x38)
- 0112:
- 0113: for i in range(0, count):
- *** 0114: p_type = self.getWord(offset + i * size)
- 0115: if p_type == ELFFile.PT_INTERP:
- 0116: return True
- 0117: return False
- 0118:
- File: '/opt/buildagent/work/fb6c849372502425/meta/lib/oe/qa.py', lineno: 102, function: getWord
- 0098: def getShort(self, offset):
- 0099: return struct.unpack_from(self.sex+"H", self.data, offset)[0]
- 0100:
- 0101: def getWord(self, offset):
- *** 0102: return struct.unpack_from(self.sex+"i", self.data, offset)[0]
- 0103:
- 0104: def isDynamic(self):
- 0105: """
- 0106: Return True if there is a .interp segment (therefore dynamically
- Exception: struct.error: unpack_from requires a buffer of at least 4 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement