[Mesa-dev] [Bug 109698] dri.pc contents invalid when built with meson

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 20 23:11:53 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=109698

            Bug ID: 109698
           Summary: dri.pc contents invalid when built with meson
           Product: Mesa
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: jpwhiting at kde.org
        QA Contact: mesa-dev at lists.freedesktop.org

When debian packaging built mesa 18.3.2-1 with meson build system using the
following configuration parameters:

-Ddri-drivers-path=/usr/lib/$(DEB_HOST_MULTIARCH)/dri
-Ddri-search-path='/usr/lib/$(DEB_HOST_MULTIARCH)/dri:\$$$${ORIGIN}/dri:/usr/lib/dri'

dri.pc got the following incorrect dridriverdir:

dridriverdir=/usr//usr/lib/x86_64-linux-gnu/dri

which caused xorg-server built against it to try to dlopen the glx libraries
from the wrong path since xorg-xserver's configure uses pkg-config
--variable=dridriverdir dri to get the path to dlopen glx libraries from.

Removing the two -Ddri-*-path configuration parameters from debian/rules seems
to have fixed the problem which has also been reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922807

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190220/088cf774/attachment.html>


More information about the mesa-dev mailing list