On Fri, 04 May 2018 12:24:10 +0000 Matthias Klose <d...@debian.org> wrote:


>
> [...]
> make[3]: Entering directory '/<<PKGBUILDDIR>>/src'
> gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ypwhich.c > /bin/bash ../libtool --tag=CC --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o ypwhich ypwhich.o ../lib/libyptools.a ../lib/libnis.la -ltirpc > libtool: link: gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ypwhich ypwhich.o ../lib/libyptools.a ../lib/.libs/libnis.so -ltirpc > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ypmatch.c > /bin/bash ../libtool --tag=CC --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o ypmatch ypmatch.o ../lib/libyptools.a ../lib/libnis.la -ltirpc > libtool: link: gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ypmatch ypmatch.o ../lib/libyptools.a ../lib/.libs/libnis.so -ltirpc > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ypcat.c > /bin/bash ../libtool --tag=CC --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o ypcat ypcat.o ../lib/libyptools.a ../lib/libnis.la -ltirpc > libtool: link: gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/ypcat ypcat.o ../lib/libyptools.a ../lib/.libs/libnis.so -ltirpc > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -DPASSWD_PROG=\"\" -DCHFN_PROG=\"\" -DCHSH_PROG=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o yppasswd-yppasswd.o `test -f 'yppasswd.c' || echo './'`yppasswd.c > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -DPASSWD_PROG=\"\" -DCHFN_PROG=\"\" -DCHSH_PROG=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c -o yppasswd-yppasswd_xdr.o `test -f 'yppasswd_xdr.c' || echo './'`yppasswd_xdr.c > /bin/bash ../libtool --tag=CC --mode=link gcc -DPASSWD_PROG=\"\" -DCHFN_PROG=\"\" -DCHSH_PROG=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o yppasswd yppasswd-yppasswd.o yppasswd-yppasswd_xdr.o ../lib/libnis.la -ltirpc -lcrypt > libtool: link: gcc -DPASSWD_PROG=\"\" -DCHFN_PROG=\"\" -DCHSH_PROG=\"\" -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/yppasswd yppasswd-yppasswd.o yppasswd-yppasswd_xdr.o ../lib/.libs/libnis.so -ltirpc -lcrypt > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c domainname.c > /bin/bash ../libtool --tag=CC --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o domainname domainname.o ../lib/yp_get_default_domain.lo ../lib/yperr_string.lo > libtool: link: gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o domainname domainname.o ../lib/.libs/yp_get_default_domain.o ../lib/.libs/yperr_string.o > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c yptest.c > /bin/bash ../libtool --tag=CC --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o yptest yptest.o ../lib/yp_all_host.o ../lib/libnis.la -ltirpc > libtool: link: gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/yptest yptest.o ../lib/yp_all_host.o ../lib/.libs/libnis.so -ltirpc > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c yppoll.c > /bin/bash ../libtool --tag=CC --mode=link gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o yppoll yppoll.o ../lib/libnis.la -ltirpc > libtool: link: gcc -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/yppoll yppoll.o ../lib/.libs/libnis.so -ltirpc > gcc -DHAVE_CONFIG_H -I. -I.. -I../lib -I. -I.. -DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2 -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Werror -I/usr/include/tirpc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -c ypset.c
> In file included from /usr/include/tirpc/rpc/rpc.h:49,
> from ypset.c:32:
> ypset.c: In function 'bind_tohost_v2':

> ypset.c:137:6: error: cast between incompatible function types from 'bool_t (*)(void)' {aka 'int (*)(void)'} to 'bool_t (*)(XDR *, ...)' {aka 'int (*)(struct __rpc_xdr *, ...)'} [-Werror=cast-function-type]

FTR, version 4.2.3 from https://github.com/thkukuk/yp-tools is building fine, I guess it worth considering packaging this new version

Reply via email to