reassign -1 libpcsclite-dev 2.0.2-1Bug #1065380 [src:ausweisapp2] ausweisapp2 FTBFS with pcsc-lite 2.0.2
affects -1 src:ausweisapp2Bug #1065380 [libpcsclite-dev] ausweisapp2 FTBFS with pcsc-lite 2.0.2
Le 03/03/2024 à 17:13, Adrian Bunk a écrit :
Source: ausweisapp2
Version: 2.0.3-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: Ludovic Rousseau <rousseau@debian.org>
https://buildd.debian.org/status/logs.php?pkg=ausweisapp2&ver=2.1.0-1
...
/<<PKGBUILDDIR>>/src/card/pcsc/PcscUtils.h:112:46: error: ‘SCARD_E_UNKNOWN_RES_MNG’ was not declared in this scope; did you mean ‘SCARD_E_UNKNOWN_RES_MSG’?
112 | Scard_E_Unknown_Res_Mng = returnCode(SCARD_E_UNKNOWN_RES_MNG), /**< An unrecognized error code was returned from a layered component. */
| ^~~~~~~~~~~~~~~~~~~~~~~
...
This is not a regression in the new ausweisapp2 upload,
but due to a change in pcsc-lite 2.0.2 (maintainer Cc'ed):
https://salsa.debian.org/rousseau/PCSC/-/commit/65f9b610138c8a4a5563d0332120f684682e0237
"Fix typo in (unused) error code SCARD_E_UNKNOWN_RES_MSG"
Exact.
I now discover that Windows does define BOTH values:
SCARD_E_UNKNOWN_RES_MSG 0x8010002B in https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-rdpesc/9861f8da-76fe-41e6-847e-40c9aa35df8d
SCARD_E_UNKNOWN_RES_MNG 0x8010002B in https://learn.microsoft.com/en-us/windows/win32/secauthn/authentication-return-values
I guess pcsc-lite will also have to define both values.
I will release a new pcsc-lite version soon.
...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 02:42:18 |
Calls: | 6,666 |
Calls today: | 4 |
Files: | 12,212 |
Messages: | 5,335,606 |