+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qpopper-4.1.0nb7/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qpopper-4.1.0nb7/work.log
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for qpopper-4.1.0nb7
--- popper_server ---
cd ./popper  && /opt/local/bin/bmake all
--- mangler_library ---
--- common_library ---
--- main-stand.o ---
--- pop_init-stand.o ---
--- common_library ---
cd ../common && /opt/local/bin/bmake all
--- mangler_library ---
cd ../mmangle && /opt/local/bin/bmake all
--- main-stand.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX -DSTANDALONE  -o main-stand.o main.c
--- pop_init-stand.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX -DSTANDALONE  -o pop_init-stand.o pop_init.c
--- mangler_library ---
--- mime.o ---
--- common_library ---
--- flock.o ---
--- mangler_library ---
gcc -c -I.. -I. -I.. -I../popper  -I../common -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX mime.c -o mime.o
--- common_library ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX flock.c -o flock.o
--- maillock.o ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX maillock.c -o maillock.o
--- main.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX main.c -o main.o
--- common_library ---
--- logit.o ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX logit.c -o logit.o
--- pop_init.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_init.c -o pop_init.o
--- pop_dele.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_dele.c -o pop_dele.o
--- common_library ---
--- snprintf.o ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX snprintf.c -o snprintf.o
--- mangler_library ---
--- mangle.o ---
--- pop_dropcopy.o ---
--- mangler_library ---
gcc -c -I.. -I. -I.. -I../popper  -I../common -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX mangle.c -o mangle.o
--- pop_dropcopy.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_dropcopy.c -o pop_dropcopy.o
--- pop_get_command.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_get_command.c -o pop_get_command.o
--- common_library ---
--- string_util.o ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX string_util.c -o string_util.o
--- pop_get_command.o ---
pop_get_command.c:41:31: warning: initialization of 'int (*)()' from incompatible pointer type 'pop_result (*)(POP *)' {aka 'pop_result (*)(struct _pop *)'} [-Wincompatible-pointer-types]
   41 |     { auth2,  "pass", 1,  1,  pop_pass,   {halt,  trans} },
      |                               ^~~~~~~~
pop_get_command.c:41:31: note: (near initialization for 'states[4].function')
--- common_library ---
--- check_group.o ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX check_group.c -o check_group.o
--- pop_get_subcommand.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_get_subcommand.c -o pop_get_subcommand.o
--- mangler_library ---
--- enriched.o ---
gcc -c -I.. -I. -I.. -I../popper  -I../common -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX enriched.c -o enriched.o
--- common_library ---
--- utils.o ---
gcc -c -I.. -I. -I.. -I../popper  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX utils.c -o utils.o
--- pop_last.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_last.c -o pop_last.o
--- pop_list.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_list.c -o pop_list.o
--- common_library ---
--- libcommon.a ---
ar -r libcommon.a flock.o maillock.o logit.o snprintf.o  string_util.o check_group.o utils.o
ar: creating libcommon.a
--- mangler_library ---
--- striphtml.o ---
gcc -c -I.. -I. -I.. -I../popper  -I../common -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX striphtml.c -o striphtml.o
--- pop_log.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_log.c -o pop_log.o
--- pop_lower.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_lower.c -o pop_lower.o
--- pop_msg.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_msg.c -o pop_msg.o
--- pop_parse.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_parse.c -o pop_parse.o
--- pop_pass.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_pass.c -o pop_pass.o
--- pop_quit.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_quit.c -o pop_quit.o
--- pop_pass.o ---
pop_pass.c:492:5: warning: initialization of 'int (*)(int,  struct pam_message **, struct pam_response **, void *)' from incompatible pointer type 'int (*)(int,  const struct pam_message **, struct pam_response **, void *)' [-Wincompatible-pointer-types]
  492 |     &PAM_qpopper_conv,      /* address of our interface function */
      |     ^
pop_pass.c:492:5: note: (near initialization for 'PAM_conversation.conv')
--- pop_rset.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_rset.c -o pop_rset.o
--- mangler_library ---
--- lineend.o ---
--- pop_send.o ---
--- mangler_library ---
gcc -c -I.. -I. -I.. -I../popper  -I../common -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX lineend.c -o lineend.o
--- pop_send.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_send.c -o pop_send.o
--- pop_stat.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_stat.c -o pop_stat.o
--- mangler_library ---
--- charmangle.o ---
gcc -c -I.. -I. -I.. -I../popper  -I../common -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX charmangle.c -o charmangle.o
--- pop_updt.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_updt.c -o pop_updt.o
--- pop_user.o ---
gcc -c -I.. -I.. -I.  -I../mmangle -I../common -I/opt/local/include  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -I/usr/include -fpcc-struct-return -DHAVE_CONFIG_H  -DSOLARIS2 -DGNU_PASS -DNO_GETLINE -DCONTENT_LENGTH=1 -DUNIX pop_user.c -o pop_user.o
--- pop_updt.o ---
pop_updt.c: In function 'pop_updt':
pop_updt.c:371:22: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration]
  371 |         if ( ( mfd = open   ( p->drop_name, O_RDWR | O_CREAT, 0660 ) ) == -1 ||
      |                      ^~~~
      |                      popen
pop_updt.c:371:45: error: 'O_RDWR' undeclared (first use in this function)
  371 |         if ( ( mfd = open   ( p->drop_name, O_RDWR | O_CREAT, 0660 ) ) == -1 ||
      |                                             ^~~~~~
pop_updt.c:371:45: note: each undeclared identifier is reported only once for each function it appears in
pop_updt.c:371:54: error: 'O_CREAT' undeclared (first use in this function); did you mean 'FCREAT'?
  371 |         if ( ( mfd = open   ( p->drop_name, O_RDWR | O_CREAT, 0660 ) ) == -1 ||
      |                                                      ^~~~~~~
      |                                                      FCREAT
pop_updt.c: In function 'pop_restore':
pop_updt.c:947:41: error: 'O_RDWR' undeclared (first use in this function)
  947 |     if ( ( mfd = open   ( p->drop_name, O_RDWR | O_CREAT, 0660 ) ) == -1 ||
      |                                         ^~~~~~
pop_updt.c:947:50: error: 'O_CREAT' undeclared (first use in this function); did you mean 'FCREAT'?
  947 |     if ( ( mfd = open   ( p->drop_name, O_RDWR | O_CREAT, 0660 ) ) == -1 ||
      |                                                  ^~~~~~~
      |                                                  FCREAT
*** [pop_updt.o] Error code 1

bmake[1]: stopped making "all" in /home/pbulk/build/mail/qpopper/work/qpopper4.1.0/popper
--- mangler_library ---
*** [mangler_library] Error code 6

bmake[1]: stopped making "all" in /home/pbulk/build/mail/qpopper/work/qpopper4.1.0/popper
bmake[1]: 2 errors

bmake[1]: stopped making "all" in /home/pbulk/build/mail/qpopper/work/qpopper4.1.0/popper
*** [popper_server] Error code 2

bmake: stopped making "all" in /home/pbulk/build/mail/qpopper/work/qpopper4.1.0
bmake: 1 error

bmake: stopped making "all" in /home/pbulk/build/mail/qpopper/work/qpopper4.1.0
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/mail/qpopper
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-2024Q4-x86_64/mail/qpopper