+ 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/icinga2-2.12.3nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/icinga2-2.12.3nb4/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for icinga2-2.12.3nb4 [ 1%] Building C object third-party/mmatch/CMakeFiles/mmatch.dir/mmatch.c.o [ 1%] Built target mmatch [ 2%] Building C object third-party/execvpe/CMakeFiles/execvpe.dir/execvpe.c.o /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/third-party/execvpe/execvpe.c: In function 'icinga2_execvpe': /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/third-party/execvpe/execvpe.c:96:21: warning: implicit declaration of function 'confstr' [-Wimplicit-function-declaration] 96 | pathlen = confstr (_CS_PATH, (char *) NULL, 0); | ^~~~~~~ [ 2%] Built target execvpe [ 3%] Building C object third-party/socketpair/CMakeFiles/socketpair.dir/socketpair.c.o [ 3%] Built target socketpair [ 4%] [FLEX][class_lexer] Building scanner with flex 2.6.4 [ 5%] [BISON][class_parser] Building parser with bison 3.8.2 class_parser.yy:19.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated] 19 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure class_parser.yy:23.1-14: warning: deprecated directive: '%error-verbose', use '%define parse.error verbose' [-Wdeprecated] 23 | %error-verbose | ^~~~~~~~~~~~~~ | %define parse.error verbose class_parser.yy: warning: 2 shift/reduce conflicts [-Wconflicts-sr] class_parser.yy: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples class_parser.yy: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] [ 6%] Building CXX object tools/mkclass/CMakeFiles/mkclass.dir/mkclass.cpp.o [ 7%] Building CXX object tools/mkclass/CMakeFiles/mkclass.dir/classcompiler.cpp.o [ 8%] Building CXX object tools/mkclass/CMakeFiles/mkclass.dir/class_parser.cc.o [ 9%] Building CXX object tools/mkclass/CMakeFiles/mkclass.dir/class_lexer.cc.o [ 10%] Linking CXX executable ../../Bin/Release/mkclass [ 10%] Built target mkclass [ 11%] Building C object tools/mkembedconfig/CMakeFiles/mkembedconfig.dir/mkembedconfig.c.o [ 12%] Linking C executable ../../Bin/Release/mkembedconfig [ 12%] Built target mkembedconfig [ 13%] Building C object tools/mkunity/CMakeFiles/mkunity.dir/mkunity.c.o [ 14%] Linking C executable ../../Bin/Release/mkunity [ 14%] Built target mkunity [ 15%] Generating application-ti.cpp, application-ti.hpp [ 16%] Generating base_unity.cpp [ 17%] Generating configobject-ti.cpp, configobject-ti.hpp [ 18%] Generating configuration-ti.cpp, configuration-ti.hpp [ 19%] Generating datetime-ti.cpp, datetime-ti.hpp [ 20%] Generating filelogger-ti.cpp, filelogger-ti.hpp [ 21%] Generating function-ti.cpp, function-ti.hpp [ 22%] Generating logger-ti.cpp, logger-ti.hpp [ 23%] Generating perfdatavalue-ti.cpp, perfdatavalue-ti.hpp [ 25%] Generating streamlogger-ti.cpp, streamlogger-ti.hpp [ 26%] Generating sysloglogger-ti.cpp, sysloglogger-ti.hpp [ 27%] Building CXX object lib/base/CMakeFiles/base.dir/application-version.cpp.o [ 28%] Building CXX object lib/base/CMakeFiles/base.dir/base_unity.cpp.o In file included from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/functional/hash.hpp:6, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/detail/thread.hpp:41, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/thread_only.hpp:22, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/thread.hpp:12, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/workqueue.hpp:10, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/configobject.cpp:16, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/base_unity.cpp:8: /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/container_hash/hash.hpp:132:33: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 132 | struct hash_base : std::unary_function<T, std::size_t> {}; | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/string:48, from /opt/tools/gcc12/include/c++/12.2.0/stdexcept:39, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/i2-base.hpp:69, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/application.hpp:6, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/application.cpp:3, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/base_unity.cpp:1: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 28%] Built target base [ 29%] [FLEX][config_lexer] Building scanner with flex 2.6.4 [ 30%] [BISON][config_parser] Building parser with bison 3.8.2 config_parser.yy:59.1-12: warning: deprecated directive: '%pure-parser', use '%define api.pure' [-Wdeprecated] 59 | %pure-parser | ^~~~~~~~~~~~ | %define api.pure config_parser.yy:63.1-14: warning: deprecated directive: '%error-verbose', use '%define parse.error verbose' [-Wdeprecated] 63 | %error-verbose | ^~~~~~~~~~~~~~ | %define parse.error verbose config_parser.yy: warning: 52 shift/reduce conflicts [-Wconflicts-sr] config_parser.yy: warning: 105 reduce/reduce conflicts [-Wconflicts-rr] config_parser.yy: note: rerun with option '-Wcounterexamples' to generate conflict counterexamples config_parser.yy: warning: fix-its can be applied. Rerun with option '--update'. [-Wother] [ 31%] Generating config_unity.cpp [ 32%] Building CXX object lib/config/CMakeFiles/config.dir/config_parser.cc.o [ 33%] Building CXX object lib/config/CMakeFiles/config.dir/config_unity.cpp.o In file included from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/functional/hash.hpp:6, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/detail/thread.hpp:41, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/thread_only.hpp:22, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/thread.hpp:12, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/workqueue.hpp:10, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/configitem.hpp:10, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/configcompiler.cpp:4, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/config_unity.cpp:3: /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/container_hash/hash.hpp:132:33: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 132 | struct hash_base : std::unary_function<T, std::size_t> {}; | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/string:48, from /opt/tools/gcc12/include/c++/12.2.0/stdexcept:39, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/i2-base.hpp:69, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/i2-config.hpp:14, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/activationcontext.hpp:6, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/activationcontext.cpp:3, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/config/config_unity.cpp:1: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ [ 34%] Building CXX object lib/config/CMakeFiles/config.dir/config_lexer.cc.o [ 34%] Built target config [ 35%] Generating apilistener-ti.cpp, apilistener-ti.hpp [ 36%] Generating apiuser-ti.cpp, apiuser-ti.hpp [ 37%] Generating endpoint-ti.cpp, endpoint-ti.hpp [ 38%] Generating remote_unity.cpp [ 39%] Generating zone-ti.cpp, zone-ti.hpp [ 40%] Building CXX object lib/remote/CMakeFiles/remote.dir/remote_unity.cpp.o In file included from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/functional/hash.hpp:6, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/detail/thread.hpp:41, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/thread_only.hpp:22, from /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/thread/thread.hpp:12, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/workqueue.hpp:10, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/jsonrpcconnection.hpp:11, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/messageorigin.hpp:7, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/apifunction.hpp:7, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/apifunction.cpp:3, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/remote_unity.cpp:3: /home/pbulk/build/net/icinga2/work/.buildlink/include/boost/container_hash/hash.hpp:132:33: warning: 'template<class _Arg, class _Result> struct std::unary_function' is deprecated [-Wdeprecated-declarations] 132 | struct hash_base : std::unary_function<T, std::size_t> {}; | ^~~~~~~~~~~~~~ In file included from /opt/tools/gcc12/include/c++/12.2.0/string:48, from /opt/tools/gcc12/include/c++/12.2.0/stdexcept:39, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/base/i2-base.hpp:69, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/i2-remote.hpp:12, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/httphandler.hpp:6, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/actionshandler.hpp:6, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/actionshandler.cpp:3, from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/remote_unity.cpp:1: /opt/tools/gcc12/include/c++/12.2.0/bits/stl_function.h:117:12: note: declared here 117 | struct unary_function | ^~~~~~~~~~~~~~ In file included from /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/remote_unity.cpp:4: /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/apilistener.cpp: In member function 'bool icinga::ApiListener::AddListener(const icinga::String&, const icinga::String&)': /home/pbulk/build/net/icinga2/work/icinga2-2.12.3/lib/remote/apilistener.cpp:390:68: error: 'SO_REUSEPORT' was not declared in this scope; did you mean 'SO_REUSEADDR'? 390 | setsockopt(fd, SOL_SOCKET, SO_REUSEPORT, reinterpret_cast<const char *>(&optTrue), sizeof(optTrue)); | ^~~~~~~~~~~~ | SO_REUSEADDR *** [lib/remote/CMakeFiles/remote.dir/remote_unity.cpp.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/net/icinga2/work/icinga2-2.12.3 1 error bmake[2]: stopped in /home/pbulk/build/net/icinga2/work/icinga2-2.12.3 *** [lib/remote/CMakeFiles/remote.dir/all] Error code 2 bmake[1]: stopped in /home/pbulk/build/net/icinga2/work/icinga2-2.12.3 1 error bmake[1]: stopped in /home/pbulk/build/net/icinga2/work/icinga2-2.12.3 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/net/icinga2/work/icinga2-2.12.3 1 error bmake: stopped in /home/pbulk/build/net/icinga2/work/icinga2-2.12.3 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2 *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/net/icinga2