+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/s-nail-14.9.22nb1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/s-nail-14.9.22nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for s-nail-14.9.22nb1
SunOS/Solaris, redirecting through $SHELL=/usr/xpg4/bin/sh
Operating system is SunOS
Checking for basic utility set
Setting up configuration options ... done
Joining in ./make.rc ... done
 . have special SunOS / Solaris "setup" rules ...
Whatever $CC, turning off stack protection (see INSTALL)!
Checking for remaining set of utilities
Evaluating all configuration items ... done
Using C compiler ${CC}=gcc
 . CC compiles "Hello world" .. yes
 . Compiled program works .. yes
Shiny configuration..
 . OS error mapping table generated ... yes
 . clock_gettime(2) ... yes
 . nanosleep(2) ... yes
 . gete?[gu]id(2), getpwuid(3), getpwnam(3) ... yes
 . ftruncate(2) ... yes
 . SA_RESTART (for sigaction(2)) ... yes
 . snprintf(3) ... yes
 . environ(3) ... yes
 . (un)?setenv(3) ... yes
 . termios.h and tc*(3) family ... yes
 . vsnprintf(3) ... yes
 . va_copy(3) (as va_copy) ... yes
 . f?pathconf(2) ... yes
 . pipe2(2) ... yes
 . tcgetwinsize(3) ... no
 . utimensat(2) ... yes
 . putc_unlocked(3) ... yes
 . fchdir(3) ... yes
 . realpath(3) ... yes
 . realpath(3) takes NULL ... yes
 . readlink(2) ... yes
 . fchown(2) ... yes
 . prctl(2) + PR_SET_DUMPABLE ... no
 . ptrace(2) + PT_DENY_ATTACH ... no
 . setpflags(2) + __PROC_PROTECT ... yes
 . setlocale(3) ... yes
 . ISO/IEC 9899:1990/Amendment 1:1995 ... yes
 . wcwidth(3) ... yes
 . nl_langinfo(3) ... yes
 . fnmatch(3) ... yes
 . struct dirent.d_type ... no
 . iconv(3) ... yes
WARN: will restrict iconv(3) tests due to unknown replacement
 . AF_UNIX sockets ... no
 . AF_UNIX sockets (via -lnsl) ... no
 . AF_UNIX sockets (via -lsocket -lnsl) ... yes
 . sockets ... yes
 . [gs]etsockopt(2) ... yes
 . non-blocking sockets ... yes
 . getaddrinfo(3) ... yes
 . SO_{RCV,SND}TIMEO ... yes
 . SO_LINGER ... yes
 . TLS (LibreSSL) ... no
 . TLS (OpenSSL >= v3.0.0) ... no
 . TLS (OpenSSL >= v1.1.1) ... yes
 . TLS new style TLS_client_method(3ssl) ... yes (deduced)
 . *SSL STACK_OF() ... yes (deduced)
 . TLS OpenSSL_modules_load_file(3ssl) ... yes (deduced)
 . TLS SSL_CONF_CTX support ... yes (deduced)
 . TLS SSL_CTX_config(3ssl) ... yes (deduced)
 . TLS SSL_CTX_set_min_proto_version(3ssl) ... yes (deduced)
 . TLSv1.3 SSL_CTX_set_ciphersuites(3ssl) ... yes (deduced)
 . TLS_ALL_ALGORITHMS support ... yes (deduced)
 . TLS: BLAKE2 digests ... yes
 . TLS: SHA-3 digests ... yes
 . TLS: MD5 digest ... yes
 . VAL_RANDOM: arc4random(3) ... yes
 . GSS-API via krb5-config(1) ... yes
 . OPT_IDNA->VAL_IDNA: idnkit ... no
 . OPT_IDNA->VAL_IDNA: GNU Libidn2 ... yes
 . regular expressions ... yes
 . terminfo(5) (via -ltinfo) ... no
 . terminfo(5) (via -lcurses) ... yes
 .  (disabled: OPT_ALWAYS_UNICODE_LOCALE)
 .  (disabled: OPT_CROSS_BUILD)
 .  (disabled: OPT_SPAM_SPAMC)
Creating object make rules

The following features are included (+) or not (-):
+ locales: Locale support - printable characters etc. depend on environment
+ multibyte-charsets: Multibyte character sets
+ terminal-charset: Automatic detection of terminal character set
+ wide-glyphs: Wide glyph support
+ cmd-csop: csop command: C-style string operations
+ cmd-vexpr: vexpr command: evaluate arguments as expressions
+ colour: Coloured message display
+ docstrings: Command documentation help strings
+ dotlock: Dotlock files and privilege-separated dotlock program
+ errors: Log message ring
+ filter-html-tagsoup: Simple built-in HTML-to-text display filter
+ filter-quote-fold: Extended *quote-fold*ing filter
+ iconv: Character set conversion using iconv(3)
+ idna: Internationalized Domain Names for Applications (encode only)
+ imap-search: IMAP-style search expressions
+ mailcap: MIME type handlers defined via mailcap file(s)
+ maildir: Maildir E-mail directories
+ mle: Mailx Line Editor
+ history: Line editor history management
+ key-bindings: Configurable key bindings
+ termcap: Terminal capability queries (termcap(5))
+ termcap-via-terminfo: Terminal capability queries use terminfo(5)
+ mta-aliases: MTA aliases(5) (text file) support
+ regex: Regular expressions
+ net: Network support
+ gssapi: Generic Security Service authentication
+ imap: IMAP v4r1 client
+ md5: MD5 message digest (APOP, CRAM-MD5)
+ netrc: .netrc file support
+ pop3: Post Office Protocol Version 3 client
+ smtp: Simple Mail Transfer Protocol client
+ tls: Transport Layer Security (OpenSSL / LibreSSL)
+ tls-all-algorithms: Support of all digest and cipher algorithms
+ spam-filter: Freely configurable *spam-filter-..*s
- spam-spamc: Spam management via spamc(1) of spamassassin(1)
+ uistrings: User interface and error message strings
- cross-build: Cross-compilation: trust any detected environment
- debug: Debug enabled binary, not for end-users: THANKS!
- devel: Computers do not blunder
+ mime: Multipurpose Internet Mail Extensions
+ smime: S/MIME message signing, verification, en- and decryption
Setup:
 . System-wide resource file: /opt/pkg/share/examples/s-nail/s-nail.rc
 . bindir: /opt/pkg/bin
 . libexecdir: /opt/pkg/libexec
 . mandir: /opt/pkg/share/man
 . M(ail)T(ransfer)A(gent): /usr/lib/sendmail (argv0: sendmail)
 . $MAIL spool directory: /var/mail
 . Built-in $MAILCAPS path search: ~/.mailcap:/etc/mailcap:/usr/etc/mailcap:/usr/local/etc/mailcap
  GEN urc.rc
  CC mx-001.o
  CC mx-002.o
  CC mx-003.o
  CC mx-004.o
  CC mx-005.o
  CC mx-006.o
  CC mx-007.o
  CC mx-008.o
  CC mx-009.o
  CC mx-010.o
  CC mx-011.o
  CC mx-012.o
  CC mx-013.o
  CC mx-014.o
  CC mx-015.o
  CC mx-016.o
  CC mx-017.o
  CC mx-018.o
  CC mx-019.o
  CC mx-020.o
  CC mx-021.o
  CC mx-022.o
  CC mx-023.o
  CC mx-024.o
  CC mx-025.o
  CC mx-026.o
  CC mx-027.o
  CC mx-028.o
  CC mx-029.o
  CC mx-030.o
  CC mx-031.o
  GEN gen-bltin-rc.h
  CC mx-033.o
  CC mx-034.o
  CC mx-035.o
  CC mx-036.o
  CC mx-037.o
  CC mx-038.o
  CC mx-039.o
  CC mx-040.o
  CC mx-041.o
  CC mx-042.o
  CC mx-043.o
  GEN gen-mime-types.h
  CC mx-045.o
  CC mx-046.o
  CC mx-047.o
  CC mx-048.o
  CC mx-049.o
  CC mx-050.o
  CC mx-051.o
  CC mx-052.o
  CC mx-053.o
  CC mx-054.o
  CC mx-055.o
  CC mx-056.o
  CC mx-057.o
  CC mx-058.o
  CC mx-059.o
  CC mx-060.o
  CC mx-061.o
  CC mx-062.o
  CC mx-063.o
  CC mx-064.o
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c: In function 'a_termcap_load':
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c:468:25: warning: passing argument 1 of 'setupterm' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  468 |    if(!(rv = (setupterm(term, fileno(mx_tty_fp), &err) == OK)))
      |                         ^~~~
In file included from /usr/xpg4/include/curses.h:43,
                 from /home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c:40:
/usr/xpg4/include/term.h:591:22: note: expected 'char *' but argument is of type 'const char *'
  591 | extern int setupterm(char *, int, int *);
      |                      ^~~~~~
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c: In function 'a_termcap_ent_query':
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c:485:28: warning: passing argument 1 of 'tigetflag' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  485 |       if(!(rv = (tigetflag(cname) > 0)))
      |                            ^~~~~
/usr/xpg4/include/term.h:597:22: note: expected 'char *' but argument is of type 'const char *'
  597 | extern int tigetflag(char *);
      |                      ^~~~~~
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c:490:24: warning: passing argument 1 of 'tigetnum' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  490 |       int r = tigetnum(cname);
      |                        ^~~~~
/usr/xpg4/include/term.h:598:21: note: expected 'char *' but argument is of type 'const char *'
  598 | extern int tigetnum(char *);
      |                     ^~~~~~
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c:501:21: warning: passing argument 1 of 'tigetstr' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  501 |       cp = tigetstr(cname);
      |                     ^~~~~
/usr/xpg4/include/term.h:599:23: note: expected 'char *' but argument is of type 'const char *'
  599 | extern char *tigetstr(char *);
      |                       ^~~~~~
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c: In function 'mx_termcap_cmd':
/home/pbulk/build/mail/s-nail/work/s-nail-14.9.22/src/mx/termcap.c:797:25: warning: passing argument 1 of 'tparm' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
  797 |          if((cp = tparm(cp, a1, a2, 0,0,0,0,0,0,0)) == NULL)
      |                         ^~
/usr/xpg4/include/term.h:601:9: note: expected 'char *' but argument is of type 'const char *'
  601 |         char *, long, long, long, long, long, long, long, long, long);
      |         ^~~~~~
  CC mx-065.o
  CC mx-066.o
  CC mx-067.o
  CC mx-068.o
  CC mx-069.o
  CC mx-070.o
  CC mx-071.o
  CC mx-072.o
  CC su-001.o
  CC su-002.o
  CC su-003.o
  CC su-004.o
  CC su-005.o
  CC su-006.o
  CC su-007.o
  CC su-008.o
  CC su-009.o
  CC su-010.o
  CC su-011.o
  CC su-012.o
  CC su-013.o
  CC su-014.o
  CC su-015.o
  CC su-016.o
  CC su-017.o
  CC su-018.o
  CC su-019.o
  GEN uman.1
  CC ps-dotlock-001.o
  CC mx-032.o
  CC mx-044.o
  LINK s-nail-dotlock
9070 + 1144 + 2672 = 12886
  LINK s-nail
870329 + 3272 + 26432 = 900033