Github messages for voidlinux
 help / color / Atom feed
* [ISSUE] glfw-devel fails to install
@ 2020-03-21 11:04 BouncyMaster
  2020-03-21 13:50 ` st3r4g
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: BouncyMaster @ 2020-03-21 11:04 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 757 bytes --]

New issue by BouncyMaster on void-packages repository

https://github.com/void-linux/void-packages/issues/20252

Description:
<!-- Don't request update of package. We have a script for that. https://alpha.de.repo.voidlinux.org/void-updates/void-updates.txt . However, a quality pull request may help. -->
### System

* xuname:  
  ``Void 5.4.26_1 x86_64 AuthenticAMD uptodate rrrmFFF``

### Expected behavior
glfw-devel should install successfully.
### Actual behavior
glfw-devel doesn't install, instead i get:

``nvidia340-340.108_3: broken, unresolvable shlib `libnvidia-ml.so.1'``
``Transaction aborted due to unresolved shlibs.``
### Steps to reproduce the behavior
I use the proprietary drivers ``nvidia340``, ``glfw`` seems to install.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
@ 2020-03-21 13:50 ` st3r4g
  2020-03-21 13:53 ` st3r4g
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-03-21 13:50 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 714 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602046028

Comment:
Can reproduce, `glfw-devel` is pulling `libglvnd-devel` which for some reason is trying to replace `nvidia340-libs` with `libglvnd`. Instead, you should be able to have `libglvnd-devel` and `nvidia340-libs` installed.
Trying to install `nvidia340` and `libglvnd-devel` in the same transaction seems to succeed... I did this:
```
xbps-remove nvidia340
xbps-install libglvnd
xbps-install nvidia340 libglvnd-devel
```
Now you should be able to install things that depend on `libglvnd-devel`, such as `glfw-devel`. I suspect this is a bug in the virtualpkg mechanism...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
  2020-03-21 13:50 ` st3r4g
@ 2020-03-21 13:53 ` st3r4g
  2020-03-21 13:53 ` st3r4g
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-03-21 13:53 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 770 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602046028

Comment:
Can reproduce, `glfw-devel` is pulling `libglvnd-devel` which for some reason is trying to replace `nvidia340-libs` with `libglvnd`. Instead, you should be able to have `libglvnd-devel` and `nvidia340-libs` installed.
Trying to install `nvidia340` and `libglvnd-devel` in the same transaction seems to succeed... I did this:
```
xbps-remove nvidia340
xbps-install libglvnd
xbps-install nvidia340 libglvnd-devel
```
Now you should be able to install things that depend on `libglvnd-devel`, such as `glfw-devel`. I suspect this is a bug in the virtualpkg mechanism...
Please add 'when nvidia340 is installed' to the title.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
  2020-03-21 13:50 ` st3r4g
  2020-03-21 13:53 ` st3r4g
@ 2020-03-21 13:53 ` st3r4g
  2020-03-21 13:54 ` st3r4g
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-03-21 13:53 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 776 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602046028

Comment:
Can reproduce, `glfw-devel` is pulling `libglvnd-devel` which for some reason is trying to replace `nvidia340-libs` with `libglvnd`. Instead, you should be able to have `libglvnd-devel` and `nvidia340-libs` installed.
Trying to install `nvidia340` and `libglvnd-devel` in the same transaction seems to succeed... I did this:
```
xbps-remove nvidia340
xbps-install libglvnd
xbps-install nvidia340 libglvnd-devel
```
Now you should be able to install things that depend on `libglvnd-devel`, such as `glfw-devel`. I suspect this is a bug in the virtualpkg mechanism...
Please add 'when nvidia340 is installed' to the issue title.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
                   ` (2 preceding siblings ...)
  2020-03-21 13:53 ` st3r4g
@ 2020-03-21 13:54 ` st3r4g
  2020-03-21 13:55 ` st3r4g
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-03-21 13:54 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 823 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602046028

Comment:
Can reproduce, `glfw-devel` is pulling `libglvnd-devel` which for some reason is trying to replace `nvidia340-libs` with `libglvnd`. Instead, you should be able to have `libglvnd-devel` and `nvidia340-libs` installed.
Trying to install `nvidia340` and `libglvnd-devel` in the same transaction seems to succeed... I did this:
```
xbps-remove nvidia340
xbps-install libglvnd
xbps-install nvidia340 libglvnd-devel
```
Now you should be able to install things that depend on `libglvnd-devel`, such as `glfw-devel`. I suspect this is a bug in the virtualpkg mechanism...
Please add 'when nvidia340 is installed' to the issue title and replace 'glfw-devel' with 'libglvnd-devel'.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
                   ` (3 preceding siblings ...)
  2020-03-21 13:54 ` st3r4g
@ 2020-03-21 13:55 ` st3r4g
  2020-03-21 14:02 ` xtraeme
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-03-21 13:55 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 813 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602046028

Comment:
Can reproduce, `glfw-devel` is pulling `libglvnd-devel` which for some reason is trying to replace `nvidia340-libs` with `libglvnd`. Instead, you should be able to have `libglvnd-devel` and `nvidia340-libs` installed.
Trying to install `nvidia340` and `libglvnd-devel` in the same transaction seems to succeed... I did this:
```
xbps-remove nvidia340
xbps-install libglvnd
xbps-install nvidia340 libglvnd-devel
```
Now you should be able to install things that depend on `libglvnd-devel`, such as `glfw-devel`. I suspect this is a bug in the virtualpkg mechanism...
Please change the issue title into 'libglvnd-devel fails to install when nvidia340 is installed'.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
                   ` (4 preceding siblings ...)
  2020-03-21 13:55 ` st3r4g
@ 2020-03-21 14:02 ` xtraeme
  2020-03-21 14:27 ` BouncyMaster
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: xtraeme @ 2020-03-21 14:02 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 202 bytes --]

New comment by xtraeme on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602047673

Comment:
hmm

please paste output of `xbps-install -nd glfw-devel`

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: glfw-devel fails to install
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
                   ` (5 preceding siblings ...)
  2020-03-21 14:02 ` xtraeme
@ 2020-03-21 14:27 ` BouncyMaster
  2020-05-23  9:43 ` libglvnd-devel fails to install when nvidia340 is installed st3r4g
  2020-05-23 10:09 ` st3r4g
  8 siblings, 0 replies; 10+ messages in thread
From: BouncyMaster @ 2020-03-21 14:27 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 271 bytes --]

New comment by BouncyMaster on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-602050898

Comment:
Output of ``xbps-install -nd glfw-devel``
[debug.txt](https://github.com/void-linux/void-packages/files/4363107/debug.txt)

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libglvnd-devel fails to install when nvidia340 is installed
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
                   ` (6 preceding siblings ...)
  2020-03-21 14:27 ` BouncyMaster
@ 2020-05-23  9:43 ` st3r4g
  2020-05-23 10:09 ` st3r4g
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-05-23  9:43 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-633016063

Comment:
I think this happens because there's no match here:
```
if (foundvpkg && xbps_match_virtual_pkg_in_dict(curpkgd, reqpkg)) {
        /*
        * Check if required dependency is a virtual package and is satisfied
        * by an installed package.
        */
        xbps_dbg_printf_append(xhp, "[virtual] satisfied by `%s'.\n", pkgver_q);
        continue;
}
```
`nvidia340-libs` has `provides=libglvnd-1.3.0_1`, which won't get matched by the `depends="${sourcepkg}-${version}_${revision}"` in `libglvnd-devel` , because the current version is not `1.3.0_1`. Still unsure how to solve...

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: libglvnd-devel fails to install when nvidia340 is installed
  2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
                   ` (7 preceding siblings ...)
  2020-05-23  9:43 ` libglvnd-devel fails to install when nvidia340 is installed st3r4g
@ 2020-05-23 10:09 ` st3r4g
  8 siblings, 0 replies; 10+ messages in thread
From: st3r4g @ 2020-05-23 10:09 UTC (permalink / raw)
  To: ml


[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/issues/20252#issuecomment-633019391

Comment:
The situation before the switch to libglvnd was:
```
MesaLib-devel_package() {
	depends="... libGL>=${version}_${revision} ..."

nvidia340-libs_package() {
	provides="libGL-${version}_${revision}"
```
which worked just because nvidia versions are higher than mesa versions... It makes zero sense to compare them, maybe this hack was introduced as a workaround for this issue...

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-21 11:04 [ISSUE] glfw-devel fails to install BouncyMaster
2020-03-21 13:50 ` st3r4g
2020-03-21 13:53 ` st3r4g
2020-03-21 13:53 ` st3r4g
2020-03-21 13:54 ` st3r4g
2020-03-21 13:55 ` st3r4g
2020-03-21 14:02 ` xtraeme
2020-03-21 14:27 ` BouncyMaster
2020-05-23  9:43 ` libglvnd-devel fails to install when nvidia340 is installed st3r4g
2020-05-23 10:09 ` st3r4g

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git