| Summary: | [build appliance] yocto 2.2: bitbake fails to build image | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] Runtime | Reporter: | Ke Zou <ke.zou> |
| Component: | build-appliance | Assignee: | Juro Bystricky <juro.bystricky> |
| Status: | VERIFIED FIXED | QA Contact: | Ke Zou <ke.zou> |
| Severity: | normal | ||
| Priority: | High | CC: | jose.perez.carranza, richard.purdie, yi.zhao |
| Version: | 2.2 | ||
| Target Milestone: | 2.2 M1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | No (bug/feature does not impact docs) | |
|
Description
Ke Zou
2016-06-12 06:46:38 UTC
Good news is that after bumping the b-a revision, we avoid this issue. We do run into a locale problem, unless the bitbake environment has LC_ALL=en_US.utf-8 though... (In reply to comment #1) > Good news is that after bumping the b-a revision, we avoid this issue. We do > run into a locale problem, unless the bitbake environment has > LC_ALL=en_US.utf-8 though... yes, but even then I ran into some problems with network (not coming up). I think we have a patch for the network issue and Ross has just added a patch to add python2 back into the image which should resolve some of the build issues we were seeing. Could someone run a build inside an image with master and check if there are any further issues? (In reply to comment #3) > I think we have a patch for the network issue and Ross has just added a > patch to add python2 back into the image which should resolve some of the > build issues we were seeing. Could someone run a build inside an image with > master and check if there are any further issues? yes, I will do it. (Juro) It looks like all issues with BA have been resolved. There were several patches involved: 1. BA recipe needed new SRCREV 2. BA recipe needed envar for locale LC_ALL=en_US.utf-8 (needed by python3) 3. BA recipe needed to explicitly include network components, these were removed from "packagegroup-self-hosted" 4. Some packages (i.e. xcb-proto, glib) would not build in BA due to some python2 modules missing The last commit needed was the commit 0006a7fada2fcf1d3194f6a377b5b516da08bfc7 addressing the issue #4. (https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=0006a7fada2fcf1d3194f6a377b5b516da08bfc7) In the end I was able to run in BA: $ bitbake core-image-minimal $ runqemu qemux86 <path>core-image-minimal.ext4 verified with build 2.2M1 rc2 (06-21 build) |