=> Bootstrap dependency digest>=20211023: found digest-20211023
WARNING: [license.mk] Every package should define a LICENSE.
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for nget-0.27.1nb4
c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include  -c -o nget.o nget.cc
c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include  -c -o status.o status.cc
c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include  -c -o prot_nntp.o prot_nntp.cc
In file included from /usr/include/g++/backward/hash_map:60:0,
                 from _hash_map.h:28,
                 from cache.h:29,
                 from prot_nntp.h:26,
                 from prot_nntp.cc:23:
/usr/include/g++/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]
 #warning \
  ^~~~~~~
In file included from /usr/include/g++/backward/hash_map:60:0,
                 from _hash_map.h:28,
                 from cache.h:29,
                 from prot_nntp.h:26,
                 from nget.cc:49:
/usr/include/g++/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]
 #warning \
  ^~~~~~~
nget.cc:194:9: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
  printf("nget v"PACKAGE_VERSION" - nntp command line fetcher\n");
         ^
prot_nntp.cc:1146:10: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
   printf("%"PRIuFAST64" bytes in %lu files\n",filec.bytes,(ulong)filec.files.size());
          ^
In file included from prot_nntp.h:26:0,
                 from nget.cc:49:
cache.h:232:77: error: template argument 3 is invalid
 typedef hash_map<const char*, c_message_state::ptr, hash<const char*>, eqstr> t_message_state_list;
                                                                             ^
cache.h: In member function 'void c_mid_info::insert_full(std::__cxx11::string, time_t, time_t)':
cache.h:248:35: error: qualified-id in declaration before 'i'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:250:8: error: 'i' was not declared in this scope
    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}'
    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}'
     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}'
    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
    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}'
    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}'
    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}'
    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
    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'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:275:8: error: 'i' was not declared in this scope
    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}'
    if (i==states.end())
                  ^~~
cache.h:277:6: error: 'i' was not declared in this scope
    (*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}'
    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}'
     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'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:288:8: error: 'i' was not declared in this scope
    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}'
    if (i!=states.end()){
                  ^~~
In file included from prot_nntp.h:26:0,
                 from prot_nntp.cc:23:
cache.h:232:77: error: template argument 3 is invalid
 typedef hash_map<const char*, c_message_state::ptr, hash<const char*>, eqstr> t_message_state_list;
                                                                             ^
cache.h: In member function 'void c_mid_info::insert_full(std::__cxx11::string, time_t, time_t)':
cache.h:248:35: error: qualified-id in declaration before 'i'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:250:8: error: 'i' was not declared in this scope
    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}'
    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}'
     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}'
    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
    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}'
    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}'
    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}'
    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
    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'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:275:8: error: 'i' was not declared in this scope
    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}'
    if (i==states.end())
                  ^~~
cache.h:277:6: error: 'i' was not declared in this scope
    (*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}'
    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}'
     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'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:288:8: error: 'i' was not declared in this scope
    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}'
    if (i!=states.end()){
                  ^~~
nget.cc: In function 'void addoptions()':
nget.cc:147:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("quiet",0,'q',0,"supress extra info");
                                                ^
nget.cc:147:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:148:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("host",1,'h',"HOSTALIAS","force nntp host to use (must be configured in .ngetrc)");
                                                                                             ^
nget.cc:148:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:148:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:149:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("available",0,'a',0,"update/load available newsgroups list");
                                                                       ^
nget.cc:149:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:150:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("quickavailable",0,'A',0,"load available newsgroups list");
                                                                     ^
nget.cc:150:69: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:151:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("xavailable",0,'X',0,"search available newsgroups list without using cache files");
                                                                                             ^
nget.cc:151:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:152:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("group",1,'g',"GROUP(s)","update and use newsgroups (comma seperated)");
                                                                                  ^
nget.cc:152:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:152:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:153:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("quickgroup",1,'G',"GROUP(s)","use group(s) without checking for new headers");
                                                                                         ^
nget.cc:153:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:153:89: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:154:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("xgroup",1,'x',"GROUP(s)","use group(s) without using cache files (requires XPAT)");
                                                                                              ^
nget.cc:154:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:154:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:155:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("flushserver",1,'F',"HOSTALIAS","flush server from current group(s) or newsgroup list");
                                                                                                  ^
nget.cc:155:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:155:98: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:156:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("expretrieve",1,'R',"EXPRESSION","retrieve files matching expression(see man page)");
                                                                                               ^
nget.cc:156:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:156:95: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:157:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("retrieve",1,'r',"REGEX","retrieve files matching regex");
                                                                    ^
nget.cc:157:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:157:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:158:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("list",1,'@',"LISTFILE","read commands from listfile");
                                                                 ^
nget.cc:158:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:158:65: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:159:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("path",1,'p',"DIRECTORY","path to store subsequent retrieves");
                                                                         ^
nget.cc:159:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:159:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:160:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("temppath",1,'P',"DIRECTORY","path to store tempfiles");
                                                                  ^
nget.cc:160:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:160:66: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:161:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("dupepath",1,OPT_DUPEPATH,"DIRECTORY","extra path to check for dupe files");
                                                                                      ^
nget.cc:161:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:161:86: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:162:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("makedirs",1,'m',"no,yes,ask,#","make dirs specified by -p and -P");
                                                                              ^
nget.cc:162:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:162:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:165:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("testmode",0,'T',0,"test what would have been retrieved");
                                                                    ^
nget.cc:165:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:166:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("test-multiserver",1,OPT_TEST_MULTI,"OPT","make testmode display per-server completion info (no(default)/long/short)");
                                                                                                                                 ^
nget.cc:166:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:166:129: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:167:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("fullxover",1,OPT_FULLXOVER,"OPT","override fullxover setting (-1..2, default -1)");
                                                                                              ^
nget.cc:167:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:167:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:168:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("text",1,OPT_TEXT_HANDLING,"OPT","how to handle text posts (files(default)/mbox[:filename]/ignore)");
                                                                                                               ^
nget.cc:168:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:168:111: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:169:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  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:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:169:140: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:170:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("tries",1,'t',"INT","set max retries (-1 unlimits, default 20)");
                                                                           ^
nget.cc:170:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:170:75: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:171:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("delay",1,'s',"INT","seconds to wait between retry attempts(default 1)");
                                                                                   ^
nget.cc:171:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:171:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:172:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("timeout",1,OPT_TIMEOUT,"INT","seconds to wait for data from server(default 180)");
                                                                                             ^
nget.cc:172:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:172:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:173:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("limit",1,'l',"INT","min # of lines a 'file' must have(default 0)");
                                                                              ^
nget.cc:173:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:173:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:174:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("maxlines",1,'L',"INT","max # of lines a 'file' must have(default -1)");
                                                                                  ^
nget.cc:174:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:174:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:175:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("incomplete",0,'i',0,"retrieve files with missing parts");
                                                                    ^
nget.cc:175:68: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:176:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("complete",0,'I',0,"retrieve only files with all parts(default)");
                                                                            ^
nget.cc:176:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:177:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("decode",0,OPT_DECODE,0,"decode and delete temp files (default)");
                                                                            ^
nget.cc:177:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:178:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("keep",0,'k',0,"decode, but keep temp files");
                                                        ^
nget.cc:178:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:179:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("no-decode",0,'K',0,"keep temp files and don't even try to decode them");
                                                                                   ^
nget.cc:179:83: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:180:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("case",0,'c',0,"match casesensitively");
                                                  ^
nget.cc:180:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:181:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("nocase",0,'C',0,"match incasesensitively(default)");
                                                               ^
nget.cc:181:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:182:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("dupecheck",1,'d',"FLAGS","check to make sure you haven't already downloaded files(default -dfiM)");
                                                                                                              ^
nget.cc:182:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:182:110: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:183:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("nodupecheck",0,'D',0,"don't check if you already have files(shortcut for -dFIM)");
                                                                                             ^
c++ -O2 -fPIC -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -Wall -MMD -MP -DHAVE_CONFIG_H -I/usr/pkg/include -I/usr/include  -c -o decode.o decode.cc
nget.cc:183:93: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:184:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("autopar",0,OPT_AUTOPAR,0,"only download as many par files as needed (default)");
                                                                                           ^
nget.cc:184:91: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:185:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("no-autopar",0,OPT_NOAUTOPAR,0,"disable special par file handling");
                                                                              ^
nget.cc:185:78: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:186:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("mark",0,'M',0,"mark matching articles as retrieved");
                                                                ^
nget.cc:186:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:187:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("unmark",0,'U',0,"mark matching articles as not retrieved (implies -dI)");
                                                                                    ^
nget.cc:187:84: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:188:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("writelite",1,'w',"LITEFILE","write out a ngetlite list file");
                                                                         ^
nget.cc:188:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:188:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:189:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("noconnect",0,'N',0,"don't connect, only try to decode what we have");
                                                                                ^
nget.cc:189:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
nget.cc:190:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
  addoption("help",0,OPT_HELP,0,"this help");
                                           ^
nget.cc:190:43: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
In file included from misc.h:36:0,
                 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]
     PDEBUG(DEBUG_MIN,"testmode now %i",options.gflags&GETFILES_TESTMODE > 0);
log.h:32:63: note: in definition of macro 'PDEBUG_nnl'
 #define PDEBUG_nnl(d, a, args...) {if (debug>=d) printf(a, ## args);}
                                                               ^~~~
nget.cc:562:5: note: in expansion of macro 'PDEBUG'
     PDEBUG(DEBUG_MIN,"testmode now %i",options.gflags&GETFILES_TESTMODE > 0);
     ^~~~~~
In file included from par2/par2cmdline.h:263:0,
                 from par.h:29,
                 from prot_nntp.cc:43:
par2/par2fileformat.h: At global scope:
par2/par2fileformat.h:68:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PACKET_HEADER::length'
   leu64            length; // Length of entire packet including header
                    ^~~~~~
par2/par2fileformat.h:82:18: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 FILEVERIFICATIONENTRY::crc'
   leu32          crc;
                  ^~~
par2/par2fileformat.h:86:25: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEVERIFICATIONPACKET::header'
   PACKET_HEADER         header;
                         ^~~~~~
par2/par2fileformat.h:89:33: warning: ignoring packed attribute because of unpacked non-POD field 'FILEVERIFICATIONENTRY FILEVERIFICATIONPACKET::entries []'
   FILEVERIFICATIONENTRY entries[];
                                 ^
par2/par2fileformat.h:101:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER FILEDESCRIPTIONPACKET::header'
   PACKET_HEADER    header;
                    ^~~~~~
par2/par2fileformat.h:106:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 FILEDESCRIPTIONPACKET::length'
   leu64            length;    // Length of the file
                    ^~~~~~
par2/par2fileformat.h:129:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER MAINPACKET::header'
   PACKET_HEADER    header;
                    ^~~~~~
par2/par2fileformat.h:131:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 MAINPACKET::blocksize'
   leu64            blocksize;
                    ^~~~~~~~~
par2/par2fileformat.h:132:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 MAINPACKET::recoverablefilecount'
   leu32            recoverablefilecount;
                    ^~~~~~~~~~~~~~~~~~~~
par2/par2fileformat.h:143:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER CREATORPACKET::header'
   PACKET_HEADER    header;
                    ^~~~~~
par2/par2fileformat.h:153:20: warning: ignoring packed attribute because of unpacked non-POD field 'PACKET_HEADER RECOVERYBLOCKPACKET::header'
   PACKET_HEADER    header;
                    ^~~~~~
par2/par2fileformat.h:155:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 RECOVERYBLOCKPACKET::exponent'
   leu32            exponent;
                    ^~~~~~~~
In file included from /usr/include/g++/backward/hash_map:60:0,
                 from _hash_map.h:28,
                 from cache.h:29,
                 from decode.h:29,
                 from decode.cc:22:
/usr/include/g++/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]
 #warning \
  ^~~~~~~
In file included from par2/par2cmdline.h:280:0,
                 from par.h:29,
                 from prot_nntp.cc:43:
par2/verificationhashtable.h: In member function 'bool VerificationHashEntry::operator<(const VerificationHashEntry&) const':
par2/verificationhashtable.h:69:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     return crc < r.crc || crc == r.crc && hash < r.hash;
                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
par2/verificationhashtable.h: In member function 'bool VerificationHashEntry::operator>(const VerificationHashEntry&) const':
par2/verificationhashtable.h:73:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     return crc > r.crc || crc == r.crc && hash > r.hash;
                           ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
par2/verificationhashtable.h: In static member function 'static const VerificationHashEntry* VerificationHashEntry::Search(const VerificationHashEntry*, const MD5Hash&)':
par2/verificationhashtable.h:186:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     if (entry->crc < crc || entry->crc == crc && entry->hash < hash)
                             ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
par2/verificationhashtable.h:190:52: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
     else if (entry->crc > crc || entry->crc == crc && entry->hash > hash)
                                  ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
par2/verificationhashtable.h: In member function 'const VerificationHashEntry* VerificationHashTable::FindMatch(const VerificationHashEntry*, const Par2RepairerSourceFile*, FileCheckSummer&, bool&) const':
par2/verificationhashtable.h:405:54: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                             checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength()
                             ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
par2/verificationhashtable.h:412:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                               checksummer.ShortBlock() && checksummer.BlockLength() != currententry->GetDataBlock()->GetLength()
                               ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from par2/par2cmdline.h:280:0,
                 from par.h:29,
                 from prot_nntp.cc:43:
par2/verificationhashtable.h:429:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
                        checksummer.ShortBlock() && checksummer.BlockLength() != nextentry->GetDataBlock()->GetLength()
                        ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from par2/par2cmdline.h:284:0,
                 from par.h:29,
                 from prot_nntp.cc:43:
par2/par1fileformat.h: At global scope:
par2/par1fileformat.h:41:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 PAR1FILEHEADER::fileversion'
   leu32       fileversion;
               ^~~~~~~~~~~
par2/par1fileformat.h:42:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu32 PAR1FILEHEADER::programversion'
   leu32       programversion;
               ^~~~~~~~~~~~~~
par2/par1fileformat.h:45:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::volumenumber'
   leu64       volumenumber;
               ^~~~~~~~~~~~
par2/par1fileformat.h:46:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::numberoffiles'
   leu64       numberoffiles;
               ^~~~~~~~~~~~~
par2/par1fileformat.h:47:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::filelistoffset'
   leu64       filelistoffset;
               ^~~~~~~~~~~~~~
par2/par1fileformat.h:48:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::filelistsize'
   leu64       filelistsize;
               ^~~~~~~~~~~~
par2/par1fileformat.h:49:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::dataoffset'
   leu64       dataoffset;
               ^~~~~~~~~~
par2/par1fileformat.h:50:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEHEADER::datasize'
   leu64       datasize;
               ^~~~~~~~
par2/par1fileformat.h:55:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::entrysize'
   leu64       entrysize;
               ^~~~~~~~~
par2/par1fileformat.h:56:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::status'
   leu64       status;
               ^~~~~~
par2/par1fileformat.h:57:15: warning: ignoring packed attribute because of unpacked non-POD field 'leu64 PAR1FILEENTRY::filesize'
   leu64       filesize;
               ^~~~~~~~
par2/par1fileformat.h:60:20: warning: ignoring packed attribute because of unpacked non-POD field 'leu16 PAR1FILEENTRY::name []'
   leu16       name[];
                    ^
prot_nntp.cc: In member function 'void c_prot_nntp::nntp_dogroupdescriptions(const char*)':
prot_nntp.cc:218:11: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    desc = "";
           ^~
gmake: *** [<builtin>: nget.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from decode.h:29:0,
                 from decode.cc:22:
cache.h:232:77: error: template argument 3 is invalid
 typedef hash_map<const char*, c_message_state::ptr, hash<const char*>, eqstr> t_message_state_list;
                                                                             ^
cache.h: In member function 'void c_mid_info::insert_full(std::__cxx11::string, time_t, time_t)':
cache.h:248:35: error: qualified-id in declaration before 'i'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:250:8: error: 'i' was not declared in this scope
    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}'
    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}'
     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}'
    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
    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}'
    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}'
    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}'
    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
    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'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:275:8: error: 'i' was not declared in this scope
    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}'
    if (i==states.end())
                  ^~~
cache.h:277:6: error: 'i' was not declared in this scope
    (*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}'
    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}'
     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'
    t_message_state_list::iterator i=states.find(mid.c_str());
                                   ^
cache.h:288:8: error: 'i' was not declared in this scope
    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}'
    if (i!=states.end()){
                  ^~~
decode.cc: In member function 'int Decoder::decode(const nget_options&, const ptr&, dupe_file_checker&)':
decode.cc:193:29: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
    UURenameFile(uul,"noname");
                             ^
gmake: *** [<builtin>: prot_nntp.o] Error 1
gmake: *** [<builtin>: decode.o] Error 1
*** Error code 2

Stop.
make[1]: stopped in /tree/pkgsrc/news/nget
*** Error code 1

Stop.
make: stopped in /tree/pkgsrc/news/nget