FS#74277 - [mesa-amber] should the PKGBUILD satisfy the mesa dependency?

Attached to Project: Arch Linux
Opened by John (graysky) - Wednesday, 30 March 2022, 10:59 GMT
Last edited by Laurent Carlier (lordheavy) - Saturday, 02 April 2022, 13:36 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Laurent Carlier (lordheavy)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

I am unable to install this package due to dependency failures. Should mesa-amber provide mesa?

# pacman -S mesa-amber
resolving dependencies...
looking for conflicting packages...
:: mesa-amber and mesa are in conflict. Remove mesa? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mesa breaks dependency 'mesa' required by kodi
:: removing mesa breaks dependency 'mesa' required by libglvnd
:: removing mesa breaks dependency 'opengl-driver' required by libglvnd
:: removing mesa breaks dependency 'mesa' required by qt5-base
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Saturday, 02 April 2022, 13:36 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa-amber-32.3.8-4
lib32-mesa-amber-21.3.8-2
Comment by John (graysky) - Wednesday, 30 March 2022, 11:03 GMT
Is there a typo in line 60?
- provides=("mesa-${pkgver}")
+ provides=("mesa=${pkgver}" 'opengl-driver')
Comment by Luis (gh0stzk) - Thursday, 31 March 2022, 03:39 GMT
yep hopefully they can fix soon.. with new mesa 22 my acceleration 3d breaks... i had to install previos mesa package.
Comment by Benjamin Robin (benjarobin) - Saturday, 02 April 2022, 09:00 GMT
I was able to launch Kodi on a Ivy Bridge CPU (so pre-Broadwell) by installing a patched version of mesa-amber package (without recompiling it).
To do that :
- Download mesa-amber-21.3.8-2-x86_64.pkg.tar.zst
- Extract .PKGINFO file
- Replace the line "provides = mesa-21.3.8" by the following lines :

provides = mesa=21.3.8
provides = opengl-driver

- Put the newly created .PKGINFO file back to mesa-amber-21.3.8-2-x86_64.pkg.tar.zst
- Install the package :-)
Comment by Benjamin Robin (benjarobin) - Saturday, 02 April 2022, 09:07 GMT
I was planning to update the Wiki, and I notice that there is not lib32-mesa-amber package. Is there any plan to support it?
(Maybe I should move this question to another bug report...)
Comment by Laurent Carlier (lordheavy) - Saturday, 02 April 2022, 11:19 GMT
Please test mesa-amber-21.3.8-3
Comment by Benjamin Robin (benjarobin) - Saturday, 02 April 2022, 11:31 GMT
The provides line is still wrong...
It should be "mesa=21.3.8" and not "mesa-21.3.8"
A lot of packages require "mesa" (and do not known "mesa-21.3.8")
Comment by Benjamin Robin (benjarobin) - Saturday, 02 April 2022, 12:09 GMT
Thank you for creating lib32-mesa-amber, but there is also a mistake there...
Please replace 'lib32-mesa=${pkgver}' by "lib32-mesa=${pkgver}" otherwise the $pkgver variable is not expanded!

Also you did not yet (fully) fixed mesa-amber package, the typo is still there.
Comment by Laurent Carlier (lordheavy) - Saturday, 02 April 2022, 12:13 GMT
It should be better with mesa-amber-32.3.8-4 and lib32-mesa-amber-21.3.8-2 ;-)
Comment by John (graysky) - Saturday, 02 April 2022, 12:47 GMT
mesa-amber-32.3.8-4 fixes original issue I reported, thanks.
Comment by Benjamin Robin (benjarobin) - Saturday, 02 April 2022, 13:00 GMT
Thank you, looks good

Loading...