• Bug#1061385: golang-github-google-go-pkcs11: tests fail on 32 bit archi

    From Drew Parsons@21:1/5 to All on Tue Jan 23 12:50:02 2024
    Source: golang-github-google-go-pkcs11
    Version: 0.3.0+dfsg-1
    Severity: serious
    Justification: debci
    Control: block 1024276 by -1

    go-pkcs11 tests are failing on 32-bit architectures (armel, armhf, i386),
    see https://ci.debian.net/packages/g/golang-github-google-go-pkcs11/

    This is preventing migration to testing,
    see https://tracker.debian.org/pkg/golang-github-google-go-pkcs11
    and therefore blocking processing of golang-github-googleapis-enterprise-certificate-proxy

    Excerpt from the test log for i386 reports

    ...
    79s crypto/x509
    79s github.com/google/go-pkcs11/pkcs11
    82s # github.com/google/go-pkcs11/pkcs11
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:300:33: cannot use (_Ciconst_sizeof_CK_UTF8CHAR) * _Ctype_ulong(len(s)) (value of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1019:38: cannot use _Ctype_ulong(n) (value of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1100:33: cannot use attrs[0].ulValueLen * (_Ciconst_sizeof_CK_BYTE) (value of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1104:33: cannot use attrs[1].ulValueLen (variable of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1137:37: cannot use attrs[0].ulValueLen (variable of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1141:37: cannot use attrs[1].ulValueLen (variable of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s src/github.com/google/go-pkcs11/pkcs11/pkcs11.go:1440:35: cannot use _Ctype_ulong(n) (value of type _Ctype_ulong) as _Ctype_uint value in argument to (_Cfunc__CMalloc)
    82s dh_auto_build: error: cd _build && go install -trimpath -v -p 2 github.com/google/go-pkcs11/pkcs11 returned exit code 1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Jan 24 11:10:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1061385 [src:golang-github-google-go-pkcs11] golang-github-google-go-pkcs11: tests fail on 32 bit architectures
    Added tag(s) pending.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Drew Parsons@21:1/5 to All on Wed Jan 24 11:10:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1061385 in golang-github-google-go-pkcs11 reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/go-team/packages/golang-github-google-go-pkcs11/-/commit/ad679e8937a483782280e17711c2b1c85feaa9a0

    ------------------------------------------------------------------------
    add debian patch use-uint-for-32-bit-builds.patch

    adapts build for 32-bit architectures

    Closes: #1061385 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1061385

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Wed Jan 24 11:30:01 2024
    This is a multi-part message in MIME format...

    Your message dated Wed, 24 Jan 2024 10:20:04 +0000
    with message-id <E1rSaMW-00FUuK-RU@fasolo.debian.org>
    and subject line Bug#1061385: fixed in golang-github-google-go-pkcs11 0.3.0+dfsg-2
    has caused the Debian Bug report #1061385,
    regarding golang-github-google-go-pkcs11: tests fail on 32 bit architectures
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


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

    Received: (at submit) by bugs.debian.org; 23 Jan 2024 11:39:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-9.8 required=4.0 tests=BAYES_00,FROMDEVELOPER,
    RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_NONE,T_SCC_BODY_TEXT_LINE,
    XMAILER_REPORTBUG autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 22; hammy, 129; neutral, 29; spammy,
    0. spammytokens: hammytokens:0.000-+--armhf, 0.000-+--sk:golang,
    0.000-+--sk:golang-, 0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug Return-path: <dparsons@debian.org>
    Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]:37191)
    by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_X25519__RSA_SHA512__AES_256_GCM:256)
    (Exim 4.94.2)
    (envelope-from <d