Cook: procmail 3.22 ================================================================================ QA: checking package receipt... Extracting source archive "procmail-3.22.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed /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 "make" o \ "cc" "-O " "-s " "procmail lockfile formail mailstat" \ "procmail formail lockfile" \ "procmailrc procmailsc procmailex" "src man" \ "/home/slitaz/wok/procmail/install/usr/bin" \ "strip" ***************************** WARNING ********************************* * You seem to have set the LD_LIBRARY_PATH variable, this might cause * * some trouble during the compilation of this package. If the make * * does not finish by itself, do a: "make clean", clear * * LD_LIBRARY_PATH from the environment, and start over. * ***************************** WARNING ********************************* cc seems to work fine, using that as the C-compiler ...scanning for 13 libraries... ...scanning for 13 libraries... ...scanning for 13 libraries... ...scanning for 3 libraries... ...scanning for 3 libraries... Inconsistent libraries found, trying to accomodate... ...trying -lm -lnsl ...trying -lm -ldl Added LDFLAGS=-lm -ldl -lc cd src; make ../autoconf.h echo Housekeeping file >config.check make[1]: Entering directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' /bin/sh ./autoconf /bin/sh "/bin/rm -f" "mv -f" /dev/null \ "grep -F" "make" o "__defaults__" \ "/home/slitaz/wok/procmail/install/usr/bin" ../autoconf.h ============================================================================== In order for the kernel-locking tests to work as intended I have to be able to test-lock files on as many semantically different filesystems as possible (for more information about this, READ PARAGRAPH TWO in INSTALL). To suppress this prompt you can set the LOCKINGTEST variable in the Makefile.  Please add writable directories to the list. You should only add directories that reside on filesystems that have unique characteristics. E.g. if you have several remote NFS partitions, pick some unique client-server pairs, there is little use in picking the same server twice from the same client-machine. An excellent candidate would be a remotely mounted mail spool directory. ============================================================================== I will temporarily use a testdirectory named _locktest in the following directories: /tmp . If you would like to add any, please specify them below, press return to continue: Initiating fcntl()/kernel-locking-support tests Proceeding with kernel-locking-support tests in the background Testing for const Testing for volatile Testing for prototypes Testing for enum 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 Could not find the system-mailbox directory, supplied default. Waiting for the kernel-locking tests to finish... Every two digits a file is locked. First digit: which file, second digit: which program, XX indicates a lock conflict or failure Starting test 4 on /tmp/_locktest 07 10 05 11 04 13 06 01 15 00 17 05 16 13 07 14 07 12 03 11 06 15 06 15 04 17 01 13 05 12 03 07 14 10 07 13 00 17 07 15 15 14 11 10 13 14 03 12 16 02 06 05 11 06 14 01 10 14 00 11 12 Starting test 4 on ./_locktest 04 17 05 03 16 02 16 01 13 12 01 17 03 16 07 14 06 15 03 17 05 16 04 15 01 13 02 14 07 11 02 14 01 06 17 15 03 12 04 17 00 16 14 05 16 02 14 07 11 02 06 14 03 11 00 12 01 00 15 02 13 15 03 15 Starting test 6 on /tmp/_locktest 15 16 02 17 05 13 00 14 13 06 14 07 15 07 05 17 03 14 07 16 04 15 13 07 06 12 05 17 13 07 16 03 17 06 15 03 14 05 16 06 04 04 16 04 11 12 11 12 12 12 12 11 17 11 03 11 12 11 01 10 Starting test 6 on ./_locktest 17 01 15 07 14 02 13 07 11 07 14 00 15 04 11 05 17 11 15 01 17 05 01 16 07 15 07 15 06 17 05 13 06 14 06 12 03 03 16 03 12 03 15 04 02 10 11 02 02 10 03 14 02 14 10 03 01 16 07 11 04 06 02 Starting test 7 on /tmp/_locktest 07 11 06 03 16 12 04 01 17 01 16 14 01 17 02 10 01 16 00 01 14 13 05 16 01 12 06 13 17 04 12 00 15 06 11 02 17 03 14 06 15 12 05 01 13 14 07 16 03 14 07 15 02 15 04 03 15 02 13 04 12 07 00 Starting test 7 on ./_locktest 12 03 11 12 07 04 10 07 12 07 14 02 13 04 17 17 06 11 06 07 11 06 14 01 10 05 17 01 10 04 16 03 02 14 07 13 01 16 05 16 05 17 02 11 04 12 12 05 14 03 15 11 06 02 13 14 06 03 15 15 00 13 05 13 Collecting results from kernel-locking tests =============================autoconf.h=================================== /* This file was automagically generated by autoconf */ /* 5 moves in 64 steps of size 16384 when reallocing */ #define NOpw_passwd #define NOpw_class #define NOpw_gecos #define NOstrlcat #define NOsetrgid #define MAX_argc 83725 /* Your system's strstr() is 2.27 times FASTER than my C-routine */ #define NO_COMSAT #define TOGGLE_SGID_OK #define MAILSPOOLDIR "/var/spool/mail/" #define SENDMAIL "/usr/sbin/sendmail" #define CF_no_procmail_yet #define buggy_SENDMAIL #define defPATH "PATH=$HOME/bin:/bin:/usr/bin" #define defSPATH "PATH=/bin:/usr/bin" #define PM_VERSION "3.22" /*locktype: 4, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 4, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /*locktype: 6, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 6, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /*locktype: 7, countlocks: 0, timeout 0, watchdog 8, /tmp/_locktest*/ /*locktype: 7, countlocks: 0, timeout 0, watchdog 8, ./_locktest*/ /* Hotwire LOCKINGTEST=111 */ /* Procmail will lock via: dotlocking, fcntl(), lockf(), flock() */ #define USElockf #define USEflock /* autoconf completed */ ========================================================================== make[1]: Leaving directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat cd man; make ../new/procmail.1 ../new/formail.1 ../new/lockfile.1 ../new/procmailrc.5 ../new/procmailsc.5 ../new/procmailex.5 make[1]: Entering directory '/home/slitaz/wok/procmail/source/procmail-3.22/man' make[1]: Entering directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' make[1]: Entering directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' cc -c -O procmail.c cc -c -O cstdio.c cc -c -O sublib.c cc -c -O common.c make[2]: Entering directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' procmail.c: In function 'main': procmail.c:498:2: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(uid); /* make sure we have enough space */ ^~~~~~~~~~~ manconf.c: In function 'pname': manconf.c:77:52: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result] { sprintf(filebuf,"%s.%04d",*gargv,filecount++);freopen(filebuf,"w",stdout); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -O exopen.c cc -c -O goodies.c make[1]: Leaving directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' cc -c -O locking.c =============================================================================== 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/bin/procmail chmod 4755 /usr/bin/procmail exopen.c: In function 'unique': =============================================================================== exopen.c:116:6: warning: ignoring return value of 'nice', declared with attribute warn_unused_result [-Wunused-result] nice(nicediff); /* put back the priority to the old level */ ^~~~~~~~~~~~~~ cc -c -O mailfold.c make[2]: Leaving directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' /bin/sh ./mansed /bin/sh procmail.man procmail.1 "/bin/rm -f" /dev/null cc -c -O foldinfo.c /bin/sh ./mansed /bin/sh formail.man formail.1 "/bin/rm -f" /dev/null locking.c: In function 'lockit': locking.c:103:6: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(gid); /* we put back our regular permissions */ ^~~~~~~~~~~~ locking.c: In function 'unlock': locking.c:136:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(sgid); /* try and get some extra permissions */ ^~~~~~~~~~~~~ locking.c:141:2: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(gid); /* we put back our regular permissions */ ^~~~~~~~~~~~ locking.c: In function 'fdlock': locking.c:221:9: warning: ignoring return value of 'lockf', declared with attribute warn_unused_result [-Wunused-result] { lockf(fd,F_ULOCK,(off_t)0); ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -O misc.c mailfold.c: In function 'readmail': mailfold.c:374:6: warning: type of 'rhead' defaults to 'int' [-Wimplicit-int] void readmail(rhead,tobesent)const long tobesent; ^~~~~~~~ /bin/sh ./mansed /bin/sh lockfile.man lockfile.1 "/bin/rm -f" /dev/null /bin/sh ./mansed /bin/sh procmailrc.man procmailrc.5 "/bin/rm -f" /dev/null cc -c -O pipes.c cc -c -O regexp.c foldinfo.c: In function 'rnmbogus': foldinfo.c:60:12: warning: implicit declaration of function 'ultoan'; did you mean 'tan'? [-Wimplicit-function-declaration] *p++='.';ultoan((unsigned long)stbuf->st_ino,p); /* i-node numbered */ ^~~~~~ tan In file included from procmail.h:3, from misc.c:13: misc.c: In function 'setids': includes.h:376:22: warning: ignoring return value of 'setreuid', declared with attribute warn_unused_result [-Wunused-result] #define setruid(uid) setreuid(uid,-1) ^~~~~~~~~~~~~~~~ misc.c:99:6: note: in expansion of macro 'setruid' setruid(uid); ^~~~~~~ misc.c:102:6: warning: ignoring return value of 'setegid', declared with attribute warn_unused_result [-Wunused-result] setegid(gid); ^~~~~~~~~~~~ cc -c -O robust.c cc -c -O acommon.c cc -c -O mcommon.c cc -c -O lastdirsep.c cc -c -DPROCMAIL -O authenticate.c cc -c -O lmtp.c cc -c -O memblk.c cc -c -O variables.c cc -c -O from.c cc -c -O comsat.c cc -c -O lockfile.c cc -c -O formail.c cc -c -O fields.c cc -c -O formisc.c cc -c -O ecommon.c lockfile.c: In function 'elog': lockfile.c:54:3: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] { write(STDERR,a,strlen(a)); ^~~~~~~~~~~~~~~~~~~~~~~~~ formisc.c: In function 'startprog': formisc.c:162:3: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] dup(oldstdout); ^~~~~~~~~~~~~~ formisc.c:175:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result [-Wunused-result] pipe(poutfd); ^~~~~~~~~~~~ formisc.c:194:51: warning: ignoring return value of 'dup', declared with attribute warn_unused_result [-Wunused-result] { close(STDIN);close(oldstdout);close(PWRO);dup(PRDO);close(PRDO); ^~~~~~~~~ cp ../examples/mailstat mailstat ln ../src/mailstat ../new/mailstat cc -O lockfile.o exopen.o sublib.o acommon.o mcommon.o authenticate.o lastdirsep.o -o lockfile -s -lm -ldl -lc cc -O procmail.o cstdio.o common.o exopen.o goodies.o locking.o mailfold.o foldinfo.o misc.o pipes.o regexp.o robust.o sublib.o acommon.o mcommon.o lastdirsep.o authenticate.o lmtp.o memblk.o variables.o from.o comsat.o -o procmail -s -lm -ldl -lc ln ../src/lockfile ../new/lockfile /bin/sh ./mansed /bin/sh procmailsc.man procmailsc.5 "/bin/rm -f" /dev/null /bin/sh ./mansed /bin/sh procmailex.man procmailex.5 "/bin/rm -f" /dev/null ln ../man/procmail.1 ../new/procmail.1 ln ../man/formail.1 ../new/formail.1 ln ../man/lockfile.1 ../new/lockfile.1 ln ../man/procmailrc.5 ../new/procmailrc.5 ln ../src/procmail ../new/procmail ln ../man/procmailsc.5 ../new/procmailsc.5 ln ../man/procmailex.5 ../new/procmailex.5 make[1]: Leaving directory '/home/slitaz/wok/procmail/source/procmail-3.22/man' cc -O formail.o common.o fields.o formisc.o sublib.o ecommon.o acommon.o -o formail -s -lm -ldl -lc ln ../src/formail ../new/formail make[1]: Leaving directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' If you would like to inspect the results before running make install: All installable files can be found in the new/ subdirectory. cd src; make ../new/procmail ../new/lockfile ../new/formail ../new/mailstat make[1]: Entering directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' make[1]: '../new/procmail' is up to date. make[1]: '../new/lockfile' is up to date. make[1]: '../new/formail' is up to date. make[1]: '../new/mailstat' is up to date. make[1]: Leaving directory '/home/slitaz/wok/procmail/source/procmail-3.22/src' cp new/procmail new/lockfile new/formail new/mailstat /home/slitaz/wok/procmail/install/usr/bin echo Housekeeping file >install.bin ================================================================================ Executing strip on all files... Done Time: 0.28s. Size: 147608 B -> 147608 B. Save: 0 KB. ================================================================================ Pack: procmail 3.22 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "procmail-3.22-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "procmail-3.22-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/procmail-3.22... Done Checking site script in source/procmail-3.22... Done Checking ownership in install... Done Checking permissions in install... Done Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: procmail 3.22 ================================================================================ Src file : procmail-3.22.tar.gz Src size : 224.0K Source dir : 1.5M Produced : 172.0K Cook time : 44s Cook date : 2020-07-07 19:10 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 192.0K : 55.3K : 5 : procmail-3.22-i486.tazpkg ================================================================================