FS#77785 - [wine] Missing dependency on pcsclite

Attached to Project: Community Packages
Opened by Alex Henrie (alex.henrie) - Wednesday, 08 March 2023, 21:08 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:07 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

If pcsclite is not present at compile time, winscard.dll is not built, which prevents applications like Mimikatz [1] from starting.

pcsclite should be added to both makedepends and optdepends.

[1] https://github.com/gentilkiwi/mimikatz/releases/tag/2.2.0-20220919
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:07 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/wine/issues/8
Comment by Chih-Hsuan Yen (yan12125) - Thursday, 09 March 2023, 03:42 GMT
As a record, I'm working on polishing lib32-pcsclite for moving it from AUR to [multilib]. That may take some time, so a short-term step can be enabling winscard.dll for 64-bit wine first.
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 11 March 2023, 09:56 GMT
I pushed lib32-pcsclite to [multilib-testing]. With the attached PKGBUILD for wine, 64-bit Windows applications using winscard.dll run well but 32-bit ones fail.

> SCardEstablishContext returns 80100004

On the other hand, 32-bit Linux applications using /usr/lib32/libpcsclite.so.1 run well. Probably a wine issue.

Edit: yes, it's a wine issue https://bugs.winehq.org/show_bug.cgi?id=54661
Comment by Chih-Hsuan Yen (yan12125) - Saturday, 11 March 2023, 12:51 GMT
Oops, forgot the PKGBUILD
   PKGBUILD (4.7 KiB)
Comment by Alex Henrie (alex.henrie) - Wednesday, 22 March 2023, 18:14 GMT
This is a pretty serious problem because the MS Office 365 installer requires winscard.dll too.
Comment by Alex Henrie (alex.henrie) - Wednesday, 16 August 2023, 22:43 GMT
Here's the patch that I emailed to Felix in March to fix all of the problems with the dependency list (see the explanation in the patch file for details). I'm attaching it to this bug report because missing pcsclite is the most serious problem of all of them.

If this patch is accepted in whole or in part, no attribution is required. I release these changes into the public domain.

Loading...