+ 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/mdp-1.9a5nb1/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/mdp-1.9a5nb1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for mdp-1.9a5nb1
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o mdp.o mdp.cpp
mdp.cpp: In function 'int main(int, char**)':
mdp.cpp:385:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  385 |     theApp.SetPostProcessor("xv -rmode 5 -root -quit");
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpApp.o ../common/mdpApp.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpItem.o ../common/mdpItem.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/ackList.o ../common/ackList.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpApi.o ../common/mdpApi.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpBitMask.o ../common/mdpBitMask.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpMessage.o ../common/mdpMessage.cpp
../common/mdpMessage.cpp: In member function 'int MdpMessage::Pack(char*)':
../common/mdpMessage.cpp:65:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   65 |         register unsigned int len = 0;
      |                               ^~~
../common/mdpMessage.cpp:66:28: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   66 |     register unsigned long temp_long;
      |                            ^~~~~~~~~
../common/mdpMessage.cpp:67:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   67 |     register unsigned short temp_short;
      |                             ^~~~~~~~~~
../common/mdpMessage.cpp: In member function 'bool MdpMessage::Unpack(char*, int)':
../common/mdpMessage.cpp:345:31: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  345 |         register unsigned int len = 0;
      |                               ^~~
../common/mdpMessage.cpp: In member function 'int MdpObjectNack::Unpack(char*)':
../common/mdpMessage.cpp:772:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  772 |     register int len = 0;
      |                  ^~~
../common/mdpMessage.cpp: In member function 'int MdpRepairNack::Pack(char*, unsigned int)':
../common/mdpMessage.cpp:787:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  787 |     register int len = 0;
      |                  ^~~
../common/mdpMessage.cpp: In member function 'int MdpRepairNack::Unpack(char*)':
../common/mdpMessage.cpp:858:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  858 |     register int len = 0;
      |                  ^~~
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpEncoder.o ../common/mdpEncoder.cpp
../common/mdpEncoder.cpp: In member function 'int MdpDecoder::Decode(char**, int, const char*)':
../common/mdpEncoder.cpp:321:29: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  321 |     register unsigned char *S, *Omega, *data;
      |                             ^
../common/mdpEncoder.cpp:321:33: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  321 |     register unsigned char *S, *Omega, *data;
      |                                 ^~~~~
../common/mdpEncoder.cpp:321:41: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  321 |     register unsigned char *S, *Omega, *data;
      |                                         ^~~~
../common/mdpEncoder.cpp:325:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  325 |     register int nvecs = npar + ndata;
      |                  ^~~~~
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/galois.o ../common/galois.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpSession.o ../common/mdpSession.cpp
../common/mdpSession.cpp: In member function 'MdpSimObject* MdpSession::NewTxSimObject(short unsigned int, long unsigned int, MdpError*)':
../common/mdpSession.cpp:263:20: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  263 |             delete simInfo;
      |                    ^~~~~~~
../common/mdpSession.cpp:255:46: note: returned from 'void* operator new [](long unsigned int)'
  255 |             char* simInfo = new char[infoSize];
      |                                              ^
../common/mdpSession.cpp:258:24: warning: 'void operator delete(void*, long unsigned int)' called on pointer returned from a mismatched allocation function [-Wmismatched-new-delete]
  258 |                 delete simInfo;
      |                        ^~~~~~~
../common/mdpSession.cpp:255:46: note: returned from 'void* operator new [](long unsigned int)'
  255 |             char* simInfo = new char[infoSize];
      |                                              ^
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpMsgHandler.o ../common/mdpMsgHandler.cpp
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpNode.o ../common/mdpNode.cpp
../common/mdpNode.cpp: In member function 'void MdpServerNode::ObjectRepairCheck(long unsigned int, long unsigned int)':
../common/mdpNode.cpp:918:58: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
  918 |         if((diff > 0x80000000) || ((diff == 0x80000000)) && (objectId > current_object_id))
      |                                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o ../common/mdpObject.o ../common/mdpObject.cpp
../common/mdpObject.cpp: In member function 'virtual void MdpVectorPool::Put(char*)':
../common/mdpObject.cpp:124:23: warning: argument to 'sizeof' in 'void* std::memset(void*, int, size_t)' call is the same pointer type 'char*' as the destination; expected 'char' or an explicit length [-Wsizeof-pointer-memaccess]
  124 |     memset(vector, 0, sizeof(char *));  // validity of pointer is tested
      |                       ^~~~~~~~~~~~~~
../common/mdpObject.cpp: In member function 'virtual bool MdpSimObject::ReadSegment(long unsigned int, char*, short unsigned int*)':
../common/mdpObject.cpp:1886:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 1886 |     else
      |     ^~~~
In file included from ../protolib/common/debug.h:20,
                 from ../common/mdpObject.cpp:40:
../protolib/common/debug.h:22:19: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
   22 | #define ASSERT(X) assert(X)
      |                   ^~~~~~
../common/mdpObject.cpp:1888:9: note: in expansion of macro 'ASSERT'
 1888 |         ASSERT((offset + *size) <= object_size);
      |         ^~~~~~
g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD  -D__socklen_t_defined=1 -I/opt/local/include -I/opt/local/include  -I./ -I../common -I../protolib/common -o mdpFile.o mdpFile.cpp
mdpFile.cpp: In member function 'bool MdpFile::Lock()':
mdpFile.cpp:105:19: error: 'LOCK_EX' was not declared in this scope
  105 |     if (flock(fd, LOCK_EX | LOCK_NB))
      |                   ^~~~~~~
mdpFile.cpp:105:29: error: 'LOCK_NB' was not declared in this scope
  105 |     if (flock(fd, LOCK_EX | LOCK_NB))
      |                             ^~~~~~~
mdpFile.cpp: In member function 'void MdpFile::Unlock()':
mdpFile.cpp:119:15: error: 'LOCK_UN' was not declared in this scope
  119 |     flock(fd, LOCK_UN);
      |               ^~~~~~~
mdpFile.cpp: In member function 'bool MdpFile::Lock()':
mdpFile.cpp:103:11: warning: control reaches end of non-void function [-Wreturn-type]
  103 |     fchmod(fd, 0640 | S_ISGID);
      |     ~~~~~~^~~~~~~~~~~~~~~~~~~~
gmake: *** [Makefile.common:47: mdpFile.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/mbone/mdp
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/mbone/mdp