Hmm. Patch works but install fails due to missing GL libraries in the work folder.
What exactly fails?
Not sure if it has something to so with libglvnd which doesn't exist but there's a patch for it.?
Libglvnd is bundled with the driver.
Hmm. Patch works but install fails due to missing GL libraries in the work folder.
Not sure if it has something to so with libglvnd which doesn't exist but there's a patch for it.?
What exactly fails?
Libglvnd is bundled with the driver.
~$ cd /usr/ports/x11/nvidia-driver
nvidia-driver$ sudo make install clean
Password:
===> Installing for nvidia-driver-390.87_3
===> Checking if nvidia-driver is already installed
===> Registering installation for nvidia-driver-390.87_3
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libEGL_nvidia.so.0:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLESv2_nvidia.so:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLESv2_nvidia.so.2:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLX.so:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLX.so.0:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLX_indirect.so.0:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLX_nvidia.so:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLX_nvidia.so.0:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLdispatch.so:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libGLdispatch.so.0:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libOpenGL.so:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/libOpenGL.so.0:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/share/glvnd/egl_vendor.d/10_nvidia.json:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/xorg/modules/extensions/.nvidia/libglxserver_nvidia.so:No such file or directory
pkg-static: Unable to access file /usr/ports/x11/nvidia-driver/work/stage/usr/local/lib/xorg/modules/extensions/.nvidia/libglxserver_nvidia.so.1:No such file or directory
*** Error code 74
Stop.
make[1]: stopped in /usr/ports/x11/nvidia-driver
*** Error code 1
Stop.
make: stopped in /usr/ports/x11/nvidia-driver
Code:nvidia-driver-390.87_3
How did you apply the patch?
patch < patchname.patch
Clean up the mess and reapply the patch withpatch -p1 < whatever-path/nvidia-driver-430.26.patch
. You need to run this command from the root directory of the ports tree (/usr/ports in your case).