+ 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/toppler-1.1.6nb2/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/toppler-1.1.6nb2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for toppler-1.1.6nb2 /opt/pkg/bin/bmake all-recursive Making all in po Making all in m4 g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DTOP_DATADIR=\"/opt/pkg/share/toppler\" -DHISCOREDIR=\"/opt/pkg/var/toppler\" -DLOCALEDIR=\"/opt/pkg/lib/locale\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -MT archi.o -MD -MP -MF .deps/archi.Tpo -c -o archi.o archi.cc mv -f .deps/archi.Tpo .deps/archi.Po g++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -Wall -DTOP_DATADIR=\"/opt/pkg/share/toppler\" -DHISCOREDIR=\"/opt/pkg/var/toppler\" -DLOCALEDIR=\"/opt/pkg/lib/locale\" -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/libdrm -I/usr/include -MT bonus.o -MD -MP -MF .deps/bonus.Tpo -c -o bonus.o bonus.cc bonus.cc:51:15: error: 'Sint32 time' conflicts with a previous declaration 51 | static Sint32 time; | ^~~~ In file included from /usr/include/time.h:40, from /usr/include/sys/time.h:490, from /usr/include/sys/select.h:53, from /usr/include/sys/types.h:672, from /usr/include/dirent.h:37, from decl.h:26, from keyb.h:22, from bonus.cc:20: /usr/include/iso/time_iso.h:100:15: note: previous declaration 'std::time_t std::time(time_t*)' 100 | extern time_t time(time_t *); | ^~~~ bonus.cc: In function 'void show()': bonus.cc:65:12: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 65 | if (time < gametime/2) | ~~~~~^~~~~~~~~~~~ bonus.cc:66:19: error: invalid operands of types 'int' and 'std::time_t(std::time_t*)' {aka 'long int(long int*)'} to binary 'operator*' 66 | towerpos = -(4*time); | ~^~~~~ | | | | | std::time_t(std::time_t*) {aka long int(long int*)} | int bonus.cc:68:44: error: invalid operands of types 'int' and 'std::time_t(std::time_t*)' {aka 'long int(long int*)'} to binary 'operator*' 68 | towerpos = gametime * scrollerspeed - 4*time + SCREENWID + (SPR_SLICEWID*2); | ~^~~~~ | | | | | std::time_t(std::time_t*) {aka long int(long int*)} | int bonus.cc:78:50: error: invalid operands of types 'std::time_t(std::time_t*)' {aka 'long int(long int*)'} and 'int' to binary 'operator%' 78 | scr_draw_submarine(subposy - 20, subposx, time % 9); | ~~~~ ^ ~ | | | | | int | std::time_t(std::time_t*) {aka long int(long int*)} bonus.cc: In function 'bool bns_game()': bonus.cc:140:8: error: assignment of function 'std::time_t std::time(time_t*)' 140 | time = 0; | ~~~~~^~~ bonus.cc:257:15: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 257 | if ((time > gametime/2) && !newtowercol) { | ~~~~~^~~~~~~~~~~~ bonus.cc:263:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] 263 | if (time == gametime) { | ^ bonus.cc:269:7: warning: ISO C++ forbids incrementing a pointer of type 'std::time_t (*)(std::time_t*)' {aka 'long int (*)(long int*)'} [-Wpointer-arith] 269 | time++; | ^~~~ bonus.cc:269:7: error: lvalue required as increment operand bonus.cc:272:17: warning: pointer to a function used in arithmetic [-Wpointer-arith] 272 | if (!((time + 20) & 0x3f)) ttsounds::instance()->startsound(SND_SONAR); | ~~~~~^~~~ bonus.cc:272:23: error: invalid operands of types 'std::time_t (*)(std::time_t*)' {aka 'long int (*)(long int*)'} and 'int' to binary 'operator&' 272 | if (!((time + 20) & 0x3f)) ttsounds::instance()->startsound(SND_SONAR); | ~~~~~~~~~~~ ^ ~~~~ | | | | | int | std::time_t (*)(std::time_t*) {aka long int (*)(long int*)} bonus.cc: At global scope: bonus.cc:51:15: warning: 'time' defined but not used [-Wunused-variable] 51 | static Sint32 time; | ^~~~ *** [bonus.o] Error code 1 bmake[2]: stopped in /home/pbulk/build/games/toppler/work/toppler-1.1.6 1 error bmake[2]: stopped in /home/pbulk/build/games/toppler/work/toppler-1.1.6 *** [all-recursive] Error code 1 bmake[1]: stopped in /home/pbulk/build/games/toppler/work/toppler-1.1.6 1 error bmake[1]: stopped in /home/pbulk/build/games/toppler/work/toppler-1.1.6 *** [all] Error code 2 bmake: stopped in /home/pbulk/build/games/toppler/work/toppler-1.1.6 1 error bmake: stopped in /home/pbulk/build/games/toppler/work/toppler-1.1.6 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/toppler *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/games/toppler