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

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

    | make[5]: Entering directory '/<<PKGBUILDDIR>>/perdition/db/nis'
    | /bin/bash ../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../ -I../../../perdition -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -
    Wformat -Werror=format-security -fcf-protection -c -o perditiondb_nis.lo perditiondb_nis.c
    | libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../ -I../../../perdition -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-
    protection -c perditiondb_nis.c -fPIC -DPIC -o .libs/perditiondb_nis.o
    | In file included from perditiondb_nis.c:32:
    | perditiondb_nis.h:32:10: fatal error: rpcsvc/ypclnt.h: No such file or directory
    | 32 | #include <rpcsvc/ypclnt.h>
    | | ^~~~~~~~~~~~~~~~~
    | compilation terminated.
    | make[5]: *** [Makefile:499: perditiondb_nis.lo] Error 1
    | make[5]: Leaving directory '/<<PKGBUILDDIR>>/perdition/db/nis'
    | make[4]: *** [Makefile:431: all-recursive] Error 1
    | make[4]: Leaving directory '/<<PKGBUILDDIR>>/perdition/db'
    | make[3]: *** [Makefile:797: all-recursive] Error 1
    | make[3]: Leaving directory '/<<PKGBUILDDIR>>/perdition'
    | make[2]: *** [Makefile:471: all-recursive] Error 1
    | make[2]: Leaving directory '/<<PKGBUILDDIR>>'
    | make[1]: *** [Makefile:399: all] Error 2
    | make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    | make: *** [debian/rules:25: build-stamp] Error 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 Sebastian Ramacher@21:1/5 to All on Sun Mar 17 00:30:01 2024
    Control: tags 1065109 + patch
    Control: tags 1066417 + patch

    Dear maintainer,

    I've prepared an NMU for perdition (versioned as 2.2-3.3). The diff
    is attached to this message.

    Cheers
    --
    Sebastian Ramacher

    diff -Nru perdition-2.2/debian/changelog perdition-2.2/debian/changelog
    --- perdition-2.2/debian/changelog 2022-04-01 03:39:14.000000000 +0200
    +++ perdition-2.2/debian/changelog 2024-03-17 00:15:52.000000000 +0100
    @@ -1,3 +1,10 @@
    +perdition (2.2-3.3) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Add libnsl-dev to Build-Depends (Closes: #1065109, #1066417)
    +
    + -- Sebastian Ramacher <sramacher@debian.org> Sun, 17 Mar 2024 00:15:52 +0100 +
    perdition (2.2-3.2) unstable; urgency=medium

    * Non-maintainer upload.
    diff -Nru perdition-2.2/debian/control perdition-2.2/debian/control
    --- perdition-2.2/debian/control 2016-11-28 10:58:07.000000000 +0100
    +++ perdition-2.2/debian/control 2024-03-17 00:15:14.000000000 +0100
    @@ -1,5 +1,5 @@
    Source: perdition
    -Build-Depends: libvanessa-logger-dev (>= 0.0.10), libvanessa-adt-dev (>= 0.0.6), libvanessa-socket-dev (>= 0.0.12), libpopt-dev, libpam0g-dev, default-libmysqlclient-dev, libpq-dev, libgdbm-dev, libldap2-dev, debhelper (>= 9.0.0), zlib1g-dev, libssl-dev,
    unixodbc-dev, libdb-dev, libcdb-dev, libidn11-d
  • From Debian Bug Tracking System@21:1/5 to All on Sun Mar 17 00:30:01 2024
    Processing control commands:

    tags 1065109 + patch
    Bug #1065109 [src:perdition] perdition: FTBFS: missing build-dep on libnsl-dev Added tag(s) patch.
    tags 1066417 + patch
    Bug #1066417 [src:perdition] perdition: FTBFS: perditiondb_nis.h:32:10: fatal error: rpcsvc/ypclnt.h: No such file or directory
    Added tag(s) patch.

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

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

    Your message dated Sat, 16 Mar 2024 23:42:23 +0000
    with message-id <E1rldfT-00774d-Bq@fasolo.debian.org>
    and subject line Bug#1065109: fixed in perdition 2.2-3.3
    has caused the Debian Bug report #1065109,
    regarding perdition: 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.)


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

    Received: (at submit) by bugs.debian.org; 29 Feb 2024 21:03:54 +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.2 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,
    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, 22; hammy, 150; neutral, 111; 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>