>>> Building on exopi-3 under sysutils/lockfile DIST = [mail/procmail:procmail-3.24.tar.gz] FULLPKGNAME = lockfile-3.24 distfiles size=299704 >>> Running build in sysutils/lockfile at 1713379721.17 ===> sysutils/lockfile ===> Building from scratch lockfile-3.24 ===> Verifying specs: c m ===> found c.100.0 m.10.1 ===> Checking files for lockfile-3.24 `/exopi-cvs/ports/distfiles/procmail-3.24.tar.gz' is up to date. >> (SHA256) procmail-3.24.tar.gz: OK ===> Extracting for lockfile-3.24 ===> Patching for lockfile-3.24 ===> Compiler link: clang -> /usr/bin/clang ===> Compiler link: clang++ -> /usr/bin/clang++ ===> Compiler link: cc -> /usr/bin/cc ===> Compiler link: c++ -> /usr/bin/c++ ===> Generating configure for lockfile-3.24 ===> Configuring for lockfile-3.24 ===> Building for lockfile-3.24 /bin/sh ./initmake /bin/sh "/bin/sh" "/bin/rm -f" "mv -f" "ln" "-lm -ldir -lx -lsocket -lnet -linet -lnsl_s -lnsl_i -lnsl -lsun -lgen -lsockdns -ldl" "/lib /usr/lib /usr/local/lib" /dev/null "/usr/bin/make" o "cc" "-O2 -pipe " "-s " "lockfile" "lockfile" "" "src man" "/usr/local/bin" "strip" cc seems to work fine, using that as the C-compiler ...scanning for 13 libraries... Added LDFLAGS= -lm -lc /usr/bin/make make all cd src; /usr/bin/make ../autoconf.h /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null "grep -F" "/usr/bin/make" o "110" "/usr/local/bin" ../autoconf.h Using the following directories for the LOCKINGTESTs: 110 Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for enum Your system appears to not (correctly) support at least one of: const, volatile, function prototypes, and enum types. Future versions of procmail will probably require support for all of them, so you should either upgrade your compiler to one that's compliant with the ISO C standard (the standard's over 10 years old, for goodness sake), or send email to explaining why you need procmail to continue to support K&R C. Checking for POSIX and ANSI/ISO system include files Checking for network/comsat/biff support Testing for void*, size_t, off_t, pid_t, time_t, mode_t, uid_t & gid_t Checking realloc implementation Testing for WIFEXITED(), WIFSTOPPED(), WEXITSTATUS() & WSIGTERM() Testing for various struct passwd members Testing for memmove, strchr, strpbrk, strcspn, strtol, strstr, rename, setrgid, setegid, pow, opendir, mkdir, waitpid, fsync, ftruncate, strtod, strncasecmp, strerror, strlcat, memset, bzero, and _exit Determining the maximum number of 16 byte arguments execv() takes Benchmarking your system's strstr() implementation Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ #define NO_const #define P(args) () /* 2 moves in 64 steps of size 16384 when reallocing */ #define WMACROS_NON_POSIX #define NOsetrgid #define NOsetegid #define GOT_bin_test #define MAX_argc 30720 /* Your system's strstr() is 1.00 times SLOWER than my C-routine */ #define UDP_protocolno 17 #define BIFF_serviceport "512" #define IP_localhost {127,0,0,1} #define setrgid_RUNTIME_CHECK #ifndef MAILSPOOLDIR #define MAILSPOOLDIR "/var/mail/" #endif #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define buggy_SENDMAIL #define defPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" #define defSPATH "PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin" #define PM_VERSION "3.24" /* Hotwire LOCKINGTEST=110 */ /* Procmail will lock via: dotlocking, fcntl(), lockf() */ #define USElockf /* autoconf completed */ ========================================================================== echo Housekeeping file >config.check cd src; /usr/bin/make ../new/lockfile cc -c -O2 -pipe lockfile.c In file included from lockfile.c:21: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from lockfile.c:21: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ lockfile.c:43:15: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] i=lastdirsep(name)-name; ^ lockfile.c:48:51: warning: passing arguments to 'myrename' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] stat(p,&stbuf),*tim=stbuf.st_mtime,j=myrename(p,name); ^ lockfile.c:41:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static int xcreat(name,tim)const char*const name;time_t*const tim; ^ lockfile.c:53:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void elog(a)const char*const a; ^ lockfile.c:57:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void nlog(a)const char*const a; ^ lockfile.c:77:45: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] invert=(char*)progid-(char*)progid;qsignal(SIGHUP,failure); ^ lockfile.c:78:10: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); ^ lockfile.c:78:34: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); ^ lockfile.c:78:59: warning: passing arguments to 'qsignal' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] qsignal(SIGINT,failure);qsignal(SIGQUIT,failure);qsignal(SIGTERM,failure); ^ lockfile.c:105:28: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] elog(auth_mailboxname(auth_finduid(getuid(),0))); ^ lockfile.c:138:28: warning: passing arguments to 'auth_finduser' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] (pass=auth_finduser(ma,0))&& ^ lockfile.c:139:21: warning: passing arguments to 'auth_whatuid' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] auth_whatuid(pass)==uid|| ^ lockfile.c:145:34: warning: passing arguments to 'auth_mailboxname' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(!*(p=auth_mailboxname(pass))|| ^ lockfile.c:63:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv)int argc;const char*const argv[]; ^ lockfile.c:250:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void*tmalloc(len)const size_t len; /* stub */ ^ lockfile.c:257:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void tfree(p)void*const p; /* stub */ ^ lockfile.c:261:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int ropen(name,mode,mask)const char*const name;const int mode; ^ lockfile.c:266:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rwrite(fd,a,len)const int fd;const void*const a;const int len; /* stub */ ^ lockfile.c:270:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rclose(fd)const int fd; /* stub */ ^ lockfile.c:274:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void writeerr(a)const char*const a; /* stub */ ^ lockfile.c:278:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char*cstr(a,b)char*const a;const char*const b; /* stub */ ^ lockfile.c:282:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void ssleep(seconds)const unsigned seconds; /* stub */ ^ 45 warnings generated. cc -c -O2 -pipe exopen.c In file included from exopen.c:13: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from exopen.c:13: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ exopen.c:54:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int unique(full,p,len,mode,verbos,flags)char*const full;char*p; ^ exopen.c:69:31: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] *p=UNIQ_PREFIX,dot=ultoan((unsigned long)thepid,p+1); ^ exopen.c:76:14: warning: passing arguments to 'ssleep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] ssleep(1); /* tap tap tap... */ ^ exopen.c:80:15: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { dot=ultstr(0,(unsigned long)t,p); /* time.pid_s.hostname */ ^ exopen.c:82:15: warning: passing arguments to 'ultstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] dot=ultstr(0,(unsigned long)thepid,dot+1); ^ exopen.c:87:18: warning: passing arguments to 'ultoan' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] host=1+ultoan((unsigned long)t,dot+1); /* _pid%time.hostname */ ^ exopen.c:97:15: warning: passing arguments to 'lastdirsep' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] op=lastdirsep(full); ^ exopen.c:119:10: warning: passing arguments to 'writeerr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] writeerr(full); /* for casual users */ ^ exopen.c:135:15: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] { rclose(i);unlink(full); /* forget it, no permission */ ^ exopen.c:140:12: warning: passing arguments to 'rwrite' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rwrite(i,"0",1); /* pid 0, `works' across networks */ ^ exopen.c:143:9: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] rclose(i); ^ exopen.c:149:11: warning: passing arguments to 'hlink' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] fd=hlink(old,newn);serrno=errno;unlink(old); ^ exopen.c:150:17: warning: passing arguments to 'rclose' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] if(fd>0)rclose(fd-1); ^ exopen.c:147:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int myrename(old,newn)const char*const old,*const newn; ^ In file included from exopen.c:17: ./exopen.h:6:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] myrename P((const char*const old,const char*const newn)), ^ exopen.c:156:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int rlink(old,newn,st)const char*const old,*const newn;struct stat*st; ^ In file included from exopen.c:17: ./exopen.h:7:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] rlink P((const char*const old,const char*const newn,struct stat*st)), ^ exopen.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int hlink(old,newn)const char*const old,*const newn; ^ In file included from exopen.c:17: ./exopen.h:8:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] hlink P((const char*const old,const char*const newn)); ^ 42 warnings generated. cc -c -O2 -pipe sublib.c In file included from sublib.c:13: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from sublib.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ 23 warnings generated. cc -c -O2 -pipe acommon.c In file included from acommon.c:13: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from acommon.c:13: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ acommon.c:40:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char*ultoan(val,dest)unsigned long val;char*dest; /* convert to a number */ ^ In file included from acommon.c:14: ./acommon.h:6:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *ultoan P((unsigned long val,char*dest)), ^ acommon.c:52:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char*ultstr(minwidth,val,dest)int minwidth;unsigned long val;char*dest; ^ In file included from acommon.c:14: ./acommon.h:7:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *ultstr P((int minwidth,unsigned long val,char*dest)); ^ 27 warnings generated. cc -c -O2 -pipe mcommon.c In file included from mcommon.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from mcommon.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ mcommon.c:20:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void qsignal(sig,action)const int sig;void(*action)P((void)); ^ In file included from mcommon.c:12: ./mcommon.h:4:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] qsignal P((const int sig,void(*action)(void))); ^ 25 warnings generated. cc -c -DPROCMAIL -O2 -pipe authenticate.c In file included from authenticate.c:20: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from authenticate.c:20: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ authenticate.c:50:41: warning: '/*' within block comment [-Wcomment] /*#define MAILSPOOLHOME "/.mail" /* watch the leading / */ ^ authenticate.c:62:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void castlower(str)register char*str; /* and I'll take the low road */ ^ authenticate.c:68:28: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static const struct passwd*cgetpwnam(user,sock)const char*const user; ^ authenticate.c:73:28: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static const struct passwd*cgetpwuid(uid,sock)const uid_t uid;const int sock; ^ authenticate.c:80:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=strchr(user,'@')) /* does the username contain an @? */ ~^~~~~~~~~~~~~~~~~ authenticate.c:80:10: note: place parentheses around the assignment to silence this warning if(p=strchr(user,'@')) /* does the username contain an @? */ ^ ( ) authenticate.c:80:10: note: use '==' to turn this assignment into an equality comparison if(p=strchr(user,'@')) /* does the username contain an @? */ ^ == authenticate.c:88:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(authi.mbox),authi.mbox=0; /* clear the reference */ ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:77:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /*const*/auth_identity*auth_finduser(user,sock)char*const user;const int sock; ^ In file included from authenticate.c:39: ./authenticate.h:14:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *auth_finduser P((char*const user,const int sock)), ^ authenticate.c:92:24: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] /*const*/auth_identity*auth_finduid(uid,sock)const uid_t uid;const int sock; ^ authenticate.c:97:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(authi.mbox),authi.mbox=0; /* nix old mailbox reference */ ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:130:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(newpass->mbox),newpass->mbox=0; ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:137:19: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] np->pw_name=cstr(np->pw_name,op->pw_name); ^ authenticate.c:138:18: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] np->pw_dir=cstr(np->pw_dir,op->pw_dir); ^ authenticate.c:139:20: warning: passing arguments to 'cstr' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] np->pw_shell=cstr(np->pw_shell,op->pw_shell); ^ authenticate.c:126:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void auth_copyid(newpass,oldpass)auth_identity*newpass; ^ In file included from authenticate.c:39: ./authenticate.h:32:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] auth_copyid P((auth_identity*newpass,const auth_identity*oldpass)), ^ authenticate.c:148:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=(struct passwd*)pass->pw) ~^~~~~~~~~~~~~~~~~~~~~~~~~ authenticate.c:148:7: note: place parentheses around the assignment to silence this warning if(p=(struct passwd*)pass->pw) ^ ( ) authenticate.c:148:7: note: use '==' to turn this assignment into an equality comparison if(p=(struct passwd*)pass->pw) ^ == authenticate.c:146:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void auth_zeroout(pass)auth_identity*pass; ^ authenticate.c:170:7: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(p=(struct passwd*)pass->pw) ~^~~~~~~~~~~~~~~~~~~~~~~~~ authenticate.c:170:7: note: place parentheses around the assignment to silence this warning if(p=(struct passwd*)pass->pw) ^ ( ) authenticate.c:170:7: note: use '==' to turn this assignment into an equality comparison if(p=(struct passwd*)pass->pw) ^ == authenticate.c:171:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:171:23: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:171:39: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:171:57: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(p->pw_name),free(p->pw_dir),free(p->pw_shell),free(p); ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:173:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(pass->mbox); ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:174:3: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(pass); ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ authenticate.c:167:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] void auth_freeid(pass)auth_identity*pass; ^ In file included from authenticate.c:39: ./authenticate.h:33:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] auth_freeid P((auth_identity*pass)), ^ authenticate.c:177:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int auth_filledid(pass)const auth_identity*pass; ^ In file included from authenticate.c:39: ./authenticate.h:21:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] auth_filledid P((const auth_identity*pass)); ^ authenticate.c:182:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char*auth_mailboxname(pass)auth_identity*const pass; ^ In file included from authenticate.c:39: ./authenticate.h:24:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *auth_mailboxname P((auth_identity*const pass)), ^ authenticate.c:212:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uid_t auth_whatuid(pass)const auth_identity*const pass; ^ In file included from authenticate.c:39: ./authenticate.h:29:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] auth_whatuid P((const auth_identity*const pass)), ^ authenticate.c:216:7: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] uid_t auth_whatgid(pass)const auth_identity*const pass; ^ In file included from authenticate.c:39: ./authenticate.h:30:2: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] auth_whatgid P((const auth_identity*const pass)); ^ authenticate.c:220:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char*auth_homedir(pass)const auth_identity*const pass; ^ In file included from authenticate.c:39: ./authenticate.h:25:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *auth_homedir P((const auth_identity*const pass)), ^ authenticate.c:224:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char*auth_shell(pass)const auth_identity*const pass; ^ In file included from authenticate.c:39: ./authenticate.h:26:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *auth_shell P((const auth_identity*const pass)), ^ authenticate.c:228:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] const char*auth_username(pass)const auth_identity*const pass; ^ In file included from authenticate.c:39: ./authenticate.h:27:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *auth_username P((const auth_identity*const pass)); ^ authenticate.c:235:6: warning: passing arguments to 'tfree' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] free(authi.mbox),authi.mbox=0; /* discard the mailbox reference */ ^ ./shell.h:8:23: note: expanded from macro 'free' #define free(p) tfree(p) ^ 65 warnings generated. cc -c -O2 -pipe lastdirsep.c In file included from lastdirsep.c:11: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from lastdirsep.c:11: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ lastdirsep.c:18:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] while(p=strpbrk(filename,dirsep)) ~^~~~~~~~~~~~~~~~~~~~~~~~~ lastdirsep.c:18:10: note: place parentheses around the assignment to silence this warning while(p=strpbrk(filename,dirsep)) ^ ( ) lastdirsep.c:18:10: note: use '==' to turn this assignment into an equality comparison while(p=strpbrk(filename,dirsep)) ^ == lastdirsep.c:16:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] char*lastdirsep(filename)const char*filename; /* finds the next character */ ^ In file included from lastdirsep.c:12: ./lastdirsep.h:4:3: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype] *lastdirsep P((const char*filename)); ^ 26 warnings generated. cc -O2 -pipe lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile -s -lm -lc acommon.c(acommon.o:(hostname)): warning: strcpy() is almost always misused, please use strlcpy() lockfile.c(lockfile.o:(main)): warning: strcat() is almost always misused, please use strlcat() ln ../src/lockfile ../new/lockfile cd man; /usr/bin/make ../new/lockfile.1 In file included from manconf.c:6: In file included from ./procmail.h:3: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from manconf.c:6: In file included from ./procmail.h:3: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ manconf.c:28:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static char*skltmark(nl,current)int nl;char**current; ^ manconf.c:38:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void putcesc(i)int i; ^ manconf.c:57:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void putsesc(a)const char*a; ^ manconf.c:71:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void pname(name,supps)const char*const name;int supps; ^ manconf.c:84:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void pnr(name,value)const char*const name;const long value; ^ manconf.c:92:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void plist(name,preamble,list,postamble,ifno,andor) ^ manconf.c:111:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void ps(name,value)const char*const name,*const value; ^ manconf.c:115:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] static void pc(name,value)const char*const name;const int value; ^ manconf.c:368:23: warning: while loop has empty body [-Wempty-body] while(*++p=='\t');*(q=strchr(p,'\n'))='\0'; ^ manconf.c:368:23: note: put the semicolon on a separate line to silence this warning manconf.c:119:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv)int argc;const char*const argv[]; ^ 33 warnings generated. manconf.c(/tmp/manconf-1e89e1.o:(pname)): warning: sprintf() is often misused, please use snprintf() /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null ln ../man/lockfile.1 ../new/lockfile.1 In file included from recommend.c:6: In file included from ./includes.h:10: ./../config.h:3:43: warning: '/*' within block comment [-Wcomment] /*#define sMAILBOX_SEPARATOR "\1\1\1\1\n" /* sTART- and eNDing separ. */ ^ ./../config.h:4:43: warning: '/*' within block comment [-Wcomment] /*#define eMAILBOX_SEPARATOR "\1\1\1\1\n" /* uncomment (one or both) ^ ./../config.h:36:58: warning: '/*' within block comment [-Wcomment] /*#define DEFSPATH "PATH=/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:37:66: warning: '/*' within block comment [-Wcomment] /*#define DEFPATH "PATH=$HOME/bin:/usr/local/bin:/bin:/usr/bin" /* */ ^ ./../config.h:49:28: warning: '/*' within block comment [-Wcomment] /*#define GROUP_PER_USER /* uncomment this if each ^ ./../config.h:55:20: warning: '/*' within block comment [-Wcomment] /*#define LMTP /* uncomment this if you ^ ./../config.h:80:26: warning: '/*' within block comment [-Wcomment] /*#define NO_fcntl_LOCK /* uncomment any of these three if you */ ^ ./../config.h:81:26: warning: '/*' within block comment [-Wcomment] /*#define NO_lockf_LOCK /* definitely do not want procmail to make */ ^ ./../config.h:82:26: warning: '/*' within block comment [-Wcomment] /*#define NO_flock_LOCK /* use of those kernel-locking methods */ ^ ./../config.h:88:29: warning: '/*' within block comment [-Wcomment] /*#define RESTRICT_EXEC 100 /* uncomment to prevent users with uids equal ^ ./../config.h:94:29: warning: '/*' within block comment [-Wcomment] /*#define NO_NFS_ATIME_HACK /* uncomment if you're definitely not using ^ ./../config.h:101:44: warning: '/*' within block comment [-Wcomment] /*#define DEFsendmail "/usr/sbin/sendmail" /* uncomment and/or change if ^ ./../config.h:134:34: warning: '/*' within block comment [-Wcomment] /*#define console "/dev/console" /* uncomment if you want procmail to ^ In file included from recommend.c:6: ./includes.h:29:5: warning: '/*' within block comment [-Wcomment] /* fork() getuid() geteuid() getgid() getegid() ^ ./includes.h:38:5: warning: '/*' within block comment [-Wcomment] /* fopen() fread() fwrite() fgetc() getc() ^ ./includes.h:49:5: warning: '/*' within block comment [-Wcomment] /* strtol() strtod() exit() EXIT_SUCCESS */ ^ ./includes.h:53:5: warning: '/*' within block comment [-Wcomment] /* O_APPEND O_CREAT O_EXCL */ ^ ./includes.h:58:5: warning: '/*' within block comment [-Wcomment] /* struct dirent */ ^ ./includes.h:62:5: warning: '/*' within block comment [-Wcomment] /* WEXITSTATUS() WTERMSIG() WNOHANG */ ^ ./includes.h:70:5: warning: '/*' within block comment [-Wcomment] /* chmod() mkdir() */ ^ ./includes.h:72:5: warning: '/*' within block comment [-Wcomment] /* SIGINT SIGQUIT SIGALRM SIGTERM */ ^ ./includes.h:75:5: warning: '/*' within block comment [-Wcomment] /* strspn() strcspn() strchr() strcmp() ^ ./includes.h:84:5: warning: '/*' within block comment [-Wcomment] /* LOG_ALERT LOG_CRIT LOG_ERR LOG_NOTICE ^ recommend.c:32:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ recommend.c:41:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if(grp=getgrgid(gid)) ~~~^~~~~~~~~~~~~~ recommend.c:41:12: note: place parentheses around the assignment to silence this warning if(grp=getgrgid(gid)) ^ ( ) recommend.c:41:12: note: use '==' to turn this assignment into an equality comparison if(grp=getgrgid(gid)) ^ == recommend.c:43:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ recommend.c:15:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int main(argc,argv)const int argc;const char*const argv[]; ^ 27 warnings generated. ================================================================ =============== If you are a system administrator you should consider integrating procmail into the mail-delivery system -- for advanced functionality, speed AND SECURITY --. For more information about this topic you should look in the examples/advanced file. Also, HIGHLY RECOMMENDED (type 'make install-suid' to execute it): chown root /usr/local/bin/procmail chgrp wheel /usr/local/bin/procmail /usr/local/bin/lockfile chmod 6755 /usr/local/bin/procmail chmod 2755 /usr/local/bin/lockfile chmod g+w /var/mail/. ================================================================ =============== If you would like to inspect the results before running make install: All installable files can be found in the new/ subdirectory. >>> Running package in sysutils/lockfile at 1713379737.22 ===> sysutils/lockfile ===> Faking installation for lockfile-3.24 cd /exopi-obj/pobj/lockfile-3.24/procmail-3.24/new; /exopi-obj/pobj/lockfile-3.24/bin/install -c -s -m 755 lockfile /exopi-obj/pobj/lockfile-3.24/fake-amd64/usr/local/bin; /exopi-obj/pobj/lockfile-3.24/bin/install -c -m 644 lockfile.1 /exopi-obj/pobj/lockfile-3.24/fake-amd64/usr/local/man/man1 ===> Building package for lockfile-3.24 Create /exopi-cvs/ports/packages/amd64/all/lockfile-3.24.tgz Creating package lockfile-3.24 reading plist| checking dependencies| checksumming| checksumming| | 0% checksumming|***** | 8% checksumming|********** | 17% checksumming|*************** | 25% checksumming|******************** | 33% checksumming|************************* | 42% checksumming|******************************* | 50% checksumming|************************************ | 58% checksumming|***************************************** | 67% checksumming|********************************************** | 75% checksumming|*************************************************** | 83% checksumming|******************************************************** | 92% checksumming|*************************************************************|100% archiving| archiving| | 0% archiving|* | 2% archiving|************************************************ | 75% archiving|****************************************************************|100% Link to /exopi-cvs/ports/packages/amd64/ftp/lockfile-3.24.tgz >>> Running clean in sysutils/lockfile at 1713379741.10 ===> sysutils/lockfile ===> Cleaning for lockfile-3.24 >>> Ended at 1713379742.29 max_stuck=0.00/build=15.93/package=3.66/clean=1.57