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

    From Aurelien Jarno@21:1/5 to All on Tue Mar 12 22:10:01 2024
    Source: proftpd-dfsg
    Version: 1.3.8.b+dfsg-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 proftpd-dfsg to FTBFS in
    sid with:

    | /bin/bash ../libtool --mode=compile --tag=CC gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I../include -I/usr/include/mariadb/mysql -I/usr/include/mariadb -I/usr/include/postgresql -I/usr/include/mariadb -I/usr/
    include/mariadb/mysql -I/usr/include/postgresql -Wdate-time -D_FORTIFY_SOURCE=2 -g2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -fno-strict-aliasing -Werror=implicit-
    function-declaration -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>/modules=. -fstack-protector-strong -Wformat -Werror=format-security -DPR_SHARED_MODULE -c ../modules/mod_wrap2_file.c
    | libtool: compile: gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I../include -I/usr/include/mariadb/mysql -I/usr/include/mariadb -I/usr/include/postgresql -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/
    include/postgresql -Wdate-time -D_FORTIFY_SOURCE=2 -g2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -fno-strict-aliasing -Werror=implicit-function-declaration -g -O2 -
    ffile-prefix-map=/<<PKGBUILDDIR>>/modules=. -fstack-protector-strong -Wformat -Werror=format-security -DPR_SHARED_MODULE -c ../modules/mod_wrap2_file.c -fPIC -DPIC -o .libs/mod_wrap2_file.o
    | gcc -Wdate-time -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -DLINUX -I.. -I../include -I../include -I/usr/include/mariadb/mysql -I/usr/include/mariadb -I/usr/include/postgresql -I/usr/include/mariadb -I/usr/include/mariadb/mysql -I/usr/include/postgresql -
    Wdate-time -D_FORTIFY_SOURCE=2 -g2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -fno-omit-frame-pointer -fno-strict-aliasing -Werror=implicit-function-declaration -g -O2 -ffile-prefix-map=/<<
    PKGBUILDDIR>>/src=. -fstack-protector-strong -Wformat -Werror=format-security -c trace.c
    | /bin/bash ../libtool --mode=link --tag=CC gcc -o mod_wrap.la -rpath /usr/lib/proftpd -Wl,-L../lib,-L../lib -Wl,-z,relro -Wl,-z,now -rdynamic -L/usr/lib/i386-linux-gnu/ -L/usr/lib/i386-linux-gnu -Wl,-z,relro -Wl,-z,now -avoid-version -export-dynamic -
    module -lidn2 -lsodium mod_wrap.lo `cat ../modules/mod_wrap.c | grep '$Libraries:' | sed -e 's/^.*\$Libraries: \(.*\)\\$/\1/'`
    | libtool: link: gcc -shared .libs/mod_wrap.o -L/usr/lib/i386-linux-gnu/ -L/usr/lib/i386-linux-gnu -lidn2 -lsodium -lwrap -lnsl -Wl,-L../lib -Wl,-L../lib -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,mod_wrap.so -o
    .libs/mod_wrap.so
    | /usr/bin/ld: cannot find -lnsl: No such file or directory
    | collect2: error: ld returned 1 exit status
    | make[3]: *** [Makefile:34: mod_wrap.la] Error 1
    | make[3]: *** Waiting for unfinished jobs....

    The full build log can be found here: https://buildd.debian.org/status/fetch.php?pkg=proftpd-dfsg&arch=i386&ver=1.3.8.b%2Bdfsg-1%2Bb2&stamp=1710157209&raw=0

    This can be fixed by adding an explicit Build-Depends on libnsl-dev.

    Regards
    Aurelien

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

    Your message dated Wed, 13 Mar 2024 10:46:30 +0000
    with message-id <E1rkM7y-0063Bj-On@fasolo.debian.org>
    and subject line Bug#1066117: fixed in proftpd-dfsg 1.3.8.b+dfsg-2
    has caused the Debian Bug report #1066117,
    regarding 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.)


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

    Received: (at submit) by bugs.debian.org; 12 Mar 2024 20:59:37 +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.8 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
    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, 48; hammy, 150; neutral, 187; 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: from strav