[Mesa-dev] [Bug 105567] meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 16 22:47:32 UTC 2018


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

            Bug ID: 105567
           Summary: meson/ninja: 1. mesa/vdpau incorrect symlinks in
                    DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path
                    overrides DESTDIR
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: bug0xa3d2 at hushmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

A meson/ninja install using option, "-Ddri-drivers-path" overrides the DESTDIR
variable and install to the path specified by "-Ddri-drivers-path". Therefore
files don't get packaged or logged with the files that do get installed to
DESTDIR.

The above behaviour differs from an autotools build and install in which,
"--with-dri-driverdir" does not override DESTDIR.

Slackware installs dri modules in, "/usr/lib64/xorg/modules/dri".

Leaving, "-Ddri-drivers-path" to the default value allows DRI drivers to be
installed in the DESTDIR directory but then xorg-server will need to be
recompiled to find the new DRI driver location.

Meson/ninja installing vdpau libraries (two bugs in one):

1.Symlink bug
If using DESTDIR variable WITHOUT "-Dvdpau-libs-path" then the symlinks,
"libvdpau_radeonsi.so.1.0 libvdpau_radeonsi.so.1 libvdpau_radeonsi.so"
incorrectly point to, "${DESTDIR}/lib64/vdpau/libvdpau_radeonsi.so.1.0.0" and
not, "/usr/lib64/vdpau/vdpau_radeonsi.so.1.0.0".  Autotools building would have
symlinked to, "/usr/lib64/vdpau/vdpau_radeonsi.so.1.0.0" when installing to
DESTDIR.

2. DESTDIR bug/meson feature
If using DESTDIR variable WITH "-Dvdpau-libs-path" then all vdpau related files
and symlinks install to, "/usr/lib64/vdpau/". Symlinks correctly point to
"/usr/lib64/vdpau/libvdpau_radeonsi.so.1.0.0". If installing in this manner
then files and links cannot be packaged or logged with other files that do
install to DESTDIR.

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


More information about the mesa-dev mailing list