FS#62958 - [glew-wayland] glew-wayland (2.1.0-3) breaks dependency 'glew' required by mesa-demos

Attached to Project: Community Packages
Opened by Fabian (Tids) - Thursday, 20 June 2019, 18:09 GMT
Last edited by Alexander F. Rødseth (xyproto) - Monday, 29 July 2019, 09:11 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Alexander F. Rødseth (xyproto)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Latest update of glew-wayland removed the "provides glew" line, that breaks mesa-demos and other packages.

Additional info:
* 2.1.0-3
* https://git.archlinux.org/svntogit/community.git/commit/trunk?h=packages/glew-wayland&id=76c7dcf0b398f06ab257dd9c54634aebe45a2a89

Steps to reproduce: have glew-wayland (2.1.0-2) installed, as well as mesa-demos.

```
pacman -Syu
:: Synchronizing package databases...
core 135.3 KiB 1780K/s 00:00 [----------------------] 100%
extra 1632.0 KiB 6.81M/s 00:00 [----------------------] 100%
community 4.8 MiB 6.70M/s 00:01 [----------------------] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...
error: failed to prepare transaction (could not satisfy dependencies)
:: installing glew-wayland (2.1.0-3) breaks dependency 'glew' required by mesa-demos
```
This task depends upon

Closed by  Alexander F. Rødseth (xyproto)
Monday, 29 July 2019, 09:11 GMT
Reason for closing:  Fixed
Comment by Andreas Radke (AndyRTR) - Thursday, 20 June 2019, 19:52 GMT
Simply remove glew-wayland and install glew from extra repo or remove mesa-demos if you really rely on glew-wayland.
Comment by Fabian (Tids) - Thursday, 20 June 2019, 19:59 GMT
Why was it removed? Is there something wrong with glew-wayland providing glew?
Comment by Fabian (Tids) - Thursday, 20 June 2019, 20:22 GMT
Could find it myself. Thanks :)

https://bugs.archlinux.org/task/62713
Comment by Alexander F. Rødseth (xyproto) - Friday, 21 June 2019, 11:43 GMT
mesa-demos should work fine with either glew or glew-wayland, but some applications only work with the glew package.

@AndyRTR How is this best solved with the packaging system? Introducing "egl-light" and let both "glew" and "glew-wayland" provide it? I'm stuck.
Comment by Alexander F. Rødseth (xyproto) - Monday, 29 July 2019, 09:11 GMT
I added "conflicts=(glew)" instead of "provides=(glew)" until glew-wayland provides the same thing.

Loading...