+ 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/abbayedesmorts-2.0.2/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/abbayedesmorts-2.0.2/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for abbayedesmorts-2.0.2 cc -pipe -O2 -I/usr/pkg/include -I/usr/pkg/include/SDL2 -I/usr/include -I/usr/pkg/include/libdrm `sdl2-config --cflags` -DDATADIR="\"/usr/pkg/share/abbayev2\"" -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib64 -Wl,-R/usr/lib64 src/drawing.c src/ending.c src/enemies.c src/game.c src/gameover.c src/history.c src/jean.c src/loading.c src/main.c src/startscreen.c -o abbayev2 `sdl2-config --libs` -lSDL2_image -lSDL2_mixer -lm src/drawing.c: In function 'drawscreen': src/drawing.c:10:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t coordy=0; coordy<=21; coordy++) { ^ src/drawing.c:10:2: note: use option -std=c99 or -std=gnu99 to compile your code src/drawing.c:11:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t coordx=0; coordx<=31; coordx++) { ^ src/drawing.c: In function 'statusbar': src/drawing.c:128:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=0; i<=2; i++) { ^ src/drawing.c: In function 'drawrope': src/drawing.c:170:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=2; i<6; i++) { ^ src/drawing.c:172:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t j=0; j<=blocks; j++) { ^ src/drawing.c: In function 'drawshoots': src/drawing.c:190:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<=4; n+=2) { ^ src/ending.c: In function 'ending': src/ending.c:19:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int16_t i=0;i<951;i++) { ^ src/ending.c:19:2: note: use option -std=c99 or -std=gnu99 to compile your code src/enemies.c: In function 'searchenemies': src/enemies.c:7:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t y=0; y<7; y++) { ^ src/enemies.c:7:2: note: use option -std=c99 or -std=gnu99 to compile your code src/enemies.c: In function 'drawenemies': src/enemies.c:34:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=0; i<7; i++) { ^ src/enemies.c: In function 'movenemies': src/enemies.c:108:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=0; i<7; i++) { ^ src/enemies.c:197:5: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<=4; n+=2) { ^ src/enemies.c: In function 'plants': src/enemies.c:269:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:289:15: error: redefinition of 'n' for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:269:15: note: previous definition of 'n' was here for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:289:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:301:15: error: redefinition of 'n' for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:289:15: note: previous definition of 'n' was here for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:301:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:348:15: error: redefinition of 'n' for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:301:15: note: previous definition of 'n' was here for (uint8_t n=1; n<4; n++) { ^ src/enemies.c:348:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=1; n<4; n++) { ^ src/enemies.c: In function 'crusaders': src/enemies.c:372:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=0; i<7; i++) { ^ src/enemies.c: In function 'death': src/enemies.c:495:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t x=0; x<8; x+=2) { ^ src/enemies.c:530:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<8; n+=2) { ^ src/enemies.c:557:15: error: redefinition of 'n' for (uint8_t n=0; n<8; n+=2) { ^ src/enemies.c:530:15: note: previous definition of 'n' was here for (uint8_t n=0; n<8; n+=2) { ^ src/enemies.c:557:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<8; n+=2) { ^ src/enemies.c: In function 'dragon': src/enemies.c:632:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<16; n+=8) { ^ src/enemies.c:648:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<16; n+=2) { ^ src/enemies.c: In function 'satan': src/enemies.c:762:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t n=0; n<17; n+=2) { ^ src/game.c: In function 'animation': src/game.c:284:2: error: 'for' loop initial declarations are only allowed in C99 mode for (int8_t j=0; j<=21; j++) { ^ src/game.c:284:2: note: use option -std=c99 or -std=gnu99 to compile your code src/game.c:285:3: error: 'for' loop initial declarations are only allowed in C99 mode for (int8_t i=0; i<=31; i++) { ^ src/history.c: In function 'history': src/history.c:58:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint16_t i=0;i<4;i++) { ^ src/history.c:58:3: note: use option -std=c99 or -std=gnu99 to compile your code src/history.c:63:17: error: redefinition of 'i' for (uint16_t i=0;i<4;i++) { ^ src/history.c:58:17: note: previous definition of 'i' was here for (uint16_t i=0;i<4;i++) { ^ src/history.c:63:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint16_t i=0;i<4;i++) { ^ src/loading.c: In function 'loaddata': src/loading.c:17:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=0; i<=24; i++) { ^ src/loading.c:17:2: note: use option -std=c99 or -std=gnu99 to compile your code src/loading.c:18:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t j=0; j<=21; j++) { ^ src/loading.c:19:4: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t k=0; k<=31; k++) { ^ src/loading.c:39:15: error: redefinition of 'i' for (uint8_t i=0; i<=24; i++) { ^ src/loading.c:17:15: note: previous definition of 'i' was here for (uint8_t i=0; i<=24; i++) { ^ src/loading.c:39:2: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t i=0; i<=24; i++) { ^ src/loading.c:40:3: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t j=0; j<7; j++) { ^ src/loading.c:41:4: error: 'for' loop initial declarations are only allowed in C99 mode for (uint8_t k=0; k<15; k++) { ^ src/loading.c:13:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 129, datafile); ^ src/loading.c:14:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 129, datafile); ^ src/loading.c:25:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 129, datafile); ^ src/loading.c:27:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line, 129, datafile); ^ src/loading.c:35:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line2, 61, datafile); ^ src/loading.c:36:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line2, 61, datafile); ^ src/loading.c:47:10: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line2, 61, datafile); ^ src/loading.c:49:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (line2, 61, datafile); ^ make: *** [abbayev2] Error 1 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/abbayedesmorts *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/games/abbayedesmorts