+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ckmame-2.0nb3/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/ckmame-2.0nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for ckmame-2.0nb3
[  1%] Preparing ckmame.1
[  2%] Preparing ckmamerc.5
[  3%] Preparing dumpgame.1
[  3%] Preparing mkmamedb.1
[  3%] Built target man
[  4%] Building CXX object src/CMakeFiles/libckmame.dir/Archive.cc.o
[  4%] Building CXX object src/CMakeFiles/libckmame.dir/ArchiveDir.cc.o
[  6%] Building CXX object src/CMakeFiles/libckmame.dir/ArchiveImages.cc.o
[  7%] Building CXX object src/CMakeFiles/libckmame.dir/ArchiveLocation.cc.o
[  8%] Building CXX object src/CMakeFiles/libckmame.dir/archive_modify.cc.o
[  8%] Building CXX object src/CMakeFiles/libckmame.dir/ArchiveZip.cc.o
[  9%] Building CXX object src/CMakeFiles/libckmame.dir/Chd.cc.o
[ 10%] Building CXX object src/CMakeFiles/libckmame.dir/check_archive_files.cc.o
[ 10%] Building CXX object src/CMakeFiles/libckmame.dir/check_game_files.cc.o
[ 12%] Building CXX object src/CMakeFiles/libckmame.dir/check_old.cc.o
[ 13%] Building CXX object src/CMakeFiles/libckmame.dir/check_util.cc.o
[ 14%] Building CXX object src/CMakeFiles/libckmame.dir/CkmameDB.cc.o
[ 14%] Building CXX object src/CMakeFiles/libckmame.dir/cleanup.cc.o
[ 15%] Building CXX object src/CMakeFiles/libckmame.dir/Commandline.cc.o
[ 17%] Building CXX object src/CMakeFiles/libckmame.dir/Configuration.cc.o
[ 17%] Building CXX object src/CMakeFiles/libckmame.dir/DatDb.cc.o
In file included from /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.cc:34:
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.h:87:10: error: 'optional' in namespace 'std' does not name a template type
   87 |     std::optional<int64_t> get_file_id(const std::string &file_name);
      |          ^~~~~~~~
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.h:37:1: note: 'std::optional' is defined in header '<optional>'; did you forget to '#include <optional>'?
   36 | #include "DB.h"
  +++ |+#include <optional>
   37 | 
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.cc:118:24: error: no declaration matches 'std::optional<long int> DatDB::get_file_id(const std::string&)'
  118 | std::optional<int64_t> DatDB::get_file_id(const std::string &file_name) {
      |                        ^~~~~
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.cc:118:24: note: no functions named 'std::optional<long int> DatDB::get_file_id(const std::string&)'
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.h:42:7: note: 'class DatDB' defined here
   42 | class DatDB : public DB {
      |       ^~~~~
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.cc: In member function 'void DatDB::delete_file(const std::string&)':
/home/pbulk/build/emulators/ckmame/work/ckmame-2.0/src/DatDb.cc:149:15: error: 'get_file_id' was not declared in this scope
  149 |     auto id = get_file_id(file_name);
      |               ^~~~~~~~~~~
*** [src/CMakeFiles/libckmame.dir/DatDb.cc.o] Error code 1

bmake[2]: stopped in /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/cmake-pkgsrc-build
1 error

bmake[2]: stopped in /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/cmake-pkgsrc-build
*** [src/CMakeFiles/libckmame.dir/all] Error code 2

bmake[1]: stopped in /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/cmake-pkgsrc-build
1 error

bmake[1]: stopped in /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/cmake-pkgsrc-build
*** [all] Error code 2

bmake: stopped in /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/cmake-pkgsrc-build
1 error

bmake: stopped in /home/pbulk/build/emulators/ckmame/work/ckmame-2.0/cmake-pkgsrc-build
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/ckmame
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/emulators/ckmame