+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/einstein-puzzle-2.2nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/einstein-puzzle-2.2nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for einstein-puzzle-2.2nb2
mkdir -p ./build/
c++ -MT build/puzgen.o -MMD -MP -MF .d/puzgen.Td -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/usr/pkg\"  -c puzgen.cpp -o build/puzgen.o
c++ -MT build/main.o -MMD -MP -MF .d/main.Td -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/usr/pkg\"  -c main.cpp -o build/main.o
c++ -MT build/screen.o -MMD -MP -MF .d/screen.Td -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/usr/pkg\"  -c screen.cpp -o build/screen.o
c++ -MT build/resources.o -MMD -MP -MF .d/resources.Td -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/usr/pkg\"  -c resources.cpp -o build/resources.o
screen.cpp: In member function 'void Screen::hideMouse()':
screen.cpp:171:59: warning: narrowing conversion of '((Screen*)this)->Screen::mouseSave->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
         SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                                           ^
screen.cpp:171:59: warning: narrowing conversion of '((Screen*)this)->Screen::mouseSave->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp:172:67: warning: narrowing conversion of '((Screen*)this)->Screen::saveX' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
         SDL_Rect dst = { saveX, saveY, mouseSave->w, mouseSave->h };
                                                                   ^
screen.cpp:172:67: warning: narrowing conversion of '((Screen*)this)->Screen::saveY' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
screen.cpp:172:67: warning: narrowing conversion of '((Screen*)this)->Screen::mouseSave->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp:172:67: warning: narrowing conversion of '((Screen*)this)->Screen::mouseSave->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp: In member function 'void Screen::showMouse()':
screen.cpp:196:59: warning: narrowing conversion of '((Screen*)this)->Screen::mouseSave->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
         SDL_Rect src = { 0, 0, mouseSave->w, mouseSave->h };
                                                           ^
screen.cpp:196:59: warning: narrowing conversion of '((Screen*)this)->Screen::mouseSave->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp:197:61: warning: narrowing conversion of 'x' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
         SDL_Rect dst = { x, y, mouseImage->w, mouseImage->h };
                                                             ^
screen.cpp:197:61: warning: narrowing conversion of 'y' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
screen.cpp:197:61: warning: narrowing conversion of '((Screen*)this)->Screen::mouseImage->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp:197:61: warning: narrowing conversion of '((Screen*)this)->Screen::mouseImage->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp: In member function 'void Screen::addRegionToUpdate(int, int, int, int)':
screen.cpp:271:31: warning: narrowing conversion of 'x' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
     SDL_Rect r = { x, y, w, h };
                               ^
screen.cpp:271:31: warning: narrowing conversion of 'y' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
screen.cpp:271:31: warning: narrowing conversion of 'w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp:271:31: warning: narrowing conversion of 'h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
screen.cpp: In member function 'SDL_Surface* Screen::createSubimage(int, int, int, int)':
screen.cpp:329:31: warning: narrowing conversion of 'scaleUp(x)' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
     SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                               ^
screen.cpp:329:43: warning: narrowing conversion of 'scaleUp(y)' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
     SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                           ^
screen.cpp:329:59: warning: narrowing conversion of 'scaleUp(width)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                                           ^
screen.cpp:329:76: warning: narrowing conversion of 'scaleUp(height)' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect src = { scaleUp(x), scaleUp(y), scaleUp(width), scaleUp(height) };
                                                                            ^
screen.cpp: In member function 'void Screen::setClipRect(SDL_Rect*)':
screen.cpp:350:41: warning: narrowing conversion of 'scaleUp(((int)rect->SDL_Rect::x))' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
       SDL_Rect sRect = { scaleUp(rect->x), scaleUp(rect->y),
                                         ^
screen.cpp:350:59: warning: narrowing conversion of 'scaleUp(((int)rect->SDL_Rect::y))' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
       SDL_Rect sRect = { scaleUp(rect->x), scaleUp(rect->y),
                                                           ^
screen.cpp:351:54: warning: narrowing conversion of 'scaleUp(((int)rect->SDL_Rect::w))' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
                                       scaleUp(rect->w), scaleUp(rect->h) };
                                                      ^
screen.cpp:351:72: warning: narrowing conversion of 'scaleUp(((int)rect->SDL_Rect::h))' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
                                       scaleUp(rect->w), scaleUp(rect->h) };
                                                                        ^
In file included from resources.cpp:24:0:
convert.h: In function 'std::wstring toString(const T&)':
convert.h:40:61: error: must #include <typeinfo> before using typeid
         throw Exception(L"Can't convert " + fromMbcs(typeid(x).name())
                                                             ^
c++ -MT build/utils.o -MMD -MP -MF .d/utils.Td -pipe -O2 -I/usr/pkg/include/SDL -I/usr/pkg/include -I/usr/pkg/include/libdrm -I/usr/include -I/usr/pkg/include/freetype2 -pipe -Wall -O3   `sdl-config --cflags` -DPREFIX=L\"/usr/pkg\"  -c utils.cpp -o build/utils.o
make: *** [build/resources.o] Error 1
make: *** Waiting for unfinished jobs....
utils.cpp: In function 'SDL_Surface* scaleTo(SDL_Surface*, int, int)':
utils.cpp:67:45: warning: narrowing conversion of 'tile->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect src = { 0, 0, tile->w, tile->h };
                                             ^
utils.cpp:67:45: warning: narrowing conversion of 'tile->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
utils.cpp:68:39: warning: narrowing conversion of 's->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect dst = { 0, 0, s->w, s->h };
                                       ^
utils.cpp:68:39: warning: narrowing conversion of 's->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
utils.cpp: In function 'void blitDraw(int, int, SDL_Surface*, SDL_Surface*)':
utils.cpp:76:41: warning: narrowing conversion of 'src->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect s = { 0, 0, src->w, src->h };
                                         ^
utils.cpp:76:41: warning: narrowing conversion of 'src->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
utils.cpp:77:41: warning: narrowing conversion of 'x' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
     SDL_Rect d = { x, y, src->w, src->h };
                                         ^
utils.cpp:77:41: warning: narrowing conversion of 'y' from 'int' to 'Sint16 {aka short int}' inside { } [-Wnarrowing]
utils.cpp:77:41: warning: narrowing conversion of 'src->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
utils.cpp:77:41: warning: narrowing conversion of 'src->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
utils.cpp: In function 'void drawTiled(const wstring&, SDL_Surface*)':
utils.cpp:84:45: warning: narrowing conversion of 'tile->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect src = { 0, 0, tile->w, tile->h };
                                             ^
utils.cpp:84:45: warning: narrowing conversion of 'tile->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
utils.cpp:85:45: warning: narrowing conversion of 'tile->SDL_Surface::w' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
     SDL_Rect dst = { 0, 0, tile->w, tile->h };
                                             ^
utils.cpp:85:45: warning: narrowing conversion of 'tile->SDL_Surface::h' from 'int' to 'Uint16 {aka short unsigned int}' inside { } [-Wnarrowing]
*** Error code 2

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/einstein-puzzle
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/einstein-puzzle