Bug 6402

Summary: xserver-xorg has floating DRI3 dependency
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Nitin Kamble <nitin.a.kamble>
Component: graphicsAssignee: valentin <valentin.popa>
Status: VERIFIED FIXED QA Contact: Andra Necula <andrax.g.necula>
Severity: normal    
Priority: Medium+ CC: alexandru.c.georgescu, andrax.g.necula, meta.mr.watcher, meta.watcher, richard.purdie, ross.burton
Version: unspecified   
Target Milestone: 1.7 M1   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)

Description Nitin Kamble 2014-06-05 00:38:11 UTC
Looks like the omap recipe is placed in the wrong layer.



ERROR: Function failed: do_compile (log file is located at /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-xf86-video-omapfb/2_0.1.1+gitrAUTOINC+28c006c94e-r21.7/temp/log.do_compile.5133

...

| compilation terminated.
| In file included from /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/lib32-qemux86/usr/include/xorg/globals.h:8:0,
|                  from /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/lib32-qemux86/usr/include/xorg/opaque.h:34,
|                  from /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/lib32-qemux86/usr/include/xorg/windowstr.h:60,
|                  from /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/lib32-qemux86/usr/include/xorg/randrstr.h:43,
|                  from /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/lib32-qemux86/usr/include/xorg/xf86Crtc.h:27,
|                  from /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/work/x86-pokymllib32-linux/lib32-xf86-video-omapfb/2_0.1.1+gitrAUTOINC+28c006c94e-r21.7/git/src/omapfb-output.c:30:
| /home/pokybuild/yocto-autobuilder/yocto-slave/nightly-world/build/build/tmp/sysroots/lib32-qemux86/usr/include/xorg/extinit.h:180:38: fatal error: X11/extensions/dri3proto.h: No such file or directory
|  #include <X11/extensions/dri3proto.h

More details here:

https://autobuilder.yoctoproject.org/main/builders/nightly-world/builds/120/steps/BuildImages/logs/stdio
Comment 1 Ross Burton 2014-06-05 14:50:21 UTC
That's a floating DRI3 configuration in xserver-xorg.
Comment 2 Ross Burton 2014-06-05 15:06:02 UTC
Vali, can you look at this?  xserver-xorg enables/disables DRI3 depending on whether the dri3 headers/proto are already in the sysroot which is clearly wrong.
Comment 3 valentin 2014-06-11 12:53:51 UTC
Patches were sent on OE-core.
Comment 4 valentin 2014-06-11 14:08:02 UTC
Patch that solves this issue merged:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=b5f7bb10b34446ac6b802a4f73f8f8bf68b6ae41
Comment 5 Andra Necula 2014-10-01 09:03:52 UTC
Verified on master commit: 8ac8eca2e3bd8c78e2b31ea974930ed0243258a3