• Bug#1065796: xli: FTBFS on arm{el,hf}: dither.c:77:36: error: implicit

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 23:00:01 2024
    Source: xli
    Version: 1.17.0+20061110-8
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=xli&arch=armel&ver=1.17.0%2B20061110-8%2Bb1&stamp=1709981754&raw=0

    dither.c: In function ‘dither’:
    dither.c:77:36: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
    77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12);
    | ^~~~~~
    dither.c:28:1: note: include ‘<string.h>’ or provide a declaration of ‘strlen’
    27 | #include "xli.h"
    +++ |+#include <string.h>
    28 |
    dither.c:77:36: warning: incompatible implicit declaration of built-in function ‘strlen’ [-Wbuiltin-declaration-mismatch]
    77 | image->title = (char *)lmalloc(strlen(cimage->title) + 12);
    | ^~~~~~
    dither.c:77:36: note: include ‘<string.h>’ or provide a declaration of ‘strlen’

    Cheers
    --
    Sebastian Ramacher

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

    Your message dated Sat, 16 Mar 2024 11:06:55 +0000
    with message-id <E1rlRsN-004VKb-Ke@fasolo.debian.org>
    and subject line Bug#1065796: fixed in xli 1.17.0+20061110-9
    has caused the Debian Bug report #1065796,
    regarding xli: FTBFS on arm{el,hf}: dither.c:77:36: error: implicit declaration of function ‘strlen’ [-Werror=implicit-function-declaration]
    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.)


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

    Received: (at submit) by bugs.debian.org; 9 Mar 2024 21:50:59 +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=-105.8 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST autolearn=ham
    autolearn_force=no version=3.4.6-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 139; neutral, 22; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <sramacher@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8