Community Packages

Please read this before reporting a bug:
http://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#65374 - [imv] libxkbcommon-x11 is required at run-time

Attached to Project: Community Packages
Opened by Michal Vlasák (lahcim8) - Tuesday, 04 February 2020, 16:27 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 22 February 2020, 20:02 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Description:
imv (version 4.1.0-1) fails to open any image with the following error message:
imv-x11: error while loading shared libraries: libxkbcommon-x11.so.0: cannot open shared object file: No such file or directory

`libxkbcommon-x11` provides this shared library. After installing it the problem is solved.

The library is actually listed as a build dependency of imv. A working solution is moving `libxkbcommon-x11` from makedepends to depends category in the PKGBUILD. Additionally `libxkbcommon` is a dependency of `libxkbcommon-x11` and can be omitted from depends as a transitive dependency.

This is the relevant part of current imv PKGBUILD:
depends=(desktop-file-utils fontconfig freeimage glu librsvg libxkbcommon pango sdl2_ttf)
makedepends=(asciidoc cmocka git libxkbcommon-x11)

This is what I propose:
depends=(desktop-file-utils fontconfig freeimage glu librsvg libxkbcommon-x11 pango sdl2_ttf)
makedepends=(asciidoc cmocka git)

Steps to reproduce:
- install imv
- ensure `libxkbcommon-x11` is not installed as a dependency of any other package
- try openning an image with imv
This task depends upon

Loading...