Bug#1065975: libnet-nis-perl: FTBFS on arm{el,hf}: NIS.xs:499:11: error: implicit declaration of function =?UTF-8?Q?=E2=80=98yp=5Fmaplist=E2=80=99; ?= did you mean ‘xdr_pmaplist’? [-Werror=implicit-function-declaration]

Sebastian Ramacher sramacher at debian.org
Sun Mar 10 21:40:40 GMT 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 at 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



More information about the pkg-perl-maintainers mailing list