| Summary: | X server fails to start on e-menlow | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Alexandru Damian <alexandru.damian> | ||||
| Component: | graphics | Assignee: | Ross Burton <ross.burton> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | critical | ||||||
| Priority: | High | CC: | andreea.b.proca, kevin.tian, laurentiu.serban, meta.mr.watcher, meta.watcher, ross.burton, sgw, tom.zanussi | ||||
| Version: | 1.3.2 | ||||||
| Target Milestone: | 1.3 M5 | ||||||
| Hardware: | E-Menlow | ||||||
| OS: | Multiple | ||||||
| Whiteboard: | (Patch Review) | ||||||
| OS type for building Yocto: | --- | Type of Regression: | --- | ||||
| Verified: | Documentation change: | --- | |||||
| Bug Depends on: | |||||||
| Bug Blocks: | 2940 | ||||||
| Attachments: |
|
||||||
|
Description
Alexandru Damian
2012-09-21 09:43:56 UTC
Patch sent to yocto@ and Tom. I've applied the patch in the hopes of building and testing, but now can't build due to various problems: NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for virtual/libx11 (libx11, libx11-diet) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/libx11 NOTE: multiple providers are available for runtime libx11-dev (libx11, libx11-diet) NOTE: consider defining a PREFERRED_PROVIDER entry to match libx11-dev NOTE: Preparing runqueue ERROR: Multiple .bb files are due to be built which each provide virtual/xserver-xf86 (/home/trz/yocto/emenlow-test/meta-intel/meta-emenlow/recipes-graphics/xorg-xserver/xserver-psb_1.7.99.2.bb /home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb). This usually means one provides something the other doesn't and should. ... | ERROR: Function failed: do_configure (see /home/trz/yocto/emenlow-test/build/tmp/work/core2-poky-linux/xserver-xorg-2_1.11.2-r8/temp/log.do_configure.6474 for further information) ERROR: Task 4670 (/home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb, do_configure) failed with exit code '1' meta-emenlow sets the virtual/libx11 provider to a package that doesn't exist anymore. My fault, I failed to check meta-intel when I removed libx11-lite. Patch sent to tomz and yocto@. The latest patch did get rid of the warnings, but the error is still the.. | ERROR: Function failed: do_configure (see /home/trz/yocto/emenlow-test/build/tmp/work/core2-poky-linux/xserver-xorg-2_1.11.2-r8/temp/log.do_configure.3824 for further information) ERROR: Task 4670 (/home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 3828 tasks of which 3762 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb, do_configure Sorry about that - stopped reading carefully too soon. I'll kick off a emenlow build tomorrow but if someone could actually extract the configure log that would help greatly. I don't think the problem is that xserver-xorg configuration fails - it's not needed anyway because the preferred provider is xserver-psb, which seems to no longer be enough: ERROR: Multiple .bb files are due to be built which each provide virtual/xserver-xf86 (/home/trz/yocto/emenlow-test/meta-intel/meta-emenlow/recipes-graphics/xorg-xserver/xserver-psb_1.7.99.2.bb /home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb). This usually means one provides something the other doesn't and should. Not sure what it needs from xserver-xorg_1.11 but it shouldn't be getting built and not sure why it is now... *** Bug 3091 has been marked as a duplicate of this bug. *** For what is worth, I started the X server by manually coping libexa.so to the target. Oh, of course. Hm. Oh, it's probably building it for the exa module, because my previous fix was wrong. Fixed EXA patch sent (I didn't realise meta-emenlow built its own X server). I'm now getting rootfs generation failures later on though. Rootfs failure caused my dbg package installation causing problems. Odd but not critical. I've no hardware to test with but with the latest two patches I've mailed, core-image-sato builds now. Still seeing the below multiple .bb files error and the resulting do_configure failure with the following patches applied to poky/master and meta-intel/master. At this point, I'm not sure I even have the right patches... ---- poky/master: 0b09e50810162a07ef0aecee91ee32b4a36334a3 commit 2bbee04a5bdd9a2599a36ad37172d04f52976574 Author: Ross Burton <ross.burton@intel.com> Date: Wed Sep 26 17:08:27 2012 +0100 xserver-xorg: fix -exa conflicts Hopefully for good this time! ---- meta-intel/master: 34f561ad87aa2e70140a1d1586b84e9018137a5d commit df452cca103ca66e8bdac880bd1b077cdf6961a1 Author: Ross Burton <ross.burton@intel.com> Date: Tue Sep 25 20:12:26 2012 +0100 meta-emenlow: don't set virtual/libx11 provider libx11-trim doesn't exist anymore so setting that as the default isn't going to work, resulting in a "multiple providers" error. Tthe default provider (libx11) is good for 99.9% of people, so inherit that from oe-core. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> commit f34be2eff5e5ce0fd1627a6de44a0837c361cd66 Author: Ross Burton <ross.burton@intel.com> Date: Mon Sep 24 10:27:18 2012 +0100 meta-emenlow: add missing exa dependency The psb video drivers use the EXA framework, so add a dependency on xserver-xorg-module-exa. [YOCTO #3149] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> ---- ERROR: Multiple .bb files are due to be built which each provide virtual/xserver-xf86 (/home/trz/yocto/emenlow-test/meta-intel/meta-emenlow/recipes-graphics/xorg-xserver/xserver-psb_1.7.99.2.bb /home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb). This usually means one provides something the other doesn't and should. | ERROR: Function failed: do_configure (see /home/trz/yocto/emenlow-test/build/tmp/work/core2-poky-linux/xserver-xorg-2_1.11.2-r8/temp/log.do_configure.13624 for further information) ERROR: Task 4670 (/home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb, do_configure) failed with exit code '1' NOTE: Tasks Summary: Attempted 4021 tasks of which 3907 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/trz/yocto/emenlow-test/meta/recipes-graphics/xorg-xserver/xserver-xorg_1.11.2.bb, do_configure Summary: There was 1 WARNING message shown. Summary: There were 2 ERROR messages shown, returning a non-zero exit code. I suspect you're using the wrong exa patch, I sent a second version as the first was pulling xserver-xorg. I've pushed the correct series to meta-intel in the ross/emenlow branch. I've tested and pulled in the ross/emenlow branch - basic testing done - X comes up and glxgears works fine, etc. Here are the tested commits:
meta-intel/master: 50ac6e8785c167ea4aa4601fd690ef783151853d
poky/master: 0ca8b6248e5d00351e8a35c87037cc47945e436b
poky/master had the following revert in order to get a bootable test image:
Revert "initrd: Spawn an emergency shell when something goes wrong"
This reverts commit ffb6928f5783e5202d9849c3a185e29be1d41c63.
verified in 1.3 RC4 |