+ 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/foobillardplus-3.42bnb3/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/foobillardplus-3.42bnb3/work.log ===> Building for foobillardplus-3.42bnb3 --- all-recursive --- Making all in src --- all --- /opt/pkg/bin/bmake all-am --- billard3d.o --- --- language.o --- --- billmove.o --- --- billard.o --- --- billard3d.o --- gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DNETWORKING -DVMATH_SINGLE_PRECISION -lm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -MT billard3d.o -MD -MP -MF .deps/billard3d.Tpo -c -o billard3d.o billard3d.c --- language.o --- gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DNETWORKING -DVMATH_SINGLE_PRECISION -lm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -MT language.o -MD -MP -MF .deps/language.Tpo -c -o language.o language.c --- billmove.o --- gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DNETWORKING -DVMATH_SINGLE_PRECISION -lm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -MT billmove.o -MD -MP -MF .deps/billmove.Tpo -c -o billmove.o billmove.c --- billard.o --- gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DNETWORKING -DVMATH_SINGLE_PRECISION -lm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -MT billard.o -MD -MP -MF .deps/billard.Tpo -c -o billard.o billard.c In file included from options.h:29, from billard.h:29, from billard.c:26: vmath.h:137:14: warning: inline function 'fastatan' declared but never defined 137 | inline float fastatan(float x); | ^~~~~~~~ vmath.h:136:14: warning: inline function 'fastatan2' declared but never defined 136 | inline float fastatan2(float y, float x); | ^~~~~~~~~ vmath.h:135:14: warning: inline function 'fastsin' declared but never defined 135 | inline float fastsin(float n); | ^~~~~~~ vmath.h:134:14: warning: inline function 'fastcos' declared but never defined 134 | inline float fastcos(float n); | ^~~~~~~ --- billard3d.o --- billard3d.c: In function 'init_player_roster': billard3d.c:2438:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2438 | if(getenv("USER")) | ^~ billard3d.c:2440:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2440 | strcpy(player[0].name,getenv("USER")); | ^~~~~~ --- billmove.o --- In file included from options.h:29, from billmove.c:27: vmath.h:137:14: warning: inline function 'fastatan' declared but never defined 137 | inline float fastatan(float x); | ^~~~~~~~ vmath.h:136:14: warning: inline function 'fastatan2' declared but never defined 136 | inline float fastatan2(float y, float x); | ^~~~~~~~~ vmath.h:135:14: warning: inline function 'fastsin' declared but never defined 135 | inline float fastsin(float n); | ^~~~~~~ vmath.h:134:14: warning: inline function 'fastcos' declared but never defined 134 | inline float fastcos(float n); | ^~~~~~~ --- billard3d.o --- In file included from options.h:29, from billard.h:29, from billard3d.c:50: vmath.h: At top level: vmath.h:137:14: warning: inline function 'fastatan' declared but never defined 137 | inline float fastatan(float x); | ^~~~~~~~ vmath.h:136:14: warning: inline function 'fastatan2' declared but never defined 136 | inline float fastatan2(float y, float x); | ^~~~~~~~~ vmath.h:135:14: warning: inline function 'fastsin' declared but never defined 135 | inline float fastsin(float n); | ^~~~~~~ vmath.h:134:14: warning: inline function 'fastcos' declared but never defined 134 | inline float fastcos(float n); | ^~~~~~~ --- language.o --- In file included from options.h:29, from language.c:27: vmath.h:137:14: warning: inline function 'fastatan' declared but never defined 137 | inline float fastatan(float x); | ^~~~~~~~ vmath.h:136:14: warning: inline function 'fastatan2' declared but never defined 136 | inline float fastatan2(float y, float x); | ^~~~~~~~~ vmath.h:135:14: warning: inline function 'fastsin' declared but never defined 135 | inline float fastsin(float n); | ^~~~~~~ vmath.h:134:14: warning: inline function 'fastcos' declared but never defined 134 | inline float fastcos(float n); | ^~~~~~~ mv -f .deps/language.Tpo .deps/language.Po --- vmath.o --- gcc -DHAVE_CONFIG_H -I. -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -Wall `freetype-config --cflags` `sdl-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -DNETWORKING -DVMATH_SINGLE_PRECISION -lm -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/SDL -I/opt/pkg/include -I/opt/pkg/include/libdrm -I/usr/include -I/opt/pkg/include/freetype2 -MT vmath.o -MD -MP -MF .deps/vmath.Tpo -c -o vmath.o vmath.c vmath.c: In function 'fastatan2': vmath.c:98:25: error: implicit declaration of function 'abs' [-Wimplicit-function-declaration] 98 | float abs_y = abs(y); | ^~~ vmath.c:30:1: note: include '' or provide a declaration of 'abs' 29 | #include "vmath.h" +++ |+#include 30 | vmath.c:98:29: warning: 'abs' argument 1 promotes to 'double' where 'int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 98 | float abs_y = abs(y); | ^ : note: built-in 'abs' declared here vmath.c: At top level: vmath.c:77:14: warning: 'fast_cossin_table' is static but used in inline function 'fastcos' which is not static 77 | return fast_cossin_table[(i + QUARTER_MAX_CIRCLE_ANGLE)&MASK_MAX_CIRCLE_ANGLE]; | ^~~~~~~~~~~~~~~~~ vmath.c:75:14: warning: 'fast_cossin_table' is static but used in inline function 'fastcos' which is not static 75 | return fast_cossin_table[((-i) + QUARTER_MAX_CIRCLE_ANGLE)&MASK_MAX_CIRCLE_ANGLE]; | ^~~~~~~~~~~~~~~~~ vmath.c:62:14: warning: 'fast_cossin_table' is static but used in inline function 'fastsin' which is not static 62 | return fast_cossin_table[i&MASK_MAX_CIRCLE_ANGLE]; | ^~~~~~~~~~~~~~~~~ vmath.c:60:14: warning: 'fast_cossin_table' is static but used in inline function 'fastsin' which is not static 60 | return fast_cossin_table[(-((-i)&MASK_MAX_CIRCLE_ANGLE)) + MAX_CIRCLE_ANGLE]; | ^~~~~~~~~~~~~~~~~ *** [vmath.o] Error code 1 bmake[2]: stopped making "all-am" in /home/pbulk/build/games/foobillardplus/work/foobillardplus-3.42beta/src --- billard.o --- mv -f .deps/billard.Tpo .deps/billard.Po --- billmove.o --- mv -f .deps/billmove.Tpo .deps/billmove.Po --- billard3d.o --- mv -f .deps/billard3d.Tpo .deps/billard3d.Po bmake[2]: 1 error bmake[2]: stopped making "all-am" in /home/pbulk/build/games/foobillardplus/work/foobillardplus-3.42beta/src bmake[1]: stopped making "all" in /home/pbulk/build/games/foobillardplus/work/foobillardplus-3.42beta/src bmake: stopped making "all" in /home/pbulk/build/games/foobillardplus/work/foobillardplus-3.42beta *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/foobillardplus *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/games/foobillardplus