=> Bootstrap dependency digest>=20010302: found digest-20180917 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> 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/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o mdp.o mdp.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o ../common/mdpMessage.o ../common/mdpMessage.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o ../common/mdpEncoder.o ../common/mdpEncoder.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o ../common/mdpSession.o ../common/mdpSession.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I/usr/pkg/include -I/usr/pkg/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/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o ../common/mdpNode.o ../common/mdpNode.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o ../common/mdpObject.o ../common/mdpObject.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I/usr/pkg/include -I/usr/pkg/include -I./ -I../common -I../protolib/common -o mdpFile.o mdpFile.cpp make -C ../protolib/unix -f Makefile.common libProto.a make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/data/scratch/mbone/mdp/work/mdp/protolib/unix' g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I../unix -I../common -o ../common/debug.o ../common/debug.cpp ../common/mdpBitMask.cpp:568:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((num_bits == ((i << 3) + j))) break; ~~~~~~~~~^~~~~~~~~~~~~~~~~ ../common/mdpBitMask.cpp:568:26: note: remove extraneous parentheses around the comparison to silence this warning if ((num_bits == ((i << 3) + j))) break; ~ ^ ~ ../common/mdpBitMask.cpp:568:26: note: use '=' to turn this equality comparison into an assignment if ((num_bits == ((i << 3) + j))) break; ^~ = In file included from mdpFile.cpp:37: ./mdpFile.h:61:13: warning: private field 'flags' is not used [-Wunused-private-field] int flags; ^ ../common/mdpApp.cpp:662:19: error: assigning to 'char *' from incompatible type 'const char *' ptr = strchr(optarg, '/'); ^~~~~~~~~~~~~~~~~~~ 1 error generated. gmake: *** [Makefile.common:47: ../common/mdpApp.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from mdp.cpp:43: ./mdp.h:63:14: warning: 'CmdMdpApp::SetPostProcessor' hides overloaded virtual function [-Woverloaded-virtual] void SetPostProcessor(char* theCmd); ^ ../common/mdpApp.h:60:22: note: hidden overloaded virtual function 'MdpApp::SetPostProcessor' declared here: type mismatch at 1st parameter ('const char *' vs 'char *') virtual void SetPostProcessor(const char* theCmd); ^ mdp.cpp:385:29: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] theApp.SetPostProcessor("xv -rmode 5 -root -quit"); ^ 2 warnings generated. ../common/mdpMessage.cpp:65:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned int len = 0; ^~~~~~~~~ ../common/mdpMessage.cpp:66:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned long temp_long; ^~~~~~~~~ ../common/mdpMessage.cpp:67:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned short temp_short; ^~~~~~~~~ ../common/mdpMessage.cpp:345:2: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned 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../unix -I../common -o ../common/networkAddress.o ../common/networkAddress.cpp 1 warning generated. ../common/mdpMessage.cpp:772:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int len = 0; ^~~~~~~~~ ../common/mdpMessage.cpp:787:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int len = 0; ^~~~~~~~~ ../common/mdpMessage.cpp:858:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int len = 0; ^~~~~~~~~ ../common/mdpEncoder.cpp:321:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *S, *Omega, *data; ^~~~~~~~~ ../common/mdpEncoder.cpp:321:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *S, *Omega, *data; ^~~~~~~~~ ../common/mdpEncoder.cpp:321:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register unsigned char *S, *Omega, *data; ^~~~~~~~~ ../common/mdpEncoder.cpp:325:5: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register] register int nvecs = npar + ndata; ^~~~~~~~~ ../common/mdpSession.cpp:258:17: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete simInfo; ^ [] ../common/mdpSession.cpp:255:29: note: allocated with 'new[]' here char* simInfo = new char[infoSize]; ^ ../common/mdpSession.cpp:263:13: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete simInfo; ^ [] ../common/mdpSession.cpp:255:29: note: allocated with 'new[]' here char* simInfo = new char[infoSize]; ^ ../common/networkAddress.cpp:788:25: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete text; ^ [] ../common/networkAddress.cpp:766:22: note: allocated with 'new[]' here char* text = new char[len+1]; ^ ../common/networkAddress.cpp:806:9: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete] delete text; ^ [] ../common/networkAddress.cpp:766:22: note: allocated with 'new[]' here char* text = new char[len+1]; ^ ../common/mdpNode.cpp:918:58: warning: '&&' within '||' [-Wlogical-op-parentheses] if((diff > 0x80000000) || ((diff == 0x80000000)) && (objectId > current_object_id)) ~~ ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../common/mdpNode.cpp:918:58: note: place parentheses around the '&&' expression to silence this warning if((diff > 0x80000000) || ((diff == 0x80000000)) && (objectId > current_object_id)) ^ ( ) 1 warning generated. 7 warnings generated. 4 warnings generated. 2 warnings generated. g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I../unix -I../common -o ../common/udpSocket.o ../common/udpSocket.cpp g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I../unix -I../common -o ../common/protocolTimer.o ../common/protocolTimer.cpp 1 warning generated. 2 warnings generated. g++ -c -g -DPROTO_DEBUG -DUNIX -Wall -O -fPIC -DHAVE_GETLOGIN -DHAVE_ASSERT -DHAVE_FLOCK -DHAVE_DIRFD -D__socklen_t_defined=1 -I../unix -I../common -o ../common/eventDispatcher.o ../common/eventDispatcher.cpp ar rcv libProto.a ../common/debug.o ../common/networkAddress.o ../common/udpSocket.o ../common/protocolTimer.o ../common/eventDispatcher.o a - ../common/debug.o a - ../common/networkAddress.o a - ../common/udpSocket.o a - ../common/protocolTimer.o a - ../common/eventDispatcher.o ranlib libProto.a make[1]: Leaving directory '/data/scratch/mbone/mdp/work/mdp/protolib/unix' *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/mbone/mdp *** Error code 1 Stop. make: stopped in /data/pkgsrc/mbone/mdp