+ 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/nget-0.27.1nb4/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nget-0.27.1nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20211023 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nget-0.27.1nb4 g++ -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/opt/local/include -I/opt/local/include/ncurses -I/usr/include -c -o nget.o nget.cc In file included from /opt/local/gcc10/include/c++/10.3.0/backward/hash_map:60, from _hash_map.h:28, from cache.h:29, from prot_nntp.h:26, from nget.cc:49: /opt/local/gcc10/include/c++/10.3.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp] 32 | #warning \ | ^~~~~~~ nget.cc:194:9: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 194 | printf("nget v"PACKAGE_VERSION" - nntp command line fetcher\n"); | ^ In file included from prot_nntp.h:26, from nget.cc:49: cache.h:232:77: error: template argument 3 is invalid 232 | typedef hash_map, eqstr> t_message_state_list; | ^ cache.h: In member function 'void c_mid_info::insert_full(std::string, std::time_t, std::time_t)': cache.h:248:35: error: qualified-id in declaration before 'i' 248 | t_message_state_list::iterator i=states.find(mid.c_str()); | ^ cache.h:250:8: error: 'i' was not declared in this scope 250 | if (i!=states.end()){ | ^ cache.h:250:18: error: request for member 'end' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 250 | if (i!=states.end()){ | ^~~ cache.h:255:12: error: request for member 'erase' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 255 | states.erase(i); | ^~~~~ cache.h:258:11: error: request for member 'insert' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 258 | states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); | ^~~~~~ cache.h:258:18: error: 't_message_state_list' is not a class, namespace, or enumeration 258 | states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); | ^~~~~~~~~~~~~~~~~~~~ cache.h: In member function 'int c_mid_info::check(const string&) const': cache.h:262:15: error: request for member 'find' in '((const c_mid_info*)this)->c_mid_info::states', which is of non-class type 'const t_message_state_list' {aka 'const int'} 262 | if (states.find(mid.c_str())!=states.end()) | ^~~~ cache.h:262:41: error: request for member 'end' in '((const c_mid_info*)this)->c_mid_info::states', which is of non-class type 'const t_message_state_list' {aka 'const int'} 262 | if (states.find(mid.c_str())!=states.end()) | ^~~ cache.h: In member function 'void c_mid_info::insert(const string&)': cache.h:270:11: error: request for member 'insert' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 270 | states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); | ^~~~~~ cache.h:270:18: error: 't_message_state_list' is not a class, namespace, or enumeration 270 | states.insert(t_message_state_list::value_type(s->messageid.c_str(),s)); | ^~~~~~~~~~~~~~~~~~~~ cache.h: In member function 'void c_mid_info::remove(const string&)': cache.h:274:35: error: qualified-id in declaration before 'i' 274 | t_message_state_list::iterator i=states.find(mid.c_str()); | ^ cache.h:275:8: error: 'i' was not declared in this scope 275 | if (i==states.end()) | ^ cache.h:275:18: error: request for member 'end' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 275 | if (i==states.end()) | ^~~ cache.h:277:6: error: 'i' was not declared in this scope 277 | (*i).second->date_removed=TIME_T_DEAD; | ^ cache.h: In member function 'void c_mid_info::clear()': cache.h:281:16: error: request for member 'empty' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 281 | if (!states.empty()){ | ^~~~~ cache.h:282:12: error: request for member 'clear' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 282 | states.clear(); | ^~~~~ cache.h: In member function 'void c_mid_info::set_delete(const string&)': cache.h:287:35: error: qualified-id in declaration before 'i' 287 | t_message_state_list::iterator i=states.find(mid.c_str()); | ^ cache.h:288:8: error: 'i' was not declared in this scope 288 | if (i!=states.end()){ | ^ cache.h:288:18: error: request for member 'end' in '((c_mid_info*)this)->c_mid_info::states', which is of non-class type 't_message_state_list' {aka 'int'} 288 | if (i!=states.end()){ | ^~~ nget.cc: In function 'void addoptions()': nget.cc:147:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | addoption("quiet",0,'q',0,"supress extra info"); | ^~~~~~~ nget.cc:147:28: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 147 | addoption("quiet",0,'q',0,"supress extra info"); | ^~~~~~~~~~~~~~~~~~~~ nget.cc:148:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | addoption("host",1,'h',"HOSTALIAS","force nntp host to use (must be configured in .ngetrc)"); | ^~~~~~ nget.cc:148:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | addoption("host",1,'h',"HOSTALIAS","force nntp host to use (must be configured in .ngetrc)"); | ^~~~~~~~~~~ nget.cc:148:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 148 | addoption("host",1,'h',"HOSTALIAS","force nntp host to use (must be configured in .ngetrc)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:149:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | addoption("available",0,'a',0,"update/load available newsgroups list"); | ^~~~~~~~~~~ nget.cc:149:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 149 | addoption("available",0,'a',0,"update/load available newsgroups list"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:150:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | addoption("quickavailable",0,'A',0,"load available newsgroups list"); | ^~~~~~~~~~~~~~~~ nget.cc:150:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 150 | addoption("quickavailable",0,'A',0,"load available newsgroups list"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:151:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | addoption("xavailable",0,'X',0,"search available newsgroups list without using cache files"); | ^~~~~~~~~~~~ nget.cc:151:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 151 | addoption("xavailable",0,'X',0,"search available newsgroups list without using cache files"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:152:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | addoption("group",1,'g',"GROUP(s)","update and use newsgroups (comma seperated)"); | ^~~~~~~ nget.cc:152:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | addoption("group",1,'g',"GROUP(s)","update and use newsgroups (comma seperated)"); | ^~~~~~~~~~ nget.cc:152:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 152 | addoption("group",1,'g',"GROUP(s)","update and use newsgroups (comma seperated)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:153:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | addoption("quickgroup",1,'G',"GROUP(s)","use group(s) without checking for new headers"); | ^~~~~~~~~~~~ nget.cc:153:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | addoption("quickgroup",1,'G',"GROUP(s)","use group(s) without checking for new headers"); | ^~~~~~~~~~ nget.cc:153:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 153 | addoption("quickgroup",1,'G',"GROUP(s)","use group(s) without checking for new headers"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:154:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | addoption("xgroup",1,'x',"GROUP(s)","use group(s) without using cache files (requires XPAT)"); | ^~~~~~~~ nget.cc:154:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | addoption("xgroup",1,'x',"GROUP(s)","use group(s) without using cache files (requires XPAT)"); | ^~~~~~~~~~ nget.cc:154:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 154 | addoption("xgroup",1,'x',"GROUP(s)","use group(s) without using cache files (requires XPAT)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:155:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | addoption("flushserver",1,'F',"HOSTALIAS","flush server from current group(s) or newsgroup list"); | ^~~~~~~~~~~~~ nget.cc:155:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | addoption("flushserver",1,'F',"HOSTALIAS","flush server from current group(s) or newsgroup list"); | ^~~~~~~~~~~ nget.cc:155:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 155 | addoption("flushserver",1,'F',"HOSTALIAS","flush server from current group(s) or newsgroup list"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:156:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | addoption("expretrieve",1,'R',"EXPRESSION","retrieve files matching expression(see man page)"); | ^~~~~~~~~~~~~ nget.cc:156:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | addoption("expretrieve",1,'R',"EXPRESSION","retrieve files matching expression(see man page)"); | ^~~~~~~~~~~~ nget.cc:156:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 156 | addoption("expretrieve",1,'R',"EXPRESSION","retrieve files matching expression(see man page)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:157:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | addoption("retrieve",1,'r',"REGEX","retrieve files matching regex"); | ^~~~~~~~~~ nget.cc:157:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | addoption("retrieve",1,'r',"REGEX","retrieve files matching regex"); | ^~~~~~~ nget.cc:157:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 157 | addoption("retrieve",1,'r',"REGEX","retrieve files matching regex"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:158:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | addoption("list",1,'@',"LISTFILE","read commands from listfile"); | ^~~~~~ nget.cc:158:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | addoption("list",1,'@',"LISTFILE","read commands from listfile"); | ^~~~~~~~~~ nget.cc:158:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 158 | addoption("list",1,'@',"LISTFILE","read commands from listfile"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:159:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | addoption("path",1,'p',"DIRECTORY","path to store subsequent retrieves"); | ^~~~~~ nget.cc:159:25: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | addoption("path",1,'p',"DIRECTORY","path to store subsequent retrieves"); | ^~~~~~~~~~~ nget.cc:159:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 159 | addoption("path",1,'p',"DIRECTORY","path to store subsequent retrieves"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:160:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | addoption("temppath",1,'P',"DIRECTORY","path to store tempfiles"); | ^~~~~~~~~~ nget.cc:160:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | addoption("temppath",1,'P',"DIRECTORY","path to store tempfiles"); | ^~~~~~~~~~~ nget.cc:160:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 160 | addoption("temppath",1,'P',"DIRECTORY","path to store tempfiles"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:161:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | addoption("dupepath",1,OPT_DUPEPATH,"DIRECTORY","extra path to check for dupe files"); | ^~~~~~~~~~ nget.cc:161:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | addoption("dupepath",1,OPT_DUPEPATH,"DIRECTORY","extra path to check for dupe files"); | ^~~~~~~~~~~ nget.cc:161:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 161 | addoption("dupepath",1,OPT_DUPEPATH,"DIRECTORY","extra path to check for dupe files"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:162:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | addoption("makedirs",1,'m',"no,yes,ask,#","make dirs specified by -p and -P"); | ^~~~~~~~~~ nget.cc:162:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | addoption("makedirs",1,'m',"no,yes,ask,#","make dirs specified by -p and -P"); | ^~~~~~~~~~~~~~ nget.cc:162:44: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 162 | addoption("makedirs",1,'m',"no,yes,ask,#","make dirs specified by -p and -P"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:165:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | addoption("testmode",0,'T',0,"test what would have been retrieved"); | ^~~~~~~~~~ nget.cc:165:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 165 | addoption("testmode",0,'T',0,"test what would have been retrieved"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:166:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | addoption("test-multiserver",1,OPT_TEST_MULTI,"OPT","make testmode display per-server completion info (no(default)/long/short)"); | ^~~~~~~~~~~~~~~~~~ nget.cc:166:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | addoption("test-multiserver",1,OPT_TEST_MULTI,"OPT","make testmode display per-server completion info (no(default)/long/short)"); | ^~~~~ nget.cc:166:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 166 | addoption("test-multiserver",1,OPT_TEST_MULTI,"OPT","make testmode display per-server completion info (no(default)/long/short)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:167:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | addoption("fullxover",1,OPT_FULLXOVER,"OPT","override fullxover setting (-1..2, default -1)"); | ^~~~~~~~~~~ nget.cc:167:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | addoption("fullxover",1,OPT_FULLXOVER,"OPT","override fullxover setting (-1..2, default -1)"); | ^~~~~ nget.cc:167:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 167 | addoption("fullxover",1,OPT_FULLXOVER,"OPT","override fullxover setting (-1..2, default -1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:168:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | addoption("text",1,OPT_TEXT_HANDLING,"OPT","how to handle text posts (files(default)/mbox[:filename]/ignore)"); | ^~~~~~ nget.cc:168:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | addoption("text",1,OPT_TEXT_HANDLING,"OPT","how to handle text posts (files(default)/mbox[:filename]/ignore)"); | ^~~~~ nget.cc:168:45: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 168 | addoption("text",1,OPT_TEXT_HANDLING,"OPT","how to handle text posts (files(default)/mbox[:filename]/ignore)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:169:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | addoption("save-binary-info",1,OPT_SAVE_TEXT_FOR_BINARIES,"OPT","save text files for posts that contained only binaries (yes/no(default))"); | ^~~~~~~~~~~~~~~~~~ nget.cc:169:60: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | addoption("save-binary-info",1,OPT_SAVE_TEXT_FOR_BINARIES,"OPT","save text files for posts that contained only binaries (yes/no(default))"); | ^~~~~ nget.cc:169:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 169 | addoption("save-binary-info",1,OPT_SAVE_TEXT_FOR_BINARIES,"OPT","save text files for posts that contained only binaries (yes/no(default))"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:170:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | addoption("tries",1,'t',"INT","set max retries (-1 unlimits, default 20)"); | ^~~~~~~ nget.cc:170:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | addoption("tries",1,'t',"INT","set max retries (-1 unlimits, default 20)"); | ^~~~~ nget.cc:170:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 170 | addoption("tries",1,'t',"INT","set max retries (-1 unlimits, default 20)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:171:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | addoption("delay",1,'s',"INT","seconds to wait between retry attempts(default 1)"); | ^~~~~~~ nget.cc:171:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | addoption("delay",1,'s',"INT","seconds to wait between retry attempts(default 1)"); | ^~~~~ nget.cc:171:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 171 | addoption("delay",1,'s',"INT","seconds to wait between retry attempts(default 1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:172:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | addoption("timeout",1,OPT_TIMEOUT,"INT","seconds to wait for data from server(default 180)"); | ^~~~~~~~~ nget.cc:172:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | addoption("timeout",1,OPT_TIMEOUT,"INT","seconds to wait for data from server(default 180)"); | ^~~~~ nget.cc:172:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 172 | addoption("timeout",1,OPT_TIMEOUT,"INT","seconds to wait for data from server(default 180)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:173:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | addoption("limit",1,'l',"INT","min # of lines a 'file' must have(default 0)"); | ^~~~~~~ nget.cc:173:26: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | addoption("limit",1,'l',"INT","min # of lines a 'file' must have(default 0)"); | ^~~~~ nget.cc:173:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 173 | addoption("limit",1,'l',"INT","min # of lines a 'file' must have(default 0)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:174:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | addoption("maxlines",1,'L',"INT","max # of lines a 'file' must have(default -1)"); | ^~~~~~~~~~ nget.cc:174:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | addoption("maxlines",1,'L',"INT","max # of lines a 'file' must have(default -1)"); | ^~~~~ nget.cc:174:35: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 174 | addoption("maxlines",1,'L',"INT","max # of lines a 'file' must have(default -1)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:175:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | addoption("incomplete",0,'i',0,"retrieve files with missing parts"); | ^~~~~~~~~~~~ nget.cc:175:33: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 175 | addoption("incomplete",0,'i',0,"retrieve files with missing parts"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:176:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | addoption("complete",0,'I',0,"retrieve only files with all parts(default)"); | ^~~~~~~~~~ nget.cc:176:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 176 | addoption("complete",0,'I',0,"retrieve only files with all parts(default)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:177:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 177 | addoption("decode",0,OPT_DECODE,0,"decode and delete temp files (default)"); | ^~~~~~~~ nget.cc:177:36: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 177 | addoption("decode",0,OPT_DECODE,0,"decode and delete temp files (default)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:178:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | addoption("keep",0,'k',0,"decode, but keep temp files"); | ^~~~~~ nget.cc:178:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 178 | addoption("keep",0,'k',0,"decode, but keep temp files"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:179:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | addoption("no-decode",0,'K',0,"keep temp files and don't even try to decode them"); | ^~~~~~~~~~~ nget.cc:179:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 179 | addoption("no-decode",0,'K',0,"keep temp files and don't even try to decode them"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:180:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 180 | addoption("case",0,'c',0,"match casesensitively"); | ^~~~~~ nget.cc:180:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 180 | addoption("case",0,'c',0,"match casesensitively"); | ^~~~~~~~~~~~~~~~~~~~~~~ nget.cc:181:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 181 | addoption("nocase",0,'C',0,"match incasesensitively(default)"); | ^~~~~~~~ nget.cc:181:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 181 | addoption("nocase",0,'C',0,"match incasesensitively(default)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:182:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | addoption("dupecheck",1,'d',"FLAGS","check to make sure you haven't already downloaded files(default -dfiM)"); | ^~~~~~~~~~~ nget.cc:182:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | addoption("dupecheck",1,'d',"FLAGS","check to make sure you haven't already downloaded files(default -dfiM)"); | ^~~~~~~ nget.cc:182:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 182 | addoption("dupecheck",1,'d',"FLAGS","check to make sure you haven't already downloaded files(default -dfiM)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:183:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | addoption("nodupecheck",0,'D',0,"don't check if you already have files(shortcut for -dFIM)"); | ^~~~~~~~~~~~~ nget.cc:183:34: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 183 | addoption("nodupecheck",0,'D',0,"don't check if you already have files(shortcut for -dFIM)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:184:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 184 | addoption("autopar",0,OPT_AUTOPAR,0,"only download as many par files as needed (default)"); | ^~~~~~~~~ nget.cc:184:38: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 184 | addoption("autopar",0,OPT_AUTOPAR,0,"only download as many par files as needed (default)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:185:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | addoption("no-autopar",0,OPT_NOAUTOPAR,0,"disable special par file handling"); | ^~~~~~~~~~~~ nget.cc:185:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 185 | addoption("no-autopar",0,OPT_NOAUTOPAR,0,"disable special par file handling"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:186:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | addoption("mark",0,'M',0,"mark matching articles as retrieved"); | ^~~~~~ nget.cc:186:27: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 186 | addoption("mark",0,'M',0,"mark matching articles as retrieved"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:187:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | addoption("unmark",0,'U',0,"mark matching articles as not retrieved (implies -dI)"); | ^~~~~~~~ nget.cc:187:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 187 | addoption("unmark",0,'U',0,"mark matching articles as not retrieved (implies -dI)"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:188:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 188 | addoption("writelite",1,'w',"LITEFILE","write out a ngetlite list file"); | ^~~~~~~~~~~ nget.cc:188:30: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 188 | addoption("writelite",1,'w',"LITEFILE","write out a ngetlite list file"); | ^~~~~~~~~~ nget.cc:188:41: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 188 | addoption("writelite",1,'w',"LITEFILE","write out a ngetlite list file"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:189:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 189 | addoption("noconnect",0,'N',0,"don't connect, only try to decode what we have"); | ^~~~~~~~~~~ nget.cc:189:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 189 | addoption("noconnect",0,'N',0,"don't connect, only try to decode what we have"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nget.cc:190:12: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | addoption("help",0,OPT_HELP,0,"this help"); | ^~~~~~ nget.cc:190:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 190 | addoption("help",0,OPT_HELP,0,"this help"); | ^~~~~~~~~~~ In file included from misc.h:36, from nget.cc:45: nget.cc: In function 'int do_args(int, const char**, nget_options, int)': nget.cc:562:73: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] 562 | PDEBUG(DEBUG_MIN,"testmode now %i",options.gflags&GETFILES_TESTMODE > 0); log.h:32:63: note: in definition of macro 'PDEBUG_nnl' 32 | #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);} | ^~~~ nget.cc:562:5: note: in expansion of macro 'PDEBUG' 562 | PDEBUG(DEBUG_MIN,"testmode now %i",options.gflags&GETFILES_TESTMODE > 0); | ^~~~~~ gmake: *** [: nget.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/news/nget *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-2021Q4-x86_64/news/nget