eid-project / meta-eid

MIT License
8 stars 4 forks source link

Problem with bitbake foo example #2

Open elfgoh opened 5 years ago

elfgoh commented 5 years ago

Using via docker, I run into the following errors. Please advise 🙇

$ make
docker run --workdir /home/eid --cap-add SYS_ADMIN -u 1000 --rm --name eid -it eid-image
eid@6850f7340b7f:~$ bitbake foo
bash: bitbake: command not found
eid@6850f7340b7f:~$  source ./poky/meta-eid/setup.sh
eid@6850f7340b7f:~/build$ bitbake foo
WARNING: Layer eid should set LAYERSERIES_COMPAT_eid in its conf/layer.conf file to list the core layer names it is compatible with.
NOTE: Not using a cache. Set CACHE = <directory> to enable.
Parsing recipes: 100% |########################################| Time: 0:00:00
Parsing of 5 .bb files complete (0 cached, 5 parsed). 5 targets, 0 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |#####################################| Time: 0:00:00
NOTE: Executing RunQueue Tasks
ERROR: baz-1.0-r0 do_debianize: Function failed: do_debianize (log file is located at /home/eid/build/tmp/work/baz-1.0-r0/temp/log.do_debianize.120)
ERROR: Logfile of failure stored in: /home/eid/build/tmp/work/baz-1.0-r0/temp/log.do_debianize.120
ERROR: Task (/home/eid/poky/meta-eid/recipes-app/baz/baz_git.bb:do_debianize) failed with exit code '1'
ERROR: foo-1.0-r0 do_debianize: Function failed: do_debianize (log file is located at /home/eid/build/tmp/work/foo-1.0-r0/temp/log.do_debianize.123)
ERROR: Logfile of failure stored in: /home/eid/build/tmp/work/foo-1.0-r0/temp/log.do_debianize.123
ERROR: Task (/home/eid/poky/meta-eid/recipes-app/foo/foo_git.bb:do_debianize) failed with exit code '1'
NOTE: Tasks Summary: Attempted 6 tasks of which 0 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/eid/poky/meta-eid/recipes-app/baz/baz_git.bb:do_debianize
  /home/eid/poky/meta-eid/recipes-app/foo/foo_git.bb:do_debianize
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
eid@6850f7340b7f:~/build$
zuka0828 commented 5 years ago

Hi,

Thank you for your report. Sorry, the following command was missing in README.md (Docker section) which you referred. $ sudo ../poky/meta-eid/scripts/setup-sbuild.sh

I updated README.md, could you try again with that? https://github.com/eid-project/meta-eid/blob/master/README.md