• Bug#1065779: libcdk5: FTBFS on arm{el,hf}: configure:7804:12: error: im

    From Sebastian Ramacher@21:1/5 to All on Sat Mar 9 22:10:02 2024
    Source: libcdk5
    Version: 5.0.20180306-3.1
    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=libcdk5&arch=armel&ver=5.0.20180306-3.1&stamp=1709540851&raw=0

    configure:7811: gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fPIE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -
    Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE conftest.c >&5 configure: In function 'main':
    configure:7804:12: error: implicit declaration of function 'tgoto' [-Werror=implicit-function-declaration]
    7804 | {
    | ^
    cc1: some warnings being treated as errors
    configure:7814: $? = 1
    configure: failed program was:
    #line 7799 "configure"
    #include "confdefs.h"
    #include <ncurses.h>
    int
    main (void)
    {
    initscr(); tgoto("?", 0,0)
    ;
    return 0;
    }
    configure:7811: gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fPIE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -
    Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE conftest.c >&5 configure: In function 'main':
    configure:7804:12: error: implicit declaration of function 'tgoto' [-Werror=implicit-function-declaration]
    7804 | {
    | ^
    cc1: some warnings being treated as errors
    configure:7814: $? = 1
    configure: failed program was:
    #line 7799 "configure"
    #include "confdefs.h"
    #include <curses.h>
    int
    main (void)
    {
    initscr(); tgoto("?", 0,0)
    ;
    return 0;
    }
    configure:7811: gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fPIE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -
    Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE conftest.c >&5 configure:7800:10: fatal error: ncurses/ncurses.h: No such file or directory
    7800 | #include "confdefs.h"
    | ^~~~~~~~~~~~
    compilation terminated.
    configure:7814: $? = 1
    configure: failed program was:
    #line 7799 "configure"
    #include "confdefs.h"
    #include <ncurses/ncurses.h>
    int
    main (void)
    {
    initscr(); tgoto("?", 0,0)
    ;
    return 0;
    }
    configure:7811: gcc -c -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fPIE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -
    Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE conftest.c >&5 configure:7800:10: fatal error: ncurses/curses.h: No such file or directory
    7800 | #include "confdefs.h"
    | ^~~~~~~~~~~~
    compilation terminated.
    configure:7814: $? = 1
    configure: failed program was:
    #line 7799 "configure"
    #include "confdefs.h"
    #include <ncurses/curses.h>
    int
    main (void)
    {
    initscr(); tgoto("?", 0,0)
    ;
    return 0;
    }
    configure:7831: result: none
    configure:7835: error: No curses header-files found

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Thomas Dickey on Wed Mar 13 11:20:01 2024
    On Sun, Mar 10, 2024 at 05:51:43AM -0400, Thomas Dickey wrote:
    | configure:7811: gcc -c -g -O2 -Werror=implicit-function-declaration
    | -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
    | -fstack-clash-protection -Wformat -Werror=format-security -fPIE
    | -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time
    | -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_DEFAULT_SOURCE conftest.c >&5
    | configure: In function 'main':
    | configure:7804:12: error: implicit declaration of function 'tgoto'

    already fixed upstream,
    over a year ago,
    if someone chose to upgrade.

    https://invisible-island.net/cdk/CHANGES.html#t20230201
    I tried to cherry-pick the changes, but "simply" diffing aclocal.m4 in the
    last two upstream releases and removing hunks that only change the
    comments didn't produce a diff that can be applied directly to the older version in Debian so somebody needs to either indeed update to the latest version or make a usable diff.

    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmXxez8tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh OR8P/3iWaEjLuU4vul80xbdXcfU0OihHtToWuEXaAZCYXjGJrVaUQpxp0TOJx9Gn g1MWNmpfIdD96TWont2mVwSq0CXpztBLT/O3/Z1yibX10J067Y9ZvKyIosgy1HbD nPBOQ7wHEl567gWH/zu3xaq+9TT8BR+4SnV2znjSGjyZdiECpAl9VgIDf8XBO69y wRzX09ZU7CllJT6A3KiMv+D+Ty2/M/AVz7+ikv47SEzyerr2m6MnuXTmpBZszRto bQjzKdfUkU8yymiqQBDVqWaV1mtMgEqINoNPICdRISW3vw/6OLQw4mmyXKTCrDSM 7tfd0ahijpU0kFZjgIG3hGuc8vZjwBq4XVQqNgdbl+6bhjlZnzTXn2g7rz4T4Cxj /6PPiJ9w1ujiV2jjtBuBp7KebvyG9cHxZHIjcYZD/T/p8k+xrZj3lH5izB/P5z2F cY9SkDeeTioizUEriGDKouQ1KbGkig31xnkAugfgZg2M3pgp0AF3AFp9O5ltK/Ms v//Y9EMTwE7rYupmuiQUDXlMiL6vGXAlR7Kpoi1EnN1YIc6coUaC3jfWhR393tAg f6h4QlWBZBRMeeBXP9LnnkZr1mP5zcvpGyXrWazo1j1AzFpKuZHXAgUqn+2WO6nx Be9zZzq5JYjYlAq+93tlW7kDkMp2RqczJ70WK/+vZtz4Stjy
    =yjPT
    -----END PGP SIGNATURE-----

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

    Your message dated Fri, 22 Mar 2024 03:56:35 +0000
    with message-id <E1rnW1D-00Eh2h-R3@fasolo.debian.org>
    and subject line Bug#1065779: fixed in libcdk5 5.0.20230201-2
    has caused the Debian Bug report #1065779,
    regarding libcdk5: FTBFS on arm{el,hf}: configure:7804:12: error: implicit declaration of function 'tgoto' [-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.)


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

    Received: (at submit) by bugs.debian.org; 9 Mar 2024 20:57:06 +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, 10; hammy, 150; neutral, 66; 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:108, 0.000-+--H*RT:311
    Return-path: <sramacher@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8