• Bug#1065107: exim4: FTBFS: missing build-dep on libnsl-dev

    From Aurelien Jarno@21:1/5 to All on Thu Feb 29 22:10:01 2024
    Source: exim4
    Version: 4.97-1
    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 exim4 to FTBFS in sid
    with:

    | cc buildconfig.c
    | cc -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -D_LARGEFILE_SOURCE -fno-strict-aliasing -Wall -Wdate-time -D_FORTIFY_SOURCE=2 -fvisibility=hidden -o
    buildconfig buildconfig.c -lcrypt -lm -lnsl
    | buildconfig.c: In function 'main':
    | buildconfig.c:117:5: warning: unused variable 'test_int_t' [-Wunused-variable]
    | 117 | int test_int_t = 0;
    | | ^~~~~~~~~~
    | /usr/bin/ld: cannot find -lnsl: No such file or directory
    | collect2: error: ld returned 1 exit status
    | make[3]: *** [Makefile:390: buildconfig] Error 1
    | make[3]: Leaving directory '/<<PKGBUILDDIR>>/b-exim4-daemon-light/build-Linux-x86_64'
    | make[2]: *** [Makefile:37: all] Error 2
    | make[2]: Leaving directory '/<<PKGBUILDDIR>>/b-exim4-daemon-light'
    | make[1]: *** [debian/rules:121: override_dh_auto_build] Error 2
    | make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    | make: *** [debian/rules:324: build] Error 2
    | 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 Andreas Metzler@21:1/5 to aurel32@debian.org on Fri Mar 1 18:50:01 2024
    On 2024-02-29 Aurelien Jarno <aurel32@debian.org> wrote:
    Source: exim4
    Version: 4.97-1
    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 exim4 to FTBFS in sid
    with:
    [...]
    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.

    Thanks, noted. I cannot fix it now though since sid seems to be broken
    due to t64 with regards to pam, there is back and forth of package
    renames and util-linux 2.39.3-6.1 pre-depends on both libpam0g and
    libpam0t64.

    cu Andreas

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

    Your message dated Sat, 02 Mar 2024 10:34:41 +0000
    with message-id <E1rgMhV-003Vq7-R7@fasolo.debian.org>
    and subject line Bug#1065107: fixed in exim4 4.97-6
    has caused the Debian Bug report #1065107,
    regarding exim4: 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Feb 2024 21:03:49 +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=-109.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,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, 21; hammy, 150; neutral, 115; 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: <aurel32@debian.org>
    Received: from stravinsky.de