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JnL3JvdXNzZWF1L1BDU0MvLS9jb21taXQvNjVmOWI2MTAxMzhjOGE0YTU1NjNkMDMzMjEyMGY2 ODQ2ODJlMDIzNwoiRml4IHR5cG8gaW4gKHVudXNlZCkgZXJyb3IgY29kZSBTQ0FSRF9FX1VOS05P V05fUkVTX01TRyIK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sun Mar 3 19:20:01 2024
    Processing control commands:

    reassign -1 libpcsclite-dev 2.0.2-1
    Bug #1065380 [src:ausweisapp2] ausweisapp2 FTBFS with pcsc-lite 2.0.2
    Bug reassigned from package 'src:ausweisapp2' to 'libpcsclite-dev'.
    No longer marked as found in versions ausweisapp2/2.0.3-1.
    Ignoring request to alter fixed versions of bug #1065380 to the same values previously set
    Bug #1065380 [libpcsclite-dev] ausweisapp2 FTBFS with pcsc-lite 2.0.2
    Marked as found in versions pcsc-lite/2.0.2-1.
    affects -1 src:ausweisapp2
    Bug #1065380 [libpcsclite-dev] ausweisapp2 FTBFS with pcsc-lite 2.0.2
    Added indication that 1065380 affects src:ausweisapp2

    --
    1065380: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1065380
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Adrian Bunk@21:1/5 to Ludovic Rousseau on Sun Mar 3 19:20:01 2024
    Control: reassign -1 libpcsclite-dev 2.0.2-1
    Control: affects -1 src:ausweisapp2

    On Sun, Mar 03, 2024 at 06:41:25PM +0100, Ludovic Rousseau wrote:
    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.
    ...

    Thanks, I'm reassigning the bug to libpcsclite-dev since that's where it
    will be fixed.

    cu
    Adrian

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)