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@lists.freedesktop.org
          Reporter: jpwhit...@kde.org
        QA Contact: mesa-dev@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.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to