+ 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/dinit-0.19.3nb2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/dinit-0.19.3nb2/work.log
===> Building for dinit-0.19.3nb2
/opt/pkg/bin/gmake -C build all
gmake[1]: Entering directory '/home/pbulk/build/sysutils/dinit/work/dinit-0.19.3/build'
/opt/pkg/bin/gmake -C tools mconfig-gen
gmake[2]: Entering directory '/home/pbulk/build/sysutils/dinit/work/dinit-0.19.3/build/tools'
g++  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -o mconfig-gen mconfig-gen.cc -Wl,-R/opt/pkg/lib 
gmake[2]: Leaving directory '/home/pbulk/build/sysutils/dinit/work/dinit-0.19.3/build/tools'
./tools/mconfig-gen SBINDIR=/opt/pkg/sbin SYSCONTROLSOCKET=/var/run/dinitctl \
	SHUTDOWN_PREFIX= VERSION=0.19.3 \
	DEFAULT_AUTO_RESTART=ALWAYS \
	DEFAULT_START_TIMEOUT=60 \
	DEFAULT_STOP_TIMEOUT=10 \
	SUPPORT_CGROUPS=0 \
	 \
	USE_INITGROUPS=1 > includes/mconfig.h
gmake[1]: Leaving directory '/home/pbulk/build/sysutils/dinit/work/dinit-0.19.3/build'
/opt/pkg/bin/gmake -C src all
gmake[1]: Entering directory '/home/pbulk/build/sysutils/dinit/work/dinit-0.19.3/src'
g++  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -MMD -MP -Iincludes -I../dasynq/include -I../build/includes -c dinit.cc -o dinit.o
g++  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -MMD -MP -Iincludes -I../dasynq/include -I../build/includes -c load-service.cc -o load-service.o
g++  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -MMD -MP -Iincludes -I../dasynq/include -I../build/includes -c service.cc -o service.o
g++  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations  -MMD -MP -Iincludes -I../dasynq/include -I../build/includes -c proc-service.cc -o proc-service.o
In file included from ../dasynq/include/dasynq.h:8,
                 from includes/dinit.h:4,
                 from proc-service.cc:7:
../dasynq/include/dasynq/interrupt.h: In member function 'void dasynq::interrupt_channel<Base, Mutex>::init(T*)':
../dasynq/include/dasynq/interrupt.h:59:24: error: 'system_error' is not a member of 'std'
   59 |             throw std::system_error(errno, std::system_category());
      |                        ^~~~~~~~~~~~
../dasynq/include/dasynq/interrupt.h:59:49: error: 'system_category' is not a member of 'std'
   59 |             throw std::system_error(errno, std::system_category());
      |                                                 ^~~~~~~~~~~~~~~
../dasynq/include/dasynq/interrupt.h:14:1: note: 'std::system_category' is defined in header '<system_error>'; did you forget to '#include <system_error>'?
   13 | #include "util.h"
  +++ |+#include <system_error>
   14 | 
In file included from ../dasynq/include/dasynq.h:85:
../dasynq/include/dasynq/posixtimer.h: In member function 'void dasynq::posix_timer_events<Base, provide_mono_timer>::init(T*)':
../dasynq/include/dasynq/posixtimer.h:116:28: error: 'system_error' is not a member of 'std'
  116 |                 throw std::system_error(errno, std::system_category());
      |                            ^~~~~~~~~~~~
../dasynq/include/dasynq/posixtimer.h:116:53: error: 'system_category' is not a member of 'std'
  116 |                 throw std::system_error(errno, std::system_category());
      |                                                     ^~~~~~~~~~~~~~~
../dasynq/include/dasynq/posixtimer.h:14:1: note: 'std::system_category' is defined in header '<system_error>'; did you forget to '#include <system_error>'?
   13 | #include "timerbase.h"
  +++ |+#include <system_error>
   14 | 
../dasynq/include/dasynq/posixtimer.h:120:24: error: 'system_error' is not a member of 'std'
  120 |             throw std::system_error(errno, std::system_category());
      |                        ^~~~~~~~~~~~
../dasynq/include/dasynq/posixtimer.h:120:49: error: 'system_category' is not a member of 'std'
  120 |             throw std::system_error(errno, std::system_category());
      |                                                 ^~~~~~~~~~~~~~~
../dasynq/include/dasynq/posixtimer.h:120:49: note: 'std::system_category' is defined in header '<system_error>'; did you forget to '#include <system_error>'?
gmake[1]: *** [Makefile:41: proc-service.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from ../dasynq/include/dasynq/daryheap.h:11,
                 from ../dasynq/include/dasynq/timerbase.h:10,
                 from ../dasynq/include/dasynq/posixtimer.h:13,
                 from ../dasynq/include/dasynq.h:85,
                 from dinit.cc:26:
In member function 'bool dasynq::svector<T>::change_capacity(size_type) [with T = dasynq::dary_heap<dasynq::v2::dprivate::empty_node, dasynq::stable_prio<int>, dasynq::compare_stable_prio<int, std::less<int> >, 4>::heap_node]',
    inlined from 'bool dasynq::svector<T>::ensure_capacity(size_type, bool) [with T = dasynq::dary_heap<dasynq::v2::dprivate::empty_node, dasynq::stable_prio<int>, dasynq::compare_stable_prio<int, std::less<int> >, 4>::heap_node]' at ../dasynq/include/dasynq/svec.h:132:31,
    inlined from 'void dasynq::svector<T>::reserve(size_t) [with T = dasynq::dary_heap<dasynq::v2::dprivate::empty_node, dasynq::stable_prio<int>, dasynq::compare_stable_prio<int, std::less<int> >, 4>::heap_node]' at ../dasynq/include/dasynq/svec.h:235:29,
    inlined from 'void dasynq::dary_heap<T, P, Compare, N>::allocate(handle_t&, U&& ...) [with U = {}; T = dasynq::v2::dprivate::empty_node; P = dasynq::stable_prio<int>; Compare = dasynq::compare_stable_prio<int, std::less<int> >; int N = 4]' at ../dasynq/include/dasynq/daryheap.h:222:33:
../dasynq/include/dasynq/svec.h:96:32: warning: argument 1 value '18446744073709551600' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   96 |         T *new_storage = (T *)(new (std::nothrow) char[c * sizeof(T)]);
      |                               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/tools/gcc13/include/c++/13.3.0/bits/exception_ptr.h:38,
                 from /opt/tools/gcc13/include/c++/13.3.0/exception:164,
                 from /opt/tools/gcc13/include/c++/13.3.0/ios:41,
                 from /opt/tools/gcc13/include/c++/13.3.0/ostream:40,
                 from /opt/tools/gcc13/include/c++/13.3.0/iostream:41,
                 from dinit.cc:1:
/opt/tools/gcc13/include/c++/13.3.0/new: In member function 'void dasynq::dary_heap<T, P, Compare, N>::allocate(handle_t&, U&& ...) [with U = {}; T = dasynq::v2::dprivate::empty_node; P = dasynq::stable_prio<int>; Compare = dasynq::compare_stable_prio<int, std::less<int> >; int N = 4]':
/opt/tools/gcc13/include/c++/13.3.0/new:142:26: note: in a call to allocation function 'void* operator new [](size_t, const std::nothrow_t&)' declared here
  142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
      |                          ^~~~~~~~
In member function 'bool dasynq::svector<T>::change_capacity(size_type) [with T = dasynq::dary_heap<dasynq::v2::dprivate::empty_node, dasynq::stable_prio<int>, dasynq::compare_stable_prio<int, std::less<int> >, 4>::heap_node]',
    inlined from 'bool dasynq::svector<T>::ensure_capacity(size_type, bool) [with T = dasynq::dary_heap<dasynq::v2::dprivate::empty_node, dasynq::stable_prio<int>, dasynq::compare_stable_prio<int, std::less<int> >, 4>::heap_node]' at ../dasynq/include/dasynq/svec.h:132:31,
    inlined from 'void dasynq::svector<T>::reserve(size_t) [with T = dasynq::dary_heap<dasynq::v2::dprivate::empty_node, dasynq::stable_prio<int>, dasynq::compare_stable_prio<int, std::less<int> >, 4>::heap_node]' at ../dasynq/include/dasynq/svec.h:235:29,
    inlined from 'void dasynq::dary_heap<T, P, Compare, N>::allocate(handle_t&, U&& ...) [with U = {}; T = dasynq::v2::dprivate::empty_node; P = dasynq::stable_prio<int>; Compare = dasynq::compare_stable_prio<int, std::less<int> >; int N = 4]' at ../dasynq/include/dasynq/daryheap.h:222:33,
    inlined from 'void dasynq::stable_heap<H, T, P, C>::allocate(handle_t&, U&& ...) [with U = {}; H = dasynq::v2::dprivate::dary_heap_def; T = dasynq::v2::dprivate::empty_node; P = int; C = std::less<int>]' at ../dasynq/include/dasynq/stableheap.h:80:23,
    inlined from 'void dasynq::v2::dprivate::allocate_handle(prio_queue_emptynode&, dasynq::stable_heap<dary_heap_def, empty_node, int, std::less<int> >::handle_t&, base_watcher*)' at ../dasynq/include/dasynq/basewatchers.h:190:19,
    inlined from 'void dasynq::v2::dprivate::event_dispatch<Traits, LoopTraits>::prepare_watcher(dasynq::v2::dprivate::base_watcher*) [with Traits = dasynq::select_traits; LoopTraits = dasynq::v2::default_traits<dasynq::null_mutex>]' at ../dasynq/include/dasynq.h:463:28,
    inlined from 'void dasynq::v2::event_loop<T_Mutex, Traits>::register_timer(base_timer_watcher*, dasynq::clock_type) [with T_Mutex = dasynq::null_mutex; Traits = dasynq::v2::default_traits<dasynq::null_mutex>]' at ../dasynq/include/dasynq.h:1033:34:
../dasynq/include/dasynq/svec.h:96:32: warning: argument 1 value '18446744073709551600' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   96 |         T *new_storage = (T *)(new (std::nothrow) char[c * sizeof(T)]);
      |                               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/tools/gcc13/include/c++/13.3.0/new: In member function 'void dasynq::v2::event_loop<T_Mutex, Traits>::register_timer(base_timer_watcher*, dasynq::clock_type) [with T_Mutex = dasynq::null_mutex; Traits = dasynq::v2::default_traits<dasynq::null_mutex>]':
/opt/tools/gcc13/include/c++/13.3.0/new:142:26: note: in a call to allocation function 'void* operator new [](size_t, const std::nothrow_t&)' declared here
  142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
      |                          ^~~~~~~~
In member function 'bool dasynq::svector<T>::change_capacity(size_type) [with T = dasynq::dary_heap<dasynq::timer_data, dasynq::time_val, dasynq::compare_timespec>::heap_node]',
    inlined from 'bool dasynq::svector<T>::ensure_capacity(size_type, bool) [with T = dasynq::dary_heap<dasynq::timer_data, dasynq::time_val, dasynq::compare_timespec>::heap_node]' at ../dasynq/include/dasynq/svec.h:132:31,
    inlined from 'void dasynq::svector<T>::reserve(size_t) [with T = dasynq::dary_heap<dasynq::timer_data, dasynq::time_val, dasynq::compare_timespec>::heap_node]' at ../dasynq/include/dasynq/svec.h:235:29,
    inlined from 'void dasynq::dary_heap<T, P, Compare, N>::allocate(handle_t&, U&& ...) [with U = {void*&}; T = dasynq::timer_data; P = dasynq::time_val; Compare = dasynq::compare_timespec; int N = 4]' at ../dasynq/include/dasynq/daryheap.h:222:33,
    inlined from 'void dasynq::timer_base<Base>::add_timer_nolock(dasynq::timer_handle_t&, void*, dasynq::clock_type) [with Base = dasynq::interrupt_channel<dasynq::v2::child_proc_events<dasynq::v2::dprivate::event_dispatch<dasynq::select_traits, dasynq::v2::default_traits<dasynq::null_mutex> > >, dasynq::null_mutex>]' at ../dasynq/include/dasynq/timerbase.h:475:46,
    inlined from 'void dasynq::v2::event_loop<T_Mutex, Traits>::register_timer(base_timer_watcher*, dasynq::clock_type) [with T_Mutex = dasynq::null_mutex; Traits = dasynq::v2::default_traits<dasynq::null_mutex>]' at ../dasynq/include/dasynq.h:1035:39:
../dasynq/include/dasynq/svec.h:96:32: warning: argument 1 value '18446744073709551600' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=]
   96 |         T *new_storage = (T *)(new (std::nothrow) char[c * sizeof(T)]);
      |                               ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/tools/gcc13/include/c++/13.3.0/new: In member function 'void dasynq::v2::event_loop<T_Mutex, Traits>::register_timer(base_timer_watcher*, dasynq::clock_type) [with T_Mutex = dasynq::null_mutex; Traits = dasynq::v2::default_traits<dasynq::null_mutex>]':
/opt/tools/gcc13/include/c++/13.3.0/new:142:26: note: in a call to allocation function 'void* operator new [](size_t, const std::nothrow_t&)' declared here
  142 | _GLIBCXX_NODISCARD void* operator new[](std::size_t, const std::nothrow_t&) _GLIBCXX_USE_NOEXCEPT
      |                          ^~~~~~~~
gmake[1]: Leaving directory '/home/pbulk/build/sysutils/dinit/work/dinit-0.19.3/src'
gmake: *** [Makefile:5: all] Error 2
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dinit
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/dinit