Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mesa is broken in sumo #22

Closed
fmhess opened this issue Nov 16, 2018 · 3 comments
Closed

mesa is broken in sumo #22

fmhess opened this issue Nov 16, 2018 · 3 comments

Comments

@fmhess
Copy link

fmhess commented Nov 16, 2018

when building an image with sumo, during

meta-angstrom/recipes-tweaks/mesa/mesa_18.1.3.bb:do_compile

I get:

make[4]: *** No rule to make target '/usr/share/wayland-protocols/unstable/linux-dmabuf/linux-dmabuf-unstable-v1.xml', needed by 'drivers/dri2/linux-dmabuf-unstable-v1-client-protocol.h'. Stop.

any suggestions on how to work around?

@koenkooi
Copy link
Contributor

Do you have those files installed on your host? It could be that mesa is getting confused and picking the wrong headers.
It shouldn't do that, but would narrow down the problem.

@fmhess
Copy link
Author

fmhess commented Nov 16, 2018

I believe the problem was fixed in openembedded-core by this patch (which kraj signed off on)

https://github.com/openembedded/openembedded-core/blob/master/meta/recipes-graphics/mesa/files/0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch

So maybe the fix just needs to be added to the sumo branch of meta-angstrom/recipes-tweaks/mesa/

@fmhess
Copy link
Author

fmhess commented Nov 19, 2018

For the record, adding the 0006-use-PKG_CHECK_VAR-for-defining-WAYLAND_PROTOCOLS_DAT.patch worked, although you also need to add the following to the bb file:

EXTRA_OEMAKE += "WAYLAND_PROTOCOLS_DATADIR=${STAGING_DATADIR}/wayland-protocols"

Utimately I wound up disabling wayland entirely from the distro features, since the build of qtwayland is also broken.

koenkooi added a commit that referenced this issue Nov 21, 2018
Reported by Frank Mori Hess.

Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants