+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sqtop-20131217nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/sqtop-20131217nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for sqtop-20131217nb4 Making all in src /opt/pkg/bin/bmake all-am g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT Base64.o -MD -MP -MF .deps/Base64.Tpo -c -o Base64.o Base64.cpp mv -f .deps/Base64.Tpo .deps/Base64.Po g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT Utils.o -MD -MP -MF .deps/Utils.Tpo -c -o Utils.o Utils.cpp mv -f .deps/Utils.Tpo .deps/Utils.Po g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT options.o -MD -MP -MF .deps/options.Tpo -c -o options.o options.cpp mv -f .deps/options.Tpo .deps/options.Po g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT sqconn.o -MD -MP -MF .deps/sqconn.Tpo -c -o sqconn.o sqconn.cpp mv -f .deps/sqconn.Tpo .deps/sqconn.Po g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT sqstat.o -MD -MP -MF .deps/sqstat.Tpo -c -o sqstat.o sqstat.cpp sqstat.cpp: In member function 'sqtop::Uri_Stats sqtop::sqstat::FindUriStatsById(std::vector<sqtop::SQUID_Connection>, std::string)': sqstat.cpp:232:100: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = sqtop::Uri_Stats; _Arg2 = __cxx11::basic_string<char>; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 232 | vector<Uri_Stats>::iterator itu = find_if(it->stats.begin(), it->stats.end(), bind2nd(ptr_fun(StatByID), id)); | ~~~~~~~^~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/string:48, from /opt/tools/gcc12/include/c++/12.2.0/bits/locale_classes.h:40, from /opt/tools/gcc12/include/c++/12.2.0/bits/ios_base.h:41, from /opt/tools/gcc12/include/c++/12.2.0/ios:42, from /opt/tools/gcc12/include/c++/12.2.0/istream:38, from /opt/tools/gcc12/include/c++/12.2.0/sstream:38, from sqstat.cpp:10: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ sqstat.cpp:232:92: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function<sqtop::Uri_Stats, __cxx11::basic_string<char>, bool>; _Tp = __cxx11::basic_string<char>]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 232 | vector<Uri_Stats>::iterator itu = find_if(it->stats.begin(), it->stats.end(), bind2nd(ptr_fun(StatByID), id)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:1438: /opt/tools/gcc12/include/c++/12.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ sqstat.cpp: In member function 'std::vector<sqtop::SQUID_Connection> sqtop::sqstat::GetInfo(sqtop::Options*)': sqstat.cpp:361:109: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = sqtop::SQUID_Connection; _Arg2 = __cxx11::basic_string<char>; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 361 | Conn_it = std::find_if( connections.begin(), connections.end(), std::bind2nd( std::ptr_fun(ConnByPeer) , peer.first) ); | ~~~~~~~~~~~~^~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ sqstat.cpp:361:95: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function<sqtop::SQUID_Connection, __cxx11::basic_string<char>, bool>; _Tp = __cxx11::basic_string<char>]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 361 | Conn_it = std::find_if( connections.begin(), connections.end(), std::bind2nd( std::ptr_fun(ConnByPeer) , peer.first) ); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /opt/tools/gcc12/include/c++/12.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/sqstat.Tpo .deps/sqstat.Po g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT ncui.o -MD -MP -MF .deps/ncui.Tpo -c -o ncui.o ncui.cpp ncui.cpp: In member function 'std::vector<sqtop::SQUID_Connection> sqtop::ncui::FilterConns(std::vector<sqtop::SQUID_Connection>)': ncui.cpp:256:72: warning: 'std::pointer_to_binary_function<_Arg1, _Arg2, _Result> std::ptr_fun(_Result (*)(_Arg1, _Arg2)) [with _Arg1 = sqtop::SQUID_Connection; _Arg2 = sqtop::Options*; _Result = bool]' is deprecated: use 'std::function' instead [-Wdeprecated-declarations] 256 | it = std::remove_if( in.begin(), in.end(), std::bind2nd(std::ptr_fun(Filter), pGlobalOpts) ); | ~~~~~~~~~~~~^~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/string:48, from /opt/tools/gcc12/include/c++/12.2.0/bits/locale_classes.h:40, from /opt/tools/gcc12/include/c++/12.2.0/bits/ios_base.h:41, from /opt/tools/gcc12/include/c++/12.2.0/ios:42, from /opt/tools/gcc12/include/c++/12.2.0/istream:38, from /opt/tools/gcc12/include/c++/12.2.0/sstream:38, from ncui.cpp:10: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:1153:5: note: declared here 1153 | ptr_fun(_Result (*__x)(_Arg1, _Arg2)) | ^~~~~~~ ncui.cpp:256:59: warning: 'std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = pointer_to_binary_function<sqtop::SQUID_Connection, sqtop::Options*, bool>; _Tp = sqtop::Options*]' is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 256 | it = std::remove_if( in.begin(), in.end(), std::bind2nd(std::ptr_fun(Filter), pGlobalOpts) ); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:1438: /opt/tools/gcc12/include/c++/12.2.0/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ mv -f .deps/ncui.Tpo .deps/ncui.Po g++ -DHAVE_CONFIG_H -I. -Wall -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -I/opt/pkg/include/ncurses -I/opt/pkg/include -I/usr/include -MT resolver.o -MD -MP -MF .deps/resolver.Tpo -c -o resolver.o resolver.cpp resolver.cpp: In static member function 'static std::string Resolver::DoRealResolve(in_addr*)': resolver.cpp:237:34: error: invalid conversion from 'const void*' to 'const char*' [-fpermissive] 237 | while ((res = gethostbyaddr_r((const void*)addr, sizeof addr, AF_INET, | ^~~~~~~~~~~~~~~~~ | | | const void* resolver.cpp:239:34: error: cannot convert 'hostent**' to 'int*' 239 | &hp, &herr)) == ERANGE) { | ^~~ | | | hostent** In file included from resolver.cpp:12: /usr/include/netdb.h:241:70: note: initializing argument 7 of 'hostent* gethostbyaddr_r(const char*, int, int, hostent*, char*, int, int*)' 241 | (const char *, int, int, struct hostent *, char *, int, int *h_errnop); | ~~~~~^~~~~~~~ *** [resolver.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/www/sqtop/work/sqtop-2013-12-17/src 1 error bmake[2]: stopped in /home/pbulk/build/www/sqtop/work/sqtop-2013-12-17/src *** [all] Error code 2 bmake[1]: stopped in /home/pbulk/build/www/sqtop/work/sqtop-2013-12-17/src 1 error bmake[1]: stopped in /home/pbulk/build/www/sqtop/work/sqtop-2013-12-17/src *** [all-recursive] Error code 1 bmake: stopped in /home/pbulk/build/www/sqtop/work/sqtop-2013-12-17 1 error bmake: stopped in /home/pbulk/build/www/sqtop/work/sqtop-2013-12-17 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/sqtop *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/www/sqtop