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 ---
--- 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
--- 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]
--- 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]
void log __P((FILE *, const char *, ...));
^
--- 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]
void log __P((FILE *, const char *, ...));
^
--- rshrcmd.o ---
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)'
--- 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]
--- 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)'
--- 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)'
--- main.o ---
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)'
--- 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]
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)'
--- expand.o ---
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;
^
/magus/work/usr/mports/net/44bsd-rdist/work/44bsd-rdist-20001111_2/defs.h:191:35: note: previous declaration is here
--- server.o ---
In file included from server.c:45:
--- rshrcmd.o ---
int rshrcmd __P((char **, u_short, char *, char *, char *, int *));
^
--- 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 *, ...));
^
/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 ---
/usr/include/sys/cdefs.h:156:21: note: expanded from macro '__P'
#define __P(protos) protos /* full-blown ANSI C */
^
--- expand.o ---
expand.c:312:16: error: incomplete definition of type 'struct _dirdesc'
if (fstat(dirp->dd_fd, &stb) < 0)
~~~~^
/usr/include/dirent.h:59:8: note: forward declaration of 'struct _dirdesc'
struct _dirdesc;
^
--- 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
--- expand.o ---
2 warnings and 1 error generated.
--- server.o ---
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
--- expand.o ---
*** [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:471:25: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
stb.st_mode & 07777, stb.st_size, stb.st_mtime,
^~~~~~~~~~~
server.c:514:24: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
stb.st_mode & 07777, stb.st_size, stb.st_mtime,
^~~~~~~~~~~
server.c:717:51: warning: format specifies type 'long long' but the argument has type 'off_t' (aka 'long') [-Wformat]
(void) snprintf(buf, sizeof(buf), "Y%qd %ld\n", stb.st_size,
~~~ ^~~~~~~~~~~
%ld
--- rshrcmd.o ---
2 warnings generated.
--- lookup.o ---
1 warning generated.
--- main.o ---
1 warning generated.
--- docmd.o ---
1 warning 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