* Package: games-sports/foobillard-3.0a-r1 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking foobillard-3.0a.tar.gz to /var/tmp/portage/games-sports/foobillard-3.0a-r1/work >>> Source unpacked in /var/tmp/portage/games-sports/foobillard-3.0a-r1/work >>> Preparing source in /var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a ... * Applying foobillard-3.0a-no_nvidia.patch ... [ ok ] * Applying foobillard-3.0a-fbsd.patch ... [ ok ] * Applying foobillard-3.0a-as-needed.patch ... [ ok ] * Applying foobillard-3.0a-gl-clamp.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: foobillard-3.0a/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/foobillard-3.0a-r1 --htmldir=/usr/share/doc/foobillard-3.0a-r1/html --libdir=/usr/lib64 --enable-sound --disable-SDL --enable-glut --disable-nvidia configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking dependency style of x86_64-pc-linux-gnu-g++... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for unistd.h... (cached) yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for stdlib.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking ft2build.h usability... no checking ft2build.h presence... no checking for ft2build.h... no checking endian.h usability... yes checking endian.h presence... yes checking for endian.h... yes checking sys/endian.h usability... no checking sys/endian.h presence... no checking for sys/endian.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for socket... yes checking for poll... yes checking "for SDL support"... "no" checking "for glut support"... "yes" checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating foobillard.spec config.status: creating foobillard-SDL.spec config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating src/config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a ... make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a/src' make all-am make[2]: Entering directory '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o billard3d.o billard3d.c /bin/sh: freetype-config: command not found billard3d.c: In function ‘Idle_timer’: billard3d.c:1596:16: warning: variable ‘first_time’ set but not used [-Wunused-but-set-variable] static int first_time=1; ^~~~~~~~~~ billard3d.c: In function ‘DisplayFunc’: billard3d.c:2797:12: warning: variable ‘light_position’ set but not used [-Wunused-but-set-variable] GLfloat light_position[] = { 0.0, 0.0, 0.7, 1.0 }; ^~~~~~~~~~~~~~ billard3d.c: In function ‘free_cuberef_tex’: billard3d.c:4005:28: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures(1,&cuberef_allballs_texbind[i]); ^ In file included from /usr/include/GL/freeglut_std.h:143:0, from /usr/include/GL/glut.h:17, from billard3d.c:34: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ billard3d.c: In function ‘reassign_and_gen_cuberef_tex’: billard3d.c:4028:25: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&cuberef_allballs_texbind[i]); ^ In file included from /usr/include/GL/freeglut_std.h:143:0, from /usr/include/GL/glut.h:17, from billard3d.c:34: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ billard3d.c: In function ‘main’: billard3d.c:5102:8: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result] fread( &ball_ball_snd.data[SOUND_NULLOFFS*2], 1, ball_ball_snd.len-SOUND_NULLOFFS*2*2 , f ); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ At top level: billard3d.c:217:15: warning: ‘half_full_names’ defined but not used [-Wunused-variable] static char * half_full_names[]={"any","full","half"}; ^~~~~~~~~~~~~~~ billard3d.c: In function ‘DisplayFunc’: billard3d.c:2916:12: warning: ‘eye_offs0’ may be used uninitialized in this function [-Wmaybe-uninitialized] glFrustum( -znear*tan(cam_FOV*M_PI/360.0)+eye_offs0, znear*tan(cam_FOV*M_PI/360.0)+eye_offs0, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -znear*tan(cam_FOV*M_PI/360.0)*(double)win_height/(double)win_width, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +znear*tan(cam_FOV*M_PI/360.0)*(double)win_height/(double)win_width, znear, zfar); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c: In function ‘init_menu’: billard3d.c:4580:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P1 Name: %s",player[0].name); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862:0, from billard3d.c:22: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4587:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P2 Name: %s",player[1].name); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862:0, from billard3d.c:22: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4601:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P1 Name: %s",player[0].name); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862:0, from billard3d.c:22: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4603:27: warning: ‘%s’ directive writing up to 255 bytes into a region of size 247 [-Wformat-overflow=] sprintf(str,"P2 Name: %s",player[1].name); ^~ ~~~~~~ In file included from /usr/include/stdio.h:862:0, from billard3d.c:22: /usr/include/bits/stdio2.h:33:10: note: ‘__builtin___sprintf_chk’ output between 10 and 265 bytes into a destination of size 256 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o billmove.o billmove.c /bin/sh: freetype-config: command not found billmove.c: In function ‘my_rand’: billmove.c:412:5: warning: type of ‘nr’ defaults to ‘int’ [-Wimplicit-int] int my_rand(nr) ^~~~~~~ At top level: billmove.c:908:12: warning: ‘proceed_dt_euler’ defined but not used [-Wunused-function] static int proceed_dt_euler(BallsType *balls, BordersType *borders, BMfloat dt, int depth) ^~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o billard.o billard.c /bin/sh: freetype-config: command not found billard.c: In function ‘create_8ball_scene’: billard.c:735:21: warning: variable ‘ampl’ set but not used [-Wunused-but-set-variable] double ang, ampl; ^~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o vmath.o vmath.c /bin/sh: freetype-config: command not found x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o ball.o ball.c /bin/sh: freetype-config: command not found ball.c:59:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "!!VP1.0 \n" ^~~~~~~~~~~~ ball.c:128:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] "!!VP1.0 \n" ^~~~~~~~~~~~ ball.c: In function ‘ball_subdivide_nonrec’: ball.c:499:18: warning: unused variable ‘rho’ [-Wunused-variable] double xt,yt,rho; ^~~ ball.c: In function ‘calc_reftex’: ball.c:812:25: warning: variable ‘v_xy’ set but not used [-Wunused-but-set-variable] double phi,th,v_abs,v_xy; ^~~~ ball.c: In function ‘myDrawElements’: ball.c:853:20: warning: variable ‘v_in’ set but not used [-Wunused-but-set-variable] myvec v_ref[3],v_in; ^~~~ ball.c:852:25: warning: variable ‘v_xy’ set but not used [-Wunused-but-set-variable] double phi,th,v_abs,v_xy; ^~~~ ball.c:847:21: warning: variable ‘tchanged’ set but not used [-Wunused-but-set-variable] int i,j,k,l,m,n,tchanged; ^~~~~~~~ ball.c: In function ‘draw_ball’: ball.c:982:18: warning: variable ‘cfar’ set but not used [-Wunused-but-set-variable] float cnear, cfar, geomfact; ^~~~ ball.c: In function ‘draw_balls’: ball.c:1547:16: warning: unused variable ‘fresnel_init’ [-Wunused-variable] static int fresnel_init = 0; ^~~~~~~~~~~~ At top level: ball.c:1547:16: warning: ‘fresnel_init’ defined but not used [-Wunused-variable] ball.c:263:12: warning: ‘in_array_old’ defined but not used [-Wunused-function] static int in_array_old( ElemArray * array, GLfloat * v, GLfloat tex_x, GLfloat tex_y ) ^~~~~~~~~~~~ ball.c:221:16: warning: ‘col_refl4’ defined but not used [-Wunused-variable] static GLfloat col_refl4[4] = {1.0, 1.0, 1.0, 1.0}; /* for rendered cubemap (fresnel) */ ^~~~~~~~~ ball.c:215:16: warning: ‘col_null’ defined but not used [-Wunused-variable] static GLfloat col_null [4] = {0.0, 0.0, 0.0, 0.0}; /* dont need any specular because of reflections */ ^~~~~~~~ ball.c:127:30: warning: ‘fresnel_vert_prog_obj_coord_str’ defined but not used [-Wunused-variable] static const unsigned char * fresnel_vert_prog_obj_coord_str= /* object coordinates */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ball.c:58:30: warning: ‘fresnel_vert_prog_world_coord_str’ defined but not used [-Wunused-variable] static const unsigned char * fresnel_vert_prog_world_coord_str= ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ball.c:57:24: warning: ‘fresnel_vert_prog_bind’ defined but not used [-Wunused-variable] static int fresnel_vert_prog_bind; ^~~~~~~~~~~~~~~~~~~~~~ ball.c: In function ‘draw_ball’: ball.c:996:9: warning: assuming signed overflow does not occur when assuming that (X + c) < X is always false [-Wstrict-overflow] for(i=0;i<=maxdetail;i++){ ^~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o png_loader.o png_loader.c /bin/sh: freetype-config: command not found x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o table.o table.c /bin/sh: freetype-config: command not found table.c: In function ‘my_Edge’: table.c:224:89: warning: variable ‘v9’ set but not used [-Wunused-but-set-variable] 20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c:224:62: warning: variable ‘v0’ set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c:224:59: warning: variable ‘n9’ set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c:224:32: warning: variable ‘n0’ set but not used [-Wunused-but-set-variable] VMvect n00,n10,n20,n30,n40,n0,n1,n2,n3,n4,n5,n6,n7,n8,n9,v0,v1,v2,v3,v4,v5,v6,v7,v8,v9, v8_2,v8_3, v4_2,v4_3; ^~ table.c: In function ‘create_table’: table.c:1190:49: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] if( frametexbind > 0 ) glDeleteTextures( 1, &frametexbind ); ^ In file included from /usr/include/GL/glu.h:38:0, from table.c:25: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ table.c:1192:25: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&frametexbind); ^ In file included from /usr/include/GL/glu.h:38:0, from table.c:25: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ table.c:1206:49: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] if( tabletexbind > 0 ) glDeleteTextures( 1, &tabletexbind ); ^ In file included from /usr/include/GL/glu.h:38:0, from table.c:25: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ table.c:1208:25: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&tabletexbind); ^ In file included from /usr/include/GL/glu.h:38:0, from table.c:25: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ table.c:1224:49: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] if( clothtexbind > 0 ) glDeleteTextures( 1, &clothtexbind ); ^ In file included from /usr/include/GL/glu.h:38:0, from table.c:25: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ table.c:1226:25: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&clothtexbind); ^ In file included from /usr/include/GL/glu.h:38:0, from table.c:25: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ table.c:1796:12: warning: unused variable ‘pass’ [-Wunused-variable] int pass; ^~~~ table.c:1156:13: warning: unused variable ‘s_gen_params’ [-Wunused-variable] GLfloat s_gen_params[] = {0.0,1.0,0.0,0.0}; ^~~~~~~~~~~~ table.c:1155:13: warning: unused variable ‘t_gen_params’ [-Wunused-variable] GLfloat t_gen_params[] = {8.0,0.0,0.0,0.0}; ^~~~~~~~~~~~ table.c:1128:11: warning: unused variable ‘cm’ [-Wunused-variable] float cm = 0.01; // cm ^~ table.c:1111:24: warning: unused variable ‘bumpcloth’ [-Wunused-variable] static BumpRefType bumpcloth; ^~~~~~~~~ table.c:1108:16: warning: unused variable ‘bump_cloth_init’ [-Wunused-variable] static int bump_cloth_init = 0; ^~~~~~~~~~~~~~~ At top level: table.c:1108:16: warning: ‘bump_cloth_init’ defined but not used [-Wunused-variable] table.c:1111:24: warning: ‘bumpcloth’ defined but not used [-Wunused-variable] static BumpRefType bumpcloth; ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o queue.o queue.c /bin/sh: freetype-config: command not found queue.c: In function ‘delete_queue_texbind’: queue.c:142:24: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures(1,&queuetexbind); ^ In file included from /usr/include/GL/glu.h:38:0, from queue.c:26: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ queue.c: In function ‘create_queue_texbind’: queue.c:150:21: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&queuetexbind); ^ In file included from /usr/include/GL/glu.h:38:0, from queue.c:26: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ queue.c: In function ‘draw_queue’: queue.c:194:29: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&queueshadowbind); ^ In file included from /usr/include/GL/glu.h:38:0, from queue.c:26: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o aiplayer.o aiplayer.c /bin/sh: freetype-config: command not found x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o options.o options.c /bin/sh: freetype-config: command not found x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o evaluate_move.o evaluate_move.c /bin/sh: freetype-config: command not found evaluate_move.c: In function ‘evaluate_last_move_snooker’: evaluate_move.c:409:5: warning: enumeration value ‘SN_DONE’ not handled in switch [-Wswitch] switch(st.to_play) ^~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o helpscreen.o helpscreen.c /bin/sh: freetype-config: command not found x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o textobj.o textobj.c /bin/sh: freetype-config: command not found textobj.c: In function ‘diff_x_font’: textobj.c:57:16: warning: variable ‘h2’ set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c:57:13: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c: In function ‘diff_xy_font’: textobj.c:71:16: warning: variable ‘h2’ set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c:71:13: warning: variable ‘w2’ set but not used [-Wunused-but-set-variable] int x,y,w2,h2; ^~ textobj.c: In function ‘create_string_quad’: textobj.c:96:21: warning: pointer targets in passing argument 2 of ‘glGenTextures’ differ in signedness [-Wpointer-sign] glGenTextures(1,&texbind); ^ In file included from options.h:22:0, from textobj.c:22: /usr/include/GL/gl.h:1307:23: note: expected ‘GLuint * {aka unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^~~~~~~~~~~~~ textobj.c:91:29: warning: unused variable ‘ny’ [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:26: warning: unused variable ‘nx’ [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:22: warning: unused variable ‘h2’ [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:19: warning: unused variable ‘h1’ [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:15: warning: unused variable ‘w2’ [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c:91:12: warning: unused variable ‘w1’ [-Wunused-variable] int w1,w2, h1,h2, nx,ny; ^~ textobj.c: In function ‘textObj_toggle3D’: textobj.c:204:30: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^ In file included from options.h:22:0, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function ‘textObj_setText’: textobj.c:227:38: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^ In file included from options.h:22:0, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function ‘textObj_setHeight’: textobj.c:271:30: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^ In file included from options.h:22:0, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function ‘textObj_setFont’: textobj.c:300:30: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^ In file included from options.h:22:0, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ textobj.c: In function ‘textObj_delete’: textobj.c:389:30: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] glDeleteTextures( 1, &(obj->tex_id) ); ^ In file included from options.h:22:0, from textobj.c:22: /usr/include/GL/gl.h:1309:23: note: expected ‘const GLuint * {aka const unsigned int *}’ but argument is of type ‘int *’ GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -O2 -pipe -march=native -c -o font.o font.c /bin/sh: freetype-config: command not found font.c:24:10: fatal error: ft2build.h: No such file or directory #include ^~~~~~~~~~~~ compilation terminated. make[2]: *** [Makefile:473: font.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a/src' make[1]: *** [Makefile:341: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a/src' make: *** [Makefile:352: all-recursive] Error 1 * ERROR: games-sports/foobillard-3.0a-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-sports/foobillard-3.0a-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-sports/foobillard-3.0a-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-sports:foobillard-3.0a-r1:20180505-102533.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-sports/foobillard-3.0a-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-sports/foobillard-3.0a-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a' * S: '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a'