=> 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
clang++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -DTOP_DATADIR=\"/opt/pkg/share/toppler\" -DHISCOREDIR=\"/opt/pkg/var/toppler\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -MT archi.o -MD -MP -MF .deps/archi.Tpo -c -o archi.o archi.cc
mv -f .deps/archi.Tpo .deps/archi.Po
clang++ -DHAVE_CONFIG_H -I.    -I/opt/pkg/include -I/opt/pkg/include/SDL -I/opt/pkg/include/SDL -D_GNU_SOURCE=1 -D_THREAD_SAFE -Wall -DTOP_DATADIR=\"/opt/pkg/share/toppler\" -DHISCOREDIR=\"/opt/pkg/var/toppler\" -DLOCALEDIR=\"/opt/pkg/share/locale\" -pipe -Os -I/opt/pkg/include -I/opt/pkg/include/SDL -MT bonus.o -MD -MP -MF .deps/bonus.Tpo -c -o bonus.o bonus.cc
bonus.cc:51:15: error: redefinition of 'time' as different kind of symbol
static Sint32 time;
              ^
/Applications/Xcode-13.4.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.3.sdk/usr/include/time.h:118:8: note: previous definition is here
time_t time(time_t *);
       ^
bonus.cc:65:12: error: comparison between pointer and integer ('time_t (*)(time_t *)' (aka 'long (*)(long *)') and 'int')
  if (time < gametime/2)
      ~~~~ ^ ~~~~~~~~~~
bonus.cc:66:19: error: invalid operands to binary expression ('int' and 'time_t (time_t *)' (aka 'long (long *)'))
    towerpos = -(4*time);
                 ~^~~~~
bonus.cc:68:44: error: invalid operands to binary expression ('int' and 'time_t (time_t *)' (aka 'long (long *)'))
    towerpos = gametime * scrollerspeed - 4*time + SCREENWID + (SPR_SLICEWID*2);
                                          ~^~~~~
bonus.cc:78:50: error: invalid operands to binary expression ('time_t (time_t *)' (aka 'long (long *)') and 'int')
  scr_draw_submarine(subposy - 20, subposx, time % 9);
                                            ~~~~ ^ ~
bonus.cc:140:8: error: non-object type 'time_t (time_t *)' (aka 'long (long *)') is not assignable
  time = 0;
  ~~~~ ^
bonus.cc:257:15: error: comparison between pointer and integer ('time_t (*)(time_t *)' (aka 'long (*)(long *)') and 'int')
    if ((time > gametime/2) && !newtowercol) {
         ~~~~ ^ ~~~~~~~~~~
bonus.cc:263:14: error: comparison between pointer and integer ('time_t (*)(time_t *)' (aka 'long (*)(long *)') and 'int')
    if (time == gametime) {
        ~~~~ ^  ~~~~~~~~
bonus.cc:269:11: error: cannot increment value of type 'time_t (time_t *)' (aka 'long (long *)')
      time++;
      ~~~~^
bonus.cc:272:17: error: arithmetic on a pointer to the function type 'time_t (time_t *)' (aka 'long (long *)')
    if (!((time + 20) & 0x3f)) ttsounds::instance()->startsound(SND_SONAR);
           ~~~~ ^
10 errors generated.
*** [bonus.o] Error code 1

bmake[2]: stopped making "all-am" in /Users/pbulk/build/games/toppler/work/toppler-1.1.6
bmake[2]: 1 error

bmake[2]: stopped making "all-am" in /Users/pbulk/build/games/toppler/work/toppler-1.1.6

bmake[1]: stopped making "all-recursive" in /Users/pbulk/build/games/toppler/work/toppler-1.1.6

bmake: stopped making "all" in /Users/pbulk/build/games/toppler/work/toppler-1.1.6
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/toppler
*** Error code 1

Stop.
bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/games/toppler