Advertisement
Guest User

Untitled

a guest
Jan 6th, 2017
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. I have seen the error below in six setscene tasks I am running, out of a total of 889 setscene tasks.
  2. The failing tasks are:
  3.  
  4. e2fsprogs-native-1.43-r1 do_populate_sysroot_setscene
  5. unzip-native-1_6.0-r5 do_populate_sysroot_setscene
  6. python3-native-3.5.2-r1.0 do_populate_sysroot_setscene
  7. perl-native-5.22.1-r0 do_populate_sysroot_setscene
  8. pkgconfig-native-0.29.1+gitAUTOINC+87152c05be-r0 do_populate_sysroot_setscene
  9. binutils-cross-x86_64-2.27-r0 do_populate_sysroot_setscene
  10.  
  11. The error looks like:
  12.  
  13. ERROR: e2fsprogs-native-1.43-r1 do_populate_sysroot_setscene: Error executing a python function in exec_python_func() autogenerated:
  14.  
  15. The stack trace of python calls that resulted in this exception/failure was:
  16. File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
  17. 0001:
  18. *** 0002:uninative_changeinterp(d)
  19. 0003:
  20. File: '/opt/buildagent/work/fb6c849372502425/meta/classes/uninative.bbclass', lineno: 130, function: uninative_changeinterp
  21. 0126: try:
  22. 0127: elf.open()
  23. 0128: except oe.qa.NotELFFileError:
  24. 0129: continue
  25. *** 0130: if not elf.isDynamic():
  26. 0131: continue
  27. 0132:
  28. 0133: try:
  29. 0134: subprocess.check_output(("patchelf-uninative", "--set-interpreter",
  30. File: '/opt/buildagent/work/fb6c849372502425/meta/lib/oe/qa.py', lineno: 114, function: isDynamic
  31. 0110: size = self.getShort(self.bits == 32 and 0x2A or 0x36)
  32. 0111: count = self.getShort(self.bits == 32 and 0x2C or 0x38)
  33. 0112:
  34. 0113: for i in range(0, count):
  35. *** 0114: p_type = self.getWord(offset + i * size)
  36. 0115: if p_type == ELFFile.PT_INTERP:
  37. 0116: return True
  38. 0117: return False
  39. 0118:
  40. File: '/opt/buildagent/work/fb6c849372502425/meta/lib/oe/qa.py', lineno: 102, function: getWord
  41. 0098: def getShort(self, offset):
  42. 0099: return struct.unpack_from(self.sex+"H", self.data, offset)[0]
  43. 0100:
  44. 0101: def getWord(self, offset):
  45. *** 0102: return struct.unpack_from(self.sex+"i", self.data, offset)[0]
  46. 0103:
  47. 0104: def isDynamic(self):
  48. 0105: """
  49. 0106: Return True if there is a .interp segment (therefore dynamically
  50. Exception: struct.error: unpack_from requires a buffer of at least 4 bytes
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement