After this commit https://svnweb.freebsd.org/ports?view=revision&sortby=date&revision=548950 install conflicts: ===> Installing for mesa-libs-19.0.8_3 ===> Checking if mesa-libs is already installed ===> Registering installation for mesa-libs-19.0.8_3 as automatic Installing mesa-libs-19.0.8_3... pkg-static: mesa-libs-19.0.8_3 conflicts with nvidia-driver-390-390.138 (installs files into the same place). Problematic file: /usr/local/lib/libGLESv1_CM.so *** Error code 70
12.1-p10 amd64.
Created attachment 218072 [details] Handle libGLESv1_CM.so
Created attachment 218073 [details] v2
Created attachment 218074 [details] 3rd time the charm ?
Created attachment 218075 [details] v4
graphics/mesa-libs, x11/nvidia-driver-340 and x11/nvidia-driver-390 build and work fine with this patch.
This solves the conflict for me with x11/nvidia-driver. Like the reporter, I'm at 12.1-RELEASE-p10.
I'm running stable/12: FreeBSD g1-48.catwhisker.org 12.2-STABLE FreeBSD 12.2-STABLE #816 r365891M/365898: Sat Sep 19 03:50:24 PDT 2020 root@g1-55.catwhisker.org:/common/S1/obj/usr/src/amd64.amd64/sys/CANARY amd64 I just reverted r548950 locally, which seems to work OK.
I applied the v4 patch to the x11/nvidia-driver port in my local poudriere system, and was able to install the generated nvidia-driver-440.100_1 package and get X11 working again with my nvidia card (12.1-RELEASE-p10 amd64).
Created attachment 218135 [details] v4 patch with nvidia-driver and linux-nvidia-libs updated to 450.66 v4 patch with nvidia-driver and linux-nvidia-libs updated to 450.66. Applicable on /usr/ports. Possibly insufficient, as not checked newly-added files. Note that libnvidia-fatbinaryloader.so.* are removed from linux-nvidia-libs at 450.57. See [1] for details. [1] https://www.nvidia.com/Download/driverResults.aspx/162352
A commit references this bug: Author: manu Date: Mon Sep 21 09:05:05 UTC 2020 New revision: 549424 URL: https://svnweb.freebsd.org/changeset/ports/549424 Log: Fix nvidia-driver* after r548950 Now that mesa include glesv1 lib, remove the nvidia generic named lib and add more entries in libmap.conf so the nvidia ones are used. PR: 249448 Reported by: VVD <vvd@unislabs.com> Changes: head/x11/nvidia-driver/Makefile head/x11/nvidia-driver/files/nvidia.conf.in head/x11/nvidia-driver/pkg-plist head/x11/nvidia-driver-304/Makefile head/x11/nvidia-driver-340/Makefile head/x11/nvidia-driver-390/Makefile
(In reply to Tomoaki AOKI from comment #10) Please open a new PR for the update. I'm not the maintainer and I was only interested in fixing my mistake.
(In reply to Emmanuel Vadot from comment #12) Done as Bug 249505 [patch]x11/nvidia-driver and x11/linux-nvidia-libs.
*** Bug 249548 has been marked as a duplicate of this bug. ***
*** Bug 249975 has been marked as a duplicate of this bug. ***