D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/librpcsecgss-0.19-14.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xi0Et0 sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mrHOF9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build + rm -rf librpcsecgss-0.19 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/librpcsecgss-0.19.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd librpcsecgss-0.19 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/librpcsecgss-libtirpc.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nUIT0C + umask 022 + cd /home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd librpcsecgss-0.19 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.in, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' autoreconf: configure.in: not using Intltool autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:9969: AM_INIT_AUTOMAKE is expanded from... configure.in:7: the top level configure.in:8: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.in:8: You should run autoupdate. aclocal.m4:123: AM_PROG_LIBTOOL is expanded from... configure.in:8: the top level configure.in:23: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:23: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:23: the top level configure.in:40: warning: AC_OUTPUT should be used without arguments. configure.in:40: You should run autoupdate. autoreconf: configure.in: not using Autoheader autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:7: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:7: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:8: installing './compile' configure.in:7: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am:30: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking for x86_64-mageia-linux-gnu-ranlib... ranlib checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for libgssglue >= 0.1... yes checking for libtirpc... yes checking for egrep... (cached) /usr/bin/grep -E checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking for size_t... yes checking for uid_t... yes checking for gid_t... yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking for memset... yes checking for strerror... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating librpcsecgss.pc config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 Making all in src make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_auth.lo `test -f 'svc_auth.c' || echo './'`svc_auth.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_auth.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_auth.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_auth.c:40: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_auth.c: In function 'rpcsecgss__authenticate': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:9:37: warning: old-style function definition [-Wold-style-definition] 9 | #define _authenticate rpcsecgss__authenticate | ^~~~~~~~~~~~~~~~~~~~~~~ svc_auth.c:94:1: note: in expansion of macro '_authenticate' 94 | _authenticate(rqst, msg, no_dispatch) | ^~~~~~~~~~~~~ svc_auth.c:108:26: error: too many arguments to function 'svcauthsw[cred_flavor].authenticator'; expected 0, have 3 108 | return ((*(svcauthsw[cred_flavor].authenticator))(rqst, msg, no_dispatch)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ svc_auth.c:63:26: note: declared here 63 | enum auth_stat (*authenticator)(); | ^~~~~~~~~~~~~ make[1]: *** [Makefile:560: librpcsecgss_la-svc_auth.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_auth_none.lo `test -f 'svc_auth_none.c' || echo './'`svc_auth_none.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_auth_none.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_auth_none.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_auth_none.c:38: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_auth_none.c:44:9: error: initialization of 'int (*)(struct svc_authentication_data *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 44 | svcauth_none_wrap, | ^~~~~~~~~~~~~~~~~ svc_auth_none.c:44:9: note: (near initialization for 'rpcsecgss_svc_auth_none_ops.svc_ah_wrap') svc_auth_none.c:41:17: note: 'svcauth_none_wrap' declared here 41 | static bool_t svcauth_none_wrap(); | ^~~~~~~~~~~~~~~~~ svc_auth_none.c:45:9: error: initialization of 'int (*)(struct svc_authentication_data *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 45 | svcauth_none_wrap, | ^~~~~~~~~~~~~~~~~ svc_auth_none.c:45:9: note: (near initialization for 'rpcsecgss_svc_auth_none_ops.svc_ah_unwrap') svc_auth_none.c:41:17: note: 'svcauth_none_wrap' declared here 41 | static bool_t svcauth_none_wrap(); | ^~~~~~~~~~~~~~~~~ svc_auth_none.c:46:9: error: initialization of 'int (*)(struct svc_authentication_data *)' from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 46 | svcauth_none_destroy | ^~~~~~~~~~~~~~~~~~~~ svc_auth_none.c:46:9: note: (near initialization for 'rpcsecgss_svc_auth_none_ops.svc_ah_destroy') svc_auth_none.c:40:17: note: 'svcauth_none_destroy' declared here 40 | static bool_t svcauth_none_destroy(); | ^~~~~~~~~~~~~~~~~~~~ svc_auth_none.c:55:1: error: conflicting types for 'svcauth_none_destroy'; have 'bool_t(SVCAUTH *)' {aka 'int(struct svc_authentication_data *)'} 55 | svcauth_none_destroy(SVCAUTH *auth) | ^~~~~~~~~~~~~~~~~~~~ svc_auth_none.c:40:17: note: previous declaration of 'svcauth_none_destroy' with type 'bool_t(void)' {aka 'int(void)'} 40 | static bool_t svcauth_none_destroy(); | ^~~~~~~~~~~~~~~~~~~~ svc_auth_none.c:61:1: error: conflicting types for 'svcauth_none_wrap'; have 'bool_t(SVCAUTH *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} 61 | svcauth_none_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, | ^~~~~~~~~~~~~~~~~ svc_auth_none.c:41:17: note: previous declaration of 'svcauth_none_wrap' with type 'bool_t(void)' {aka 'int(void)'} 41 | static bool_t svcauth_none_wrap(); | ^~~~~~~~~~~~~~~~~ svc_auth_none.c:40:17: warning: 'svcauth_none_destroy' used but never defined 40 | static bool_t svcauth_none_destroy(); | ^~~~~~~~~~~~~~~~~~~~ svc_auth_none.c:41:17: warning: 'svcauth_none_wrap' used but never defined 41 | static bool_t svcauth_none_wrap(); | ^~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:567: librpcsecgss_la-svc_auth_none.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_simple.lo `test -f 'svc_simple.c' || echo './'`svc_simple.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_simple.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_simple.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_simple.c:43: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_simple.c: In function 'rpcsecgss_registerrpc': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:36:37: warning: old-style function definition [-Wold-style-definition] 36 | #define registerrpc rpcsecgss_registerrpc | ^~~~~~~~~~~~~~~~~~~~~ svc_simple.c:60:1: note: in expansion of macro 'registerrpc' 60 | registerrpc(prognum, versnum, procnum, progname, inproc, outproc) | ^~~~~~~~~~~ svc_simple.c:80:13: error: passing argument 4 of 'rpcsecgss_svc_register' from incompatible pointer type [-Wincompatible-pointer-types] 80 | universal, IPPROTO_UDP)) { | ^~~~~~~~~ | | | void (*)(void) In file included from /usr/include/features.h:524, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:28, from svc_simple.c:40: ./../include/rpcsecgss/rpc/svc.h:184:21: note: expected 'void (*)(struct svc_req *, SVCXPRT *)' {aka 'void (*)(struct svc_req *, struct __rpc_svcxprt *)'} but argument is of type 'void (*)(void)' 184 | void (*) __P((struct svc_req *, SVCXPRT *)), int)); | ^ svc_simple.c:55:13: note: 'universal' declared here 55 | static void universal(); | ^~~~~~~~~ svc_simple.c: In function 'universal': svc_simple.c:101:1: warning: old-style function definition [-Wold-style-definition] 101 | universal(rqstp, transp) | ^~~~~~~~~ svc_simple.c:130:36: error: too many arguments to function 'rpcsecgss_pl->p_progname'; expected 0, have 1 130 | outdata = (*(pl->p_progname))(xdrbuf); | ~^~~~~~~~~~~~~~~~~~ ~~~~~~ svc_simple.c:49:17: note: declared here 49 | char *(*p_progname)(); | ^~~~~~~~~~ make[1]: *** [Makefile:595: librpcsecgss_la-svc_simple.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_raw.lo `test -f 'svc_raw.c' || echo './'`svc_raw.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_raw.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_raw.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_raw.c:43: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_raw.c:64:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 64 | svcraw_recv, | ^~~~~~~~~~~ svc_raw.c:64:9: note: (near initialization for 'server_ops.xp_recv') svc_raw.c:56:25: note: 'svcraw_recv' declared here 56 | static bool_t svcraw_recv(); | ^~~~~~~~~~~ svc_raw.c:65:9: error: initialization of 'enum xprt_stat (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'enum xprt_stat (*)(void)' [-Wincompatible-pointer-types] 65 | svcraw_stat, | ^~~~~~~~~~~ svc_raw.c:65:9: note: (near initialization for 'server_ops.xp_stat') svc_raw.c:57:25: note: 'svcraw_stat' declared here 57 | static enum xprt_stat svcraw_stat(); | ^~~~~~~~~~~ svc_raw.c:66:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 66 | svcraw_getargs, | ^~~~~~~~~~~~~~ svc_raw.c:66:9: note: (near initialization for 'server_ops.xp_getargs') svc_raw.c:58:25: note: 'svcraw_getargs' declared here 58 | static bool_t svcraw_getargs(); | ^~~~~~~~~~~~~~ svc_raw.c:67:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 67 | svcraw_reply, | ^~~~~~~~~~~~ svc_raw.c:67:9: note: (near initialization for 'server_ops.xp_reply') svc_raw.c:59:25: note: 'svcraw_reply' declared here 59 | static bool_t svcraw_reply(); | ^~~~~~~~~~~~ svc_raw.c:68:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 68 | svcraw_freeargs, | ^~~~~~~~~~~~~~~ svc_raw.c:68:9: note: (near initialization for 'server_ops.xp_freeargs') svc_raw.c:60:25: note: 'svcraw_freeargs' declared here 60 | static bool_t svcraw_freeargs(); | ^~~~~~~~~~~~~~~ svc_raw.c:69:9: error: initialization of 'void (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 69 | svcraw_destroy | ^~~~~~~~~~~~~~ svc_raw.c:69:9: note: (near initialization for 'server_ops.xp_destroy') svc_raw.c:61:25: note: 'svcraw_destroy' declared here 61 | static void svcraw_destroy(); | ^~~~~~~~~~~~~~ svc_raw.c: In function 'svcraw_recv': svc_raw.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | svcraw_recv(xprt, msg) | ^~~~~~~~~~~ svc_raw.c: In function 'svcraw_reply': svc_raw.c:118:1: warning: old-style function definition [-Wold-style-definition] 118 | svcraw_reply(xprt, msg) | ^~~~~~~~~~~~ svc_raw.c: In function 'svcraw_getargs': svc_raw.c:138:1: warning: old-style function definition [-Wold-style-definition] 138 | svcraw_getargs(xprt, xdr_args, args_ptr) | ^~~~~~~~~~~~~~ svc_raw.c: In function 'svcraw_freeargs': svc_raw.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | svcraw_freeargs(xprt, xdr_args, args_ptr) | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:588: librpcsecgss_la-svc_raw.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-rpc_commondata.lo `test -f 'rpc_commondata.c' || echo './'`rpc_commondata.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c rpc_commondata.c -fPIC -DPIC -o .libs/librpcsecgss_la-rpc_commondata.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from rpc_commondata.c:33: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-clnt_raw.lo `test -f 'clnt_raw.c' || echo './'`clnt_raw.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c clnt_raw.c -fPIC -DPIC -o .libs/librpcsecgss_la-clnt_raw.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from clnt_raw.c:46: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ clnt_raw.c:69:9: error: initialization of 'enum clnt_stat (*)(struct __rpc_client *, rpcproc_t, bool_t (*)(XDR *, ...), void *, bool_t (*)(XDR *, ...), void *, struct timeval)' {aka 'enum clnt_stat (*)(struct __rpc_client *, unsigned int, int (*)(struct __rpc_xdr *, ...), void *, int (*)(struct __rpc_xdr *, ...), void *, struct timeval)'} from incompatible pointer type 'enum clnt_stat (*)(void)' [-Wincompatible-pointer-types] 69 | clntraw_call, | ^~~~~~~~~~~~ clnt_raw.c:69:9: note: (near initialization for 'client_ops.cl_call') clnt_raw.c:61:25: note: 'clntraw_call' declared here 61 | static enum clnt_stat clntraw_call(); | ^~~~~~~~~~~~ clnt_raw.c:70:9: error: initialization of 'void (*)(struct __rpc_client *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 70 | clntraw_abort, | ^~~~~~~~~~~~~ clnt_raw.c:70:9: note: (near initialization for 'client_ops.cl_abort') clnt_raw.c:62:25: note: 'clntraw_abort' declared here 62 | static void clntraw_abort(); | ^~~~~~~~~~~~~ clnt_raw.c:71:9: error: initialization of 'void (*)(struct __rpc_client *, struct rpc_err *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 71 | clntraw_geterr, | ^~~~~~~~~~~~~~ clnt_raw.c:71:9: note: (near initialization for 'client_ops.cl_geterr') clnt_raw.c:63:25: note: 'clntraw_geterr' declared here 63 | static void clntraw_geterr(); | ^~~~~~~~~~~~~~ clnt_raw.c:72:9: error: initialization of 'bool_t (*)(struct __rpc_client *, bool_t (*)(XDR *, ...), void *)' {aka 'int (*)(struct __rpc_client *, int (*)(struct __rpc_xdr *, ...), void *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 72 | clntraw_freeres, | ^~~~~~~~~~~~~~~ clnt_raw.c:72:9: note: (near initialization for 'client_ops.cl_freeres') clnt_raw.c:64:25: note: 'clntraw_freeres' declared here 64 | static bool_t clntraw_freeres(); | ^~~~~~~~~~~~~~~ clnt_raw.c:73:9: error: initialization of 'void (*)(struct __rpc_client *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 73 | clntraw_destroy, | ^~~~~~~~~~~~~~~ clnt_raw.c:73:9: note: (near initialization for 'client_ops.cl_destroy') clnt_raw.c:66:25: note: 'clntraw_destroy' declared here 66 | static void clntraw_destroy(); | ^~~~~~~~~~~~~~~ clnt_raw.c:74:9: error: initialization of 'bool_t (*)(struct __rpc_client *, u_int, void *)' {aka 'int (*)(struct __rpc_client *, unsigned int, void *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 74 | clntraw_control | ^~~~~~~~~~~~~~~ clnt_raw.c:74:9: note: (near initialization for 'client_ops.cl_control') clnt_raw.c:65:25: note: 'clntraw_control' declared here 65 | static bool_t clntraw_control(); | ^~~~~~~~~~~~~~~ ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:52:37: error: conflicting types for 'rpcsecgss_svc_getreq'; have 'void(void)' 52 | #define svc_getreq rpcsecgss_svc_getreq | ^~~~~~~~~~~~~~~~~~~~ clnt_raw.c:77:9: note: in expansion of macro 'svc_getreq' 77 | void svc_getreq(); | ^~~~~~~~~~ ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:52:37: note: previous declaration of 'rpcsecgss_svc_getreq' with type 'void(int)' 52 | #define svc_getreq rpcsecgss_svc_getreq | ^~~~~~~~~~~~~~~~~~~~ ./../include/rpcsecgss/rpc/svc.h:282:17: note: in expansion of macro 'svc_getreq' 282 | extern void svc_getreq __P((int)); | ^~~~~~~~~~ clnt_raw.c: In function 'rpcsecgss_clntraw_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:28:37: warning: old-style function definition [-Wold-style-definition] 28 | #define clntraw_create rpcsecgss_clntraw_create | ^~~~~~~~~~~~~~~~~~~~~~~~ clnt_raw.c:83:1: note: in expansion of macro 'clntraw_create' 83 | clntraw_create(prog, vers) | ^~~~~~~~~~~~~~ clnt_raw.c: In function 'clntraw_call': clnt_raw.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | clntraw_call(h, proc, xargs, argsp, xresults, resultsp, timeout) | ^~~~~~~~~~~~ ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:52:37: error: too many arguments to function 'rpcsecgss_svc_getreq'; expected 0, have 1 52 | #define svc_getreq rpcsecgss_svc_getreq | ^~~~~~~~~~~~~~~~~~~~ clnt_raw.c:163:9: note: in expansion of macro 'svc_getreq' 163 | svc_getreq(1); | ^~~~~~~~~~ ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:52:37: note: declared here 52 | #define svc_getreq rpcsecgss_svc_getreq | ^~~~~~~~~~~~~~~~~~~~ clnt_raw.c:77:9: note: in expansion of macro 'svc_getreq' 77 | void svc_getreq(); | ^~~~~~~~~~ clnt_raw.c: In function 'clntraw_freeres': clnt_raw.c:217:1: warning: old-style function definition [-Wold-style-definition] 217 | clntraw_freeres(cl, xdr_res, res_ptr) | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:637: librpcsecgss_la-clnt_raw.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_auth_gss.lo `test -f 'svc_auth_gss.c' || echo './'`svc_auth_gss.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_auth_gss.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_auth_gss.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_auth_gss.c:40: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_auth_gss.c:61:9: error: initialization of 'int (*)(struct svc_authentication_data *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 61 | svcauth_gss_wrap, | ^~~~~~~~~~~~~~~~ svc_auth_gss.c:61:9: note: (near initialization for 'svc_auth_gss_ops.svc_ah_wrap') svc_auth_gss.c:57:17: note: 'svcauth_gss_wrap' declared here 57 | static bool_t svcauth_gss_wrap(); | ^~~~~~~~~~~~~~~~ svc_auth_gss.c:62:9: error: initialization of 'int (*)(struct svc_authentication_data *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 62 | svcauth_gss_unwrap, | ^~~~~~~~~~~~~~~~~~ svc_auth_gss.c:62:9: note: (near initialization for 'svc_auth_gss_ops.svc_ah_unwrap') svc_auth_gss.c:58:17: note: 'svcauth_gss_unwrap' declared here 58 | static bool_t svcauth_gss_unwrap(); | ^~~~~~~~~~~~~~~~~~ svc_auth_gss.c:63:9: error: initialization of 'int (*)(struct svc_authentication_data *)' from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 63 | svcauth_gss_destroy | ^~~~~~~~~~~~~~~~~~~ svc_auth_gss.c:63:9: note: (near initialization for 'svc_auth_gss_ops.svc_ah_destroy') svc_auth_gss.c:56:17: note: 'svcauth_gss_destroy' declared here 56 | static bool_t svcauth_gss_destroy(); | ^~~~~~~~~~~~~~~~~~~ svc_auth_gss.c:662:1: error: conflicting types for 'svcauth_gss_destroy'; have 'bool_t(SVCAUTH *)' {aka 'int(struct svc_authentication_data *)'} 662 | svcauth_gss_destroy(SVCAUTH *auth) | ^~~~~~~~~~~~~~~~~~~ svc_auth_gss.c:56:17: note: previous declaration of 'svcauth_gss_destroy' with type 'bool_t(void)' {aka 'int(void)'} 56 | static bool_t svcauth_gss_destroy(); | ^~~~~~~~~~~~~~~~~~~ svc_auth_gss.c:690:1: error: conflicting types for 'svcauth_gss_wrap'; have 'bool_t(SVCAUTH *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} 690 | svcauth_gss_wrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) | ^~~~~~~~~~~~~~~~ svc_auth_gss.c:57:17: note: previous declaration of 'svcauth_gss_wrap' with type 'bool_t(void)' {aka 'int(void)'} 57 | static bool_t svcauth_gss_wrap(); | ^~~~~~~~~~~~~~~~ svc_auth_gss.c:707:1: error: conflicting types for 'svcauth_gss_unwrap'; have 'bool_t(SVCAUTH *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int(struct svc_authentication_data *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} 707 | svcauth_gss_unwrap(SVCAUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) | ^~~~~~~~~~~~~~~~~~ svc_auth_gss.c:58:17: note: previous declaration of 'svcauth_gss_unwrap' with type 'bool_t(void)' {aka 'int(void)'} 58 | static bool_t svcauth_gss_unwrap(); | ^~~~~~~~~~~~~~~~~~ svc_auth_gss.c:56:17: warning: 'svcauth_gss_destroy' used but never defined 56 | static bool_t svcauth_gss_destroy(); | ^~~~~~~~~~~~~~~~~~~ svc_auth_gss.c:57:17: warning: 'svcauth_gss_wrap' used but never defined 57 | static bool_t svcauth_gss_wrap(); | ^~~~~~~~~~~~~~~~ svc_auth_gss.c:58:17: warning: 'svcauth_gss_unwrap' used but never defined 58 | static bool_t svcauth_gss_unwrap(); | ^~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:581: librpcsecgss_la-svc_auth_gss.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_udp.lo `test -f 'svc_udp.c' || echo './'`svc_udp.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_udp.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_udp.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_udp.c:44: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_udp.c:65:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 65 | svcudp_recv, | ^~~~~~~~~~~ svc_udp.c:65:9: note: (near initialization for 'svcudp_op.xp_recv') svc_udp.c:55:25: note: 'svcudp_recv' declared here 55 | static bool_t svcudp_recv(); | ^~~~~~~~~~~ svc_udp.c:66:9: error: initialization of 'enum xprt_stat (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'enum xprt_stat (*)(void)' [-Wincompatible-pointer-types] 66 | svcudp_stat, | ^~~~~~~~~~~ svc_udp.c:66:9: note: (near initialization for 'svcudp_op.xp_stat') svc_udp.c:57:25: note: 'svcudp_stat' declared here 57 | static enum xprt_stat svcudp_stat(); | ^~~~~~~~~~~ svc_udp.c:67:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 67 | svcudp_getargs, | ^~~~~~~~~~~~~~ svc_udp.c:67:9: note: (near initialization for 'svcudp_op.xp_getargs') svc_udp.c:58:25: note: 'svcudp_getargs' declared here 58 | static bool_t svcudp_getargs(); | ^~~~~~~~~~~~~~ svc_udp.c:68:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 68 | svcudp_reply, | ^~~~~~~~~~~~ svc_udp.c:68:9: note: (near initialization for 'svcudp_op.xp_reply') svc_udp.c:56:25: note: 'svcudp_reply' declared here 56 | static bool_t svcudp_reply(); | ^~~~~~~~~~~~ svc_udp.c:69:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 69 | svcudp_freeargs, | ^~~~~~~~~~~~~~~ svc_udp.c:69:9: note: (near initialization for 'svcudp_op.xp_freeargs') svc_udp.c:59:25: note: 'svcudp_freeargs' declared here 59 | static bool_t svcudp_freeargs(); | ^~~~~~~~~~~~~~~ svc_udp.c:70:9: error: initialization of 'void (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 70 | svcudp_destroy | ^~~~~~~~~~~~~~ svc_udp.c:70:9: note: (near initialization for 'svcudp_op.xp_destroy') svc_udp.c:60:25: note: 'svcudp_destroy' declared here 60 | static void svcudp_destroy(); | ^~~~~~~~~~~~~~ svc_udp.c: In function 'rpcsecgss_svcudp_bufcreate': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:60:37: warning: old-style function definition [-Wold-style-definition] 60 | #define svcudp_bufcreate rpcsecgss_svcudp_bufcreate | ^~~~~~~~~~~~~~~~~~~~~~~~~~ svc_udp.c:99:1: note: in expansion of macro 'svcudp_bufcreate' 99 | svcudp_bufcreate(sock, sendsz, recvsz) | ^~~~~~~~~~~~~~~~ svc_udp.c: In function 'rpcsecgss_svcudp_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:61:37: warning: old-style function definition [-Wold-style-definition] 61 | #define svcudp_create rpcsecgss_svcudp_create | ^~~~~~~~~~~~~~~~~~~~~~~ svc_udp.c:170:1: note: in expansion of macro 'svcudp_create' 170 | svcudp_create(sock) | ^~~~~~~~~~~~~ svc_udp.c: In function 'svcudp_stat': svc_udp.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | svcudp_stat(xprt) | ^~~~~~~~~~~ svc_udp.c: In function 'svcudp_recv': svc_udp.c:187:1: warning: old-style function definition [-Wold-style-definition] 187 | svcudp_recv(xprt, msg) | ^~~~~~~~~~~ svc_udp.c: In function 'svcudp_reply': svc_udp.c:221:1: warning: old-style function definition [-Wold-style-definition] 221 | svcudp_reply(xprt, msg) | ^~~~~~~~~~~~ svc_udp.c: In function 'svcudp_getargs': svc_udp.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | svcudp_getargs(xprt, xdr_args, args_ptr) | ^~~~~~~~~~~~~~ svc_udp.c: In function 'svcudp_freeargs': svc_udp.c:273:1: warning: old-style function definition [-Wold-style-definition] 273 | svcudp_freeargs(xprt, xdr_args, args_ptr) | ^~~~~~~~~~~~~~~ svc_udp.c: In function 'svcudp_destroy': svc_udp.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | svcudp_destroy(xprt) | ^~~~~~~~~~~~~~ svc_udp.c: In function 'rpcsecgss_svcudp_enablecache': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:62:37: warning: old-style function definition [-Wold-style-definition] 62 | #define svcudp_enablecache rpcsecgss_svcudp_enablecache | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ svc_udp.c:377:1: note: in expansion of macro 'svcudp_enablecache' 377 | svcudp_enablecache(transp, size) | ^~~~~~~~~~~~~~~~~~ svc_udp.c: In function 'cache_set': svc_udp.c:416:1: warning: old-style function definition [-Wold-style-definition] 416 | cache_set(xprt, replylen) | ^~~~~~~~~ svc_udp.c: In function 'cache_get': svc_udp.c:481:1: warning: old-style function definition [-Wold-style-definition] 481 | cache_get(xprt, msg, replyp, replylenp) | ^~~~~~~~~ make[1]: *** [Makefile:609: librpcsecgss_la-svc_udp.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-clnt_perror.lo `test -f 'clnt_perror.c' || echo './'`clnt_perror.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c clnt_perror.c -fPIC -DPIC -o .libs/librpcsecgss_la-clnt_perror.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from clnt_perror.c:42: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ clnt_perror.c: In function 'rpcsecgss_clnt_sperror': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:31:37: warning: old-style function definition [-Wold-style-definition] 31 | #define clnt_sperror rpcsecgss_clnt_sperror | ^~~~~~~~~~~~~~~~~~~~~~ clnt_perror.c:65:1: note: in expansion of macro 'clnt_sperror' 65 | clnt_sperror(rpch, s) | ^~~~~~~~~~~~ clnt_perror.c:114:23: error: too many arguments to function 'auth_errmsg'; expected 0, have 1 114 | err = auth_errmsg(e.re_why); | ^~~~~~~~~~~ clnt_perror.c:47:14: note: declared here 47 | static char *auth_errmsg(); | ^~~~~~~~~~~ clnt_perror.c: In function 'rpcsecgss_clnt_perror': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:27:37: warning: old-style function definition [-Wold-style-definition] 27 | #define clnt_perror rpcsecgss_clnt_perror | ^~~~~~~~~~~~~~~~~~~~~ clnt_perror.c:152:1: note: in expansion of macro 'clnt_perror' 152 | clnt_perror(rpch, s) | ^~~~~~~~~~~ clnt_perror.c: In function 'rpcsecgss_clnt_sperrno': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:30:37: warning: old-style function definition [-Wold-style-definition] 30 | #define clnt_sperrno rpcsecgss_clnt_sperrno | ^~~~~~~~~~~~~~~~~~~~~~ clnt_perror.c:185:1: note: in expansion of macro 'clnt_sperrno' 185 | clnt_sperrno(stat) | ^~~~~~~~~~~~ clnt_perror.c: In function 'rpcsecgss_clnt_perrno': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:26:37: warning: old-style function definition [-Wold-style-definition] 26 | #define clnt_perrno rpcsecgss_clnt_perrno | ^~~~~~~~~~~~~~~~~~~~~ clnt_perror.c:197:1: note: in expansion of macro 'clnt_perrno' 197 | clnt_perrno(num) | ^~~~~~~~~~~ clnt_perror.c: In function 'rpcsecgss_clnt_spcreateerror': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:29:37: warning: old-style function definition [-Wold-style-definition] 29 | #define clnt_spcreateerror rpcsecgss_clnt_spcreateerror | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clnt_perror.c:205:1: note: in expansion of macro 'clnt_spcreateerror' 205 | clnt_spcreateerror(s) | ^~~~~~~~~~~~~~~~~~ clnt_perror.c: In function 'rpcsecgss_clnt_pcreateerror': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:25:37: warning: old-style function definition [-Wold-style-definition] 25 | #define clnt_pcreateerror rpcsecgss_clnt_pcreateerror | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clnt_perror.c:237:1: note: in expansion of macro 'clnt_pcreateerror' 237 | clnt_pcreateerror(s) | ^~~~~~~~~~~~~~~~~ clnt_perror.c: In function 'auth_errmsg': clnt_perror.c:255:1: warning: old-style function definition [-Wold-style-definition] 255 | auth_errmsg(stat) | ^~~~~~~~~~~ make[1]: *** [Makefile:630: librpcsecgss_la-clnt_perror.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc.lo `test -f 'svc.c' || echo './'`svc.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc.c:51: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_xprt_register': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:73:37: warning: old-style function definition [-Wold-style-definition] 73 | #define xprt_register rpcsecgss_xprt_register | ^~~~~~~~~~~~~~~~~~~~~~~ svc.c:92:1: note: in expansion of macro 'xprt_register' 92 | xprt_register(xprt) | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_xprt_unregister': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:74:37: warning: old-style function definition [-Wold-style-definition] 74 | #define xprt_unregister rpcsecgss_xprt_unregister | ^~~~~~~~~~~~~~~~~~~~~~~~~ svc.c:139:1: note: in expansion of macro 'xprt_unregister' 139 | xprt_unregister(xprt) | ^~~~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svc_register': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:56:37: warning: old-style function definition [-Wold-style-definition] 56 | #define svc_register rpcsecgss_svc_register | ^~~~~~~~~~~~~~~~~~~~~~ svc.c:170:1: note: in expansion of macro 'svc_register' 170 | svc_register(xprt, prog, vers, dispatch, protocol) | ^~~~~~~~~~~~ svc.c:174:16: error: argument 'dispatch' doesn't match prototype 174 | void (*dispatch)(); | ^~~~~~~~ ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:56:37: error: prototype declaration 56 | #define svc_register rpcsecgss_svc_register | ^~~~~~~~~~~~~~~~~~~~~~ ./../include/rpcsecgss/rpc/svc.h:183:17: note: in expansion of macro 'svc_register' 183 | extern bool_t svc_register __P((SVCXPRT *, u_long, u_long, | ^~~~~~~~~~~~ svc.c:180:18: error: too many arguments to function 'svc_find'; expected 0, have 3 180 | if ((s = svc_find(prog, vers, &prev)) != NULL_SVC) { | ^~~~~~~~ ~~~~ svc.c:81:28: note: declared here 81 | static struct svc_callout *svc_find(); | ^~~~~~~~ svc.c: In function 'rpcsecgss_svc_unregister': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:63:37: warning: old-style function definition [-Wold-style-definition] 63 | #define svc_unregister rpcsecgss_svc_unregister | ^~~~~~~~~~~~~~~~~~~~~~~~ svc.c:206:1: note: in expansion of macro 'svc_unregister' 206 | svc_unregister(prog, vers) | ^~~~~~~~~~~~~~ svc.c:213:18: error: too many arguments to function 'svc_find'; expected 0, have 3 213 | if ((s = svc_find(prog, vers, &prev)) == NULL_SVC) | ^~~~~~~~ ~~~~ svc.c:81:28: note: declared here 81 | static struct svc_callout *svc_find(); | ^~~~~~~~ svc.c: In function 'svc_find': svc.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | svc_find(prog, vers, prev) | ^~~~~~~~ svc.c: In function 'rpcsecgss_svc_sendreply': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:58:37: warning: old-style function definition [-Wold-style-definition] 58 | #define svc_sendreply rpcsecgss_svc_sendreply | ^~~~~~~~~~~~~~~~~~~~~~~ svc.c:255:1: note: in expansion of macro 'svc_sendreply' 255 | svc_sendreply(xprt, xdr_results, xdr_location) | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_noproc': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:46:37: warning: old-style function definition [-Wold-style-definition] 46 | #define svcerr_noproc rpcsecgss_svcerr_noproc | ^~~~~~~~~~~~~~~~~~~~~~~ svc.c:275:1: note: in expansion of macro 'svcerr_noproc' 275 | svcerr_noproc(xprt) | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_decode': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:45:37: warning: old-style function definition [-Wold-style-definition] 45 | #define svcerr_decode rpcsecgss_svcerr_decode | ^~~~~~~~~~~~~~~~~~~~~~~ svc.c:291:1: note: in expansion of macro 'svcerr_decode' 291 | svcerr_decode(xprt) | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_systemerr': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:49:37: warning: old-style function definition [-Wold-style-definition] 49 | #define svcerr_systemerr rpcsecgss_svcerr_systemerr | ^~~~~~~~~~~~~~~~~~~~~~~~~~ svc.c:307:1: note: in expansion of macro 'svcerr_systemerr' 307 | svcerr_systemerr(xprt) | ^~~~~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_auth': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:44:37: warning: old-style function definition [-Wold-style-definition] 44 | #define svcerr_auth rpcsecgss_svcerr_auth | ^~~~~~~~~~~~~~~~~~~~~ svc.c:323:1: note: in expansion of macro 'svcerr_auth' 323 | svcerr_auth(xprt, why) | ^~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_weakauth': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:50:37: warning: old-style function definition [-Wold-style-definition] 50 | #define svcerr_weakauth rpcsecgss_svcerr_weakauth | ^~~~~~~~~~~~~~~~~~~~~~~~~ svc.c:340:1: note: in expansion of macro 'svcerr_weakauth' 340 | svcerr_weakauth(xprt) | ^~~~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_noprog': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:47:37: warning: old-style function definition [-Wold-style-definition] 47 | #define svcerr_noprog rpcsecgss_svcerr_noprog | ^~~~~~~~~~~~~~~~~~~~~~~ svc.c:351:1: note: in expansion of macro 'svcerr_noprog' 351 | svcerr_noprog(xprt) | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svcerr_progvers': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:48:37: warning: old-style function definition [-Wold-style-definition] 48 | #define svcerr_progvers rpcsecgss_svcerr_progvers | ^~~~~~~~~~~~~~~~~~~~~~~~~ svc.c:367:1: note: in expansion of macro 'svcerr_progvers' 367 | svcerr_progvers(xprt, low_vers, high_vers) | ^~~~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svc_getreq': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:52:37: warning: old-style function definition [-Wold-style-definition] 52 | #define svc_getreq rpcsecgss_svc_getreq | ^~~~~~~~~~~~~~~~~~~~ svc.c:402:1: note: in expansion of macro 'svc_getreq' 402 | svc_getreq(rdfds) | ^~~~~~~~~~ svc.c: In function 'rpcsecgss_svc_getreqset': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:53:37: warning: old-style function definition [-Wold-style-definition] 53 | #define svc_getreqset rpcsecgss_svc_getreqset | ^~~~~~~~~~~~~~~~~~~~~~~ svc.c:415:1: note: in expansion of macro 'svc_getreqset' 415 | svc_getreqset(readfds) | ^~~~~~~~~~~~~ svc.c: In function 'rpcsecgss_svc_getreqset2': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:54:37: warning: old-style function definition [-Wold-style-definition] 54 | #define svc_getreqset2 rpcsecgss_svc_getreqset2 | ^~~~~~~~~~~~~~~~~~~~~~~~ svc.c:422:1: note: in expansion of macro 'svc_getreqset2' 422 | svc_getreqset2(readfds, width) | ^~~~~~~~~~~~~~ svc.c:481:58: error: too many arguments to function 's->sc_dispatch'; expected 0, have 2 481 | (*s->sc_dispatch)(&r, xprt); | ~^~~~~~~~~~~~~~~~ ~~ svc.c:78:31: note: declared here 78 | void (*sc_dispatch)(); | ^~~~~~~~~~~ make[1]: *** [Makefile:546: librpcsecgss_la-svc.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_tcp.lo `test -f 'svc_tcp.c' || echo './'`svc_tcp.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_tcp.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_tcp.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_tcp.c:47: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_tcp.c:70:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 70 | svctcp_recv, | ^~~~~~~~~~~ svc_tcp.c:70:9: note: (near initialization for 'svctcp_op.xp_recv') svc_tcp.c:62:25: note: 'svctcp_recv' declared here 62 | static bool_t svctcp_recv(); | ^~~~~~~~~~~ svc_tcp.c:71:9: error: initialization of 'enum xprt_stat (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'enum xprt_stat (*)(void)' [-Wincompatible-pointer-types] 71 | svctcp_stat, | ^~~~~~~~~~~ svc_tcp.c:71:9: note: (near initialization for 'svctcp_op.xp_stat') svc_tcp.c:63:25: note: 'svctcp_stat' declared here 63 | static enum xprt_stat svctcp_stat(); | ^~~~~~~~~~~ svc_tcp.c:72:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 72 | svctcp_getargs, | ^~~~~~~~~~~~~~ svc_tcp.c:72:9: note: (near initialization for 'svctcp_op.xp_getargs') svc_tcp.c:64:25: note: 'svctcp_getargs' declared here 64 | static bool_t svctcp_getargs(); | ^~~~~~~~~~~~~~ svc_tcp.c:73:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 73 | svctcp_reply, | ^~~~~~~~~~~~ svc_tcp.c:73:9: note: (near initialization for 'svctcp_op.xp_reply') svc_tcp.c:65:25: note: 'svctcp_reply' declared here 65 | static bool_t svctcp_reply(); | ^~~~~~~~~~~~ svc_tcp.c:74:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 74 | svctcp_freeargs, | ^~~~~~~~~~~~~~~ svc_tcp.c:74:9: note: (near initialization for 'svctcp_op.xp_freeargs') svc_tcp.c:66:25: note: 'svctcp_freeargs' declared here 66 | static bool_t svctcp_freeargs(); | ^~~~~~~~~~~~~~~ svc_tcp.c:75:9: error: initialization of 'void (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 75 | svctcp_destroy | ^~~~~~~~~~~~~~ svc_tcp.c:75:9: note: (near initialization for 'svctcp_op.xp_destroy') svc_tcp.c:67:25: note: 'svctcp_destroy' declared here 67 | static void svctcp_destroy(); | ^~~~~~~~~~~~~~ svc_tcp.c:85:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 85 | rendezvous_request, | ^~~~~~~~~~~~~~~~~~ svc_tcp.c:85:9: note: (near initialization for 'svctcp_rendezvous_op.xp_recv') svc_tcp.c:81:25: note: 'rendezvous_request' declared here 81 | static bool_t rendezvous_request(); | ^~~~~~~~~~~~~~~~~~ svc_tcp.c:86:9: error: initialization of 'enum xprt_stat (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'enum xprt_stat (*)(void)' [-Wincompatible-pointer-types] 86 | rendezvous_stat, | ^~~~~~~~~~~~~~~ svc_tcp.c:86:9: note: (near initialization for 'svctcp_rendezvous_op.xp_stat') svc_tcp.c:82:25: note: 'rendezvous_stat' declared here 82 | static enum xprt_stat rendezvous_stat(); | ^~~~~~~~~~~~~~~ svc_tcp.c:87:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 87 | (bool_t (*)())abort, | ^ svc_tcp.c:87:9: note: (near initialization for 'svctcp_rendezvous_op.xp_getargs') svc_tcp.c:88:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, struct rpc_msg *)' {aka 'int (*)(struct __rpc_svcxprt *, struct rpc_msg *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 88 | (bool_t (*)())abort, | ^ svc_tcp.c:88:9: note: (near initialization for 'svctcp_rendezvous_op.xp_reply') svc_tcp.c:89:9: error: initialization of 'bool_t (*)(struct __rpc_svcxprt *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_svcxprt *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 89 | (bool_t (*)())abort, | ^ svc_tcp.c:89:9: note: (near initialization for 'svctcp_rendezvous_op.xp_freeargs') svc_tcp.c:90:9: error: initialization of 'void (*)(struct __rpc_svcxprt *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 90 | svctcp_destroy | ^~~~~~~~~~~~~~ svc_tcp.c:90:9: note: (near initialization for 'svctcp_rendezvous_op.xp_destroy') svc_tcp.c:67:25: note: 'svctcp_destroy' declared here 67 | static void svctcp_destroy(); | ^~~~~~~~~~~~~~ svc_tcp.c: In function 'rpcsecgss_svctcp_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:59:37: warning: old-style function definition [-Wold-style-definition] 59 | #define svctcp_create rpcsecgss_svctcp_create | ^~~~~~~~~~~~~~~~~~~~~~~ svc_tcp.c:129:1: note: in expansion of macro 'svctcp_create' 129 | svctcp_create(sock, sendsize, recvsize) | ^~~~~~~~~~~~~ svc_tcp.c: In function 'rpcsecgss_svcfd_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:51:37: warning: old-style function definition [-Wold-style-definition] 51 | #define svcfd_create rpcsecgss_svcfd_create | ^~~~~~~~~~~~~~~~~~~~~~ svc_tcp.c:198:1: note: in expansion of macro 'svcfd_create' 198 | svcfd_create(fd, sendsize, recvsize) | ^~~~~~~~~~~~ svc_tcp.c:204:17: error: too many arguments to function 'makefd_xprt'; expected 0, have 3 204 | return (makefd_xprt(fd, sendsize, recvsize)); | ^~~~~~~~~~~ ~~ svc_tcp.c:94:17: note: declared here 94 | static SVCXPRT *makefd_xprt(); | ^~~~~~~~~~~ svc_tcp.c: In function 'makefd_xprt': svc_tcp.c:208:1: warning: old-style function definition [-Wold-style-definition] 208 | makefd_xprt(fd, sendsize, recvsize) | ^~~~~~~~~~~ svc_tcp.c:230:28: error: passing argument 5 of 'xdrrec_create' from incompatible pointer type [-Wincompatible-pointer-types] 230 | (caddr_t)xprt, readtcp, writetcp); | ^~~~~~~ | | | int (*)(void) In file included from ./../include/rpcsecgss/rpc/rpc.h:47: /usr/include/tirpc/rpc/xdr.h:362:29: note: expected 'int (*)(void *, void *, int)' but argument is of type 'int (*)(void)' 362 | int (*)(void *, void *, int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ svc_tcp.c:93:12: note: 'readtcp' declared here 93 | static int readtcp(), writetcp(); | ^~~~~~~ svc_tcp.c:230:37: error: passing argument 6 of 'xdrrec_create' from incompatible pointer type [-Wincompatible-pointer-types] 230 | (caddr_t)xprt, readtcp, writetcp); | ^~~~~~~~ | | | int (*)(void) /usr/include/tirpc/rpc/xdr.h:363:29: note: expected 'int (*)(void *, void *, int)' but argument is of type 'int (*)(void)' 363 | int (*)(void *, void *, int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ svc_tcp.c:93:23: note: 'writetcp' declared here 93 | static int readtcp(), writetcp(); | ^~~~~~~~ svc_tcp.c: In function 'rendezvous_request': svc_tcp.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | rendezvous_request(xprt) | ^~~~~~~~~~~~~~~~~~ svc_tcp.c:303:16: error: too many arguments to function 'makefd_xprt'; expected 0, have 3 303 | xprt = makefd_xprt(sock, r->sendsize, r->recvsize); | ^~~~~~~~~~~ ~~~~ svc_tcp.c:208:1: note: declared here 208 | makefd_xprt(fd, sendsize, recvsize) | ^~~~~~~~~~~ svc_tcp.c: In function 'svctcp_destroy': svc_tcp.c:317:1: warning: old-style function definition [-Wold-style-definition] 317 | svctcp_destroy(xprt) | ^~~~~~~~~~~~~~ svc_tcp.c: In function 'readtcp': svc_tcp.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | readtcp(xprt, buf, len) | ^~~~~~~ svc_tcp.c: In function 'writetcp': svc_tcp.c:424:1: warning: old-style function definition [-Wold-style-definition] 424 | writetcp(xprt, buf, len) | ^~~~~~~~ svc_tcp.c: In function 'svctcp_stat': svc_tcp.c:442:1: warning: old-style function definition [-Wold-style-definition] 442 | svctcp_stat(xprt) | ^~~~~~~~~~~ svc_tcp.c: In function 'svctcp_recv': svc_tcp.c:456:1: warning: old-style function definition [-Wold-style-definition] 456 | svctcp_recv(xprt, msg) | ^~~~~~~~~~~ svc_tcp.c: In function 'svctcp_getargs': svc_tcp.c:475:1: warning: old-style function definition [-Wold-style-definition] 475 | svctcp_getargs(xprt, xdr_args, args_ptr) | ^~~~~~~~~~~~~~ svc_tcp.c: In function 'svctcp_freeargs': svc_tcp.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | svctcp_freeargs(xprt, xdr_args, args_ptr) | ^~~~~~~~~~~~~~~ svc_tcp.c: In function 'svctcp_reply': svc_tcp.c:499:1: warning: old-style function definition [-Wold-style-definition] 499 | svctcp_reply(xprt, msg) | ^~~~~~~~~~~~ make[1]: *** [Makefile:602: librpcsecgss_la-svc_tcp.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-auth_gss.lo `test -f 'auth_gss.c' || echo './'`auth_gss.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c auth_gss.c -fPIC -DPIC -o .libs/librpcsecgss_la-auth_gss.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from auth_gss.c:44: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ auth_gss.c:72:9: error: initialization of 'void (*)(struct __rpc_auth *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 72 | authgss_nextverf, | ^~~~~~~~~~~~~~~~ auth_gss.c:72:9: note: (near initialization for 'authgss_ops.ah_nextverf') auth_gss.c:49:17: note: 'authgss_nextverf' declared here 49 | static void authgss_nextverf(); | ^~~~~~~~~~~~~~~~ auth_gss.c:73:9: error: initialization of 'int (*)(struct __rpc_auth *, XDR *)' {aka 'int (*)(struct __rpc_auth *, struct __rpc_xdr *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 73 | authgss_marshal, | ^~~~~~~~~~~~~~~ auth_gss.c:73:9: note: (near initialization for 'authgss_ops.ah_marshal') auth_gss.c:50:17: note: 'authgss_marshal' declared here 50 | static bool_t authgss_marshal(); | ^~~~~~~~~~~~~~~ auth_gss.c:74:9: error: initialization of 'int (*)(struct __rpc_auth *, struct opaque_auth *)' from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 74 | authgss_validate, | ^~~~~~~~~~~~~~~~ auth_gss.c:74:9: note: (near initialization for 'authgss_ops.ah_validate') auth_gss.c:53:17: note: 'authgss_validate' declared here 53 | static bool_t authgss_validate(); | ^~~~~~~~~~~~~~~~ auth_gss.c:75:9: error: initialization of 'int (*)(struct __rpc_auth *)' from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 75 | authgss_refresh, | ^~~~~~~~~~~~~~~ auth_gss.c:75:9: note: (near initialization for 'authgss_ops.ah_refresh') auth_gss.c:51:17: note: 'authgss_refresh' declared here 51 | static bool_t authgss_refresh(); | ^~~~~~~~~~~~~~~ auth_gss.c:76:9: error: initialization of 'void (*)(struct __rpc_auth *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 76 | authgss_destroy, | ^~~~~~~~~~~~~~~ auth_gss.c:76:9: note: (near initialization for 'authgss_ops.ah_destroy') auth_gss.c:54:17: note: 'authgss_destroy' declared here 54 | static void authgss_destroy(); | ^~~~~~~~~~~~~~~ auth_gss.c:77:9: error: initialization of 'void (*)(struct __rpc_auth *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 77 | authgss_prep_refresh, | ^~~~~~~~~~~~~~~~~~~~ auth_gss.c:77:9: note: (near initialization for 'authgss_ops.ah_prep_refresh') auth_gss.c:56:17: note: 'authgss_prep_refresh' declared here 56 | static void authgss_prep_refresh(); | ^~~~~~~~~~~~~~~~~~~~ auth_gss.c:78:9: error: initialization of 'int (*)(struct __rpc_auth *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types] 78 | authgss_get_retries, | ^~~~~~~~~~~~~~~~~~~ auth_gss.c:78:9: note: (near initialization for 'authgss_ops.ah_get_retries') auth_gss.c:52:17: note: 'authgss_get_retries' declared here 52 | static int authgss_get_retries(); | ^~~~~~~~~~~~~~~~~~~ auth_gss.c:79:9: error: initialization of 'int (*)(struct __rpc_auth *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_auth *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 79 | authgss_wrap, | ^~~~~~~~~~~~ auth_gss.c:79:9: note: (near initialization for 'authgss_ops.ah_wrap') auth_gss.c:57:17: note: 'authgss_wrap' declared here 57 | static bool_t authgss_wrap(); | ^~~~~~~~~~~~ auth_gss.c:80:9: error: initialization of 'int (*)(struct __rpc_auth *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int (*)(struct __rpc_auth *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 80 | authgss_unwrap | ^~~~~~~~~~~~~~ auth_gss.c:80:9: note: (near initialization for 'authgss_ops.ah_unwrap') auth_gss.c:58:17: note: 'authgss_unwrap' declared here 58 | static bool_t authgss_unwrap(); | ^~~~~~~~~~~~~~ auth_gss.c: In function 'authgss_create': auth_gss.c:217:14: error: too many arguments to function 'authgss_refresh'; expected 0, have 1 217 | if (!authgss_refresh(auth)) { | ^~~~~~~~~~~~~~~ ~~~~ auth_gss.c:51:17: note: declared here 51 | static bool_t authgss_refresh(); | ^~~~~~~~~~~~~~~ auth_gss.c: At top level: auth_gss.c:310:1: error: conflicting types for 'authgss_nextverf'; have 'void(AUTH *)' {aka 'void(struct __rpc_auth *)'} 310 | authgss_nextverf(AUTH *auth) | ^~~~~~~~~~~~~~~~ auth_gss.c:49:17: note: previous declaration of 'authgss_nextverf' with type 'void(void)' 49 | static void authgss_nextverf(); | ^~~~~~~~~~~~~~~~ auth_gss.c:317:1: error: conflicting types for 'authgss_marshal'; have 'bool_t(AUTH *, XDR *)' {aka 'int(struct __rpc_auth *, struct __rpc_xdr *)'} 317 | authgss_marshal(AUTH *auth, XDR *xdrs) | ^~~~~~~~~~~~~~~ auth_gss.c:50:17: note: previous declaration of 'authgss_marshal' with type 'bool_t(void)' {aka 'int(void)'} 50 | static bool_t authgss_marshal(); | ^~~~~~~~~~~~~~~ auth_gss.c: In function 'authgss_marshal': auth_gss.c:364:25: error: too many arguments to function 'authgss_destroy_context'; expected 0, have 1 364 | authgss_destroy_context(auth); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ auth_gss.c:55:17: note: declared here 55 | static void authgss_destroy_context(); | ^~~~~~~~~~~~~~~~~~~~~~~ auth_gss.c: At top level: auth_gss.c:379:1: error: conflicting types for 'authgss_validate'; have 'bool_t(AUTH *, struct opaque_auth *)' {aka 'int(struct __rpc_auth *, struct opaque_auth *)'} 379 | authgss_validate(AUTH *auth, struct opaque_auth *verf) | ^~~~~~~~~~~~~~~~ auth_gss.c:53:17: note: previous declaration of 'authgss_validate' with type 'bool_t(void)' {aka 'int(void)'} 53 | static bool_t authgss_validate(); | ^~~~~~~~~~~~~~~~ auth_gss.c: In function 'authgss_validate': auth_gss.c:427:25: error: too many arguments to function 'authgss_destroy_context'; expected 0, have 1 427 | authgss_destroy_context(auth); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ auth_gss.c:55:17: note: declared here 55 | static void authgss_destroy_context(); | ^~~~~~~~~~~~~~~~~~~~~~~ auth_gss.c: At top level: auth_gss.c:435:1: error: conflicting types for 'authgss_get_retries'; have 'int(AUTH *)' {aka 'int(struct __rpc_auth *)'} 435 | authgss_get_retries(AUTH *auth) { | ^~~~~~~~~~~~~~~~~~~ auth_gss.c:52:17: note: previous declaration of 'authgss_get_retries' with type 'int(void)' 52 | static int authgss_get_retries(); | ^~~~~~~~~~~~~~~~~~~ auth_gss.c:446:1: error: conflicting types for 'authgss_refresh'; have 'bool_t(AUTH *)' {aka 'int(struct __rpc_auth *)'} 446 | authgss_refresh(AUTH *auth) | ^~~~~~~~~~~~~~~ auth_gss.c:51:17: note: previous declaration of 'authgss_refresh' with type 'bool_t(void)' {aka 'int(void)'} 51 | static bool_t authgss_refresh(); | ^~~~~~~~~~~~~~~ auth_gss.c: In function 'authgss_refresh': auth_gss.c:571:41: error: too many arguments to function 'authgss_destroy_context'; expected 0, have 1 571 | authgss_destroy_context(auth); | ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~ auth_gss.c:55:17: note: declared here 55 | static void authgss_destroy_context(); | ^~~~~~~~~~~~~~~~~~~~~~~ auth_gss.c:587:17: error: too many arguments to function 'authgss_destroy'; expected 0, have 1 587 | authgss_destroy(auth); | ^~~~~~~~~~~~~~~ ~~~~ auth_gss.c:54:17: note: declared here 54 | static void authgss_destroy(); | ^~~~~~~~~~~~~~~ auth_gss.c: At top level: auth_gss.c:617:1: error: conflicting types for 'authgss_prep_refresh'; have 'void(AUTH *)' {aka 'void(struct __rpc_auth *)'} 617 | authgss_prep_refresh(AUTH *auth) | ^~~~~~~~~~~~~~~~~~~~ auth_gss.c:56:17: note: previous declaration of 'authgss_prep_refresh' with type 'void(void)' 56 | static void authgss_prep_refresh(); | ^~~~~~~~~~~~~~~~~~~~ auth_gss.c:639:1: error: conflicting types for 'authgss_destroy_context'; have 'void(AUTH *)' {aka 'void(struct __rpc_auth *)'} 639 | authgss_destroy_context(AUTH *auth) | ^~~~~~~~~~~~~~~~~~~~~~~ auth_gss.c:55:17: note: previous declaration of 'authgss_destroy_context' with type 'void(void)' 55 | static void authgss_destroy_context(); | ^~~~~~~~~~~~~~~~~~~~~~~ auth_gss.c:665:1: error: conflicting types for 'authgss_destroy'; have 'void(AUTH *)' {aka 'void(struct __rpc_auth *)'} 665 | authgss_destroy(AUTH *auth) | ^~~~~~~~~~~~~~~ auth_gss.c:54:17: note: previous declaration of 'authgss_destroy' with type 'void(void)' 54 | static void authgss_destroy(); | ^~~~~~~~~~~~~~~ auth_gss.c:685:1: error: conflicting types for 'authgss_wrap'; have 'bool_t(AUTH *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int(struct __rpc_auth *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} 685 | authgss_wrap(AUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) | ^~~~~~~~~~~~ auth_gss.c:57:17: note: previous declaration of 'authgss_wrap' with type 'bool_t(void)' {aka 'int(void)'} 57 | static bool_t authgss_wrap(); | ^~~~~~~~~~~~ auth_gss.c:702:1: error: conflicting types for 'authgss_unwrap'; have 'bool_t(AUTH *, XDR *, bool_t (*)(XDR *, ...), char *)' {aka 'int(struct __rpc_auth *, struct __rpc_xdr *, int (*)(struct __rpc_xdr *, ...), char *)'} 702 | authgss_unwrap(AUTH *auth, XDR *xdrs, xdrproc_t xdr_func, caddr_t xdr_ptr) | ^~~~~~~~~~~~~~ auth_gss.c:58:17: note: previous declaration of 'authgss_unwrap' with type 'bool_t(void)' {aka 'int(void)'} 58 | static bool_t authgss_unwrap(); | ^~~~~~~~~~~~~~ auth_gss.c:49:17: warning: 'authgss_nextverf' used but never defined 49 | static void authgss_nextverf(); | ^~~~~~~~~~~~~~~~ auth_gss.c:50:17: warning: 'authgss_marshal' used but never defined 50 | static bool_t authgss_marshal(); | ^~~~~~~~~~~~~~~ auth_gss.c:51:17: warning: 'authgss_refresh' used but never defined 51 | static bool_t authgss_refresh(); | ^~~~~~~~~~~~~~~ auth_gss.c:52:17: warning: 'authgss_get_retries' used but never defined 52 | static int authgss_get_retries(); | ^~~~~~~~~~~~~~~~~~~ auth_gss.c:53:17: warning: 'authgss_validate' used but never defined 53 | static bool_t authgss_validate(); | ^~~~~~~~~~~~~~~~ auth_gss.c:54:17: warning: 'authgss_destroy' used but never defined 54 | static void authgss_destroy(); | ^~~~~~~~~~~~~~~ auth_gss.c:55:17: warning: 'authgss_destroy_context' used but never defined 55 | static void authgss_destroy_context(); | ^~~~~~~~~~~~~~~~~~~~~~~ auth_gss.c:56:17: warning: 'authgss_prep_refresh' used but never defined 56 | static void authgss_prep_refresh(); | ^~~~~~~~~~~~~~~~~~~~ auth_gss.c:57:17: warning: 'authgss_wrap' used but never defined 57 | static bool_t authgss_wrap(); | ^~~~~~~~~~~~ auth_gss.c:58:17: warning: 'authgss_unwrap' used but never defined 58 | static bool_t authgss_unwrap(); | ^~~~~~~~~~~~~~ make[1]: *** [Makefile:532: librpcsecgss_la-auth_gss.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-clnt_tcp.lo `test -f 'clnt_tcp.c' || echo './'`clnt_tcp.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c clnt_tcp.c -fPIC -DPIC -o .libs/librpcsecgss_la-clnt_tcp.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from clnt_tcp.c:56: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ clnt_tcp.c:77:9: error: initialization of 'enum clnt_stat (*)(struct __rpc_client *, rpcproc_t, bool_t (*)(XDR *, ...), void *, bool_t (*)(XDR *, ...), void *, struct timeval)' {aka 'enum clnt_stat (*)(struct __rpc_client *, unsigned int, int (*)(struct __rpc_xdr *, ...), void *, int (*)(struct __rpc_xdr *, ...), void *, struct timeval)'} from incompatible pointer type 'enum clnt_stat (*)(void)' [-Wincompatible-pointer-types] 77 | clnttcp_call, | ^~~~~~~~~~~~ clnt_tcp.c:77:9: note: (near initialization for 'tcp_ops.cl_call') clnt_tcp.c:69:25: note: 'clnttcp_call' declared here 69 | static enum clnt_stat clnttcp_call(); | ^~~~~~~~~~~~ clnt_tcp.c:78:9: error: initialization of 'void (*)(struct __rpc_client *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 78 | clnttcp_abort, | ^~~~~~~~~~~~~ clnt_tcp.c:78:9: note: (near initialization for 'tcp_ops.cl_abort') clnt_tcp.c:70:25: note: 'clnttcp_abort' declared here 70 | static void clnttcp_abort(); | ^~~~~~~~~~~~~ clnt_tcp.c:79:9: error: initialization of 'void (*)(struct __rpc_client *, struct rpc_err *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 79 | clnttcp_geterr, | ^~~~~~~~~~~~~~ clnt_tcp.c:79:9: note: (near initialization for 'tcp_ops.cl_geterr') clnt_tcp.c:71:25: note: 'clnttcp_geterr' declared here 71 | static void clnttcp_geterr(); | ^~~~~~~~~~~~~~ clnt_tcp.c:80:9: error: initialization of 'bool_t (*)(struct __rpc_client *, bool_t (*)(XDR *, ...), void *)' {aka 'int (*)(struct __rpc_client *, int (*)(struct __rpc_xdr *, ...), void *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 80 | clnttcp_freeres, | ^~~~~~~~~~~~~~~ clnt_tcp.c:80:9: note: (near initialization for 'tcp_ops.cl_freeres') clnt_tcp.c:72:25: note: 'clnttcp_freeres' declared here 72 | static bool_t clnttcp_freeres(); | ^~~~~~~~~~~~~~~ clnt_tcp.c:81:9: error: initialization of 'void (*)(struct __rpc_client *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 81 | clnttcp_destroy, | ^~~~~~~~~~~~~~~ clnt_tcp.c:81:9: note: (near initialization for 'tcp_ops.cl_destroy') clnt_tcp.c:74:25: note: 'clnttcp_destroy' declared here 74 | static void clnttcp_destroy(); | ^~~~~~~~~~~~~~~ clnt_tcp.c:82:9: error: initialization of 'bool_t (*)(struct __rpc_client *, u_int, void *)' {aka 'int (*)(struct __rpc_client *, unsigned int, void *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 82 | clnttcp_control | ^~~~~~~~~~~~~~~ clnt_tcp.c:82:9: note: (near initialization for 'tcp_ops.cl_control') clnt_tcp.c:73:25: note: 'clnttcp_control' declared here 73 | static bool_t clnttcp_control(); | ^~~~~~~~~~~~~~~ clnt_tcp.c: In function 'rpcsecgss_clnttcp_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:32:37: warning: old-style function definition [-Wold-style-definition] 32 | #define clnttcp_create rpcsecgss_clnttcp_create | ^~~~~~~~~~~~~~~~~~~~~~~~ clnt_tcp.c:112:1: note: in expansion of macro 'clnttcp_create' 112 | clnttcp_create(raddr, prog, vers, sockp, sendsz, recvsz) | ^~~~~~~~~~~~~~ clnt_tcp.c:257:26: error: passing argument 5 of 'xdrrec_create' from incompatible pointer type [-Wincompatible-pointer-types] 257 | (caddr_t)ct, readtcp, writetcp); | ^~~~~~~ | | | int (*)(void) In file included from ./../include/rpcsecgss/rpc/rpc.h:47: /usr/include/tirpc/rpc/xdr.h:362:29: note: expected 'int (*)(void *, void *, int)' but argument is of type 'int (*)(void)' 362 | int (*)(void *, void *, int), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clnt_tcp.c:66:17: note: 'readtcp' declared here 66 | static int readtcp(); | ^~~~~~~ clnt_tcp.c:257:35: error: passing argument 6 of 'xdrrec_create' from incompatible pointer type [-Wincompatible-pointer-types] 257 | (caddr_t)ct, readtcp, writetcp); | ^~~~~~~~ | | | int (*)(void) /usr/include/tirpc/rpc/xdr.h:363:29: note: expected 'int (*)(void *, void *, int)' but argument is of type 'int (*)(void)' 363 | int (*)(void *, void *, int)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ clnt_tcp.c:67:17: note: 'writetcp' declared here 67 | static int writetcp(); | ^~~~~~~~ clnt_tcp.c: In function 'clnttcp_call': clnt_tcp.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | clnttcp_call(h, proc, xdr_args, args_ptr, xdr_results, results_ptr, timeout) | ^~~~~~~~~~~~ clnt_tcp.c: In function 'clnttcp_geterr': clnt_tcp.c:380:1: warning: old-style function definition [-Wold-style-definition] 380 | clnttcp_geterr(h, errp) | ^~~~~~~~~~~~~~ clnt_tcp.c: In function 'clnttcp_freeres': clnt_tcp.c:391:1: warning: old-style function definition [-Wold-style-definition] 391 | clnttcp_freeres(cl, xdr_res, res_ptr) | ^~~~~~~~~~~~~~~ clnt_tcp.c: In function 'clnttcp_control': clnt_tcp.c:409:1: warning: old-style function definition [-Wold-style-definition] 409 | clnttcp_control(cl, request, info) | ^~~~~~~~~~~~~~~ clnt_tcp.c: In function 'clnttcp_destroy': clnt_tcp.c:435:1: warning: old-style function definition [-Wold-style-definition] 435 | clnttcp_destroy(h) | ^~~~~~~~~~~~~~~ clnt_tcp.c: In function 'readtcp': clnt_tcp.c:455:1: warning: old-style function definition [-Wold-style-definition] 455 | readtcp(ct, buf, len) | ^~~~~~~ clnt_tcp.c: In function 'writetcp': clnt_tcp.c:529:1: warning: old-style function definition [-Wold-style-definition] 529 | writetcp(ct, buf, len) | ^~~~~~~~ make[1]: *** [Makefile:651: librpcsecgss_la-clnt_tcp.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-clnt_udp.lo `test -f 'clnt_udp.c' || echo './'`clnt_udp.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c clnt_udp.c -fPIC -DPIC -o .libs/librpcsecgss_la-clnt_udp.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from clnt_udp.c:43: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ clnt_udp.c:62:9: error: initialization of 'enum clnt_stat (*)(struct __rpc_client *, rpcproc_t, bool_t (*)(XDR *, ...), void *, bool_t (*)(XDR *, ...), void *, struct timeval)' {aka 'enum clnt_stat (*)(struct __rpc_client *, unsigned int, int (*)(struct __rpc_xdr *, ...), void *, int (*)(struct __rpc_xdr *, ...), void *, struct timeval)'} from incompatible pointer type 'enum clnt_stat (*)(void)' [-Wincompatible-pointer-types] 62 | clntudp_call, | ^~~~~~~~~~~~ clnt_udp.c:62:9: note: (near initialization for 'udp_ops.cl_call') clnt_udp.c:54:25: note: 'clntudp_call' declared here 54 | static enum clnt_stat clntudp_call(); | ^~~~~~~~~~~~ clnt_udp.c:63:9: error: initialization of 'void (*)(struct __rpc_client *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 63 | clntudp_abort, | ^~~~~~~~~~~~~ clnt_udp.c:63:9: note: (near initialization for 'udp_ops.cl_abort') clnt_udp.c:55:25: note: 'clntudp_abort' declared here 55 | static void clntudp_abort(); | ^~~~~~~~~~~~~ clnt_udp.c:64:9: error: initialization of 'void (*)(struct __rpc_client *, struct rpc_err *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 64 | clntudp_geterr, | ^~~~~~~~~~~~~~ clnt_udp.c:64:9: note: (near initialization for 'udp_ops.cl_geterr') clnt_udp.c:56:25: note: 'clntudp_geterr' declared here 56 | static void clntudp_geterr(); | ^~~~~~~~~~~~~~ clnt_udp.c:65:9: error: initialization of 'bool_t (*)(struct __rpc_client *, bool_t (*)(XDR *, ...), void *)' {aka 'int (*)(struct __rpc_client *, int (*)(struct __rpc_xdr *, ...), void *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 65 | clntudp_freeres, | ^~~~~~~~~~~~~~~ clnt_udp.c:65:9: note: (near initialization for 'udp_ops.cl_freeres') clnt_udp.c:57:25: note: 'clntudp_freeres' declared here 57 | static bool_t clntudp_freeres(); | ^~~~~~~~~~~~~~~ clnt_udp.c:66:9: error: initialization of 'void (*)(struct __rpc_client *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 66 | clntudp_destroy, | ^~~~~~~~~~~~~~~ clnt_udp.c:66:9: note: (near initialization for 'udp_ops.cl_destroy') clnt_udp.c:59:25: note: 'clntudp_destroy' declared here 59 | static void clntudp_destroy(); | ^~~~~~~~~~~~~~~ clnt_udp.c:67:9: error: initialization of 'bool_t (*)(struct __rpc_client *, u_int, void *)' {aka 'int (*)(struct __rpc_client *, unsigned int, void *)'} from incompatible pointer type 'bool_t (*)(void)' {aka 'int (*)(void)'} [-Wincompatible-pointer-types] 67 | clntudp_control | ^~~~~~~~~~~~~~~ clnt_udp.c:67:9: note: (near initialization for 'udp_ops.cl_control') clnt_udp.c:58:25: note: 'clntudp_control' declared here 58 | static bool_t clntudp_control(); | ^~~~~~~~~~~~~~~ clnt_udp.c: In function 'rpcsecgss_clntudp_bufcreate': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:33:37: warning: old-style function definition [-Wold-style-definition] 33 | #define clntudp_bufcreate rpcsecgss_clntudp_bufcreate | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ clnt_udp.c:106:1: note: in expansion of macro 'clntudp_bufcreate' 106 | clntudp_bufcreate(raddr, program, version, wait, sockp, sendsz, recvsz) | ^~~~~~~~~~~~~~~~~ clnt_udp.c: In function 'rpcsecgss_clntudp_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:34:37: warning: old-style function definition [-Wold-style-definition] 34 | #define clntudp_create rpcsecgss_clntudp_create | ^~~~~~~~~~~~~~~~~~~~~~~~ clnt_udp.c:200:1: note: in expansion of macro 'clntudp_create' 200 | clntudp_create(raddr, program, version, wait, sockp) | ^~~~~~~~~~~~~~ clnt_udp.c: In function 'clntudp_call': clnt_udp.c:213:1: warning: old-style function definition [-Wold-style-definition] 213 | clntudp_call(cl, proc, xargs, argsp, xresults, resultsp, utimeout) | ^~~~~~~~~~~~ clnt_udp.c: In function 'clntudp_geterr': clnt_udp.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | clntudp_geterr(cl, errp) | ^~~~~~~~~~~~~~ clnt_udp.c: In function 'clntudp_freeres': clnt_udp.c:430:1: warning: old-style function definition [-Wold-style-definition] 430 | clntudp_freeres(cl, xdr_res, res_ptr) | ^~~~~~~~~~~~~~~ clnt_udp.c: In function 'clntudp_control': clnt_udp.c:449:1: warning: old-style function definition [-Wold-style-definition] 449 | clntudp_control(cl, request, info) | ^~~~~~~~~~~~~~~ clnt_udp.c: In function 'clntudp_destroy': clnt_udp.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | clntudp_destroy(cl) | ^~~~~~~~~~~~~~~ make[1]: *** [Makefile:658: librpcsecgss_la-clnt_udp.lo] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-clnt_generic.lo `test -f 'clnt_generic.c' || echo './'`clnt_generic.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c clnt_generic.c -fPIC -DPIC -o .libs/librpcsecgss_la-clnt_generic.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from clnt_generic.c:37: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ clnt_generic.c: In function 'rpcsecgss_clnt_create': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:24:37: warning: old-style function definition [-Wold-style-definition] 24 | #define clnt_create rpcsecgss_clnt_create | ^~~~~~~~~~~~~~~~~~~~~ clnt_generic.c:48:1: note: in expansion of macro 'clnt_create' 48 | clnt_create(hostname, prog, vers, proto) | ^~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_run.lo `test -f 'svc_run.c' || echo './'`svc_run.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_run.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_run.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_run.c:37: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-svc_auth_unix.lo `test -f 'svc_auth_unix.c' || echo './'`svc_auth_unix.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c svc_auth_unix.c -fPIC -DPIC -o .libs/librpcsecgss_la-svc_auth_unix.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from svc_auth_unix.c:45: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ svc_auth_unix.c: In function 'rpcsecgss__svcauth_unix': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:43:37: warning: old-style function definition [-Wold-style-definition] 43 | #define _svcauth_unix rpcsecgss__svcauth_unix | ^~~~~~~~~~~~~~~~~~~~~~~ svc_auth_unix.c:54:1: note: in expansion of macro '_svcauth_unix' 54 | _svcauth_unix(rqst, msg) | ^~~~~~~~~~~~~ svc_auth_unix.c: In function 'rpcsecgss__svcauth_short': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:42:37: warning: old-style function definition [-Wold-style-definition] 42 | #define _svcauth_short rpcsecgss__svcauth_short | ^~~~~~~~~~~~~~~~~~~~~~~~ svc_auth_unix.c:132:1: note: in expansion of macro '_svcauth_short' 132 | _svcauth_short(rqst, msg) | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-clnt_simple.lo `test -f 'clnt_simple.c' || echo './'`clnt_simple.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c clnt_simple.c -fPIC -DPIC -o .libs/librpcsecgss_la-clnt_simple.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from clnt_simple.c:44: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ clnt_simple.c: In function 'rpcsecgss_callrpc': ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:23:37: warning: old-style function definition [-Wold-style-definition] 23 | #define callrpc rpcsecgss_callrpc | ^~~~~~~~~~~~~~~~~ clnt_simple.c:59:1: note: in expansion of macro 'callrpc' 59 | callrpc(host, prognum, versnum, procnum, inproc, in, outproc, out) | ^~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" -DPACKAGE_STRING=\"librpcsecgss\ 0.19\" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o librpcsecgss_la-authgss_prot.lo `test -f 'authgss_prot.c' || echo './'`authgss_prot.c libtool: compile: gcc -DPACKAGE_NAME=\"librpcsecgss\" -DPACKAGE_TARNAME=\"librpcsecgss\" -DPACKAGE_VERSION=\"0.19\" "-DPACKAGE_STRING=\"librpcsecgss 0.19\"" -DPACKAGE_BUGREPORT=\"nfsv4-wg@citi.umich.edu\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC=1 -DHAVE_REALLOC=1 -DHAVE_MEMSET=1 -DHAVE_STRERROR=1 -I. -I./../include/rpcsecgss -I/usr/include/tirpc -I/usr/include/gssglue -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c authgss_prot.c -fPIC -DPIC -o .libs/librpcsecgss_la-authgss_prot.o In file included from ./../include/rpcsecgss/rpc/auth_gss.h:40, from ./../include/rpcsecgss/rpc/auth.h:230, from ./../include/rpcsecgss/rpc/rpc.h:50, from authgss_prot.c:43: /usr/include/tirpc/rpc/clnt.h:476:9: warning: 'rpc_createerr' redefined 476 | #define rpc_createerr (*(__rpc_createerr())) | ^~~~~~~~~~~~~ In file included from ./../include/rpcsecgss/rpc/rpc.h:41: ./../include/rpcsecgss/rpc/rpcsecgss_rename.h:83:10: note: this is the location of the previous definition 83 | #define rpc_createerr rpcsecgss_rpc_createerr | ^~~~~~~~~~~~~ authgss_prot.c: In function 'authgss_log_status': authgss_prot.c:362:44: warning: format '%s' expects argument of type 'char *', but argument 5 has type 'void *' [-Wformat=] 362 | "rpcsec_gss: %s: (major) %s - (minor) %s\n", | ~^ | | | char * | %p 363 | m, maj_msg.value, min_msg.value); | ~~~~~~~~~~~~~ | | | void * authgss_prot.c:362:57: warning: format '%s' expects argument of type 'char *', but argument 6 has type 'void *' [-Wformat=] 362 | "rpcsec_gss: %s: (major) %s - (minor) %s\n", | ~^ | | | char * | %p 363 | m, maj_msg.value, min_msg.value); | ~~~~~~~~~~~~~ | | | void * make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/librpcsecgss-0.19-build/librpcsecgss-0.19/src' make: *** [Makefile:443: all-recursive] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nUIT0C (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.nUIT0C (%build) I: [iurt_root_command] ERROR: chroot