Summary: | dri.pc contents invalid when built with meson | ||
---|---|---|---|
Product: | Mesa | Reporter: | Jeremy Whiting <jpwhiting> |
Component: | Other | Assignee: | mesa-dev |
Status: | RESOLVED FIXED | QA Contact: | mesa-dev |
Severity: | critical | ||
Priority: | medium | ||
Version: | unspecified | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Jeremy Whiting
2019-02-20 23:11:53 UTC
Hello, Jeremy. Looks like during meson configuration you are also using --prefix=/usr So if at this moment as workaround option dri-drivers-path will exclude a 'prefix' from path it should work, like: -Ddri-drivers-path=/lib/$(DEB_HOST_MULTIARCH)/dri Also patch to mesa proposed: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/285 Could you, please, try if it fixes issue? AFAICT there are two issues here. 1. the prefix wrongfully added to the custom variable 2. the custom variable can be a list of paths separated by colon, yet only the first one ends up in dri.pc Perhaps one process of prefixing (1) also broke the multiple paths (2)? Should be fixed with the following. Expect the commit to land in 18.3 and 19.0 in due time. commit f6556ec7d126b31da37c08d7cb657250505e01a0 Author: Sergii Romantsov <sergii.romantsov@globallogic.com> Date: Thu Feb 21 10:28:11 2019 +0200 dri: meson: do not prefix user provided dri-drivers-path The user can select the location where there dri drivers |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.