• Bug#1061655: wine: FTBFS with error: unknown conversion type character

    From Petter Reinholdtsen@21:1/5 to All on Sun Jan 28 05:50:01 2024
    Package: wine
    Version: 9.0~repack-2
    Severity: serious

    The source package fail to build on armel and armhf with the following error.

    programs/winedbg/info.c:356:27: error: unknown conversion type character ā€˜Iā€™ in format [-Werror=format=]
    356 | dbg_printf("'0x%0*I64lld' is not a valid module address\n", ADDRWIDTH, base);
    | ^
    programs/winedbg/info.c:356:20: error: too many arguments for format [-Werror=format-extra-args]
    356 | dbg_printf("'0x%0*I64lld' is not a valid module address\n", ADDRWIDTH, base);
    | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    The build failures are available from
    <URL: https://buildd.debian.org/status/package.php?p=wine >.

    The issue seem to have been introduced in an upstream commit 2021-10-12:

    commit 3a869c1f9ba8a35eb0781fc5cb0b6684a9a7960b
    Author: Eric Pouech <eric.pouech@gmail.com>
    Date: Tue Oct 12 18:10:58 2021 +0200

    winedbg: Simplify some printing of addresses.

    Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>

    diff --git a/programs/winedbg/info.c b/programs/winedbg/info.c
    index dc0e6591f1f..477438d83e3 100644
    --- a/programs/winedbg/info.c
    +++ b/programs/winedbg/info.c
    @@ -284,7 +284,7 @@ void info_win32_module(DWORD64 base)
    HeapFree(GetProcessHeap(), 0, im.modules);

    if (base && !num_printed)
    - dbg_printf("'0x%x%08x' is not a valid module address\n", (DWORD)(base >> 32), (DWORD)b
    ase);
    + dbg_printf("'0x%0*I64x' is not a valid module address\n", ADDRWIDTH, base);
    }

    struct class_walker



    I do not understand the printf() notation well enough to understand what
    is wrong. According to printf(3) in glibc 2.36, the I flag was added in
    glibc 2.2. Could it be a compiler error, that the compiler do not
    understand this "new" flag?

    --
    Happy hacking
    Petter Reinholdtsen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Sat Feb 10 08:40:01 2024
    This is a multi-part message in MIME format...

    Your message dated Sat, 10 Feb 2024 07:29:28 +0000
    with message-id <E1rYhnk-000vA5-PS@fasolo.debian.org>
    and subject line Bug#1061655: fixed in wine 9.0~repack-3
    has caused the Debian Bug report #1061655,
    regarding wine: FTBFS with error: unknown conversion type character ā€˜Iā€™ in format [-Werror=format=]
    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.)


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

    Received: (at submit) by bugs.debian.org; 28 Jan 2024 04:39:53 +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.9 required=4.0 tests=BAYES_00,GMAIL,HAS_PACKAGE,
    MD5_SHA1_SUM,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_NONE,
    T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 42; hammy, 150; neutral, 64; spammy,
    0. spammytokens: hammytokens:0.000-+--armhf, 0.000-+--sk:buildd.,
    0.000-+--UD:buildd.debian.org, 0.000-+--buildddebianorg,
    0.000-+--buildd.debian.org
    Return-path: <pere@hungry.com>
    Received: from vuizook.err.no ([2a02:20c8:2640::2]:41516)
    by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
    (Exim 4.94.2)
    (env