Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2020
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.71 KB | None | 0 0
  1. build $ DISTRO=openbmc-witherspoon MACHINE=witherspoon bitbake obmc-phosphor-image
  2.  
  3. ERROR: base-files-3.0.14-r89 do_package: Error executing a python function in exec_python_func() autogenerated:
  4.  
  5. The stack trace of python calls that resulted in this exception/failure was:
  6. File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
  7. 0001:
  8. *** 0002:fixup_perms(d)
  9. 0003:
  10. File: '/usr/.../openbmc/meta/classes/package.bbclass', lineno: 1055, function: fixup_perms
  11. 1051: origin = dvar + dir
  12. 1052: if not (cpath.exists(origin) and cpath.isdir(origin)):
  13. 1053: continue
  14. 1054:
  15. *** 1055: fix_perms(origin, fs_perms_table[dir].mode, fs_perms_table[dir].uid, fs_perms_table[dir].gid, dir)
  16. 1056:
  17. 1057: if fs_perms_table[dir].walk == 'true':
  18. 1058: for root, dirs, files in os.walk(origin):
  19. 1059: for dr in dirs:
  20. File: '/usr/.../openbmc/meta/classes/package.bbclass', lineno: 937, function: fix_perms
  21. 0933: # -1 is a special value that means don't change the uid/gid
  22. 0934: # if they are BOTH -1, don't bother to lchown
  23. 0935: if not (uid == -1 and gid == -1):
  24. 0936: bb.note("Fixup Perms: lchown %d:%d %s" % (uid, gid, dir))
  25. *** 0937: os.lchown(path, uid, gid)
  26. 0938:
  27. 0939: # Return a list of configuration files based on either the default
  28. 0940: # files/fs-perms.txt or the contents of FILESYSTEM_PERMS_TABLES
  29. 0941: # paths are resolved via BBPATH
  30. Exception: PermissionError: [Errno 1] Operation not permitted: '/usr/.../openbmc/build/tmp/work/witherspoon-openbmc-linux-gnueabi/base-files/3.0.14-r89/package/usr'
  31.  
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement