Cook: mailx 12.4
================================================================================
QA: checking package receipt...
Extracting source archive "mailx-12.4.tar.bz2"

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 ./makeconfig
checking if a hello world program can be built ... okay
checking for <alloca.h> ... okay
checking for alloca() ... okay
checking for ssize_t ... okay
checking for snprintf() ... okay
checking for fchdir() ... okay
checking for mmap() ... okay
checking for mremap() ... no
checking for iconv functionality ... okay
checking for wctype functionality ... okay
checking for wcwidth()  ... okay
checking for mbtowc() ... okay
checking for setlocale() ... okay
checking for nl_langinfo() ... okay
checking for mkstemp() ... okay
checking for fpathconf() ... okay
checking for wordexp() ... okay
checking for <arpa/inet.h> ... okay
checking for socket functionality in libc ... okay
checking for Network Security Services (NSS) ... no
checking for sufficiently recent OpenSSL ... no
checking for GSSAPI in libgss ... no
checking for GSSAPI in libgssapi_krb5 ... no
checking for GSSAPI in libgssapi_krb5, old-style ... no
checking for GSSAPI in libgssapi ... no

The following optional features are enabled:
 + Locale support: Printable characters depend on the environment
 + Multibyte character support
 + Character set conversion using iconv()
 + Automatic detection of terminal character set
 + Networking support (IMAP, POP3, and SMTP)

The following optional features are disabled:
 - IMAP GSSAPI authentication
 - SSL/TLS (network transport authentication and encryption)

Remarks:

cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c aux.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c base64.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c cache.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c cmd1.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c cmd2.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c cmd3.c
cmd1.c: In function 'hprf':
cmd1.c:455:15: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
      if ((n = wcwidth(wc)) < 0)
               ^~~~~~~
cache.c: In function 'putcache':
cache.c:313:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(fileno(obuf), 0);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~
aux.c: In function 'colalign':
aux.c:348:14: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration]
     if ((n = wcwidth(wc)) < 0)
              ^~~~~~~
cache.c: In function 'dequeue1':
cache.c:797:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
    ftruncate(fileno(fp), 0);
    ^~~~~~~~~~~~~~~~~~~~~~~~
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c cmdtab.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c collect.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c dotlock.c
dotlock.c: In function 'create_exclusive':
dotlock.c:143:3: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
   setgid(realgid);
   ^~~~~~~~~~~~~~~
dotlock.c:146:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
    write(fd, apid, strlen(apid));
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dotlock.c:160:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
  setgid(realgid);
  ^~~~~~~~~~~~~~~
dotlock.c:174:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
  setgid(realgid);
  ^~~~~~~~~~~~~~~
dotlock.c: In function 'dot_unlock':
dotlock.c:277:2: warning: ignoring return value of 'setgid', declared with attribute warn_unused_result [-Wunused-result]
  setgid(realgid);
  ^~~~~~~~~~~~~~~
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c edit.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c fio.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c getname.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c getopt.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c head.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c hmac.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c imap.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c imap_search.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c junk.c
imap.c: In function 'imap_dequeue':
imap.c:3160:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(fp), 0);
  ^~~~~~~~~~~~~~~~~~~~~~~~
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c lex.c
In file included from rcv.h:65,
                 from junk.c:46:
junk.c: In function 'putdb':
def.h:590:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(stream), (off_t)ftell(stream));  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
junk.c:366:3: note: in expansion of macro 'trunc'
   trunc(sfp);
   ^~~~~
def.h:590:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(stream), (off_t)ftell(stream));  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
junk.c:375:3: note: in expansion of macro 'trunc'
   trunc(nfp);
   ^~~~~
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c list.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c lzw.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c macro.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c maildir.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c main.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c md5.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c mime.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c names.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c nss.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c openssl.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c pop3.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c popen.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c quit.c
popen.c: In function 'compress':
popen.c:403:3: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
   ftruncate(output, 0);
   ^~~~~~~~~~~~~~~~~~~~
In file included from rcv.h:65,
                 from quit.c:45:
quit.c: In function 'quit':
def.h:590:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(stream), (off_t)ftell(stream));  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quit.c:303:3: note: in expansion of macro 'trunc'
   trunc(abuf);
   ^~~~~
quit.c: In function 'edstop':
def.h:590:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(stream), (off_t)ftell(stream));  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quit.c:549:2: note: in expansion of macro 'trunc'
  trunc(obuf);
  ^~~~~
quit.c: In function 'writeback':
def.h:590:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(stream), (off_t)ftell(stream));  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quit.c:113:2: note: in expansion of macro 'trunc'
  trunc(obuf);
  ^~~~~
quit.c: In function 'makembox':
def.h:590:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result]
  ftruncate(fileno(stream), (off_t)ftell(stream));  \
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quit.c:452:2: note: in expansion of macro 'trunc'
  trunc(obuf);
  ^~~~~
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c send.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c sendout.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c smtp.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c ssl.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c strings.c
sendout.c: In function 'start_mta':
sendout.c:876:3: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
   freopen("/dev/null", "r", stdin);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c temp.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c thread.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c tty.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c v7.local.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c vars.c
cc -march=i486 -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1 -DMAILRC='"/etc/nail.rc"' -DMAILSPOOL='"/var/mail"' -DSENDMAIL='"/usr/sbin/sendmail"'    -c version.c
cc -Wl,-Os,--as-needed aux.o base64.o cache.o cmd1.o cmd2.o cmd3.o cmdtab.o collect.o dotlock.o edit.o fio.o getname.o getopt.o head.o hmac.o imap.o imap_search.o junk.o lex.o list.o lzw.o macro.o maildir.o main.o md5.o mime.o names.o nss.o openssl.o pop3.o popen.o quit.o send.o sendout.o smtp.o ssl.o strings.o temp.o thread.o tty.o v7.local.o vars.o version.o `grep '^[^#]' LIBS`  -o mailx
test -d /home/slitaz/wok/mailx/install/usr/bin || mkdir -p /home/slitaz/wok/mailx/install/usr/bin
/usr/bin/install -c mailx /home/slitaz/wok/mailx/install/usr/bin/mailx
strip /home/slitaz/wok/mailx/install/usr/bin/mailx
test -d /home/slitaz/wok/mailx/install/usr/share/man/man1 || mkdir -p /home/slitaz/wok/mailx/install/usr/share/man/man1
/usr/bin/install -c -m 644 mailx.1 /home/slitaz/wok/mailx/install/usr/share/man/man1/mailx.1
test -d /home/slitaz/wok/mailx/install/etc || mkdir -p /home/slitaz/wok/mailx/install/etc
test -f /home/slitaz/wok/mailx/install/etc/nail.rc || \
	/usr/bin/install -c -m 644 nail.rc /home/slitaz/wok/mailx/install/etc/nail.rc
================================================================================

Executing strip on all files...                                        Done
  Time: 2.73s. Size: 251608 B -> 251608 B. Save: 0 KB.
Installing (pkg/local): advancecomp-static-2.1-i486
Compressing man pages...                                               Done
  Time: 1.41s. Size: 134343 B -> 39776 B. Save: 92 KB. Cache hit: 1/1.
================================================================================


Build dependencies to remove: 1
Removing: advancecomp-static


Pack: mailx 12.4
================================================================================
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 "mailx-12.4-i486.tazpkg"                          Done
The release checksum has changed.
================================================================================
Package "mailx-12.4-i486.tazpkg" created


Post-check
================================================================================
Checking build...                                                      Done
Checking 'any' arch...                                                 Done
Checking libtool in source/mailx-12.4...                               Done
Checking site script in source/mailx-12.4...                           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: mailx 12.4
================================================================================
Src file    : mailx-12.4.tar.bz2
Src size    : 268.0K
Source dir  : 2.2M
Produced    : 320.0K
Cook time   : 14s
Cook date   : 2020-07-07 13:52
Target arch : i486
--------------------------------------------------------------------------------
 # :  Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
 1 :  284.0K :     111.7K :     4 : mailx-12.4-i486.tazpkg
================================================================================