Log
[1m===> Building for 44bsd-rdist-20001111_2[0m
--- objwarn ---
Warning: Object directory not changed from original /magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2
--- docmd.o ---
--- expand.o ---
--- gram.c ---
--- lookup.o ---
--- main.o ---
--- rshrcmd.o ---
--- server.o ---
--- rdist.1.gz ---
--- docmd.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c docmd.c -o docmd.o
--- expand.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c expand.c -o expand.o
--- gram.c ---
yacc -o gram.c gram.y
--- lookup.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c lookup.c -o lookup.o
--- main.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c main.c -o main.o
--- rshrcmd.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c rshrcmd.c -o rshrcmd.o
--- server.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c server.c -o server.o
--- rdist.1.gz ---
gzip -cn rdist.1 > rdist.1.gz
--- gram.o ---
cc -O2 -pipe -fno-strict-aliasing -I/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2 -std=gnu99 -Qunused-arguments -fstack-protector -c gram.c -o gram.o
In file included from gram.y:43:
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
void log __P((FILE *, const char *, ...));
^
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
--- docmd.o ---
In file included from docmd.c:42:
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
--- server.o ---
In file included from server.c:45:
--- docmd.o ---
void log __P((FILE *, const char *, ...));
^
--- server.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
void log __P((FILE *, const char *, ...));
^
--- docmd.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
--- server.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
--- lookup.o ---
In file included from lookup.c:42:
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
--- main.o ---
In file included from main.c:45:
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
--- lookup.o ---
void log __P((FILE *, const char *, ...));
^
--- main.o ---
void log __P((FILE *, const char *, ...));
^
--- lookup.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
--- main.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
--- rshrcmd.o ---
In file included from rshrcmd.c:12:
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
--- expand.o ---
In file included from expand.c:42:
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: warning: incompatible redeclaration of library function 'log' [-Wincompatible-library-redeclaration]
--- rshrcmd.o ---
void log __P((FILE *, const char *, ...));
^
--- expand.o ---
void log __P((FILE *, const char *, ...));
^
--- rshrcmd.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
--- expand.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:179:7: note: 'log' is a builtin with type 'double (double)'
expand.c:182:19: warning: incompatible pointer to integer conversion passing 'void *' to parameter of type 'int' [-Wint-conversion]
tp = lookup(cp, NULL, 0);
^~~~
/usr/include/sys/_null.h:32:14: note: expanded from macro 'NULL'
#define NULL ((void *)0)
^~~~~~~~~~~
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:181:26: note: passing argument to parameter here
lookup __P((char *, int, struct namelist *));
^
/usr/include/sys/cdefs.h:156:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
--- rshrcmd.o ---
rshrcmd.c:42:10: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'u_short' (aka 'unsigned short') declared in a previous prototype [-Wknr-promoted-parameter]
u_short port;
^
--- expand.o ---
expand.c:312:16: error: incomplete definition of type 'struct _dirdesc'
--- rshrcmd.o ---
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:191:35: note: previous declaration is here
--- expand.o ---
if (fstat(dirp->dd_fd, &stb) < 0)
~~~~^
--- rshrcmd.o ---
int rshrcmd __P((char **, u_short, char *, char *, char *, int *));
^
--- expand.o ---
/usr/include/dirent.h:59:8: note: forward declaration of 'struct _dirdesc'
struct _dirdesc;
^
--- rshrcmd.o ---
/usr/include/sys/cdefs.h:156:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
--- server.o ---
server.c:394:47: warning: format specifies type 'unsigned long' but the argument has type 'uid_t' (aka 'unsigned int') [-Wformat]
(void)snprintf(user, sizeof(user), ":%lu", stb.st_uid);
~~~ ^~~~~~~~~~
%u
server.c:401:49: warning: format specifies type 'unsigned long' but the argument has type 'gid_t' (aka 'unsigned int') [-Wformat]
(void)snprintf(group, sizeof(group), ":%lu", stb.st_gid);
~~~ ^~~~~~~~~~
%u
server.c:471:38: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
stb.st_mode & 07777, stb.st_size, stb.st_mtime,
^~~~~~~~~~~~
--- docmd.o ---
docmd.c:427:30: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
--- server.o ---
server.c:514:37: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
--- docmd.o ---
printf("%s: %ld\n", stamp, stb.st_mtime);
~~~ ^~~~~~~~~~~~
%d
--- server.o ---
stb.st_mode & 07777, stb.st_size, stb.st_mtime,
^~~~~~~~~~~~
--- expand.o ---
2 warnings and 1 error generated.
*** [expand.o] Error code 1
make[1]: stopped in /magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2
--- server.o ---
server.c:718:7: warning: format specifies type 'long' but the argument has type 'time_t' (aka 'int') [-Wformat]
stb.st_mtime);
^~~~~~~~~~~~
--- rshrcmd.o ---
2 warnings generated.
--- lookup.o ---
1 warning generated.
--- main.o ---
1 warning generated.
--- gram.o ---
1 warning generated.
--- docmd.o ---
2 warnings generated.
--- server.o ---
6 warnings generated.
1 error
make[1]: stopped in /magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /usr/mports/net/44bsd-rdist