+ 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/craft-3.5nb5/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/craft-3.5nb5/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for craft-3.5nb5
echo '#define PREFIX "/opt/pkg"' > config.h
g++ -pipe -g -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT hcc/hcc.cc -o hcc/hcc
hcc/hcc -compiler gcc -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -c xtimer
hcc/hcc -compiler gcc -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wno-return-type -I/opt/pkg/include -I/opt/pkg/include -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -c option_menu
In file included from /opt/tools/gcc12/include/c++/12.2.0/cmath:42,
from /opt/tools/gcc12/include/c++/12.2.0/math.h:36,
from xmath.h:22,
from win.h:31,
from scroller.h:4,
from option_menu.hc:1:
/opt/tools/gcc12/include/c++/12.2.0/bits/cpp_type_traits.h:214:12: error: redefinition of 'struct std::__is_integer<int>'
214 | struct __is_integer<int>
| ^~~~~~~~~~~~~~~~~
/opt/tools/gcc12/include/c++/12.2.0/bits/cpp_type_traits.h:138:12: note: previous definition of 'struct std::__is_integer<int>'
138 | struct __is_integer<bool>
| ^~~~~~~~~~~~~~~~~~
In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_pair.h:60,
from /opt/tools/gcc12/include/c++/12.2.0/bits/stl_algobase.h:64,
from /opt/tools/gcc12/include/c++/12.2.0/bits/specfun.h:45,
from /opt/tools/gcc12/include/c++/12.2.0/cmath:1935:
/opt/tools/gcc12/include/c++/12.2.0/type_traits:340:12: error: redefinition of 'struct std::__is_integral_helper<int>'
340 | struct __is_integral_helper<int>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/tools/gcc12/include/c++/12.2.0/type_traits:295:12: note: previous definition of 'struct std::__is_integral_helper<int>'
295 | struct __is_integral_helper<bool>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /opt/tools/gcc12/include/c++/12.2.0/bits/specfun.h:46:
/opt/tools/gcc12/include/c++/12.2.0/limits:1060:12: error: redefinition of 'struct std::numeric_limits<int>'
1060 | struct numeric_limits<int>
| ^~~~~~~~~~~~~~~~~~~
/opt/tools/gcc12/include/c++/12.2.0/limits:384:12: note: previous definition of 'struct std::numeric_limits<int>'
384 | struct numeric_limits<bool>
| ^~~~~~~~~~~~~~~~~~~~
*** [option_menu.o] Error code 1
bmake: stopped in /home/pbulk/build/games/craft/work
1 error
bmake: stopped in /home/pbulk/build/games/craft/work
*** Error code 2
Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/craft
*** Error code 1
Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/craft