D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/linux_pcnfsd2-1.6-2.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aYuwpf + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf linux_pcnfsd2 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/linux_pcnfsd2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd linux_pcnfsd2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (linux_pcnfsd2.dif):' Patch #1 (linux_pcnfsd2.dif): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile.linux patching file common.h patching file pcnfsd_misc.c patching file pcnfsd_print.c patching file pcnfsd_svc.c + echo 'Patch #2 (linux_pcnfsd2-format-security.patch):' Patch #2 (linux_pcnfsd2-format-security.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .FMT --fuzz=0 patching file pcnfsd_svc.c + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.HWrrOX + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd linux_pcnfsd2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + make -f Makefile.linux gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_svc.o pcnfsd_svc.c pcnfsd_svc.c:42:8: warning: type defaults to 'int' in declaration of '_msgout' [-Wimplicit-int] static _msgout(); ^~~~~~~ pcnfsd_svc.c:64:1: warning: return type defaults to 'int' [-Wimplicit-int] main() ^~~~ pcnfsd_svc.c: In function 'main': pcnfsd_svc.c:106:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else TIOCNOTTY ^~~~~~~~~ pcnfsd_svc.c:108:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif TIOCNOTTY ^~~~~~~~~ pcnfsd_svc.c:110:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif RPC_SVC_FG ^~~~~~~~~~ pcnfsd_svc.c:112:10: warning: implicit declaration of function 'pmap_unset'; did you mean 'pause'? [-Wimplicit-function-declaration] (void) pmap_unset(PCNFSDPROG, PCNFSDVERS); ^~~~~~~~~~ pause pcnfsd_svc.c:167:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif RPC_SVC_FG ^~~~~~~~~~ pcnfsd_svc.c: In function 'pcnfsdprog_1': pcnfsd_svc.c:226:7: warning: passing argument 2 of 'transp->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { ^~~~~~~~~~~ pcnfsd_svc.c:226:7: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_svc.c:232:47: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { ^~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:56:0, from pcnfsd_svc.c:14: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^~~~~~~~~~~~~ pcnfsd_svc.c:235:7: warning: passing argument 2 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_freeargs(transp, xdr_argument, (caddr_t)&argument)) { ^~~~~~~~~~~~ pcnfsd_svc.c:235:7: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_svc.c: In function 'pcnfsdprog_2': pcnfsd_svc.c:370:7: warning: passing argument 2 of 'transp->xp_ops->xp_getargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_getargs(transp, xdr_argument, (caddr_t)&argument)) { ^~~~~~~~~~~ pcnfsd_svc.c:370:7: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_svc.c:376:47: warning: passing argument 2 of 'svc_sendreply' from incompatible pointer type [-Wincompatible-pointer-types] if (result != NULL && !svc_sendreply(transp, xdr_result, result)) { ^~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:56:0, from pcnfsd_svc.c:14: /usr/include/rpc/svc.h:244:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' extern bool_t svc_sendreply (SVCXPRT *__xprt, xdrproc_t __xdr_results, ^~~~~~~~~~~~~ pcnfsd_svc.c:379:7: warning: passing argument 2 of 'transp->xp_ops->xp_freeargs' from incompatible pointer type [-Wincompatible-pointer-types] if (!svc_freeargs(transp, xdr_argument, (caddr_t)&argument)) { ^~~~~~~~~~~~ pcnfsd_svc.c:379:7: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_svc.c: At top level: pcnfsd_svc.c:388:1: warning: return type defaults to 'int' [-Wimplicit-int] _msgout(msg) ^~~~~~~ pcnfsd_svc.c: In function 'closedown': pcnfsd_svc.c:421:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else RLIMIT_NOFILE ^~~~~~~~~~~~~ pcnfsd_svc.c:424:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif RLIMIT_NOFILE ^~~~~~~~~~~~~ gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_xdr.o pcnfsd_xdr.c pcnfsd_xdr.c: In function 'xdr_v2_info_results': pcnfsd_xdr.c:326:137: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [-Wincompatible-pointer-types] if (!xdr_array(xdrs, (char **)&objp->facilities.facilities_val, (u_int *)&objp->facilities.facilities_len, FACILITIESMAX, sizeof(int), xdr_int)) { ^~~~~~~ In file included from /usr/include/rpc/rpc.h:42:0, from pcnfsd_xdr.c:7: /usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(XDR *, int *) {aka int (*)(struct XDR *, int *)}' extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, ^~~~~~~~~ pcnfsd_xdr.c: In function 'xdr_pr_list': pcnfsd_xdr.c:417:69: warning: passing argument 4 of 'xdr_pointer' from incompatible pointer type [-Wincompatible-pointer-types] if (!xdr_pointer(xdrs, (char **)objp, sizeof(struct pr_list_item), xdr_pr_list_item)) { ^~~~~~~~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:42:0, from pcnfsd_xdr.c:7: /usr/include/rpc/xdr.h:326:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' extern bool_t xdr_pointer (XDR *__xdrs, char **__objpp, ^~~~~~~~~~~ pcnfsd_xdr.c: In function 'xdr_pr_queue': pcnfsd_xdr.c:488:70: warning: passing argument 4 of 'xdr_pointer' from incompatible pointer type [-Wincompatible-pointer-types] if (!xdr_pointer(xdrs, (char **)objp, sizeof(struct pr_queue_item), xdr_pr_queue_item)) { ^~~~~~~~~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:42:0, from pcnfsd_xdr.c:7: /usr/include/rpc/xdr.h:326:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' extern bool_t xdr_pointer (XDR *__xdrs, char **__objpp, ^~~~~~~~~~~ pcnfsd_xdr.c: In function 'xdr_mapreq_arg': pcnfsd_xdr.c:788:72: warning: passing argument 4 of 'xdr_pointer' from incompatible pointer type [-Wincompatible-pointer-types] if (!xdr_pointer(xdrs, (char **)objp, sizeof(struct mapreq_arg_item), xdr_mapreq_arg_item)) { ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:42:0, from pcnfsd_xdr.c:7: /usr/include/rpc/xdr.h:326:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' extern bool_t xdr_pointer (XDR *__xdrs, char **__objpp, ^~~~~~~~~~~ pcnfsd_xdr.c: In function 'xdr_mapreq_res': pcnfsd_xdr.c:819:72: warning: passing argument 4 of 'xdr_pointer' from incompatible pointer type [-Wincompatible-pointer-types] if (!xdr_pointer(xdrs, (char **)objp, sizeof(struct mapreq_res_item), xdr_mapreq_res_item)) { ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/rpc/rpc.h:42:0, from pcnfsd_xdr.c:7: /usr/include/rpc/xdr.h:326:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' extern bool_t xdr_pointer (XDR *__xdrs, char **__objpp, ^~~~~~~~~~~ pcnfsd_xdr.c: In function 'xdr_v2_auth_results': pcnfsd_xdr.c:910:113: warning: passing argument 6 of 'xdr_array' from incompatible pointer type [-Wincompatible-pointer-types] if (!xdr_array(xdrs, (char **)&objp->gids.gids_val, (u_int *)&objp->gids.gids_len, EXTRAGIDLEN, sizeof(u_int), xdr_u_int)) { ^~~~~~~~~ In file included from /usr/include/rpc/rpc.h:42:0, from pcnfsd_xdr.c:7: /usr/include/rpc/xdr.h:308:15: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(XDR *, u_int *) {aka int (*)(struct XDR *, unsigned int *)}' extern bool_t xdr_array (XDR * _xdrs, caddr_t *__addrp, u_int *__sizep, ^~~~~~~~~ gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_v1.o pcnfsd_v1.c pcnfsd_v1.c: In function 'pcnfsd_pr_init_1': pcnfsd_v1.c:176:14: warning: implicit declaration of function 'pr_init'; did you mean 'printf'? [-Wimplicit-function-declaration] (pirstat) pr_init(pi_arg->system, pi_arg->pn, &pi_res.dir); ^~~~~~~ printf pcnfsd_v1.c: In function 'pcnfsd_pr_start_1': pcnfsd_v1.c:188:14: warning: implicit declaration of function 'pr_start2' [-Wimplicit-function-declaration] (psrstat) pr_start2(ps_arg->system, ps_arg->pn, ps_arg->user, ^~~~~~~~~ gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_v2.o pcnfsd_v2.c pcnfsd_v2.c: In function 'pcnfsd2_pr_init_2': pcnfsd_v2.c:242:13: warning: implicit declaration of function 'pr_init'; did you mean 'printf'? [-Wimplicit-function-declaration] (pirstat) pr_init(arg->system, arg->pn, &res.dir); ^~~~~~~ printf gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_misc.o pcnfsd_misc.c pcnfsd_misc.c:504:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else SVR4 ^~~~ pcnfsd_misc.c:532:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4 ^~~~ pcnfsd_misc.c:533:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif WTMP ^~~~ pcnfsd_misc.c:554:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SUNOS_403C ^~~~~~~~~~ pcnfsd_misc.c: In function 'start_watchdog': pcnfsd_misc.c:583:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else SUNOS_403C ^~~~~~~~~~ pcnfsd_misc.c:585:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SUNOS_403C ^~~~~~~~~~ pcnfsd_misc.c: In function 'stop_watchdog': pcnfsd_misc.c:616:7: warning: extra tokens at end of #else directive [-Wendif-labels] #else SUNOS_403C ^~~~~~~~~~ pcnfsd_misc.c:618:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SUNOS_403C ^~~~~~~~~~ pcnfsd_misc.c: In function 'config_from_file': pcnfsd_misc.c:753:7: warning: implicit declaration of function 'mystrcasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] if(!mystrcasecmp(kw, "spooldir")) { ^~~~~~~~~~~~ strcasecmp pcnfsd_misc.c:775:10: warning: implicit declaration of function 'add_printer_alias'; did you mean 'xdr_printername'? [-Wimplicit-function-declaration] (void)add_printer_alias(val, arg1, arg2); ^~~~~~~~~~~~~~~~~ xdr_printername pcnfsd_misc.c: In function 'wlogin': pcnfsd_misc.c:528:17: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] (void)write(fd, (char *)&ut, sizeof(ut)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_cache.o pcnfsd_cache.c gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_print.o pcnfsd_print.c pcnfsd_print.c:35:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif ISC_2_0 ^~~~~~~ pcnfsd_print.c:39:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SHADOW_SUPPORT ^~~~~~~~~~~~~~ pcnfsd_print.c:52:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SPOOLDIR ^~~~~~~~ pcnfsd_print.c:108:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif ACCEPT_BSD_PR_NAMES ^~~~~~~~~~~~~~~~~~~ pcnfsd_print.c:161:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SUNOS_403C ^~~~~~~~~~ pcnfsd_print.c: In function 'valid_pr': pcnfsd_print.c:206:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif ACCEPT_BSD_PR_NAMES ^~~~~~~~~~~~~~~~~~~ pcnfsd_print.c: In function 'pr_start2': pcnfsd_print.c:415:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD386 ^~~~~~ pcnfsd_print.c:416:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD_STYLE_PRINT ^~~~~~~~~~~~~~~ pcnfsd_print.c:420:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4_STYLE_PRINT ^~~~~~~~~~~~~~~~ pcnfsd_print.c:435:13: warning: implicit declaration of function 'strembedded' [-Wimplicit-function-declaration] else if (strembedded("disabled", resbuf)) ^~~~~~~~~~~ pcnfsd_print.c: At top level: pcnfsd_print.c:685:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4_STYLE_PR_LIST ^~~~~~~~~~~~~~~~~~ pcnfsd_print.c: In function 'build_pr_list': pcnfsd_print.c:704:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD386 ^~~~~~ pcnfsd_print.c: At top level: pcnfsd_print.c:749:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD_STYLE_PR_LIST ^~~~~~~~~~~~~~~~~ pcnfsd_print.c:808:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif ACCEPT_BSD_PR_NAMES ^~~~~~~~~~~~~~~~~~~ pcnfsd_print.c:952:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4_STYLE_QUEUE ^~~~~~~~~~~~~~~~ pcnfsd_print.c: In function 'build_pr_queue': pcnfsd_print.c:1002:7: warning: implicit declaration of function 'mystrncasecmp'; did you mean 'strncasecmp'? [-Wimplicit-function-declaration] if(!mystrncasecmp(buff, "rank", 4)) ^~~~~~~~~~~~~ strncasecmp pcnfsd_print.c:1037:19: warning: implicit declaration of function 'mystrcasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] if(just_mine && mystrcasecmp(owner, user)) ^~~~~~~~~~~~ strcasecmp pcnfsd_print.c: At top level: pcnfsd_print.c:1065:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD_STYLE_QUEUE ^~~~~~~~~~~~~~~ pcnfsd_print.c:1210:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4_STYLE_STATUS ^~~~~~~~~~~~~~~~~ pcnfsd_print.c: In function 'get_pr_status': pcnfsd_print.c:1252:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD386 ^~~~~~ pcnfsd_print.c: At top level: pcnfsd_print.c:1319:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD_STYLE_STATUS ^~~~~~~~~~~~~~~~ pcnfsd_print.c:1397:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4_STYLE_CANCEL ^~~~~~~~~~~~~~~~~ pcnfsd_print.c: In function 'pr_cancel': pcnfsd_print.c:1422:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD386 ^~~~~~ pcnfsd_print.c: At top level: pcnfsd_print.c:1442:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD_STYLE_CANCEL ^~~~~~~~~~~~~~~~ pcnfsd_print.c:1499:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif SVR4_STYLE_PRINT ^~~~~~~~~~~~~~~~ pcnfsd_print.c:1505:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD386 ^~~~~~ pcnfsd_print.c:1506:8: warning: extra tokens at end of #endif directive [-Wendif-labels] #endif BSD_STYLE_PRINT ^~~~~~~~~~~~~~~ gcc -o linux/rpc.pcnfsd -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 linux/pcnfsd_svc.o linux/pcnfsd_xdr.o linux/pcnfsd_v1.o linux/pcnfsd_v2.o linux/pcnfsd_misc.o linux/pcnfsd_cache.o linux/pcnfsd_print.o -lcrypt gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_clnt.o pcnfsd_clnt.c In file included from /usr/include/rpc/rpc.h:48:0, from pcnfsd_clnt.c:15: pcnfsd_clnt.c: In function 'pcnfsd_null_1': pcnfsd_clnt.c:36:35: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_NULL, xdr_void, (caddr_t)argp, xdr_void, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:36:35: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}' pcnfsd_clnt.c:36:60: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_NULL, xdr_void, (caddr_t)argp, xdr_void, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:36:60: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}' pcnfsd_clnt.c: In function 'pcnfsd_auth_1': pcnfsd_clnt.c:50:35: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_AUTH, xdr_auth_args, (caddr_t)argp, xdr_auth_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:50:35: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:50:65: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_AUTH, xdr_auth_args, (caddr_t)argp, xdr_auth_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:50:65: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd_pr_init_1': pcnfsd_clnt.c:64:38: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_PR_INIT, xdr_pr_init_args, (caddr_t)argp, xdr_pr_init_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:64:38: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:64:71: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_PR_INIT, xdr_pr_init_args, (caddr_t)argp, xdr_pr_init_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:64:71: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd_pr_start_1': pcnfsd_clnt.c:78:39: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_PR_START, xdr_pr_start_args, (caddr_t)argp, xdr_pr_start_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:78:39: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:78:73: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD_PR_START, xdr_pr_start_args, (caddr_t)argp, xdr_pr_start_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:78:73: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_null_2': pcnfsd_clnt.c:92:36: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_NULL, xdr_void, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:92:36: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}' pcnfsd_clnt.c:92:52: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_NULL, xdr_void, argp, xdr_void, &res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:92:52: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}' pcnfsd_clnt.c: In function 'pcnfsd2_info_2': pcnfsd_clnt.c:106:36: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_INFO, xdr_v2_info_args, (caddr_t)argp, xdr_v2_info_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:106:36: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:106:69: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_INFO, xdr_v2_info_args, (caddr_t)argp, xdr_v2_info_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:106:69: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_init_2': pcnfsd_clnt.c:120:39: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_INIT, xdr_v2_pr_init_args, (caddr_t)argp, xdr_v2_pr_init_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:120:39: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:120:75: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_INIT, xdr_v2_pr_init_args, (caddr_t)argp, xdr_v2_pr_init_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:120:75: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_start_2': pcnfsd_clnt.c:134:40: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_START, xdr_v2_pr_start_args, (caddr_t)argp, xdr_v2_pr_start_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:134:40: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:134:77: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_START, xdr_v2_pr_start_args, (caddr_t)argp, xdr_v2_pr_start_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:134:77: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_list_2': pcnfsd_clnt.c:148:39: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_LIST, xdr_void, (caddr_t)argp, xdr_v2_pr_list_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:148:39: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)(void) {aka int (*)(void)}' pcnfsd_clnt.c:148:64: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_LIST, xdr_void, (caddr_t)argp, xdr_v2_pr_list_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:148:64: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_queue_2': pcnfsd_clnt.c:162:40: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_QUEUE, xdr_v2_pr_queue_args, (caddr_t)argp, xdr_v2_pr_queue_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:162:40: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:162:77: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_QUEUE, xdr_v2_pr_queue_args, (caddr_t)argp, xdr_v2_pr_queue_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:162:77: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_status_2': pcnfsd_clnt.c:176:41: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_STATUS, xdr_v2_pr_status_args, (caddr_t)argp, xdr_v2_pr_status_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:176:41: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:176:79: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_STATUS, xdr_v2_pr_status_args, (caddr_t)argp, xdr_v2_pr_status_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:176:79: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_cancel_2': pcnfsd_clnt.c:190:41: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_CANCEL, xdr_v2_pr_cancel_args, (caddr_t)argp, xdr_v2_pr_cancel_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:190:41: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:190:79: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_CANCEL, xdr_v2_pr_cancel_args, (caddr_t)argp, xdr_v2_pr_cancel_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:190:79: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_admin_2': pcnfsd_clnt.c:204:40: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_ADMIN, xdr_v2_pr_admin_args, (caddr_t)argp, xdr_v2_pr_admin_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:204:40: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:204:77: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_ADMIN, xdr_v2_pr_admin_args, (caddr_t)argp, xdr_v2_pr_admin_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:204:77: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_requeue_2': pcnfsd_clnt.c:218:42: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_REQUEUE, xdr_v2_pr_requeue_args, (caddr_t)argp, xdr_v2_pr_requeue_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:218:42: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:218:81: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_REQUEUE, xdr_v2_pr_requeue_args, (caddr_t)argp, xdr_v2_pr_requeue_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:218:81: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_hold_2': pcnfsd_clnt.c:232:39: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_HOLD, xdr_v2_pr_hold_args, (caddr_t)argp, xdr_v2_pr_hold_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:232:39: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:232:75: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_HOLD, xdr_v2_pr_hold_args, (caddr_t)argp, xdr_v2_pr_hold_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:232:75: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_pr_release_2': pcnfsd_clnt.c:246:42: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_RELEASE, xdr_v2_pr_release_args, (caddr_t)argp, xdr_v2_pr_release_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:246:42: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:246:81: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_PR_RELEASE, xdr_v2_pr_release_args, (caddr_t)argp, xdr_v2_pr_release_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:246:81: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_mapid_2': pcnfsd_clnt.c:260:37: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_MAPID, xdr_v2_mapid_args, (caddr_t)argp, xdr_v2_mapid_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:260:37: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:260:71: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_MAPID, xdr_v2_mapid_args, (caddr_t)argp, xdr_v2_mapid_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:260:71: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_auth_2': pcnfsd_clnt.c:274:36: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_AUTH, xdr_v2_auth_args, (caddr_t)argp, xdr_v2_auth_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:274:36: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:274:69: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_AUTH, xdr_v2_auth_args, (caddr_t)argp, xdr_v2_auth_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:274:69: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c: In function 'pcnfsd2_alert_2': pcnfsd_clnt.c:288:37: warning: passing argument 3 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_ALERT, xdr_v2_alert_args, (caddr_t)argp, xdr_v2_alert_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:288:37: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' pcnfsd_clnt.c:288:71: warning: passing argument 5 of 'clnt->cl_ops->cl_call' from incompatible pointer type [-Wincompatible-pointer-types] if (clnt_call(clnt, PCNFSD2_ALERT, xdr_v2_alert_args, (caddr_t)argp, xdr_v2_alert_results, (caddr_t)&res, TIMEOUT) != RPC_SUCCESS) { ^ pcnfsd_clnt.c:288:71: note: expected 'xdrproc_t {aka int (*)(struct XDR *, void *)}' but argument is of type 'bool_t (*)() {aka int (*)()}' gcc -c -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -o linux/pcnfsd_test.o pcnfsd_test.c pcnfsd_test.c:20:1: warning: return type defaults to 'int' [-Wimplicit-int] main(argc, argv) ^~~~ pcnfsd_test.c: In function 'main': pcnfsd_test.c:56:2: warning: implicit declaration of function 'test_v2_info' [-Wimplicit-function-declaration] test_v2_info(); ^~~~~~~~~~~~ pcnfsd_test.c:58:2: warning: implicit declaration of function 'test_v2_auth' [-Wimplicit-function-declaration] test_v2_auth(host_name, user_name, passwd); ^~~~~~~~~~~~ pcnfsd_test.c:62:2: warning: implicit declaration of function 'test_v2_list'; did you mean '_G_va_list'? [-Wimplicit-function-declaration] test_v2_list(); ^~~~~~~~~~~~ _G_va_list pcnfsd_test.c:64:2: warning: implicit declaration of function 'test_v2_init' [-Wimplicit-function-declaration] test_v2_init(host_name, printer); ^~~~~~~~~~~~ pcnfsd_test.c:66:2: warning: implicit declaration of function 'test_v2_start'; did you mean 'svc_stat'? [-Wimplicit-function-declaration] test_v2_start(host_name, printer, user_name, "foo", "foo"); ^~~~~~~~~~~~~ svc_stat pcnfsd_test.c:72:2: warning: implicit declaration of function 'test_v2_queue'; did you mean 'xdr_pr_queue'? [-Wimplicit-function-declaration] test_v2_queue(printer, user_name, FALSE); ^~~~~~~~~~~~~ xdr_pr_queue pcnfsd_test.c:75:3: warning: implicit declaration of function 'test_v2_cancel' [-Wimplicit-function-declaration] test_v2_cancel(host_name, printer, "nosuchuser", last_id); ^~~~~~~~~~~~~~ pcnfsd_test.c:88:2: warning: implicit declaration of function 'test_v2_stat'; did you mean 'svc_stat'? [-Wimplicit-function-declaration] test_v2_stat(printer); ^~~~~~~~~~~~ svc_stat pcnfsd_test.c:92:2: warning: implicit declaration of function 'test_v2_map' [-Wimplicit-function-declaration] test_v2_map(); ^~~~~~~~~~~ pcnfsd_test.c: At top level: pcnfsd_test.c:114:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_info() ^~~~~~~~~~~~ pcnfsd_test.c:152:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_auth(host_name, user_name , pwrd) ^~~~~~~~~~~~ pcnfsd_test.c:203:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_init(host_name, printer) ^~~~~~~~~~~~ pcnfsd_test.c:233:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_start(host_name, printer, user_name, tag1, tag2) ^~~~~~~~~~~~~ pcnfsd_test.c:289:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_cancel(host_name, printer, user_name, id) ^~~~~~~~~~~~~~ pcnfsd_test.c:321:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_list() ^~~~~~~~~~~~ pcnfsd_test.c:380:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_queue(printer, user_name, private) ^~~~~~~~~~~~~ pcnfsd_test.c:456:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_stat(printer) ^~~~~~~~~~~~ pcnfsd_test.c:510:1: warning: return type defaults to 'int' [-Wimplicit-int] test_v2_map() ^~~~~~~~~~~ gcc -o linux/clnt.pcnfsd -O2 -fexpensive-optimizations -pipe -DOSVER_BSD386 -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 linux/pcnfsd_clnt.o linux/pcnfsd_test.o linux/pcnfsd_xdr.o + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IfNtUK + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 + cd linux_pcnfsd2 + '[' 1 -eq 1 ']' + install -d -m 755 /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/sbin /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/share/man/man8 + install linux/clnt.pcnfsd linux/rpc.pcnfsd /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/sbin + install -m 644 pcnfsd.8c /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64//usr/share/man/man8 + ln -sf pcnfsd.8c.gz /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64//usr/share/man/man8/rpc.pcnfsd.8c.gz + install -d /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/var/adm/fillup-templates + install -m 644 /home/pterjan/rpmbuild/SOURCES/sysconfig.pcnfsd /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/var/adm/fillup-templates/ + install -d /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/etc/init.d + install -m 744 /home/pterjan/rpmbuild/SOURCES/pcnfsd /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/etc/init.d/ + ln -sf ../../etc/init.d/pcnfsd /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/sbin/rcpcnfsd + /usr/lib/rpm/find-debuginfo.sh -j8 -m -i --build-id-seed 1.6-2.mga7 --unique-debug-suffix -1.6-2.mga7.x86_64 --unique-debug-src-base linux_pcnfsd2-1.6-2.mga7.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/linux_pcnfsd2 extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/sbin/rpc.pcnfsd extracting debug info from /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/sbin/clnt.pcnfsd /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 254 blocks + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/translate_menu + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + '[' 1 -eq 1 ']' + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink Processing files: linux_pcnfsd2-1.6-2.mga7.x86_64 Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.JO999z + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd linux_pcnfsd2 + DOCDIR=/home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/share/doc/linux_pcnfsd2 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/share/doc/linux_pcnfsd2 + cp -pr README /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64/usr/share/doc/linux_pcnfsd2 + exit 0 Provides: config(linux_pcnfsd2) = 1.6-2.mga7 linux_pcnfsd2 = 1.6-2.mga7 linux_pcnfsd2(x86-64) = 1.6-2.mga7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.1()(64bit) libcrypt.so.1(GLIBC_2.2.5)(64bit) Processing files: linux_pcnfsd2-debugsource-1.6-2.mga7.x86_64 Provides: linux_pcnfsd2-debugsource = 1.6-2.mga7 linux_pcnfsd2-debugsource(x86-64) = 1.6-2.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: linux_pcnfsd2-debuginfo-1.6-2.mga7.x86_64 Provides: debuginfo(build-id) = 6a3a89b8c6bfbed901b179177e11ba879a162d50 debuginfo(build-id) = 6c37a39fe357f38e2a00e07e16f264459d42cc47 linux_pcnfsd2-debuginfo = 1.6-2.mga7 linux_pcnfsd2-debuginfo(x86-64) = 1.6-2.mga7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: linux_pcnfsd2-debugsource(x86-64) = 1.6-2.mga7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/linux_pcnfsd2-1.6-2.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/linux_pcnfsd2-debugsource-1.6-2.mga7.x86_64.rpm Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/linux_pcnfsd2-debuginfo-1.6-2.mga7.x86_64.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.S2tbKq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd linux_pcnfsd2 + '[' -d /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 -a /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 '!=' '' ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/linux_pcnfsd2-1.6-2.mga7.x86_64 + exit 0 Executing(--clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1QTHmh + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf linux_pcnfsd2 + exit 0 D: [iurt_root_command] Success!