D: [iurt_root_command] chroot warning: line 39: It's not recommended to have unversioned Obsoletes: Obsoletes: pwdb Installing /home/iurt/rpmbuild/SRPMS/pwdb-0.62-20.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.RtbfaS + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf pwdb-0.62 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/pwdb-0.62.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pwdb-0.62 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/pwdb-0.62-includes.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/pwdb-0.62-build-fix.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/iurt/rpmbuild/SOURCES/fix-build.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm default.defs + ln -s defs/redhat.defs default.defs + chmod -R g-s . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.R5CF2P + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pwdb-0.62 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + /usr/bin/make -O -j8 V=1 VERBOSE=1 make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c common/lockpw.c -o common/lockpw.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/lockpw.c:4: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/lockpw.c:4: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ common/lockpw.c: In function '__pwdb_lckpwdf': common/lockpw.c:10:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 10 | int __pwdb_lckpwdf (void) | ^~~~~~~~~~~~~~ common/lockpw.c: In function '__pwdb_ulckpwdf': common/lockpw.c:62:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 62 | int __pwdb_ulckpwdf (void) | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c common/grcommon.c -o common/grcommon.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/grcommon.c:2: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/grcommon.c:2: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ common/grcommon.c: In function '__pwdb_fgetsx': common/grcommon.c:4:8: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 4 | char * __pwdb_fgetsx (char *buf, int cnt, FILE *f) | ^~~~~~~~~~~~~ common/grcommon.c: In function '__pwdb_fputsx': common/grcommon.c:26:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 26 | int __pwdb_fputsx (const char *s, FILE *stream) | ^~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c common/commonio.c -o common/commonio.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/commonio.c:2: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/commonio.c:2: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ common/commonio.c: In function 'check_link_count': common/commonio.c:4:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 4 | static int check_link_count(const char *file) | ^~~~~~~~~~~~~~~~ common/commonio.c: In function 'do_lock_file': common/commonio.c:26:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 26 | int do_lock_file(const char *file, const char *lock) | ^~~~~~~~~~~~ common/commonio.c: In function 'fopen_with_umask': common/commonio.c:112:8: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 112 | FILE * fopen_with_umask(const char *name, const char *mode, int mask) | ^~~~~~~~~~~~~~~~ common/commonio.c: In function 'create_backup_file': common/commonio.c:125:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 125 | int create_backup_file(FILE *fp, const char *backup, const struct stat *st) | ^~~~~~~~~~~~~~~~~~ common/commonio.c:150:3: warning: ignoring return value of 'chown' declared with attribute 'warn_unused_result' [-Wunused-result] 150 | chown(backup, st->st_uid, st->st_gid); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c common/misc.c -o common/misc.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/misc.c:15: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from common/../_pwdb_headers.h:24, from common/../_pwdb_internal.h:4, from common/misc.c:15: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ common/misc.c: In function '__pwdb_strdup': common/misc.c:17:7: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 17 | char *__pwdb_strdup(const char *x) | ^~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c unix/passwd.c -o unix/passwd.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/passwd.c:8: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/passwd.c:8: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ unix/passwd.c: In function '__pwdb_sgetpwent': unix/passwd.c:33:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 33 | struct __pwdb_passwd * __pwdb_sgetpwent (const char *buf) | ^~~~~~~~~~~~~~~~ unix/passwd.c: In function '__pwdb_fgetpwent': unix/passwd.c:108:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 108 | struct __pwdb_passwd * __pwdb_fgetpwent (FILE *fp) | ^~~~~~~~~~~~~~~~ unix/passwd.c: In function '__pwdb_putpwent': unix/passwd.c:164:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 164 | int __pwdb_putpwent(const struct __pwdb_passwd *p, FILE *stream) | ^~~~~~~~~~~~~~~ unix/passwd.c: In function '__pwdb_getpwuid': unix/passwd.c:188:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 188 | struct __pwdb_passwd * __pwdb_getpwuid (uid_t uid) | ^~~~~~~~~~~~~~~ unix/passwd.c: In function '__pwdb_getpwnam': unix/passwd.c:217:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 217 | struct __pwdb_passwd * __pwdb_getpwnam (const char *name) | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c unix/group.c -o unix/group.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/group.c:2: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/group.c:2: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ unix/group.c: In function 'list': unix/group.c:26:16: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 26 | static char ** list (register char *s) | ^~~~ unix/group.c: In function '__pwdb_sgetgrent': unix/group.c:42:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 42 | struct __pwdb_group * __pwdb_sgetgrent (const char *buf) | ^~~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_fgetgrent': unix/group.c:76:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 76 | struct __pwdb_group * __pwdb_fgetgrent (FILE *fp) | ^~~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_endgrent': unix/group.c:98:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 98 | void __pwdb_endgrent (void) | ^~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_getgrent': unix/group.c:117:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 117 | struct __pwdb_group * __pwdb_getgrent (void) | ^~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_getgrgid': unix/group.c:132:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 132 | struct __pwdb_group * __pwdb_getgrgid (gid_t gid) | ^~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_getgrnam': unix/group.c:158:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 158 | struct __pwdb_group * __pwdb_getgrnam (const char *name) | ^~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_setgrent': unix/group.c:185:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 185 | void __pwdb_setgrent (void) | ^~~~~~~~~~~~~~~ unix/group.c: In function '__pwdb_putgrent': unix/group.c:209:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 209 | int __pwdb_putgrent(const struct __pwdb_group *g, FILE *f) | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c shadow/shadow.c -o shadow/shadow.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/shadow.c:7: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/shadow.c:7: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ shadow/shadow.c: In function '__pwdb_setspent': shadow/shadow.c:22:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 22 | void __pwdb_setspent (void) | ^~~~~~~~~~~~~~~ shadow/shadow.c: In function '__pwdb_endspent': shadow/shadow.c:36:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 36 | void __pwdb_endspent (void) | ^~~~~~~~~~~~~~~ shadow/shadow.c: In function '__pwdb_sgetspent': shadow/shadow.c:50:21: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 50 | struct __pwdb_spwd *__pwdb_sgetspent (const char *string) | ^~~~~~~~~~~~~~~~ shadow/shadow.c:135:9: warning: overflow in conversion from 'long unsigned int' to '__pwdb_sptime' {aka 'long int'} changes value from 'spwd.sp_flag = 18446744073709551615' to '-1' [-Woverflow] 135 | spwd.sp_flag = -1; | ^~~~ shadow/shadow.c: In function '__pwdb_fgetspent': shadow/shadow.c:186:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 186 | struct __pwdb_spwd * __pwdb_fgetspent (FILE *fp) | ^~~~~~~~~~~~~~~~ shadow/shadow.c: In function '__pwdb_putspent': shadow/shadow.c:224:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 224 | int __pwdb_putspent(const struct __pwdb_spwd *sp, FILE *stream) | ^~~~~~~~~~~~~~~ shadow/shadow.c: In function '__pwdb_getspnam': shadow/shadow.c:246:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 246 | struct __pwdb_spwd * __pwdb_getspnam (const char *name) | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c unix/pwio.c -o unix/pwio.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/pwio.c:17: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/pwio.c:17: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ unix/pwio.c: In function '__pwdb___pw_dup': unix/pwio.c:50:31: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 50 | static struct __pwdb_passwd * __pwdb___pw_dup (const struct __pwdb_passwd *pwent) | ^~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_free': unix/pwio.c:77:30: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 77 | static struct __pwdb_passwd *__pwdb_pw_free (struct __pwdb_passwd *pwent) | ^~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_name': unix/pwio.c:93:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 93 | int __pwdb_pw_name (const char *name) | ^~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_open': unix/pwio.c:111:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 111 | int __pwdb_pw_open (int mode) | ^~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_close': unix/pwio.c:169:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 169 | int __pwdb_pw_close (void) | ^~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_lock': unix/pwio.c:309:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 309 | int __pwdb_pw_lock (void) | ^~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_update': unix/pwio.c:392:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 392 | int __pwdb_pw_update (const struct __pwdb_passwd *pwent) | ^~~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_remove': unix/pwio.c:440:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 440 | int __pwdb_pw_remove (const char *name) | ^~~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_locate': unix/pwio.c:474:30: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 474 | const struct __pwdb_passwd * __pwdb_pw_locate (const char *name) | ^~~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_locate_id': unix/pwio.c:495:30: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 495 | const struct __pwdb_passwd * __pwdb_pw_locate_id (uid_t uid) | ^~~~~~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_rewind': unix/pwio.c:516:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 516 | int __pwdb_pw_rewind (void) | ^~~~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_next': unix/pwio.c:526:30: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 526 | const struct __pwdb_passwd * __pwdb_pw_next (void) | ^~~~~~~~~~~~~~ unix/pwio.c: In function '__pwdb_pw_lock': unix/pwio.c:330:22: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-overflow=] 330 | sprintf (file, "%s.%d", pw_filename, lock_pid); | ^~ In file included from /usr/include/stdio.h:866, from unix/../_pwdb_headers.h:7, from unix/../_pwdb_internal.h:4, from unix/pwio.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 8204 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix/pwio.c:331:21: warning: '.lock' directive writing 5 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 331 | sprintf (lock, "%s.lock", pw_filename); | ^~~~~ In file included from /usr/include/stdio.h:866, from unix/../_pwdb_headers.h:7, from unix/../_pwdb_internal.h:4, from unix/pwio.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 8197 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c shadow/gshadow.c -o shadow/gshadow.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/gshadow.c:4: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/gshadow.c:4: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ shadow/gshadow.c: In function 'list': shadow/gshadow.c:16:16: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 16 | static char ** list (char *s, char **l) | ^~~~ shadow/gshadow.c: In function '__pwdb_setsgent': shadow/gshadow.c:29:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 29 | void __pwdb_setsgent (void) | ^~~~~~~~~~~~~~~ shadow/gshadow.c: In function '__pwdb_endsgent': shadow/gshadow.c:38:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 38 | void __pwdb_endsgent (void) | ^~~~~~~~~~~~~~~ shadow/gshadow.c: In function '__pwdb_sgetsgent': shadow/gshadow.c:47:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 47 | struct __pwdb_sgrp * __pwdb_sgetsgent (const char *string) | ^~~~~~~~~~~~~~~~ shadow/gshadow.c: In function '__pwdb_fgetsgent': shadow/gshadow.c:93:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 93 | struct __pwdb_sgrp * __pwdb_fgetsgent (FILE *fp) | ^~~~~~~~~~~~~~~~ shadow/gshadow.c: In function '__pwdb_getsgent': shadow/gshadow.c:114:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 114 | struct __pwdb_sgrp * __pwdb_getsgent (void) | ^~~~~~~~~~~~~~~ shadow/gshadow.c: In function '__pwdb_getsgnam': shadow/gshadow.c:126:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 126 | struct __pwdb_sgrp * __pwdb_getsgnam (const char *name) | ^~~~~~~~~~~~~~~ shadow/gshadow.c: In function '__pwdb_putsgent': shadow/gshadow.c:149:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 149 | int __pwdb_putsgent (const struct __pwdb_sgrp *sgrp, FILE *fp) | ^~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c unix/groupio.c -o unix/groupio.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/groupio.c:11: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from unix/../_pwdb_headers.h:24, from unix/../_pwdb_internal.h:4, from unix/groupio.c:11: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ unix/groupio.c: In function '__pwdb___gr_dup': unix/groupio.c:38:30: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 38 | static struct __pwdb_group * __pwdb___gr_dup (const struct __pwdb_group *grent) | ^~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_free': unix/groupio.c:72:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 72 | static void __pwdb_gr_free (const struct __pwdb_group * grent) | ^~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_name': unix/groupio.c:89:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 89 | int __pwdb_gr_name (const char * name) | ^~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_lock': unix/groupio.c:107:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 107 | int __pwdb_gr_lock (void) | ^~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_unlock': unix/groupio.c:138:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 138 | int __pwdb_gr_unlock (void) | ^~~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_open': unix/groupio.c:164:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 164 | int __pwdb_gr_open (int mode) | ^~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_close': unix/groupio.c:221:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 221 | int __pwdb_gr_close (void) | ^~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_update': unix/groupio.c:359:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 359 | int __pwdb_gr_update (const struct __pwdb_group * grent) | ^~~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_remove': unix/groupio.c:405:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 405 | int __pwdb_gr_remove (const char * name) | ^~~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_locate': unix/groupio.c:439:29: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 439 | const struct __pwdb_group * __pwdb_gr_locate (const char *name) | ^~~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_locate_id': unix/groupio.c:460:29: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 460 | const struct __pwdb_group * __pwdb_gr_locate_id (gid_t gid) | ^~~~~~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_rewind': unix/groupio.c:481:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 481 | int __pwdb_gr_rewind (void) | ^~~~~~~~~~~~~~~~ unix/groupio.c: In function '__pwdb_gr_next': unix/groupio.c:491:29: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 491 | const struct __pwdb_group * __pwdb_gr_next (void) | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c nis/group.c -o nis/group.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from nis/../_pwdb_headers.h:24, from nis/../_pwdb_internal.h:4, from nis/group.c:5: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from nis/../_pwdb_headers.h:24, from nis/../_pwdb_internal.h:4, from nis/group.c:5: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ nis/group.c: In function '__pwdbNIS_bind_nis': nis/group.c:28:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 28 | static int __pwdbNIS_bind_nis (void) { | ^~~~~~~~~~~~~~~~~~ nis/group.c: In function 'list': nis/group.c:48:16: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 48 | static char ** list (register char *s) { | ^~~~ nis/group.c: In function '__pwdbNIS_sgetgrent': nis/group.c:63:30: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 63 | static struct __pwdb_group * __pwdbNIS_sgetgrent (const char *buf) { | ^~~~~~~~~~~~~~~~~~~ nis/group.c:66:13: warning: variable 'nis_used' set but not used [-Wunused-but-set-variable] 66 | int nis_used = 0; | ^~~~~~~~ nis/group.c: In function '__pwdbNIS_getgrgid': nis/group.c:98:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 98 | struct __pwdb_group * __pwdbNIS_getgrgid (gid_t gid) { | ^~~~~~~~~~~~~~~~~~ nis/group.c:102:5: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 102 | char mapname[] = "group.bygid"; | ^~~~ nis/group.c: In function '__pwdbNIS_getgrnam': nis/group.c:134:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 134 | struct __pwdb_group * __pwdbNIS_getgrnam (const char * name) { | ^~~~~~~~~~~~~~~~~~ nis/group.c:137:5: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 137 | char mapname[] = "group.byname"; | ^~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c decnis/group.c -o decnis/group.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from decnis/../_pwdb_headers.h:24, from decnis/../_pwdb_internal.h:4, from decnis/group.c:5: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from decnis/../_pwdb_headers.h:24, from decnis/../_pwdb_internal.h:4, from decnis/group.c:5: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ decnis/group.c: In function '__pwdb_decnis_getgrgid': decnis/group.c:15:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 15 | struct __pwdb_group * __pwdb_decnis_getgrgid (gid_t gid) | ^~~~~~~~~~~~~~~~~~~~~~ decnis/group.c: In function '__pwdb_decnis_getgrnam': decnis/group.c:25:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 25 | struct __pwdb_group * __pwdb_decnis_getgrnam (const char * name) | ^~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c shadow/shadowio.c -o shadow/shadowio.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/shadowio.c:17: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/shadowio.c:17: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ shadow/shadowio.c: In function '__pwdb___spw_dup': shadow/shadowio.c:50:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 50 | struct __pwdb_spwd * __pwdb___spw_dup (const struct __pwdb_spwd *spwd) | ^~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_free': shadow/shadowio.c:72:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 72 | static void __pwdb_spw_free (const struct __pwdb_spwd *spwd) | ^~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_name': shadow/shadowio.c:82:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 82 | int __pwdb_spw_name (const char *name) | ^~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_lock': shadow/shadowio.c:100:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 100 | int __pwdb_spw_lock (void) | ^~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_unlock': shadow/shadowio.c:136:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 136 | int __pwdb_spw_unlock (void) | ^~~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_open': shadow/shadowio.c:166:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | int __pwdb_spw_open (int mode) | ^~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_close': shadow/shadowio.c:224:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 224 | int __pwdb_spw_close (void) | ^~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_update': shadow/shadowio.c:358:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 358 | int __pwdb_spw_update (const struct __pwdb_spwd *spwd) | ^~~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_remove': shadow/shadowio.c:405:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 405 | int __pwdb_spw_remove (const char *name) | ^~~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_locate': shadow/shadowio.c:439:28: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 439 | const struct __pwdb_spwd * __pwdb_spw_locate (const char *name) | ^~~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_rewind': shadow/shadowio.c:460:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 460 | int __pwdb_spw_rewind (void) | ^~~~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_next': shadow/shadowio.c:470:28: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 470 | const struct __pwdb_spwd * __pwdb_spw_next (void) | ^~~~~~~~~~~~~~~ shadow/shadowio.c: In function '__pwdb_spw_lock': shadow/shadowio.c:110:22: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 8191 [-Wformat-overflow=] 110 | sprintf (file, "%s.%d", spw_filename, lock_pid); | ^~ In file included from /usr/include/stdio.h:866, from shadow/../_pwdb_headers.h:7, from shadow/../_pwdb_internal.h:4, from shadow/shadowio.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 8204 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ shadow/shadowio.c:111:21: warning: '.lock' directive writing 5 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 111 | sprintf (lock, "%s.lock", spw_filename); | ^~~~~ In file included from /usr/include/stdio.h:866, from shadow/../_pwdb_headers.h:7, from shadow/../_pwdb_internal.h:4, from shadow/shadowio.c:17: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 8197 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c radius/util.c -o radius/util.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/util.c:29: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/util.c:29: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ radius/util.c: In function 'ip_hostname': radius/util.c:40:8: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 40 | char * ip_hostname(UINT4 ipaddr) { | ^~~~~~~~~~~ radius/util.c: In function 'ipstr2long': radius/util.c:64:7: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 64 | UINT4 ipstr2long(char *ip_str) { | ^~~~~~~~~~ radius/util.c: In function 'get_ipaddr': radius/util.c:107:7: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 107 | UINT4 get_ipaddr(char *host) { | ^~~~~~~~~~ radius/util.c: In function 'good_ipaddr': radius/util.c:127:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 127 | int good_ipaddr(char *addr) { | ^~~~~~~~~~~ radius/util.c: In function 'ipaddr2str': radius/util.c:166:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | void ipaddr2str(char *buffer, UINT4 ipaddr) { | ^~~~~~~~~~ radius/util.c: In function 'pairfree': radius/util.c:189:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 189 | void pairfree(VALUE_PAIR * pair) | ^~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c shadow/sgroupio.c -o shadow/sgroupio.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/sgroupio.c:17: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from shadow/../_pwdb_headers.h:24, from shadow/../_pwdb_internal.h:4, from shadow/sgroupio.c:17: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ shadow/sgroupio.c: In function '__pwdb___sgr_dup': shadow/sgroupio.c:42:29: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 42 | static struct __pwdb_sgrp * __pwdb___sgr_dup (const struct __pwdb_sgrp * sgrent) | ^~~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_free': shadow/sgroupio.c:86:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 86 | static void __pwdb_sgr_free (const struct __pwdb_sgrp *sgrent) | ^~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_name': shadow/sgroupio.c:108:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 108 | int __pwdb_sgr_name (const char *name) | ^~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_lock': shadow/sgroupio.c:126:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 126 | int __pwdb_sgr_lock (void) | ^~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_unlock': shadow/sgroupio.c:157:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 157 | int __pwdb_sgr_unlock (void) | ^~~~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_open': shadow/sgroupio.c:183:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 183 | int __pwdb_sgr_open (int mode) | ^~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_close': shadow/sgroupio.c:240:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 240 | int __pwdb_sgr_close (void) | ^~~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_update': shadow/sgroupio.c:376:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 376 | int __pwdb_sgr_update (const struct __pwdb_sgrp *sgrent) | ^~~~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_remove': shadow/sgroupio.c:421:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 421 | int __pwdb_sgr_remove (const char *name) | ^~~~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_locate': shadow/sgroupio.c:455:28: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 455 | const struct __pwdb_sgrp * __pwdb_sgr_locate (const char *name) | ^~~~~~~~~~~~~~~~~ shadow/sgroupio.c: In function '__pwdb_sgr_rewind': shadow/sgroupio.c:476:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 476 | int __pwdb_sgr_rewind (void) | ^~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c decnis/password.c -o decnis/password.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from decnis/../_pwdb_headers.h:24, from decnis/../_pwdb_internal.h:4, from decnis/password.c:1: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from decnis/../_pwdb_headers.h:24, from decnis/../_pwdb_internal.h:4, from decnis/password.c:1: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ decnis/password.c: In function '__pwdb_decnis_bind_nis': decnis/password.c:34:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 34 | static int __pwdb_decnis_bind_nis (void) | ^~~~~~~~~~~~~~~~~~~~~~ decnis/password.c: In function '__pwdb_decnis_getpwuid': decnis/password.c:51:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 51 | struct __pwdb_passwd * __pwdb_decnis_getpwuid (uid_t uid) | ^~~~~~~~~~~~~~~~~~~~~~ decnis/password.c: In function '__pwdb_decnis_getpwnam': decnis/password.c:84:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 84 | struct __pwdb_passwd * __pwdb_decnis_getpwnam (const char * name) | ^~~~~~~~~~~~~~~~~~~~~~ decnis/password.c: In function '__pwdb_decnis_update': decnis/password.c:121:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 121 | int __pwdb_decnis_update (const char *oldpass, const struct __pwdb_passwd *pwd) | ^~~~~~~~~~~~~~~~~~~~ decnis/password.c: In function '__pwdb_decnis_check_password_adjunct': decnis/password.c:127:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 127 | struct __pwdb_passwd *__pwdb_decnis_check_password_adjunct( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c nis/password.c -o nis/password.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from nis/../_pwdb_headers.h:24, from nis/../_pwdb_internal.h:4, from nis/password.c:2: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from nis/../_pwdb_headers.h:24, from nis/../_pwdb_internal.h:4, from nis/password.c:2: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ nis/password.c: In function '__pwdbNIS_bind_nis': nis/password.c:36:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 36 | static int __pwdbNIS_bind_nis (void) | ^~~~~~~~~~~~~~~~~~ nis/password.c: In function '__pwdbNIS_sgetpwent': nis/password.c:60:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 60 | struct __pwdb_passwd * __pwdbNIS_sgetpwent (char *buf) | ^~~~~~~~~~~~~~~~~~~ nis/password.c: In function '__pwdbNIS_getpwuid': nis/password.c:170:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 170 | struct __pwdb_passwd * __pwdbNIS_getpwuid (uid_t uid) | ^~~~~~~~~~~~~~~~~~ nis/password.c:175:5: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 175 | char mapname[] = "passwd.byuid"; | ^~~~ nis/password.c: In function '__pwdbNIS_getpwnam': nis/password.c:208:24: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 208 | struct __pwdb_passwd * __pwdbNIS_getpwnam (const char * name) | ^~~~~~~~~~~~~~~~~~ nis/password.c:212:5: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 212 | char mapname[] = "passwd.byname"; | ^~~~ nis/password.c:233:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 233 | if (tname) | ^~ nis/password.c:235:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 235 | return NULL; | ^~~~~~ nis/password.c: In function 'xdr_xpasswd': nis/password.c:238:15: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 238 | static bool_t xdr_xpasswd(XDR *xdrs, struct __pwdb_passwd *objp) | ^~~~~~~~~~~ nis/password.c: In function 'xdr_yppasswd': nis/password.c:265:15: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 265 | static bool_t xdr_yppasswd(XDR *xdrs, struct __pwdb_yppasswd *objp) | ^~~~~~~~~~~~ nis/password.c: In function '__pwdbNIS_update': nis/password.c:292:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 292 | int __pwdbNIS_update (const char *oldpass, const struct __pwdb_passwd *pwd) | ^~~~~~~~~~~~~~~~ nis/password.c:294:5: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 294 | char mapname[] = "passwd.byname"; | ^~~~ nis/password.c:306:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 306 | if (!pwd) | ^~ nis/password.c:312:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 312 | if (!nis_bound) | ^~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c pwdb/pwdb_locate.c -o pwdb/pwdb_locate.o pwdb/pwdb_locate.c: In function '_pwdb_do': pwdb/pwdb_locate.c:52:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 52 | static int _pwdb_do(const char *class | ^~~~~~~~ pwdb/pwdb_locate.c: In function 'pwdb_locate': pwdb/pwdb_locate.c:184:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 184 | int pwdb_locate(const char *class, const pwdb_type *src | ^~~~~~~~~~~ pwdb/pwdb_locate.c:190:27: warning: unused variable 'ret_defer' [-Wunused-variable] 190 | int retval, ret_pass, ret_defer; | ^~~~~~~~~ pwdb/pwdb_locate.c:190:17: warning: unused variable 'ret_pass' [-Wunused-variable] 190 | int retval, ret_pass, ret_defer; | ^~~~~~~~ pwdb/pwdb_locate.c:189:30: warning: unused variable 'pwdb_defer' [-Wunused-variable] 189 | const struct pwdb_entry *pwdb_defer = NULL; | ^~~~~~~~~~ pwdb/pwdb_locate.c:188:30: warning: unused variable 'pwdb_pass' [-Wunused-variable] 188 | const struct pwdb_entry *pwdb_pass = NULL; | ^~~~~~~~~ pwdb/pwdb_locate.c: In function 'pwdb_replace': pwdb/pwdb_locate.c:241:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 241 | int pwdb_replace(const char *class, const pwdb_type *src | ^~~~~~~~~~~~ pwdb/pwdb_locate.c: In function 'pwdb_remove': pwdb/pwdb_locate.c:253:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 253 | int pwdb_remove(const char *class, const pwdb_type *src | ^~~~~~~~~~~ pwdb/pwdb_locate.c: In function 'pwdb_request': pwdb/pwdb_locate.c:266:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 266 | int pwdb_request(const char *class, const pwdb_type *src | ^~~~~~~~~~~~ pwdb/pwdb_locate.c: In function 'pwdb_support': pwdb/pwdb_locate.c:279:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 279 | int pwdb_support(const char *class, const pwdb_type *src, const char *name) | ^~~~~~~~~~~~ pwdb/pwdb_locate.c: In function 'pwdb_flags': pwdb/pwdb_locate.c:291:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 291 | int pwdb_flags(const char *class, const pwdb_type *src, pwdb_flag *flag_p) | ^~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c radius/helpfunc.c -o radius/helpfunc.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/helpfunc.c:4: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/helpfunc.c:4: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ radius/helpfunc.c: In function 'radstr_ust': radius/helpfunc.c:10:14: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 10 | const char * radstr_ust(u_int type) { | ^~~~~~~~~~ radius/helpfunc.c: In function 'radstr_fp': radius/helpfunc.c:30:14: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 30 | const char * radstr_fp(u_int type) { | ^~~~~~~~~ radius/helpfunc.c: In function 'radstr_fr': radius/helpfunc.c:46:14: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 46 | const char * radstr_fr(u_int type) { | ^~~~~~~~~ radius/helpfunc.c: In function 'radstr_ls': radius/helpfunc.c:66:14: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 66 | const char * radstr_ls(u_int type) { | ^~~~~~~~~ radius/helpfunc.c: In function 'radstr_ast': radius/helpfunc.c:86:14: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 86 | const char * radstr_ast(u_int type) { | ^~~~~~~~~~ radius/helpfunc.c: In function 'radstr_aa': radius/helpfunc.c:102:14: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 102 | const char * radstr_aa(u_int type) { | ^~~~~~~~~ radius/helpfunc.c: In function 'get_server_entries': radius/helpfunc.c:117:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 117 | int get_server_entries (char *hostname, char *secret) { | ^~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c pwdb/pwdb_helper.c -o pwdb/pwdb_helper.o pwdb/pwdb_helper.c: In function '_pwdb_delete_string': pwdb/pwdb_helper.c:30:7: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 30 | char *_pwdb_delete_string(char *s) | ^~~~~~~~~~~~~~~~~~~ pwdb/pwdb_helper.c: In function '_pwdb_dup_string': pwdb/pwdb_helper.c:45:7: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 45 | char *_pwdb_dup_string(const char *x) | ^~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c pwdb/pwdb_error.c -o pwdb/pwdb_error.o pwdb/pwdb_error.c: In function 'pwdb_strerror': pwdb/pwdb_error.c:35:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 35 | const char *pwdb_strerror(int err) | ^~~~~~~~~~~~~ pwdb/pwdb_error.c:55:13: warning: traditional C rejects string constant concatenation [-Wtraditional] 55 | return "pwdb: file " PWDB_CONF " needs to be fixed"; | ^~~~~~ pwdb/pwdb_error.c: In function 'pwdb_print_pwdb_struct': pwdb/pwdb_error.c:66:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 66 | void pwdb_print_pwdb_struct(const struct pwdb *p) | ^~~~~~~~~~~~~~~~~~~~~~ pwdb/pwdb_error.c: In function 'debug_pwdb_struct': pwdb/pwdb_error.c:124:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 124 | void debug_pwdb_struct(const struct pwdb *p) | ^~~~~~~~~~~~~~~~~ pwdb/pwdb_error.c:139:35: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 139 | sprintf(buffer, "%s %s", buffer, pwdb_db_name(*tmp)); | ^ In file included from /usr/include/stdio.h:866, from pwdb/pwdb_error.c:23: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 8193) into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pwdb/pwdb_error.c:156:44: warning: '%d' directive writing between 1 and 3 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 156 | sprintf(buffer, "%s%d[%c] " | ^~ pwdb/pwdb_error.c:156:41: note: directive argument in the range [0, 255] 156 | sprintf(buffer, "%s%d[%c] " | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from pwdb/pwdb_error.c:23: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 8199 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ pwdb/pwdb_error.c:170:40: warning: '%d' directive writing between 1 and 3 bytes into a region of size between 1 and 8192 [-Wformat-overflow=] 170 | sprintf(buffer, "%s%d[%c] " | ^~ pwdb/pwdb_error.c:170:37: note: directive argument in the range [0, 255] 170 | sprintf(buffer, "%s%d[%c] " | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from pwdb/pwdb_error.c:23: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 6 and 8199 bytes into a destination of size 8192 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c radius/md5.c -o radius/md5.o radius/md5.c: In function 'MD5Init': radius/md5.c:56:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 56 | void MD5Init(struct MD5Context *ctx) | ^~~~~~~ radius/md5.c:58:19: warning: traditional C rejects the "U" suffix [-Wtraditional] 58 | ctx->buf[0] = 0x67452301U; | ^~~~~~~~~~~ radius/md5.c:59:19: warning: traditional C rejects the "U" suffix [-Wtraditional] 59 | ctx->buf[1] = 0xefcdab89U; | ^~~~~~~~~~~ radius/md5.c:60:19: warning: traditional C rejects the "U" suffix [-Wtraditional] 60 | ctx->buf[2] = 0x98badcfeU; | ^~~~~~~~~~~ radius/md5.c:61:19: warning: traditional C rejects the "U" suffix [-Wtraditional] 61 | ctx->buf[3] = 0x10325476U; | ^~~~~~~~~~~ radius/md5.c: In function 'MD5Update': radius/md5.c:71:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 71 | void MD5Update(struct MD5Context *ctx, unsigned const char *buf, unsigned len) | ^~~~~~~~~ radius/md5.c: In function 'MD5Final': radius/md5.c:119:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 119 | void MD5Final(unsigned char digest[16], struct MD5Context *ctx) | ^~~~~~~~ radius/md5.c:157:26: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 157 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ radius/md5.c: In function 'MD5Transform': radius/md5.c:179:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 179 | void MD5Transform(uint32 buf[4], uint32 const in[16]) | ^~~~~~~~~~~~ radius/md5.c:188:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 188 | MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478U, 7); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:189:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 189 | MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756U, 12); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:190:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 190 | MD5STEP(F1, c, d, a, b, in[2] + 0x242070dbU, 17); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:191:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 191 | MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceeeU, 22); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:192:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 192 | MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0fafU, 7); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:193:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 193 | MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62aU, 12); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:194:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 194 | MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613U, 17); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:195:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 195 | MD5STEP(F1, b, c, d, a, in[7] + 0xfd469501U, 22); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:196:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 196 | MD5STEP(F1, a, b, c, d, in[8] + 0x698098d8U, 7); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:197:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 197 | MD5STEP(F1, d, a, b, c, in[9] + 0x8b44f7afU, 12); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:198:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 198 | MD5STEP(F1, c, d, a, b, in[10] + 0xffff5bb1U, 17); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:199:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 199 | MD5STEP(F1, b, c, d, a, in[11] + 0x895cd7beU, 22); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:200:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 200 | MD5STEP(F1, a, b, c, d, in[12] + 0x6b901122U, 7); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:201:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 201 | MD5STEP(F1, d, a, b, c, in[13] + 0xfd987193U, 12); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:202:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 202 | MD5STEP(F1, c, d, a, b, in[14] + 0xa679438eU, 17); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:203:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 203 | MD5STEP(F1, b, c, d, a, in[15] + 0x49b40821U, 22); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:205:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 205 | MD5STEP(F2, a, b, c, d, in[1] + 0xf61e2562U, 5); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:206:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 206 | MD5STEP(F2, d, a, b, c, in[6] + 0xc040b340U, 9); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:207:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 207 | MD5STEP(F2, c, d, a, b, in[11] + 0x265e5a51U, 14); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:208:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 208 | MD5STEP(F2, b, c, d, a, in[0] + 0xe9b6c7aaU, 20); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:209:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 209 | MD5STEP(F2, a, b, c, d, in[5] + 0xd62f105dU, 5); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:210:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 210 | MD5STEP(F2, d, a, b, c, in[10] + 0x02441453U, 9); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:211:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 211 | MD5STEP(F2, c, d, a, b, in[15] + 0xd8a1e681U, 14); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:212:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 212 | MD5STEP(F2, b, c, d, a, in[4] + 0xe7d3fbc8U, 20); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:213:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 213 | MD5STEP(F2, a, b, c, d, in[9] + 0x21e1cde6U, 5); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:214:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 214 | MD5STEP(F2, d, a, b, c, in[14] + 0xc33707d6U, 9); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:215:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 215 | MD5STEP(F2, c, d, a, b, in[3] + 0xf4d50d87U, 14); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:216:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 216 | MD5STEP(F2, b, c, d, a, in[8] + 0x455a14edU, 20); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:217:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 217 | MD5STEP(F2, a, b, c, d, in[13] + 0xa9e3e905U, 5); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:218:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 218 | MD5STEP(F2, d, a, b, c, in[2] + 0xfcefa3f8U, 9); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:219:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 219 | MD5STEP(F2, c, d, a, b, in[7] + 0x676f02d9U, 14); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:220:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 220 | MD5STEP(F2, b, c, d, a, in[12] + 0x8d2a4c8aU, 20); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:222:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 222 | MD5STEP(F3, a, b, c, d, in[5] + 0xfffa3942U, 4); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:223:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 223 | MD5STEP(F3, d, a, b, c, in[8] + 0x8771f681U, 11); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:224:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 224 | MD5STEP(F3, c, d, a, b, in[11] + 0x6d9d6122U, 16); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:225:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 225 | MD5STEP(F3, b, c, d, a, in[14] + 0xfde5380cU, 23); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:226:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 226 | MD5STEP(F3, a, b, c, d, in[1] + 0xa4beea44U, 4); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:227:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 227 | MD5STEP(F3, d, a, b, c, in[4] + 0x4bdecfa9U, 11); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:228:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 228 | MD5STEP(F3, c, d, a, b, in[7] + 0xf6bb4b60U, 16); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:229:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 229 | MD5STEP(F3, b, c, d, a, in[10] + 0xbebfbc70U, 23); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:230:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 230 | MD5STEP(F3, a, b, c, d, in[13] + 0x289b7ec6U, 4); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:231:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 231 | MD5STEP(F3, d, a, b, c, in[0] + 0xeaa127faU, 11); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:232:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 232 | MD5STEP(F3, c, d, a, b, in[3] + 0xd4ef3085U, 16); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:233:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 233 | MD5STEP(F3, b, c, d, a, in[6] + 0x04881d05U, 23); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:234:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 234 | MD5STEP(F3, a, b, c, d, in[9] + 0xd9d4d039U, 4); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:235:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 235 | MD5STEP(F3, d, a, b, c, in[12] + 0xe6db99e5U, 11); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:236:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 236 | MD5STEP(F3, c, d, a, b, in[15] + 0x1fa27cf8U, 16); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:237:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 237 | MD5STEP(F3, b, c, d, a, in[2] + 0xc4ac5665U, 23); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:239:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 239 | MD5STEP(F4, a, b, c, d, in[0] + 0xf4292244U, 6); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:240:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 240 | MD5STEP(F4, d, a, b, c, in[7] + 0x432aff97U, 10); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:241:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 241 | MD5STEP(F4, c, d, a, b, in[14] + 0xab9423a7U, 15); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:242:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 242 | MD5STEP(F4, b, c, d, a, in[5] + 0xfc93a039U, 21); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:243:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 243 | MD5STEP(F4, a, b, c, d, in[12] + 0x655b59c3U, 6); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:244:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 244 | MD5STEP(F4, d, a, b, c, in[3] + 0x8f0ccc92U, 10); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:245:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 245 | MD5STEP(F4, c, d, a, b, in[10] + 0xffeff47dU, 15); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:246:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 246 | MD5STEP(F4, b, c, d, a, in[1] + 0x85845dd1U, 21); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:247:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 247 | MD5STEP(F4, a, b, c, d, in[8] + 0x6fa87e4fU, 6); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:248:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 248 | MD5STEP(F4, d, a, b, c, in[15] + 0xfe2ce6e0U, 10); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:249:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 249 | MD5STEP(F4, c, d, a, b, in[6] + 0xa3014314U, 15); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:250:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 250 | MD5STEP(F4, b, c, d, a, in[13] + 0x4e0811a1U, 21); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:251:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 251 | MD5STEP(F4, a, b, c, d, in[4] + 0xf7537e82U, 6); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:252:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 252 | MD5STEP(F4, d, a, b, c, in[11] + 0xbd3af235U, 10); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:253:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 253 | MD5STEP(F4, c, d, a, b, in[2] + 0x2ad7d2bbU, 15); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ radius/md5.c:254:38: warning: traditional C rejects the "U" suffix [-Wtraditional] 254 | MD5STEP(F4, b, c, d, a, in[9] + 0xeb86d391U, 21); | ^~~~~~~~~~~ radius/md5.c:172:22: note: in definition of macro 'MD5STEP' 172 | ( w += f(x, y, z) + data, w = w<>(32-s), w += x ) | ^~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c posix/getlogin.c -o posix/getlogin.o make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c radius/dict.c -o radius/dict.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/dict.c:33: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/dict.c:33: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ radius/dict.c: In function 'dict_init': radius/dict.c:49:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 49 | int dict_init(void) | ^~~~~~~~~ radius/dict.c: In function 'dict_attrget': radius/dict.c:190:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 190 | DICT_ATTR *dict_attrget(int attribute) | ^~~~~~~~~~~~ radius/dict.c: In function 'dict_attrfind': radius/dict.c:213:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 213 | DICT_ATTR *dict_attrfind(char *attrname) | ^~~~~~~~~~~~~ radius/dict.c: In function 'dict_valfind': radius/dict.c:236:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 236 | DICT_VALUE *dict_valfind(char *valname) | ^~~~~~~~~~~~ radius/dict.c: In function 'dict_valget': radius/dict.c:259:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 259 | DICT_VALUE *dict_valget(UINT4 value, char *attrname) | ^~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c posix/grp.c -o posix/grp.o posix/grp.c: In function 'transcribe': posix/grp.c:20:22: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 20 | static struct group *transcribe(const char *group, const gid_t gid) | ^~~~~~~~~~ posix/grp.c: In function 'pwdb_posix_getgrnam': posix/grp.c:156:15: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 156 | struct group *pwdb_posix_getgrnam(const char *group) | ^~~~~~~~~~~~~~~~~~~ posix/grp.c: In function 'pwdb_posix_getgrgid': posix/grp.c:166:15: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | struct group *pwdb_posix_getgrgid(gid_t gid) | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c posix/pwd.c -o posix/pwd.o posix/pwd.c: In function 'transcribe': posix/pwd.c:20:23: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 20 | static struct passwd *transcribe(const char *user, int uid) | ^~~~~~~~~~ posix/pwd.c: In function 'pwdb_posix_getpwnam': posix/pwd.c:124:16: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 124 | struct passwd *pwdb_posix_getpwnam(const char *user) | ^~~~~~~~~~~~~~~~~~~ posix/pwd.c: In function 'pwdb_posix_getpwuid': posix/pwd.c:134:16: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 134 | struct passwd *pwdb_posix_getpwuid(uid_t uid) | ^~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c posix/undefined.c -o posix/undefined.o posix/undefined.c: In function '_posix_undefined': posix/undefined.c:13:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 13 | void _posix_undefined(void) | ^~~~~~~~~~~~~~~~ posix/undefined.c:17:6: warning: traditional C rejects string constant concatenation [-Wtraditional] 17 | "However, it has not been implemented within libpwdb yet!\n"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c radius/radius.c -o radius/radius.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/radius.c:6: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from radius/../_pwdb_headers.h:24, from radius/../_pwdb_internal.h:4, from radius/radius.c:6: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ radius/radius.c: In function 'auth_timeout': radius/radius.c:43:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 43 | void auth_timeout(int sig) | ^~~~~~~~~~~~ radius/radius.c: In function 'random_vector': radius/radius.c:56:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 56 | static void random_vector(char *vect) | ^~~~~~~~~~~~~ radius/radius.c: In function 'md5_calc': radius/radius.c:74:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 74 | static void md5_calc(unsigned char *output, char *input, unsigned int inlen) { | ^~~~~~~~ radius/radius.c: In function 'radius_get_random_id': radius/radius.c:86:15: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 86 | static u_char radius_get_random_id(void) | ^~~~~~~~~~~~~~~~~~~~ radius/radius.c: In function 'radius_get_local_port': radius/radius.c:116:16: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 116 | static u_short radius_get_local_port(int socket_fd) | ^~~~~~~~~~~~~~~~~~~~~ radius/radius.c: In function 'rad_authenticate': radius/radius.c:145:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 145 | int rad_authenticate (RADIUS_SERVER server, | ^~~~~~~~~~~~~~~~ radius/radius.c:296:26: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 296 | (int)0, &saremote, &salen); | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from radius/radius.c:5: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ radius/radius.c: In function 'rad_change_passwd': radius/radius.c:332:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 332 | int rad_change_passwd (RADIUS_SERVER server, | ^~~~~~~~~~~~~~~~~ radius/radius.c:504:27: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 504 | (int) 0, &saremote, &salen); | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from radius/radius.c:5: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ radius/radius.c: In function 'radius_acct_send': radius/radius.c:535:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 535 | int radius_acct_send (RADIUS_SERVER server, | ^~~~~~~~~~~~~~~~ radius/radius.c:685:43: warning: pointer targets in passing argument 6 of 'recvfrom' differ in signedness [-Wpointer-sign] 685 | (int)0, &saremote, &salen); | ^~~~~~ | | | int * In file included from /usr/include/sys/socket.h:269, from radius/radius.c:5: /usr/include/bits/socket2.h:65:49: note: expected 'socklen_t * __restrict__' {aka 'unsigned int * __restrict__'} but argument is of type 'int *' 65 | __SOCKADDR_ARG __addr, socklen_t *__restrict __addr_len) | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ radius/radius.c:689:13: warning: variable 'recv_len' set but not used [-Wunused-but-set-variable] 689 | int recv_len; | ^~~~~~~~ radius/radius.c:622:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 622 | *ptr++ = PW_ACCT_SESSION_ID; radius/radius.c:623:16: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 623 | *ptr++ = pstr_len + 2; | ~~~~~~~^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c pwdb/pwdb_start.c -o pwdb/pwdb_start.o pwdb/pwdb_start.c: In function '_pwdb_drop_entry': pwdb/pwdb_start.c:77:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 77 | static void _pwdb_drop_entry(struct pwdb_entry **e) | ^~~~~~~~~~~~~~~~ pwdb/pwdb_start.c: In function '_pwdb_list_check': pwdb/pwdb_start.c:101:27: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 101 | static struct _pwdb_list *_pwdb_list_check(const struct pwdb *p) | ^~~~~~~~~~~~~~~~ pwdb/pwdb_start.c: In function '_pwdb_check': pwdb/pwdb_start.c:113:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 113 | static int _pwdb_check(const struct pwdb *p, struct pwdb **np) | ^~~~~~~~~~~ pwdb/pwdb_start.c: In function '_pwdb_delete': pwdb/pwdb_start.c:132:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 132 | static void _pwdb_delete(struct _pwdb_list *o) | ^~~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_delete': pwdb/pwdb_start.c:179:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 179 | int pwdb_delete(const struct pwdb **old) | ^~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_source': pwdb/pwdb_start.c:198:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 198 | int pwdb_source(const struct pwdb *old, const pwdb_type *src | ^~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_new': pwdb/pwdb_start.c:250:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 250 | int pwdb_new(const struct pwdb **new, int life_sec) | ^~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_expire': pwdb/pwdb_start.c:301:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 301 | int pwdb_expire(const struct pwdb *old, int life_sec) | ^~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_get_entry': pwdb/pwdb_start.c:331:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 331 | int pwdb_get_entry(const struct pwdb *p, const char *name | ^~~~~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_set_entry': pwdb/pwdb_start.c:408:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 408 | int pwdb_set_entry(const struct pwdb *p, const char *entry | ^~~~~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_entry_delete': pwdb/pwdb_start.c:529:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 529 | int pwdb_entry_delete(const struct pwdb_entry **e) | ^~~~~~~~~~~~~~~~~ pwdb/pwdb_start.c: In function '_pwdb_same_src': pwdb/pwdb_start.c:554:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 554 | static int _pwdb_same_src(const pwdb_type *src1, const pwdb_type *src2) | ^~~~~~~~~~~~~~ pwdb/pwdb_start.c: In function '_strsame': pwdb/pwdb_start.c:577:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 577 | static int _strsame(const char *s1, const char *s2) | ^~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_merge': pwdb/pwdb_start.c:600:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 600 | int pwdb_merge(const struct pwdb *p, const struct pwdb *q, int overwrite) | ^~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_cached': pwdb/pwdb_start.c:685:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 685 | int pwdb_cached(const char *class, const pwdb_type *src | ^~~~~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_end': pwdb/pwdb_start.c:729:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 729 | int pwdb_end(void) | ^~~~~~~~ pwdb/pwdb_start.c: In function 'pwdb_start': pwdb/pwdb_start.c:776:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 776 | int pwdb_start(void) | ^~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -pipe -Dlinux -D_GNU_SOURCE -I/usr/include/tirpc -ansi -D_POSIX_SOURCE -Wall -Wwrite-strings -Wcast-qual -Wcast-align -Wtraditional -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wshadow -I/home/iurt/rpmbuild/BUILD/pwdb-0.62/include -fPIC -I. -c pwdb/pwdb_module.c -o pwdb/pwdb_module.o In file included from /usr/include/tirpc/rpc/rpc.h:43, from pwdb/../_pwdb_headers.h:24, from pwdb/../_pwdb_internal.h:4, from pwdb/pwdb_module.c:25: /usr/include/tirpc/rpc/xdr.h: In function 'xdr_getint32': /usr/include/tirpc/rpc/xdr.h:166:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 166 | xdr_getint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ /usr/include/tirpc/rpc/xdr.h: In function 'xdr_putint32': /usr/include/tirpc/rpc/xdr.h:177:1: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 177 | xdr_putint32(XDR *xdrs, int32_t *ip) | ^~~~~~~~~~~~ In file included from /usr/include/tirpc/rpc/rpcb_clnt.h:61, from /usr/include/tirpc/rpc/rpc.h:70, from pwdb/../_pwdb_headers.h:24, from pwdb/../_pwdb_internal.h:4, from pwdb/pwdb_module.c:25: /usr/include/tirpc/rpc/rpcb_prot.h: At top level: /usr/include/tirpc/rpc/rpcb_prot.h:150:2: warning: suggest not using #elif in traditional C [-Wtraditional] 150 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:178:2: warning: suggest not using #elif in traditional C [-Wtraditional] 178 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:188:2: warning: suggest not using #elif in traditional C [-Wtraditional] 188 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:230:2: warning: suggest not using #elif in traditional C [-Wtraditional] 230 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:274:2: warning: suggest not using #elif in traditional C [-Wtraditional] 274 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:310:2: warning: suggest not using #elif in traditional C [-Wtraditional] 310 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:328:2: warning: suggest not using #elif in traditional C [-Wtraditional] 328 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:338:2: warning: suggest not using #elif in traditional C [-Wtraditional] 338 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:371:2: warning: suggest not using #elif in traditional C [-Wtraditional] 371 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:393:2: warning: suggest not using #elif in traditional C [-Wtraditional] 393 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:403:2: warning: suggest not using #elif in traditional C [-Wtraditional] 403 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:413:2: warning: suggest not using #elif in traditional C [-Wtraditional] 413 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:423:2: warning: suggest not using #elif in traditional C [-Wtraditional] 423 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:440:2: warning: suggest not using #elif in traditional C [-Wtraditional] 440 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:455:2: warning: suggest not using #elif in traditional C [-Wtraditional] 455 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:649:2: warning: suggest not using #elif in traditional C [-Wtraditional] 649 | #elif __STDC__ | ^~~~ /usr/include/tirpc/rpc/rpcb_prot.h:734:2: warning: suggest not using #elif in traditional C [-Wtraditional] 734 | #elif __STDC__ | ^~~~ In file included from pwdb/pwdb_module.c:41: pwdb/helpers.c: In function 'dump_shorts': pwdb/helpers.c:17:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 17 | static int dump_shorts(const void *from, char *to, int len) | ^~~~~~~~~~~ pwdb/helpers.c: In function 'txtcpy': pwdb/helpers.c:40:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 40 | static int txtcpy(const void *from, char *to, int len) | ^~~~~~ pwdb/helpers.c: In function 'str_ipaddr': pwdb/helpers.c:60:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 60 | static int str_ipaddr(const void *data, char * string, int length) | ^~~~~~~~~~ pwdb/helpers.c: In function 'str_integer': pwdb/helpers.c:75:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 75 | static int str_integer(const void *data, char * string, int length) | ^~~~~~~~~~~ pwdb/helpers.c: In function 'str_long': pwdb/helpers.c:85:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 85 | static int str_long(const void *data, char * string, int length) | ^~~~~~~~ pwdb/helpers.c: In function 'str_date': pwdb/helpers.c:95:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 95 | static int str_date(const void *data, char *string, int length) | ^~~~~~~~ In file included from pwdb/interface/unix.c:14, from pwdb/pwdb_module.c:42: pwdb/interface/unix/user.c: In function '_pwdb_unix_locate': pwdb/interface/unix/user.c:14:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 14 | static int _pwdb_unix_locate(const char *name, | ^~~~~~~~~~~~~~~~~ pwdb/interface/unix/user.c:127:17: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | pwd->pw_passwd = ""; /* we preffer the empty string to the NULL pointer */ | ^ pwdb/interface/unix/user.c: In function '_pwdb_unix_request': pwdb/interface/unix/user.c:194:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 194 | static int _pwdb_unix_request(const char *entry_name, | ^~~~~~~~~~~~~~~~~~ pwdb/interface/unix/user.c: In function '_pwdb_unix_replace': pwdb/interface/unix/user.c:295:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 295 | static int _pwdb_unix_replace(const char *name, | ^~~~~~~~~~~~~~~~~~ pwdb/interface/unix/user.c:309:30: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 309 | const char **p_pw_name = (const char **) &pwent.pw_name; | ^ pwdb/interface/unix/user.c: In function '_pwdb_unix_delete': pwdb/interface/unix/user.c:610:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 610 | static int _pwdb_unix_delete(const char *name, | ^~~~~~~~~~~~~~~~~ pwdb/interface/unix/user.c: In function '_pwdb_unix_support': pwdb/interface/unix/user.c:719:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 719 | static int _pwdb_unix_support(const char *entry_name) | ^~~~~~~~~~~~~~~~~~ pwdb/interface/unix/user.c: In function '_pwdb_unix_flags': pwdb/interface/unix/user.c:741:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 741 | static int _pwdb_unix_flags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~ In file included from pwdb/interface/unix.c:31, from pwdb/pwdb_module.c:42: pwdb/interface/unix/group.c: In function '_pwdb_unix_glocate': pwdb/interface/unix/group.c:13:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 13 | static int _pwdb_unix_glocate(const char *name, | ^~~~~~~~~~~~~~~~~~ pwdb/interface/unix/group.c: In function '_pwdb_unix_grequest': pwdb/interface/unix/group.c:175:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 175 | static int _pwdb_unix_grequest(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/unix/group.c: In function '_pwdb_unix_greplace': pwdb/interface/unix/group.c:282:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 282 | static int _pwdb_unix_greplace(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/unix/group.c:299:30: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 299 | const char **p_gr_name = (const char **) &grent.gr_name; | ^ pwdb/interface/unix/group.c: In function '_pwdb_unix_gdelete': pwdb/interface/unix/group.c:501:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 501 | static int _pwdb_unix_gdelete(const char *name, | ^~~~~~~~~~~~~~~~~~ pwdb/interface/unix/group.c: In function '_pwdb_unix_gsupport': pwdb/interface/unix/group.c:597:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 597 | static int _pwdb_unix_gsupport(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~ In file included from pwdb/interface/shadow.c:9, from pwdb/pwdb_module.c:43: pwdb/interface/shadow/user.c: In function '_pwdb_shadow_locate': pwdb/interface/shadow/user.c:16:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 16 | static int _pwdb_shadow_locate(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/user.c: In function '_pwdb_shadow_request': pwdb/interface/shadow/user.c:176:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 176 | static int _pwdb_shadow_request(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/user.c: In function '_pwdb_shadow_replace': pwdb/interface/shadow/user.c:191:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 191 | static int _pwdb_shadow_replace(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/user.c:204:30: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 204 | const char **p_sp_namp = (const char **) &spwent.sp_namp; | ^ pwdb/interface/shadow/user.c: In function '_pwdb_shadow_delete': pwdb/interface/shadow/user.c:451:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 451 | static int _pwdb_shadow_delete(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/user.c: In function '_pwdb_shadow_support': pwdb/interface/shadow/user.c:539:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 539 | static int _pwdb_shadow_support(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/user.c:546:9: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 546 | NULL }; | ^~~~ pwdb/interface/shadow/user.c: In function '_pwdb_shadow_flags': pwdb/interface/shadow/user.c:557:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 557 | static int _pwdb_shadow_flags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~~~ In file included from pwdb/interface/shadow.c:27, from pwdb/pwdb_module.c:43: pwdb/interface/shadow/group.c: In function '_pwdb_shadow_glocate': pwdb/interface/shadow/group.c:14:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 14 | static int _pwdb_shadow_glocate(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/group.c: In function '_pwdb_shadow_grequest': pwdb/interface/shadow/group.c:160:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 160 | static int _pwdb_shadow_grequest(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/group.c: In function '_pwdb_shadow_greplace': pwdb/interface/shadow/group.c:234:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 234 | static int _pwdb_shadow_greplace(const char *name, | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/group.c:253:31: warning: to be safe all intermediate pointers in cast from 'char **' to 'const char **' must be 'const' qualified [-Wcast-qual] 253 | const char ** p_sg_name = (const char **) &sgent.sg_name; | ^ pwdb/interface/shadow/group.c: In function '_pwdb_shadow_gdelete': pwdb/interface/shadow/group.c:456:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 456 | static int _pwdb_shadow_gdelete(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/group.c:463:9: warning: variable 'tgid' set but not used [-Wunused-but-set-variable] 463 | int tgid; | ^~~~ pwdb/interface/shadow/group.c: In function '_pwdb_shadow_gsupport': pwdb/interface/shadow/group.c:530:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 530 | static int _pwdb_shadow_gsupport(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/shadow/group.c:537:5: warning: traditional C rejects string constant concatenation [-Wtraditional] 537 | "groups", /* these are serviced by requests */ | ^~~~~~~~ In file included from pwdb/interface/nis.c:9, from pwdb/pwdb_module.c:44: pwdb/interface/nis/user.c: In function '_pwdb_nis_locate': pwdb/interface/nis/user.c:16:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 16 | static int _pwdb_nis_locate(const char *name, | ^~~~~~~~~~~~~~~~ pwdb/interface/nis/user.c: In function '_pwdb_nis_request': pwdb/interface/nis/user.c:161:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 161 | static int _pwdb_nis_request(const char *entry_name, | ^~~~~~~~~~~~~~~~~ pwdb/interface/nis/user.c: In function '_pwdb_nis_replace': pwdb/interface/nis/user.c:173:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 173 | static int _pwdb_nis_replace(const char *name, | ^~~~~~~~~~~~~~~~~ pwdb/interface/nis/user.c: In function '_pwdb_nis_delete': pwdb/interface/nis/user.c:397:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 397 | static int _pwdb_nis_delete(const char *name, | ^~~~~~~~~~~~~~~~ pwdb/interface/nis/user.c: In function '_pwdb_nis_support': pwdb/interface/nis/user.c:457:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 457 | static int _pwdb_nis_support(const char *entry_name) | ^~~~~~~~~~~~~~~~~ pwdb/interface/nis/user.c:468:9: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 468 | NULL }; | ^~~~ pwdb/interface/nis/user.c: In function '_pwdb_nis_flags': pwdb/interface/nis/user.c:478:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 478 | static int _pwdb_nis_flags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~ In file included from pwdb/interface/nis.c:26, from pwdb/pwdb_module.c:44: pwdb/interface/nis/group.c: In function '_pwdb_nis_glocate': pwdb/interface/nis/group.c:13:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 13 | static int _pwdb_nis_glocate(const char *name, | ^~~~~~~~~~~~~~~~~ pwdb/interface/nis/group.c: In function '_pwdb_nis_grequest': pwdb/interface/nis/group.c:20:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 20 | static int _pwdb_nis_grequest(const char *entry_name, | ^~~~~~~~~~~~~~~~~~ pwdb/interface/nis/group.c: In function '_pwdb_nis_greplace': pwdb/interface/nis/group.c:26:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 26 | static int _pwdb_nis_greplace(const char *name, | ^~~~~~~~~~~~~~~~~~ pwdb/interface/nis/group.c: In function '_pwdb_nis_gdelete': pwdb/interface/nis/group.c:33:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 33 | static int _pwdb_nis_gdelete(const char *name, | ^~~~~~~~~~~~~~~~~ pwdb/interface/nis/group.c: In function '_pwdb_nis_gsupport': pwdb/interface/nis/group.c:40:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 40 | static int _pwdb_nis_gsupport(const char *entry_name) | ^~~~~~~~~~~~~~~~~~ pwdb/interface/nis/group.c: In function '_pwdb_nis_gflags': pwdb/interface/nis/group.c:45:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 45 | static int _pwdb_nis_gflags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~ In file included from pwdb/interface/radius.c:9, from pwdb/pwdb_module.c:45: pwdb/interface/radius/user.c: In function '_pwdb_radius_return_data': pwdb/interface/radius/user.c:10:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 10 | static int _pwdb_radius_return_data(RADIUS_RESULT rad_result, | ^~~~~~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/user.c: In function '_pwdb_radius_locate': pwdb/interface/radius/user.c:112:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 112 | static int _pwdb_radius_locate(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/user.c: In function '_pwdb_radius_request': pwdb/interface/radius/user.c:214:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 214 | static int _pwdb_radius_request(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/user.c: In function '_pwdb_radius_replace': pwdb/interface/radius/user.c:220:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 220 | static int _pwdb_radius_replace(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/user.c: In function '_pwdb_radius_delete': pwdb/interface/radius/user.c:329:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 329 | static int _pwdb_radius_delete(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/user.c: In function '_pwdb_radius_support': pwdb/interface/radius/user.c:336:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 336 | static int _pwdb_radius_support(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/user.c:355:5: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 355 | }; | ^ pwdb/interface/radius/user.c: In function '_pwdb_radius_flags': pwdb/interface/radius/user.c:365:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 365 | static int _pwdb_radius_flags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~~~ In file included from pwdb/interface/radius.c:26, from pwdb/pwdb_module.c:45: pwdb/interface/radius/group.c: In function '_pwdb_radius_glocate': pwdb/interface/radius/group.c:14:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 14 | static int _pwdb_radius_glocate(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/group.c: In function '_pwdb_radius_grequest': pwdb/interface/radius/group.c:21:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 21 | static int _pwdb_radius_grequest(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/group.c: In function '_pwdb_radius_greplace': pwdb/interface/radius/group.c:27:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 27 | static int _pwdb_radius_greplace(const char *name, | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/group.c: In function '_pwdb_radius_gdelete': pwdb/interface/radius/group.c:34:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 34 | static int _pwdb_radius_gdelete(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/group.c: In function '_pwdb_radius_gsupport': pwdb/interface/radius/group.c:41:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 41 | static int _pwdb_radius_gsupport(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/radius/group.c: In function '_pwdb_radius_gflags': pwdb/interface/radius/group.c:46:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 46 | static int _pwdb_radius_gflags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~~~~ In file included from pwdb/interface/decnis.c:9, from pwdb/pwdb_module.c:46: pwdb/interface/decnis/user.c: In function '_pwdb_decnis_locate': pwdb/interface/decnis/user.c:16:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 16 | static int _pwdb_decnis_locate(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/user.c: In function '_pwdb_decnis_request': pwdb/interface/decnis/user.c:161:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 161 | static int _pwdb_decnis_request(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/user.c: In function '_pwdb_decnis_replace': pwdb/interface/decnis/user.c:173:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 173 | static int _pwdb_decnis_replace(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/user.c: In function '_pwdb_decnis_delete': pwdb/interface/decnis/user.c:397:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 397 | static int _pwdb_decnis_delete(const char *name, | ^~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/user.c: In function '_pwdb_decnis_support': pwdb/interface/decnis/user.c:457:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 457 | static int _pwdb_decnis_support(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/user.c:468:9: warning: traditional C rejects automatic aggregate initialization [-Wtraditional] 468 | NULL }; | ^~~~ pwdb/interface/decnis/user.c: In function '_pwdb_decnis_flags': pwdb/interface/decnis/user.c:478:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 478 | static int _pwdb_decnis_flags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~~~ In file included from pwdb/interface/decnis.c:26, from pwdb/pwdb_module.c:46: pwdb/interface/decnis/group.c: In function '_pwdb_decnis_glocate': pwdb/interface/decnis/group.c:13:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 13 | static int _pwdb_decnis_glocate(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/group.c: In function '_pwdb_decnis_grequest': pwdb/interface/decnis/group.c:20:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 20 | static int _pwdb_decnis_grequest(const char *entry_name, | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/group.c: In function '_pwdb_decnis_greplace': pwdb/interface/decnis/group.c:26:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 26 | static int _pwdb_decnis_greplace(const char *name, | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/group.c: In function '_pwdb_decnis_gdelete': pwdb/interface/decnis/group.c:33:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 33 | static int _pwdb_decnis_gdelete(const char *name, | ^~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/group.c: In function '_pwdb_decnis_gsupport': pwdb/interface/decnis/group.c:40:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 40 | static int _pwdb_decnis_gsupport(const char *entry_name) | ^~~~~~~~~~~~~~~~~~~~~ pwdb/interface/decnis/group.c: In function '_pwdb_decnis_gflags': pwdb/interface/decnis/group.c:45:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 45 | static int _pwdb_decnis_gflags(pwdb_flag *flags) | ^~~~~~~~~~~~~~~~~~~ pwdb/pwdb_module.c: In function 'pwdb_db_name': pwdb/pwdb_module.c:73:13: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 73 | const char *pwdb_db_name(pwdb_type src) | ^~~~~~~~~~~~ pwdb/pwdb_module.c: In function '_pwdb_read_token': pwdb/pwdb_module.c:94:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 94 | static int _pwdb_read_token(char *buffer, FILE *f) | ^~~~~~~~~~~~~~~~ pwdb/pwdb_module.c: In function 'grow_buffer': pwdb/pwdb_module.c:149:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 149 | static int grow_buffer(pwdb_type **buf, int length) | ^~~~~~~~~~~ pwdb/pwdb_module.c: In function 'grow_list': pwdb/pwdb_module.c:163:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 163 | static int grow_list(pwdb_type ***list, int nlist) | ^~~~~~~~~ pwdb/pwdb_module.c: In function 'fill_buffer': pwdb/pwdb_module.c:184:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 184 | static int fill_buffer(FILE *conf, const char *end, pwdb_type ***list | ^~~~~~~~~~~ pwdb/pwdb_module.c: In function '_pwdb_get_policy': pwdb/pwdb_module.c:299:19: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 299 | const pwdb_type **_pwdb_get_policy(const char *class) | ^~~~~~~~~~~~~~~~ pwdb/pwdb_module.c: In function '_pwdb_delete_policy': pwdb/pwdb_module.c:311:6: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 311 | void _pwdb_delete_policy(void) | ^~~~~~~~~~~~~~~~~~~ pwdb/pwdb_module.c:313:36: warning: initialization of 'pwdb_type **' {aka 'int **'} from incompatible pointer type 'const pwdb_type **' {aka 'const int **'} [-Wincompatible-pointer-types] 313 | pwdb_type **pwdb_policy_save = pwdb_policy; | ^~~~~~~~~~~ pwdb/pwdb_module.c:314:42: warning: initialization of 'pwdb_type **' {aka 'int **'} from incompatible pointer type 'const pwdb_type **' {aka 'const int **'} [-Wincompatible-pointer-types] 314 | pwdb_type **pwdb_group_policy_save = pwdb_group_policy; | ^~~~~~~~~~~~~~~~~ pwdb/pwdb_module.c: In function '_pwdb_read_conf': pwdb/pwdb_module.c:336:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 336 | int _pwdb_read_conf(void) | ^~~~~~~~~~~~~~~ pwdb/pwdb_module.c:410:19: warning: to be safe all intermediate pointers in cast from 'pwdb_type **' {aka 'int **'} to 'const pwdb_type **' {aka 'const int **'} must be 'const' qualified [-Wcast-qual] 410 | pwdb_policy = (const pwdb_type **) _pwdb_policy; | ^ pwdb/pwdb_module.c:411:25: warning: to be safe all intermediate pointers in cast from 'pwdb_type **' {aka 'int **'} to 'const pwdb_type **' {aka 'const int **'} must be 'const' qualified [-Wcast-qual] 411 | pwdb_group_policy = (const pwdb_type **) _pwdb_group_policy; | ^ pwdb/pwdb_module.c: In function '_pwdb_db_number': pwdb/pwdb_module.c:419:12: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 419 | static int _pwdb_db_number(const char *class, const pwdb_type src) | ^~~~~~~~~~~~~~~ pwdb/pwdb_module.c: In function '_pwdb_dispatch': pwdb/pwdb_module.c:435:5: warning: traditional C rejects ISO C style function definitions [-Wtraditional] 435 | int _pwdb_dispatch(const char *class | ^~~~~~~~~~~~~~ make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -Wl,-soname,libpwdb.so.0 -shared -o libpwdb.so.0.62 common/commonio.o common/grcommon.o common/lockpw.o common/misc.o unix/group.o unix/passwd.o unix/pwio.o unix/groupio.o shadow/gshadow.o shadow/shadow.o shadow/shadowio.o shadow/sgroupio.o nis/group.o nis/password.o decnis/group.o decnis/password.o radius/radius.o radius/util.o radius/md5.o radius/helpfunc.o radius/dict.o pwdb/pwdb_error.o pwdb/pwdb_helper.o pwdb/pwdb_locate.o pwdb/pwdb_module.o pwdb/pwdb_start.o posix/pwd.o posix/grp.o posix/getlogin.o posix/undefined.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -I/usr/include/tirpc -lcrypt -lnsl -lc /usr/bin/ld: nis/password.o: in function `xdr_yppasswd': /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:267: undefined reference to `xdr_string' /usr/bin/ld: nis/password.o: in function `xdr_xpasswd': /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:240: undefined reference to `xdr_string' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:243: undefined reference to `xdr_string' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:246: undefined reference to `xdr_int' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:249: undefined reference to `xdr_int' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:252: undefined reference to `xdr_string' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:255: undefined reference to `xdr_string' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:258: undefined reference to `xdr_string' /usr/bin/ld: nis/password.o: in function `__pwdbNIS_update': /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:320: undefined reference to `getrpcport' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:341: undefined reference to `clnt_create' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:342: undefined reference to `authunix_create_default' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:346: undefined reference to `xdr_int' /usr/bin/ld: /home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb/nis/password.c:346: undefined reference to `xdr_int' collect2: error: ld returned 1 exit status make[1]: *** [Makefile:54: libpwdb.so] Error 1 make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.K3ZGiO + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 + cd pwdb-0.62 + '[' 1 -eq 1 ']' + mkdir -p /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/lib64 /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/etc /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 'INSTALL=/usr/bin/install -p' INCLUDED=/home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb LIBDIR=/home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/lib64 for i in libpwdb examples ; do \ /usr/bin/make -C $i install ; \ if [ $? -ne 0 ]; then break ; fi ; \ done make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' gcc -Wl,-soname,libpwdb.so.0 -shared -o libpwdb.so.0.62 common/commonio.o common/grcommon.o common/lockpw.o common/misc.o unix/group.o unix/passwd.o unix/pwio.o unix/groupio.o shadow/gshadow.o shadow/shadow.o shadow/shadowio.o shadow/sgroupio.o nis/group.o nis/password.o decnis/group.o decnis/password.o radius/radius.o radius/util.o radius/md5.o radius/helpfunc.o radius/dict.o pwdb/pwdb_error.o pwdb/pwdb_helper.o pwdb/pwdb_locate.o pwdb/pwdb_module.o pwdb/pwdb_start.o posix/pwd.o posix/grp.o posix/getlogin.o posix/undefined.o -I/usr/include/tirpc -lcrypt -lnsl -lc mkdir -p /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb /usr/bin/install -p -m 644 pwdb/pwdb_public.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb /usr/bin/install -p -m 644 ./pwdb_map.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb /usr/bin/install -p -m 644 unix/public.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb/pwdb_unix.h /usr/bin/install -p -m 644 shadow/public.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb/pwdb_shadow.h /usr/bin/install -p -m 644 common/public.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb/pwdb_common.h /usr/bin/install -p -m 644 radius/public.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb/pwdb_radius.h /usr/bin/install -p -m 644 radius.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb/radius.h /usr/bin/install -p -m 644 _pwdb_macros.h /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/include/pwdb/_pwdb_macros.h /usr/bin/install -p -m 755 libpwdb.so.0.62 /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/lib64 ln -sf libpwdb.so.0.62 /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/lib64/libpwdb.so make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/libpwdb' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/examples' make[1]: Nothing to be done for 'install'. make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/pwdb-0.62/examples' + install conf/pwdb.conf /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/etc/pwdb.conf + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.62-20.mga8 --unique-debug-suffix -0.62-20.mga8.aarch64 --unique-debug-src-base pwdb-0.62-20.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/pwdb-0.62 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/lib64/libpwdb.so.0.62 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/lib64/libpwdb.so.0.62 original debug info size: 444kB, size after compression: 392kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 715 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./etc/pwdb.conf is executable but has no shebang, removing executable bit Processing files: pwdb-conf-0.62-20.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1lXmnO + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pwdb-0.62 + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/share/doc/pwdb-conf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/share/doc/pwdb-conf + cp -pr Copyright /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/share/doc/pwdb-conf + cp -pr doc/pwdb.txt /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/share/doc/pwdb-conf + cp -pr doc/html /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64/usr/share/doc/pwdb-conf + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(pwdb-conf) = 0.62-20.mga8 pwdb-conf = 0.62-20.mga8 pwdb-conf(aarch-64) = 0.62-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64pwdb0-0.62-20.mga8.aarch64 Provides: lib64pwdb0 = 0.62-20.mga8 lib64pwdb0(aarch-64) = 0.62-20.mga8 libpwdb.so.0()(64bit) pwdb = 0.62-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libcrypt.so.1()(64bit) libnsl.so.2()(64bit) libnsl.so.2(LIBNSL_1.0)(64bit) Obsoletes: pwdb Processing files: lib64pwdb-devel-0.62-20.mga8.aarch64 Provides: devel(libpwdb(64bit)) lib64pwdb-devel = 0.62-20.mga8 lib64pwdb-devel(aarch-64) = 0.62-20.mga8 pwdb-devel = 0.62-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: devel(libcrypt(64bit)) devel(libnsl(64bit)) Obsoletes: lib64pwdb0-devel < 0.62-20.mga8 Processing files: pwdb-debugsource-0.62-20.mga8.aarch64 Provides: pwdb-debugsource = 0.62-20.mga8 pwdb-debugsource(aarch-64) = 0.62-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lib64pwdb0-debuginfo-0.62-20.mga8.aarch64 Provides: debuginfo(build-id) = df05a08e1258212ad01aca882876db77763008ef lib64pwdb0-debuginfo = 0.62-20.mga8 lib64pwdb0-debuginfo(aarch-64) = 0.62-20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pwdb-debugsource(aarch-64) = 0.62-20.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64pwdb-devel-0.62-20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64pwdb0-0.62-20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/pwdb-conf-0.62-20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64pwdb0-debuginfo-0.62-20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/pwdb-debugsource-0.62-20.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Tc704R + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd pwdb-0.62 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/pwdb-0.62-20.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.uA2umR + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf pwdb-0.62 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!