<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - 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#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - 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">bug 105567</a>
              from <span class="vcard"><a class="email" href="mailto:bug0xa3d2@hushmail.com" title="charlie <bug0xa3d2@hushmail.com>"> <span class="fn">charlie</span></a>
</span></b>
        <pre>Patches "meson-Set-.so-version-for-xa-like-autotools-does.patch" and
"meson-fix-megadriver-symlinking.patch" makes correct vdpau symlinks using
default options when installing to DESTDIR.


1) However when using option "-Ddri-drivers-path" (with sudo) I get the
following error:

Installing /dev/shm/x/mesa/mesa/build/meson-private/gl.pc to
/dev/shm/x/mesaPackage/usr/lib64/pkgconfig
Running custom install script '/dev/shm/x/mesa/mesa/bin/install_megadrivers.py
/dev/shm/x/mesa/mesa/build/src/gallium/targets/dri/libgallium_dri.so
/usr/lib64/xorg/modules/dri radeonsi_dri.so swrast_dri.so kms_swrast_dri.so
vmwgfx_dri.so'
Failed to run install script '/dev/shm/x/mesa/mesa/bin/install_megadrivers.py
/dev/shm/x/mesa/mesa/build/src/gallium/targets/dri/libgallium_dri.so
/usr/lib64/xorg/modules/dri radeonsi_dri.so swrast_dri.so kms_swrast_dri.so
vmwgfx_dri.so'
FAILED: meson-install 
/usr/bin/python3 /usr/bin/meson --internal install
/dev/shm/x/mesa/mesa/build/meson-private/install.dat
ninja: build stopped: subcommand failed.
Building mesa/mesa unfinished.
  Traceback (most recent call last):
  File "/dev/shm/x/mesa/mesa/bin/install_megadrivers.py", line 69, in <module>
    main()
  File "/dev/shm/x/mesa/mesa/bin/install_megadrivers.py", line 43, in main
    shutil.copy(args.megadriver, master)
  File "/usr/lib64/python2.7/shutil.py", line 133, in copy
    copyfile(src, dst)
  File "/usr/lib64/python2.7/shutil.py", line 97, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied:
'/usr/lib64/xorg/modules/dri/libgallium_dri.so'


__________________



2) Also, when only "-Dgallium-drivers=radeonsi,svga,swrast" shouldn't the
following vdpau drivers be excluded from building and installing:

/usr/lib64/vdpau/libvdpau_nouveau.so
/usr/lib64/vdpau/libvdpau_nouveau.so.1
/usr/lib64/vdpau/libvdpau_nouveau.so.1.0
/usr/lib64/vdpau/libvdpau_r600.so
/usr/lib64/vdpau/libvdpau_r600.so.1
/usr/lib64/vdpau/libvdpau_r600.so.1.0
/usr/lib64/vdpau/libvdpau_r300.so
/usr/lib64/vdpau/libvdpau_r300.so.1
/usr/lib64/vdpau/libvdpau_r300.so.1.0

and only the follwing remain:

/usr/lib64/vdpau/libvdpau_radeonsi.so
/usr/lib64/vdpau/libvdpau_radeonsi.so.1
/usr/lib64/vdpau/libvdpau_radeonsi.so.1.0

?

Or is it possible to exclude certain vdpau drivers?</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>