Advertisement
Guest User

Untitled

a guest
Nov 8th, 2019
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. | DEBUG: Python function extend_recipe_sysroot finished
  2. | DEBUG: Executing shell function do_image_wic
  3. | INFO: Creating image(s)...
  4. |
  5. | WARNING: bootloader config not specified, using defaults
  6. |
  7. | WARNING: overhead-factor was specified, but size was not, so bitbake variables will be used for the size. In this case both IMAGE_OVERHEAD_FACTOR and --overhead-factor will be applied
  8. | Traceback (most recent call last):
  9. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/filemap.py", line 97, in __init__
  10. | self.block_size = get_block_size(self._f_image)
  11. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/filemap.py", line 40, in get_block_size
  12. | binary_data = fcntl.ioctl(file_obj, 2, struct.pack('I', 0))
  13. | OSError: [Errno 22] Invalid argument
  14. |
  15. | During handling of the above exception, another exception occurred:
  16. |
  17. | Traceback (most recent call last):
  18. | File "/home/devel/workspace_agl/external/poky/scripts/wic", line 534, in <module>
  19. | sys.exit(main(sys.argv[1:]))
  20. | File "/home/devel/workspace_agl/external/poky/scripts/wic", line 529, in main
  21. | return hlp.invoke_subcommand(args, parser, hlp.wic_help_usage, subcommands)
  22. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/help.py", line 98, in invoke_subcommand
  23. | subcmd[0](args, usage)
  24. | File "/home/devel/workspace_agl/external/poky/scripts/wic", line 234, in wic_create_subcommand
  25. | native_sysroot, options)
  26. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/engine.py", line 202, in wic_create
  27. | plugin.do_create()
  28. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/plugins/imager/direct.py", line 101, in do_create
  29. | self.assemble()
  30. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/plugins/imager/direct.py", line 218, in assemble
  31. | self._image.assemble()
  32. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/plugins/imager/direct.py", line 605, in assemble
  33. | sparse_copy(source, self.path, seek=part.start * self.sector_size)
  34. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/filemap.py", line 552, in sparse_copy
  35. | fmap = api(src_fname)
  36. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/filemap.py", line 534, in filemap
  37. | return FilemapFiemap(image, log)
  38. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/filemap.py", line 352, in __init__
  39. | _FilemapBase.__init__(self, image, log)
  40. | File "/home/devel/workspace_agl/external/poky/scripts/lib/wic/filemap.py", line 100, in __init__
  41. | % (self._image_path, err))
  42. | wic.filemap.Error: cannot get block size for '/home/devel/workspace_agl/build/tmp/work/raspberrypi4-agl-linux-gnueabi/agl-demo-platform/1.0-r0/deploy-agl-demo-platform-image-complete/agl-demo-platform-raspberrypi4-20191108084026/tmp.wic.4hjhg14u/rootfs_boot.1.vfat': [Errno 22] Invalid argument
  43. | WARNING: /home/devel/workspace_agl/build/tmp/work/raspberrypi4-agl-linux-gnueabi/agl-demo-platform/1.0-r0/temp/run.do_image_wic.2767780:1 exit 1 from 'BUILDDIR="/home/devel/workspace_agl/build" wic create "$wks" --vars "/home/devel/workspace_agl/build/tmp/sysroots/raspberrypi4/imgdata/" -e "agl-demo-platform" -o "$out/"'
  44. | ERROR: Function failed: do_image_wic (log file is located at /home/devel/workspace_agl/build/tmp/work/raspberrypi4-agl-linux-gnueabi/agl-demo-platform/1.0-r0/temp/log.do_image_wic.2767780)
  45. ERROR: Task (/home/devel/workspace_agl/meta-agl-demo/recipes-platform/images/agl-demo-platform.bb:do_image_wic) failed with exit code '1'
  46. NOTE: Tasks Summary: Attempted 7741 tasks of which 6649 didn't need to be rerun and 1 failed.
  47.  
  48. Summary: 1 task failed:
  49. /home/devel/workspace_agl/meta-agl-demo/recipes-platform/images/agl-demo-platform.bb:do_image_wic
  50. Summary: There were 8 WARNING messages shown.
  51. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement