Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. LICENSE = "BSD"
  2. LIC_FILES_CHKSUM = "file://test/LICENSE;md5=d41d8cd98f00b204e9800998ecf8427e"
  3.  
  4. DEPENDS += "python3-setuptools-native"
  5.  
  6. SRC_URI = "file://test.py
  7. file://LICENSE"
  8.  
  9. do_compile() {
  10. python3 ${S}/../test.py
  11. }
  12.  
  13. import setuptools
  14.  
  15. print("HELLO")
  16.  
  17. $ bitbake test
  18. ERROR: test-1.0-r0 do_compile: Function failed: do_compile (log file is located at /path/to/test/1.0-r0/temp/log.do_compile.8532)
  19. ERROR: Logfile of failure stored in: /path/to/test/1.0-r0/temp/log.do_compile.8532
  20. Log data follows:
  21. | DEBUG: Executing shell function do_compile
  22. | Traceback (most recent call last):
  23. | File "/path/to/test-1.0/../test.py", line 1, in <module>
  24. | import setuptools
  25. | ImportError: No module named 'setuptools'
  26. | WARNING: exit code 1 from a shell command.
  27. | ERROR: Function failed: do_compile (log file is located at /path/to/test/1.0-r0/temp/log.do_compile.8532)
  28. ERROR: Task (/path/to/test.bb:do_compile) failed with exit code '1'
  29. NOTE: Tasks Summary: Attempted 400 tasks of which 398 didn't need to be rerun and 1 failed.
  30. NOTE: Writing buildhistory
  31.  
  32. Summary: 1 task failed:
  33. /path/to/test.bb:do_compile
  34. Summary: There was 1 ERROR message shown, returning a non-zero exit code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement