FS#53634 - [pinentry] Missing dependencie in fresh ArchLinux installation

Attached to Project: Arch Linux
Opened by Xavier C. Llano (XavierCLL) - Monday, 10 April 2017, 17:45 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 10 April 2017, 20:28 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I just done a fresh ArchLinux installation using the image archlinux-2017.04.01-x86_64.iso

And after install some packages I have some problems with some app that use pinentry (e.g. kwallet), I found the problem with pinentry, I try executing manually:

$ pinentry
pinentry: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory

After that install gkt2 and solve the problem, but I think that gtk2 should be a dependency not optional package, or maybe build without this shared library

Additional info:
* package version(s): 1.0.0-1

This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 10 April 2017, 20:28 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#49041  and many, many others. Search all tickets before filing a new one
Comment by David Thurstenson (thurstylark) - Monday, 10 April 2017, 17:47 GMT
Since pinentry can be used without a graphical environment, an optional dependency is appropriate.
Comment by Xavier C. Llano (XavierCLL) - Monday, 10 April 2017, 17:51 GMT
Okay, I understand, but without gtk2 is unusable due share library dependency with libgtk-x11-2.0.so.0
Comment by David Thurstenson (thurstylark) - Monday, 10 April 2017, 17:57 GMT
Yes, without gtk2, it's unusable in a graphical environment. In a non-graphical environment, pinentry will use ncurses or tty interface without complaining. The lack of gtk2 does not make pinentry unusable wholesale, so it's an optional dependency for those who wish to use pinentry in a graphical environment. This allows people to use gnupg and pinentry without needing to install gtk2 and its dependencies if they wish.
Comment by Xavier C. Llano (XavierCLL) - Monday, 10 April 2017, 18:06 GMT
Okay, I understand your point, but there are some graphical environment that not use a gtk2 like kde or lxqt that by default not install gtk2 and in those cases there are problems with some app that use pinentry
Comment by David Thurstenson (thurstylark) - Monday, 10 April 2017, 18:09 GMT
That is exactly why it is the responsibility of the user to read and consider optional dependencies when installing or troubleshooting.
Comment by Xavier C. Llano (XavierCLL) - Monday, 10 April 2017, 19:08 GMT
@thurstylark this no solve the problem, first because for the normal user is not easy know that the problem is a missing only one optional dependency in a specific package, second It is not recommended at all that some DE that not use gtk required gtk only for this package
Comment by Xavier C. Llano (XavierCLL) - Monday, 10 April 2017, 19:11 GMT
The solution is split this package for each environment like pinentry-gtk2, pinentry-curses, pinentry-qt ... similar as Ubuntu does http://packages.ubuntu.com/search?keywords=pinentry&searchon=names&suite=yakkety&section=all
Comment by Doug Newgard (Scimmia) - Monday, 10 April 2017, 20:28 GMT
Reopened for a warning: Of the 4 tickets you've opened, 3 have been duplicates. Search before opening tickets or we'll have to take action.

Loading...