• Bug#1065162: yp-tools: FTBFS: missing build-dep on libnsl-dev

    From Aurelien Jarno@21:1/5 to All on Fri Mar 1 11:40:02 2024
    Source: yp-tools
    Version: 4.2.3-3
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) User: debian-glibc@lists.debian.org
    Usertags: libnsl-dev

    Dear maintainer,

    Starting with glibc 2.31, support for NIS (libnsl library) has been
    moved to a separate libnsl2 package. In order to allow a smooth
    transition, a libnsl-dev has been added to the libc6-dev package.

    This dependency has been temporarily dropped in the 2.37-15.1 NMU, as
    part of the 64-bit time_t transition. This causes yp-tools to FTBFS in
    sid with:

    | gcc -DHAVE_CONFIG_H -I. -I.. -I. -I/usr/include/tirpc -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -D_REENTRANT=1 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -
    Werror=format-security -fcf-protection -c -o host2ypbind3_binding.o host2ypbind3_binding.c
    | yp_all_host.c:30:10: fatal error: rpcsvc/ypclnt.h: No such file or directory | 30 | #include <rpcsvc/ypclnt.h>
    | | ^~~~~~~~~~~~~~~~~
    | compilation terminated.
    | make[3]: *** [Makefile:443: yp_all_host.o] Error 1
    | make[3]: *** Waiting for unfinished jobs....
    | make[3]: Leaving directory '/<<PKGBUILDDIR>>/lib'
    | make[2]: *** [Makefile:447: all-recursive] Error 1
    | make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    | make[1]: *** [Makefile:379: all] Error 2
    | make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    | dh_auto_build: error: make -j3 returned exit code 2
    | make: *** [debian/rules:19: build] Error 25
    | dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

    This could be fixed by adding an explicit Build-Depends on libnsl-dev.
    The glibc change will likely be reverted in the short term, but given
    its a change we want to do for Trixie, this will only lower the severity
    of the bug.

    Regards
    Aurelien

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

    Your message dated Fri, 01 Mar 2024 20:50:39 +0000
    with message-id <E1rg9q3-000iKe-2P@fasolo.debian.org>
    and subject line Bug#1065162: fixed in yp-tools 4.2.3-4
    has caused the Debian Bug report #1065162,
    regarding yp-tools: FTBFS: missing build-dep on libnsl-dev
    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.)


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

    Received: (at submit) by bugs.debian.org; 1 Mar 2024 10:33:46 +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=-108.3 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,WORD_WITHOUT_VOWELS,
    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, 20; hammy, 150; neutral, 122; 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: <aurel32@debian.org>
    Received