• Bug#1065975: libnet-nis-perl: FTBFS on arm{el,hf}: NIS.xs:499:11: error

    From Sebastian Ramacher@21:1/5 to All on Sun Mar 10 22:50:01 2024
    Source: libnet-nis-perl
    Version: 0.44-2
    Severity: serious
    Tags: ftbfs
    Justification: fails to build from source (but built successfully in the past) X-Debbugs-Cc: sramacher@debian.org

    https://buildd.debian.org/status/fetch.php?pkg=libnet-nis-perl&arch=armhf&ver=0.44-2%2Bb4&stamp=1709894189&raw=0

    arm-linux-gnueabihf-gcc -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/tirpc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<
    PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -DVERSION=\"0.44\" -DXS_VERSION=\"0.44\" -fPIC "-I/usr/lib/arm-
    linux-gnueabihf/perl/5.38/CORE" NIS.c
    NIS.xs: In function ‘XS_Net__NIS_yp_order’:
    NIS.xs:446:39: warning: passing argument 3 of ‘yp_order’ from incompatible pointer type [-Wincompatible-pointer-types]
    446 | yp_status = yp_order(domain, map, &order);
    | ^~~~~~
    | |
    | long unsigned int *
    In file included from /usr/include/rpcsvc/yp_prot.h:11,
    from NIS.xs:10:
    /usr/include/rpcsvc/ypclnt.h:71:50: note: expected ‘unsigned int *’ but argument is of type ‘long unsigned int *’
    71 | extern int yp_order (const char *, const char *, unsigned int *);
    | ^~~~~~~~~~~~~~
    NIS.c: In function ‘XS_Net__NIS_yperr_string’:
    NIS.c:770:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
    770 | RETVAL = yperr_string(code);
    | ^
    NIS.xs: In function ‘XS_Net__NIS_yp_maplist’:
    NIS.xs:499:11: error: implicit declaration of function ‘yp_maplist’; did you mean ‘xdr_pmaplist’? [-Werror=implicit-function-declaration]
    499 | ret = yp_maplist( domain, &ypmap );
    | ^~~~~~~~~~
    | xdr_pmaplist
    cc1: some warnings being treated as errors
    make[1]: *** [Makefile:343: NIS.o] Error 1

    Cheers
    --
    Sebastian Ramacher

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Mar 11 18:50:01 2024
    Processing control commands:

    tag -1 pending
    Bug #1065975 [src:libnet-nis-perl] libnet-nis-perl: FTBFS on arm{el,hf}: NIS.xs:499:11: error: implicit declaration of function ‘yp_maplist’; did you mean ‘xdr_pmaplist’? [-Werror=implicit-function-declaration]
    Added tag(s) pending.

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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From gregor herrmann@21:1/5 to All on Mon Mar 11 18:50:01 2024
    Control: tag -1 pending

    Hello,

    Bug #1065975 in libnet-nis-perl reported by you has been fixed in the
    Git repository and is awaiting an upload. You can see the commit
    message below and you can check the diff of the fix at:

    https://salsa.debian.org/perl-team/modules/packages/libnet-nis-perl/-/commit/a7a6e87c5cddc4c4a0e3943aadea64c9d47a1761

    ------------------------------------------------------------------------
    Add patch to declare function before use.

    Closes: #1065975 ------------------------------------------------------------------------

    (this message was generated automatically)
    --
    Greetings

    https://bugs.debian.org/1065975

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

    Your message dated Mon, 11 Mar 2024 18:07:24 +0000
    with message-id <E1rjk3Y-00FhhJ-NG@fasolo.debian.org>
    and subject line Bug#1065975: fixed in libnet-nis-perl 0.44-3
    has caused the Debian Bug report #1065975,
    regarding libnet-nis-perl: FTBFS on arm{el,hf}: NIS.xs:499:11: error: implicit declaration of function ‘yp_maplist’; did you mean ‘xdr_pmaplist’? [-Werror=implicit-function-declaration]
    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.)


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

    Received: (at submit) by bugs.debian.org; 10 Mar 2024 21:40:43 +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=-105.1 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 autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 30; hammy, 150; neutral, 105; 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: <sramacher@debian.org>
    Received: from s