+ 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/simutrans-121.0nb7/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/simutrans-121.0nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for simutrans-121.0nb7 ===> HOSTCXX clipboard_internal.cc ===> HOSTCXX bauer/brueckenbauer.cc ===> HOSTCXX bauer/fabrikbauer.cc ===> HOSTCXX bauer/goods_manager.cc ===> HOSTCXX bauer/hausbauer.cc ===> HOSTCXX bauer/tunnelbauer.cc ===> HOSTCXX bauer/vehikelbauer.cc ===> HOSTCXX bauer/wegbauer.cc ===> HOSTCXX boden/boden.cc In file included from bauer/../simplan.h:12, from bauer/../simworld.h:32, from bauer/../simtool.h:11, from bauer/brueckenbauer.cc:11: bauer/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/pthread.h:37, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr-default.h:35, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr.h:148, from /opt/tools/gcc10/include/c++/10.3.0/ext/atomicity.h:35, from /opt/tools/gcc10/include/c++/10.3.0/bits/basic_string.h:39, from /opt/tools/gcc10/include/c++/10.3.0/string:55, from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/brueckenbauer.cc:10: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ In file included from bauer/../simplan.h:12, from bauer/../simworld.h:32, from bauer/fabrikbauer.cc:12: bauer/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from /opt/tools/gcc10/include/c++/10.3.0/cstdlib:75, from /opt/tools/gcc10/include/c++/10.3.0/bits/stl_algo.h:59, from /opt/tools/gcc10/include/c++/10.3.0/algorithm:62, from bauer/fabrikbauer.cc:8: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ In file included from bauer/../boden/boden.h:11, from bauer/hausbauer.cc:14: bauer/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/pthread.h:37, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr-default.h:35, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr.h:148, from /opt/tools/gcc10/include/c++/10.3.0/ext/atomicity.h:35, from /opt/tools/gcc10/include/c++/10.3.0/bits/ios_base.h:39, from /opt/tools/gcc10/include/c++/10.3.0/streambuf:41, from /opt/tools/gcc10/include/c++/10.3.0/bits/streambuf_iterator.h:35, from /opt/tools/gcc10/include/c++/10.3.0/iterator:66, from bauer/../descriptor/../display/../utils/for.h:4, from bauer/../descriptor/../display/../simtypes.h:9, from bauer/../descriptor/../display/../unicode.h:5, from bauer/../descriptor/../display/simgraph.h:18, from bauer/../descriptor/image.h:10, from bauer/../descriptor/image_list.h:10, from bauer/../descriptor/image_array.h:10, from bauer/../descriptor/building_desc.h:11, from bauer/hausbauer.cc:10: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ In file included from bauer/../vehicle/simvehicle.h:20, from bauer/vehikelbauer.cc:9: bauer/../vehicle/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from /opt/tools/gcc10/include/c++/10.3.0/cstdlib:75, from /opt/tools/gcc10/include/c++/10.3.0/bits/stl_algo.h:59, from /opt/tools/gcc10/include/c++/10.3.0/algorithm:62, from bauer/vehikelbauer.cc:8: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ bauer/vehikelbauer.cc: In static member function 'static sint32 vehicle_builder_t::get_fastest_vehicle_speed(waytype_t, uint16, bool, bool)': bauer/vehikelbauer.cc:586:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bauer/vehikelbauer.cc:584:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] 584 | use_timeline && ( | ~~~~~~~~~~~~~^~~~ 585 | vehicle_descriptor->is_future(month_now) || | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 586 | !allow_obsolete && vehicle_descriptor->is_retired(month_now))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from bauer/../simplan.h:12, from bauer/../simworld.h:32, from bauer/wegbauer.cc:15: bauer/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/sys/wait.h:37, from /usr/include/stdlib.h:45, from /opt/tools/gcc10/include/c++/10.3.0/cstdlib:75, from /opt/tools/gcc10/include/c++/10.3.0/bits/stl_algo.h:59, from /opt/tools/gcc10/include/c++/10.3.0/algorithm:62, from bauer/wegbauer.cc:12: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ bauer/vehikelbauer.cc: In function 'bool compare_vehicles(const vehicle_desc_t*, const vehicle_desc_t*)': bauer/vehikelbauer.cc:253:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 253 | if (cmp != 0) return cmp < 0; | ^~ bauer/vehikelbauer.cc:254:3: note: here 254 | case depot_frame_t::sb_cost: | ^~~~ bauer/vehikelbauer.cc:278:4: warning: this statement may fall through [-Wimplicit-fallthrough=] 278 | if (cmp != 0) return cmp < 0; | ^~ bauer/vehikelbauer.cc:279:3: note: here 279 | case depot_frame_t::sb_retire_date: | ^~~~ gmake: *** [common.mk:50: build/default/bauer/brueckenbauer.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from bauer/../simplan.h:12, from bauer/../simworld.h:32, from bauer/tunnelbauer.cc:16: bauer/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/pthread.h:37, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr-default.h:35, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr.h:148, from /opt/tools/gcc10/include/c++/10.3.0/ext/atomicity.h:35, from /opt/tools/gcc10/include/c++/10.3.0/bits/basic_string.h:39, from /opt/tools/gcc10/include/c++/10.3.0/string:55, from bauer/../utils/log.h:13, from bauer/../simdebug.h:23, from bauer/tunnelbauer.cc:10: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ gmake: *** [common.mk:50: build/default/bauer/vehikelbauer.o] Error 1 gmake: *** [common.mk:50: build/default/bauer/fabrikbauer.o] Error 1 In file included from boden/../simplan.h:12, from boden/../simworld.h:32, from boden/boden.cc:7: boden/../boden/grund.h:39:7: error: using typedef-name 'label_t' after 'class' 39 | class label_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:43, from /usr/include/pthread.h:37, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr-default.h:35, from /opt/tools/gcc10/include/c++/10.3.0/x86_64-sun-solaris2.11/bits/gthr.h:148, from /opt/tools/gcc10/include/c++/10.3.0/ext/atomicity.h:35, from /opt/tools/gcc10/include/c++/10.3.0/bits/ios_base.h:39, from /opt/tools/gcc10/include/c++/10.3.0/streambuf:41, from /opt/tools/gcc10/include/c++/10.3.0/bits/streambuf_iterator.h:35, from /opt/tools/gcc10/include/c++/10.3.0/iterator:66, from boden/../utils/for.h:4, from boden/../simtypes.h:9, from boden/../simworld.h:17, from boden/boden.cc:7: /usr/include/sys/machtypes.h:59:54: note: 'label_t' has a previous declaration here 59 | typedef struct _label_t { long val[REG_LABEL_MAX]; } label_t; | ^~~~~~~ gmake: *** [common.mk:50: build/default/bauer/hausbauer.o] Error 1 gmake: *** [common.mk:50: build/default/boden/boden.o] Error 1 gmake: *** [common.mk:50: build/default/bauer/tunnelbauer.o] Error 1 gmake: *** [common.mk:50: build/default/bauer/wegbauer.o] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/simutrans *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/simutrans