From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] nvidia390: fix libGL dependency conflict
Date: Fri, 11 Oct 2019 17:20:57 +0200 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15337@inbox.vuxu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1269 bytes --]
There is a new pull request by st3r4g against master on the void-packages repository
https://github.com/st3r4g/void-packages nvidia390-fix-libGL-conflict
https://github.com/void-linux/void-packages/pull/15337
nvidia390: fix libGL dependency conflict
Trying to include the package `nvidia390` in a live image:
`sudo ./mklive.sh -a x86_64 -r https://alpha.de.repo.voidlinux.org/current/nonfree -p nvidia390`
Failed with:
> nvidia390-libs-390.129_1: collecting files...
ERROR: nvidia390-libs-390.129_1: file `/usr/lib/libEGL.so.1' already installed by package libEGL-19.1.7_3.
ERROR: nvidia390-libs-390.129_1: file `/usr/lib/libGL.so.1' already installed by package libGL-19.1.7_3.
ERROR: nvidia390-libs-390.129_1: file `/usr/lib/xorg/modules/extensions/libglx.so' already installed by package libGL-19.1.7_3.
Transaction failed! see above for errors.
ERROR: Failed to install base-system nvidia390
The reason is that `nvidia390-gtklibs` pulls in `cairo` which in turn installs the Mesa implementation of `libGL` (ignoring the `libGL` provided by Nvidia). I fixed this looking at how the `nvidia` template deals with it, I don't know if it's the optimal solution.
A patch file from https://github.com/void-linux/void-packages/pull/15337.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-nvidia390-fix-libGL-conflict-15337.patch --]
[-- Type: text/x-diff, Size: 1161 bytes --]
From cda8862d5c070d5a5ed06d6690a360a04ef95d49 Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Fri, 11 Oct 2019 17:09:56 +0200
Subject: [PATCH] nvidia390: fix libGL dependency conflict
---
srcpkgs/nvidia390/template | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/srcpkgs/nvidia390/template b/srcpkgs/nvidia390/template
index 150c8b4d28e..058d89fab67 100644
--- a/srcpkgs/nvidia390/template
+++ b/srcpkgs/nvidia390/template
@@ -4,7 +4,7 @@ _desc="NVIDIA drivers (GeForce 400, 500 series)"
pkgname=nvidia390
version=390.129
-revision=1
+revision=2
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="custom:NVIDIA Proprietary"
homepage="http://www.nvidia.com"
@@ -14,7 +14,8 @@ nopie=yes
repository="nonfree"
create_wrksrc=yes
short_desc="${_desc} - Libraries and Utilities"
-depends="nvidia390-gtklibs-${version}_${revision} nvidia390-dkms-${version}_${revision} pkg-config"
+depends="nvidia390-libs-${version}_${revision} nvidia390-gtklibs-${version}_${revision}
+ nvidia390-dkms-${version}_${revision} pkg-config"
conflicts="catalyst>=0 xserver-abi-video>24_1"
build_options="glvnd"
next reply other threads:[~2019-10-11 15:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-11 15:20 voidlinux-github [this message]
2019-10-12 8:35 ` voidlinux-github
2019-10-12 8:56 ` voidlinux-github
2019-10-12 8:57 ` voidlinux-github
2019-10-12 8:59 ` [PR PATCH] [Merged]: " voidlinux-github
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15337@inbox.vuxu.org \
--to=voidlinux-github@inbox.vuxu.org \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).