+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmill-0.9.1nb3/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xmill-0.9.1nb3/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for xmill-0.9.1nb3 c++ -o tmp/realmain.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/realmain.cpp c++ -o tmp/Options.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Options.cpp ./XMill/realmain.cpp: In function 'int main(int, char**)': ./XMill/realmain.cpp:40:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMill *xmill = new XMill(""); ^ ./XMill/realmain.cpp:100:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *pathptr="//#"; ^~~~~ ./XMill/realmain.cpp:102:15: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pathptr="/"; ^~~ ./XMill/realmain.cpp:122:119: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_ARGUMENTS, "No input file specified! Specify '-c' to use stdin/stdout"); ^ c++ -o tmp/CompressMan.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/CompressMan.cpp ./XMill/Options.cpp: In function 'void ParseOptionFile(Session*, char*)': ./XMill/Options.cpp:149:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_ARGUMENTS, "Only one option file allowed!"); ^ ./XMill/Options.cpp:154:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException (XMILL_ERR_FILENOTFOUND, "Could not open parameter file '"); ^ ./XMill/Options.cpp:156:24: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'!"); ^ ./XMill/Options.cpp:165:85: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException (XMILL_ERR_FILETOOLARGE, "Input file '"); ^ ./XMill/Options.cpp:167:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' is too large!"); ^ ./XMill/Options.cpp: In member function 'void Settings::InterpretOptionString(char*)': ./XMill/Options.cpp:195:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_ARGUMENTS, "Invalid filename for option '-f'"); ^ ./XMill/Options.cpp:222:109: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_ARGUMENTS, "Option '-m' must be followed be a number >=1"); ^ ./XMill/Options.cpp:365:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException (XMILL_ERR_ARGUMENTS, "Invalid option '-"); ^ ./XMill/Options.cpp:367:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'"); ^ ./XMill/CompressMan.cpp: In member function 'UserCompressorFactory* BothCompressMan::FindCompressorFactory(char*, int)': ./XMill/CompressMan.cpp:68:97: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_NO_COMPRESSOR, "Could not find compressor '"); ^ ./XMill/CompressMan.cpp:70:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'!"); ^ ./XMill/CompressMan.cpp: In function 'char* FindEndOfParamString(char*, char*)': ./XMill/CompressMan.cpp:143:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Could not find closing '\"' in string '"); ^ ./XMill/CompressMan.cpp:145:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'"); ^ ./XMill/CompressMan.cpp:162:112: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Could not find closing parenthesis for parameter '"); ^ ./XMill/CompressMan.cpp:164:20: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'"); ^ ./XMill/CompressMan.cpp: In member function 'UserCompressor* CompressMan::CreateCompressorInstance(char*&, char*)': ./XMill/CompressMan.cpp:205:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_FATAL, "Compressor '"); ^ ./XMill/CompressMan.cpp:207:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' is not defined"); ^ ./XMill/CompressMan.cpp: In member function 'UserUncompressor* DecompressMan::CreateUncompressorInstance(char*&, char*)': ./XMill/CompressMan.cpp:267:77: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_FATAL, "Compressor '"); ^ ./XMill/CompressMan.cpp:269:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' is not defined"); ^ c++ -o tmp/ContMan.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/ContMan.cpp c++ -o tmp/PathDict.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/PathDict.cpp c++ -o tmp/UnCompCont.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/UnCompCont.cpp c++ -o tmp/PathTree.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/PathTree.cpp In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/UnCompCont.cpp:33: ./XMill/UnCompCont.cpp: In member function 'void UncompressContainer::UncompressLargeContainer(Input*)': ./XMill/Error.hpp:40:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitCorruptFile() {throw new XMillException(XMILL_ERR_CORRUPT, "corrupt file");} ^ ./XMill/UnCompCont.cpp:83:7: note: in expansion of macro 'ExitCorruptFile' ExitCorruptFile(); ^~~~~~~~~~~~~~~ ./XMill/UnCompCont.cpp: In member function 'void UncompressContainerBlock::Load(Session*, SmallBlockUncompressor*)': ./XMill/Error.hpp:40:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitCorruptFile() {throw new XMillException(XMILL_ERR_CORRUPT, "corrupt file");} ^ ./XMill/UnCompCont.cpp:161:7: note: in expansion of macro 'ExitCorruptFile' ExitCorruptFile(); ^~~~~~~~~~~~~~~ c++ -o tmp/SAXClient.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/SAXClient.cpp ./XMill/SAXClient.cpp: In member function 'void SAXClient::HandleEndLabel(char*, int, char)': ./XMill/SAXClient.cpp:196:101: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "End label has trailing white spaces!"); ^ ./XMill/SAXClient.cpp:207:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException (XMILL_ERR_PARSE, "Unexpected end label '"); ^ ./XMill/SAXClient.cpp:209:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' !"); ^ ./XMill/SAXClient.cpp:230:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "End label '"); ^ ./XMill/SAXClient.cpp:232:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' does not match start label '"); ^ ./XMill/SAXClient.cpp:234:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' !"); ^ ./XMill/SAXClient.cpp:241:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Warning: End label '"); ^ ./XMill/SAXClient.cpp:246:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'!\n => Additional end label inserted!"); ^ ./XMill/SAXClient.cpp: In member function 'void Session::CompressTextItem(char*, int, int, int)': ./XMill/SAXClient.cpp:560:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_FATAL, "No automaton accepts current path !\n"); ^ c++ -o tmp/VPathExprMan.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/VPathExprMan.cpp c++ -o tmp/MemMan.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/MemMan.cpp ./XMill/VPathExprMan.cpp: In member function 'void VPathExpr::PathParseError(char*, char*)': ./XMill/VPathExprMan.cpp:66:105: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Error while parsing path expression:\n\n "); ^ ./XMill/VPathExprMan.cpp:68:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("\n"); ^ ./XMill/VPathExprMan.cpp:70:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont(" ",1); ^ ./XMill/VPathExprMan.cpp:71:22: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("^\n"); ^ ./XMill/VPathExprMan.cpp: In member function 'void VPathExpr::ParseUserCompressorString(char*&, char*)': ./XMill/VPathExprMan.cpp:224:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Character ':' expected at '...'"); ^ ./XMill/VPathExprMan.cpp:228:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("...'"); ^ ./XMill/VPathExprMan.cpp: In member function 'void CompVPathExpr::CreateXPathEdge(char*, char*, FSM*, FSMState*, FSMState*, char)': ./XMill/VPathExprMan.cpp:245:49: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Unexpected character",from); ^ ./XMill/VPathExprMan.cpp:275:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Symbol '/' or '|' expected after '#'",from+1); ^ ./XMill/VPathExprMan.cpp:289:70: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Symbol '/' or '|' expected after '*'",from+1); ^ ./XMill/VPathExprMan.cpp: In member function 'void CompVPathExpr::ParseXPathItem(char*&, char*, FSM*, FSMState*, FSMState*, char)': ./XMill/VPathExprMan.cpp:318:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Missing closed parenthesis ')'",startptr); ^ ./XMill/VPathExprMan.cpp:378:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Invalid symbol",startptr); ^ ./XMill/VPathExprMan.cpp: In member function 'FSM* CompVPathExpr::ParseXPath(char*&, char*, char)': ./XMill/VPathExprMan.cpp:437:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Unexpected character",str); ^ ./XMill/VPathExprMan.cpp: In member function 'void CompVPathExpr::CreateFromString(char*&, char*)': ./XMill/VPathExprMan.cpp:482:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] PathParseError("Character '/' expected",str); ^ ./XMill/VPathExprMan.cpp:550:19: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *textstring="t"; ^~~ ./XMill/VPathExprMan.cpp: In member function 'void DecompVPathExpr::Load(SmallBlockUncompressor*)': ./XMill/VPathExprMan.cpp:689:21: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *textstring="t"; ^~~ In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/MemMan.cpp:38: ./XMill/MemMan.cpp: In member function 'char* Session::AllocateBlockRecurs(unsigned char)': ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/MemMan.cpp:70:13: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ ./XMill/MemMan.cpp: In member function 'void Session::SetMemoryAllocationSize(long unsigned int)': ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/MemMan.cpp:163:10: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ ./XMill/MemMan.cpp: In member function 'unsigned char* Session::AllocateMemBlock(long unsigned int)': ./XMill/MemMan.cpp:187:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_FATAL, "memory fuckup"); ^ c++ -o tmp/MemStreamer.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/MemStreamer.cpp ./XMill/MemStreamer.cpp: In member function 'void MemStreamer::ReleaseByteBlock(unsigned int)': ./XMill/MemStreamer.cpp:201:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_FATAL, "Fatal error in ReleaseBlock !\n"); ^ c++ -o tmp/Error.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Error.cpp c++ -o tmp/FSM.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/FSM.cpp c++ -o tmp/XMillData.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/XMillData.cpp ./XMill/XMillData.cpp: In member function 'void Session::FSMInit()': ./XMill/XMillData.cpp:332:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] elementpoundlabelid=globalclabeldict->CreateLabelOrAttrib("#",1,0); ^ ./XMill/XMillData.cpp:333:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] attribpoundlabelid=globalclabeldict->CreateLabelOrAttrib("#",1,1); ^ ./XMill/XMillData.cpp: In member function 'void Session::Init(int, int, int, char**)': ./XMill/XMillData.cpp:505:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] char *pathptr="//#"; ^~~~~ ./XMill/XMillData.cpp:507:10: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] pathptr="/"; ^~~ c++ -o tmp/XMillAPI.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/xmillapi.cpp ./XMill/xmillapi.cpp: In member function 'void XMill::Compress(char*, int, char**, int*, int*)': ./XMill/xmillapi.cpp:167:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_PARSE, "There are unclosed XML tags!"); ^ ./XMill/xmillapi.cpp: In member function 'void XMill::InitCompress(char**, int*, int*)': ./XMill/xmillapi.cpp:175:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_NULL_POINTER, "Please supply a bytesread pointer"); ^ ./XMill/xmillapi.cpp: In member function 'void XMill::CompressBlock(char*, int, int*)': ./XMill/xmillapi.cpp:191:88: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_NULL_POINTER, "Please supply an endmarker pointer"); ^ ./XMill/xmillapi.cpp: In member function 'void XMill::InitDecompress(char**, int*, int*)': ./XMill/xmillapi.cpp:235:87: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_NULL_POINTER, "Please supply a bytesread pointer"); ^ ./XMill/xmillapi.cpp:247:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_NULL_POINTER, "could not create MSXML instance"); ^ ./XMill/xmillapi.cpp: In function 'int readfile(char*, char**, int*)': ./XMill/xmillapi.cpp:309:7: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, len, f); ~~~~~^~~~~~~~~~~~~~~~~~~ c++ -o tmp/File.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/File.cpp c++ -o tmp/Decode.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Decode.cpp ./XMill/Decode.cpp: In member function 'void Session::DecodeTreeBlock(UncompressContainer*, UncompressContainer*, UncompressContainer*, XMLOutput*)': ./XMill/Decode.cpp:50:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_DECOMPRESS, "Label ID too large"); ^ c++ -o tmp/LabelDict.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/LabelDict.cpp c++ -o tmp/CurPath.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/CurPath.cpp In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/LabelDict.cpp:35: ./XMill/LabelDict.cpp: In member function 'virtual void CompLabelDict::InitMore()': ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/LabelDict.cpp:140:5: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ ./XMill/LabelDict.cpp: In member function 'void DecompLabelDict::Load(SmallBlockUncompressor*)': ./XMill/Error.hpp:40:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitCorruptFile() {throw new XMillException(XMILL_ERR_CORRUPT, "corrupt file");} ^ ./XMill/LabelDict.cpp:333:10: note: in expansion of macro 'ExitCorruptFile' ExitCorruptFile(); ^~~~~~~~~~~~~~~ c++ -o tmp/XMLOutput.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/XMLOutput.cpp c++ -o tmp/XMLParse.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/XMLParse.cpp ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::startElement(char*, int)': ./XMill/XMLOutput.cpp:108:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_PARSE, "Cannot start element within attribute!"); ^ ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::endElement(char*, int)': ./XMill/XMLOutput.cpp:153:67: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_PARSE, "Invalid end tag"); ^ ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::startAttribute(char*, int)': ./XMill/XMLOutput.cpp:194:104: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_CORRUPT, "Cannot print attribute outside of start element!"); ^ ./XMill/XMLOutput.cpp: In member function 'virtual void XMLStringOutput::endAttribute(char*, int)': ./XMill/XMLOutput.cpp:216:103: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_PARSE, "Could not finish attribute outside of start element!"); ^ c++ -o tmp/FileParser.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/FileParser.cpp ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseAttribs(char*)': ./XMill/XMLParse.cpp:142:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Symbol '=' expected !"); ^ ./XMill/XMLParse.cpp:185:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("'!"); ^ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseLabel()': ./XMill/XMLParse.cpp:240:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Unfinished end label!"); ^ ./XMill/XMLParse.cpp:291:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Symbol '/' in label must be followed by '>' !"); ^ ./XMill/XMLParse.cpp:316:58: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Symbol '>' expected after '/' in tag!"); ^ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParsePI()': ./XMill/XMLParse.cpp:330:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] if(ReadStringUntil(&ptr,&len,"?>")) ^ ./XMill/XMLParse.cpp:337:105: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Could not find closing '?>' for processing instruction in line %lu !",savelineno); ^ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseCDATA()': ./XMill/XMLParse.cpp:353:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] while(ReadStringUntil(&ptr,&len,"]]>")==0) ^ ./XMill/XMLParse.cpp:359:106: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Could not find closing ']]>' for CDATA section starting in line %lu !",savelineno); ^ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseComment()': ./XMill/XMLParse.cpp:375:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] while(ReadStringUntil(&ptr,&len,"-->")==0) ^ ./XMill/XMLParse.cpp:382:100: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Could not find closing '-->' for comment starting in line %lu !",savelineno); ^ ./XMill/XMLParse.cpp: In member function 'char XMLParse::ParseDOCTYPE()': ./XMill/XMLParse.cpp:536:116: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Could not find closing ']>' for DOCTYPE section starting in line %lu !",savelineno); ^ ./XMill/XMLParse.cpp:554:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMLParseError("Could not find closing ']>' for DOCTYPE section starting in line %lu !",savelineno); ^ ./XMill/XMLParse.cpp: In member function 'char XMLParse::DoParsing(SAXClient*)': ./XMill/XMLParse.cpp:604:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_PARSE, "Character '<' expected !"); ^ ./XMill/XMLParse.cpp:639:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Invalid tag '"); ^ ./XMill/XMLParse.cpp:641:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("...' should probably be '<![CDATA ...' !"); ^ ./XMill/XMLParse.cpp:656:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Invalid tag '"); ^ ./XMill/XMLParse.cpp:658:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("...' should probably be '<!DOCTYPE ...' !"); ^ ./XMill/XMLParse.cpp:674:79: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Invalid tag '"); ^ ./XMill/XMLParse.cpp:676:59: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("...' should probably be '<!-- ...' !"); ^ ./XMill/XMLParse.cpp:685:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Invalid tag '"); ^ ./XMill/XMLParse.cpp:687:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("...' !"); ^ ./XMill/XMLParse.cpp:693:90: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_PARSE, "Invalid label '<=...'!"); ^ c++ -o tmp/MainFileActions.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/MainFileActions.cpp ./XMill/MainFileActions.cpp: In member function 'void Settings::HandleSingleFile(XMill*, char*, bool)': ./XMill/MainFileActions.cpp:144:99: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] XMillException *e = new XMillException(XMILL_ERR_FILENOTFOUND, "Could not find file '"); ^ ./XMill/MainFileActions.cpp:146:51: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] e->ErrorCont("' with extension '.xm'!"); ^ c++ -o tmp/Load.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Load.cpp c++ -o tmp/Input.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Input.cpp c++ -o tmp/Output.o -pipe -O2 -I/usr/pkg/include -c -DXMILL -DHAVE_BZIP2 -IXMill -Ippmdi ./XMill/Output.cpp ./XMill/Input.cpp: In member function 'virtual unsigned int MemFile::ReadBlock(char*, unsigned int)': ./XMill/Input.cpp:397:33: error: 'min' was not declared in this scope unsigned bytesread=(unsigned)min(bytecount,bytesleft); ^~~ gmake: *** [makefile:225: tmp/Input.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/Output.cpp:31: ./XMill/Output.cpp: In member function 'virtual char Output::myCreateFile(char*, int)': ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/Output.cpp:99:10: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/Output.cpp:110:10: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ ./XMill/Output.cpp: In member function 'virtual void Output::Flush()': ./XMill/Output.cpp:182:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException(XMILL_ERR_WRITE, "Could not write output file!"); ^ ./XMill/Output.cpp: In member function 'char* Output::GetDataPtr(int)': ./XMill/Output.cpp:271:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] throw new XMillException (XMILL_ERR_FATAL, "memory fuckup"); ^ In file included from ./XMill/Output.hpp:47, from ./XMill/XMill.h:124, from ./XMill/stdafx.h:18, from ./XMill/Output.cpp:31: ./XMill/Output.cpp: In member function 'virtual char MemOutput::myCreateFile(char**, int*, int)': ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/Output.cpp:289:7: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ ./XMill/Error.hpp:39:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] #define ExitNoMem() {throw new XMillException(XMILL_ERR_NOMEM, "no memory left");} ^ ./XMill/Output.cpp:292:7: note: in expansion of macro 'ExitNoMem' ExitNoMem(); ^~~~~~~~~ *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/archivers/xmill *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el8-trunk-x86_64/archivers/xmill