<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105567">105567</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>meson/ninja: 1. mesa/vdpau incorrect symlinks in DESTDIR and 2. Ddri-drivers-path Dvdpau-libs-path overrides DESTDIR
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>bug0xa3d2@hushmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>