• Bug#1065173: udns: FTBFS on armhf/armel: configure: fatal: cannot find

    From Emanuele Rocca@21:1/5 to All on Fri Mar 1 15:30:01 2024
    Source: udns
    Version: 0.4-1.1
    Severity: serious
    Tags: ftbfs
    User: debian-devel@lists.debian.org
    Usertags: time64

    Dear Maintainer,

    udns fails to build on both armhf and armel with the time64 build flags, which are on by default. It builds fine without.

    Specifically, the following flags cause a failure:

    -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64

    While the package builds with these:

    -U_LARGEFILE_SOURCE -U_FILE_OFFSET_BITS -U_TIME_BITS

    Relvant part of the build logs:

    checking whenever the C compiler (gcc -Wall -W -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-
    clash-protection -Wformat -Werror=format-security -Wl,-z,relro)
    can produce executables... yes
    checking for ranlib... ranlib
    checking for getopt()... yes
    checking for libraries needed for socket and connect... not found
    configure: fatal: cannot find libraries needed for sockets
    make: *** [debian/rules:15: config.h] Error 1

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Emanuele Rocca@21:1/5 to Michael Tokarev on Fri Mar 1 22:10:01 2024
    Hi Michael,

    On 2024-03-01 09:13, Michael Tokarev wrote:
    This has nothing to do with time64.

    Yes and no. :-)

    The prob here is -Werror=implicit-function-declaration

    Where that flag is coming from?

    https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=ef90821fe45b99fa8c8c4279b9a74c30f59f491d

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

    Your message dated Sat, 09 Mar 2024 16:21:47 +0000
    with message-id <E1rizSF-006NsE-ON@fasolo.debian.org>
    and subject line Bug#1065173: fixed in udns 0.5-1
    has caused the Debian Bug report #1065173,
    regarding udns: FTBFS on armhf/armel: configure: fatal: cannot find libraries needed for sockets
    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.)


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

    Received: (at submit) by bugs.debian.org; 1 Mar 2024 14:20:19 +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=-5.9 required=4.0 tests=BAYES_00,DKIM_SIGNED,
    DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,
    FROMDEVELOPER,HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_NONE,
    SPF_HELO_NONE,SPF_PASS,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, 13; hammy, 150; neutral, 53; spammy,
    0. spammytokens: hammytokens:0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--armhf, 0.000-+--wdatetime,
    0.000-+--Wdatetime
    Return-path: <emarocca@gmail.com>
    Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]:39358)
    by buxtehude.debian.org with es