------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/gmake-4.3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9_1,1.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXt-1.2.0,1.txz Installing /packages/All/libXmu-1.1.3,1.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/libXaw-1.0.13_3,2.txz Installing /packages/All/png-1.6.37.txz Installing /packages/All/freetype2-2.10.1.txz ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). Installing /packages/All/expat-2.2.8.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200421.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.101.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-19.0.8.txz ===== Message from mesa-libs-19.0.8: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Uses Python 2.7 which is EOLed upstream. It is scheduled to be removed on or after 2020-12-31. Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/libXi-1.7.10,1.txz Installing /packages/All/freeglut-3.0.0_2.txz ===== Message from freeglut-3.0.0_2: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. SUCCEEDED 00:00:07 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by foobillard-3.0a_11 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by foobillard-3.0a_11 for building => SHA256 Checksum OK for foobillard-3.0a.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by foobillard-3.0a_11 for building ===> Extracting for foobillard-3.0a_11 => SHA256 Checksum OK for foobillard-3.0a.tar.gz. Extracted Memory Use: 2.17M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for foobillard-3.0a_11 ===> Applying ports patches for foobillard-3.0a_11 ===> Cleanly applied ports patch(es) patch-Makefile.in patch-billard3d.c patch-option.h patch-sys_stuff.c SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on package: gmake>=4.3 - found ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> foobillard-3.0a_11 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> foobillard-3.0a_11 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on package: gmake>=4.3 - found ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> foobillard-3.0a_11 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> foobillard-3.0a_11 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> foobillard-3.0a_11 depends on shared library: libglut.so - found (/usr/local/lib/libglut.so) ===> Configuring for foobillard-3.0a_11 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... (cached) /usr/bin/awk checking whether gmake sets $(MAKE)... yes checking for gcc... cc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ANSI C... none needed checking for style of include used by gmake... GNU checking dependency style of cc... gcc3 checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for a BSD-compatible install... /usr/bin/install -c checking how to run the C preprocessor... cpp checking for egrep... grep -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for limits.h... (cached) yes checking for unistd.h... (cached) yes checking for math.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdio.h... (cached) yes checking ft2build.h usability... no checking ft2build.h presence... no checking for ft2build.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for X... libraries /usr/local/lib, headers /usr/local/include checking for gethostbyname... (cached) 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... (cached) yes checking "for SDL support"... "no" checking "for glut support"... "yes" 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 SUCCEEDED 00:00:05 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for foobillard-3.0a_11 gmake[1]: Entering directory '/construction/games/foobillard/foobillard-3.0a' Making all in src gmake[2]: Entering directory '/construction/games/foobillard/foobillard-3.0a/src' gmake all-am gmake[3]: Entering directory '/construction/games/foobillard/foobillard-3.0a/src' if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT billard3d.o -MD -MP -MF ".deps/billard3d.Tpo" \ -c -o billard3d.o `test -f 'billard3d.c' || echo './'`billard3d.c; \ then mv ".deps/billard3d.Tpo" ".deps/billard3d.Po"; \ else rm -f ".deps/billard3d.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT billmove.o -MD -MP -MF ".deps/billmove.Tpo" \ -c -o billmove.o `test -f 'billmove.c' || echo './'`billmove.c; \ then mv ".deps/billmove.Tpo" ".deps/billmove.Po"; \ else rm -f ".deps/billmove.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT billard.o -MD -MP -MF ".deps/billard.Tpo" \ -c -o billard.o `test -f 'billard.c' || echo './'`billard.c; \ then mv ".deps/billard.Tpo" ".deps/billard.Po"; \ else rm -f ".deps/billard.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT vmath.o -MD -MP -MF ".deps/vmath.Tpo" \ -c -o vmath.o `test -f 'vmath.c' || echo './'`vmath.c; \ then mv ".deps/vmath.Tpo" ".deps/vmath.Po"; \ else rm -f ".deps/vmath.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT ball.o -MD -MP -MF ".deps/ball.Tpo" \ -c -o ball.o `test -f 'ball.c' || echo './'`ball.c; \ then mv ".deps/ball.Tpo" ".deps/ball.Po"; \ else rm -f ".deps/ball.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT png_loader.o -MD -MP -MF ".deps/png_loader.Tpo" \ -c -o png_loader.o `test -f 'png_loader.c' || echo './'`png_loader.c; \ then mv ".deps/png_loader.Tpo" ".deps/png_loader.Po"; \ else rm -f ".deps/png_loader.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT table.o -MD -MP -MF ".deps/table.Tpo" \ -c -o table.o `test -f 'table.c' || echo './'`table.c; \ then mv ".deps/table.Tpo" ".deps/table.Po"; \ else rm -f ".deps/table.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT queue.o -MD -MP -MF ".deps/queue.Tpo" \ -c -o queue.o `test -f 'queue.c' || echo './'`queue.c; \ then mv ".deps/queue.Tpo" ".deps/queue.Po"; \ else rm -f ".deps/queue.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT aiplayer.o -MD -MP -MF ".deps/aiplayer.Tpo" \ -c -o aiplayer.o `test -f 'aiplayer.c' || echo './'`aiplayer.c; \ then mv ".deps/aiplayer.Tpo" ".deps/aiplayer.Po"; \ else rm -f ".deps/aiplayer.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT options.o -MD -MP -MF ".deps/options.Tpo" \ -c -o options.o `test -f 'options.c' || echo './'`options.c; \ then mv ".deps/options.Tpo" ".deps/options.Po"; \ else rm -f ".deps/options.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT evaluate_move.o -MD -MP -MF ".deps/evaluate_move.Tpo" \ -c -o evaluate_move.o `test -f 'evaluate_move.c' || echo './'`evaluate_move.c; \ then mv ".deps/evaluate_move.Tpo" ".deps/evaluate_move.Po"; \ else rm -f ".deps/evaluate_move.Tpo"; exit 1; \ fi 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/local/include/GL/glu.h:38, from queue.c:26: /usr/local/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/local/include/GL/glu.h:38, from queue.c:26: /usr/local/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/local/include/GL/glu.h:38, from queue.c:26: /usr/local/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: In function 'my_Edge': table.c:224:89: warning: variable 'v9' 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: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/local/include/GL/glu.h:38, from table.c:25: /usr/local/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/local/include/GL/glu.h:38, from table.c:25: /usr/local/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/local/include/GL/glu.h:38, from table.c:25: /usr/local/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/local/include/GL/glu.h:38, from table.c:25: /usr/local/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/local/include/GL/glu.h:38, from table.c:25: /usr/local/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/local/include/GL/glu.h:38, from table.c:25: /usr/local/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 ); ^~~~~~~~~~~~~ ball.c:59:13: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "!!VP1.0 \n" ^~~~~~~~~~~~ ball.c:128:13: warning: pointer targets in initialization of 'const unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] "!!VP1.0 \n" ^~~~~~~~~~~~ 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) ^~~~~~ ball.c: In function 'ball_subdivide_nonrec': ball.c:499:18: warning: unused variable 'rho' [-Wunused-variable] double xt,yt,rho; ^~~ billard3d.c: In function 'Idle_timer': billard3d.c:1592:16: warning: variable 'first_time' set but not used [-Wunused-but-set-variable] static int first_time=1; ^~~~~~~~~~ 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; ^~~~ billmove.c: In function 'my_rand': billmove.c:412:5: warning: type of 'nr' defaults to 'int' [-Wimplicit-int] int my_rand(nr) ^~~~~~~ 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: 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) ^~~~~~~~~~~~~~~~ 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; ^~~~~~~~~~~~~~~~~~~~~~ billard3d.c: In function 'DisplayFunc': if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_Pbillard3d.c:2793:12: warning: variable 'light_position' set but not used [-Wunused-but-set-variable] GLfloat light_position[] = { 0.0, 0.0, 0.7, 1.0 }; ^~~~~~~~~~~~~~ ROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT helpscreen.o -MD -MP -MF ".deps/helpscreen.Tpo" \ -c -o helpscreen.o `test -f 'helpscreen.c' || echo './'`helpscreen.c; \ then mv ".deps/helpscreen.Tpo" ".deps/helpscreen.Po"; \ else rm -f ".deps/helpscreen.Tpo"; exit 1; \ fi billard3d.c: In function 'free_cuberef_tex': billard3d.c:4001: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/local/include/GL/freeglut_std.h:143, from /usr/local/include/GL/glut.h:17, from billard3d.c:30: /usr/local/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:4024: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/local/include/GL/freeglut_std.h:143, from /usr/local/include/GL/glut.h:17, from billard3d.c:30: /usr/local/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 ); ^~~~~~~~~~~~~ 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; ^~~~ At top level: billard3d.c:213:15: warning: 'half_full_names' defined but not used [-Wunused-variable] static char * half_full_names[]={"any","full","half"}; ^~~~~~~~~~~~~~~ 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; ^~~~~~~~~ if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT textobj.o -MD -MP -MF ".deps/textobj.Tpo" \ -c -o textobj.o `test -f 'textobj.c' || echo './'`textobj.c; \ then mv ".deps/textobj.Tpo" ".deps/textobj.Po"; \ else rm -f ".deps/textobj.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT font.o -MD -MP -MF ".deps/font.Tpo" \ -c -o font.o `test -f 'font.c' || echo './'`font.c; \ then mv ".deps/font.Tpo" ".deps/font.Po"; \ else rm -f ".deps/font.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT sys_stuff.o -MD -MP -MF ".deps/sys_stuff.Tpo" \ -c -o sys_stuff.o `test -f 'sys_stuff.c' || echo './'`sys_stuff.c; \ then mv ".deps/sys_stuff.Tpo" ".deps/sys_stuff.Po"; \ else rm -f ".deps/sys_stuff.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT net_socket.o -MD -MP -MF ".deps/net_socket.Tpo" \ -c -o net_socket.o `test -f 'net_socket.c' || echo './'`net_socket.c; \ then mv ".deps/net_socket.Tpo" ".deps/net_socket.Po"; \ else rm -f ".deps/net_socket.Tpo"; exit 1; \ fi 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, from textobj.c:22: /usr/local/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, from textobj.c:22: /usr/local/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, from textobj.c:22: /usr/local/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, from textobj.c:22: /usr/local/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, from textobj.c:22: /usr/local/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, from textobj.c:22: /usr/local/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); ^~~~~~~~~~~~~~~~ font.c: In function 'makeGLGeometryFT': font.c:439:57: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tessdata->tobj, GLU_TESS_BEGIN, glBegin); ^~~~~~~ In file included from font.c:32: /usr/local/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(GLenum)' {aka 'void (*)(unsigned int)'} GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ~~~~~~~~~~~~^~~~~~~~~~~~ font.c:440:58: warning: passing argument 3 of 'gluTessCallback' from incompatible pointer type [-Wincompatible-pointer-types] gluTessCallback(tessdata->tobj, GLU_TESS_VERTEX, my_Vertex_cb); ^~~~~~~~~~~~ In file included from font.c:32: /usr/local/include/GL/glu.h:340:87: note: expected '_GLUfuncptr' {aka 'void (*)(void)'} but argument is of type 'void (*)(void *)' GLAPI void GLAPIENTRY gluTessCallback (GLUtesselator* tess, GLenum which, _GLUfuncptr CallBackFunc); ~~~~~~~~~~~~^~~~~~~~~~~~ font.c:443:24: warning: assignment to 'FT_Outline_MoveToFunc' {aka 'int (*)(const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.move_to = cb_tess_move_to; ^ font.c:444:24: warning: assignment to 'FT_Outline_LineToFunc' {aka 'int (*)(const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.line_to = cb_tess_line_to; ^ font.c:445:24: warning: assignment to 'FT_Outline_ConicToFunc' {aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.conic_to = cb_tess_conic_to; ^ font.c:446:24: warning: assignment to 'FT_Outline_CubicToFunc' {aka 'int (*)(const struct FT_Vector_ *, const struct FT_Vector_ *, const struct FT_Vector_ *, void *)'} from incompatible pointer type 'int (*)(FT_Vector *, FT_Vector *, FT_Vector *, void *)' {aka 'int (*)(struct FT_Vector_ *, struct FT_Vector_ *, struct FT_Vector_ *, void *)'} [-Wincompatible-pointer-types] funcs.cubic_to = cb_tess_cubic_to; ^ font.c:466:26: warning: variable 'n' set but not used [-Wunused-but-set-variable] VMvect n1,n2,n, d1,d2; ^ font.c:374:14: warning: unused variable 'v' [-Wunused-variable] GLdouble v[1000][3]; ^ font.c:373:21: warning: unused variable 'start_y' [-Wunused-variable] double start_x, start_y; ^~~~~~~ font.c:373:12: warning: unused variable 'start_x' [-Wunused-variable] double start_x, start_y; ^~~~~~~ font.c:372:28: warning: unused variable 'tobj' [-Wunused-variable] struct GLUtesselator * tobj; ^~~~ font.c:370:11: warning: unused variable 'j' [-Wunused-variable] int i,j; ^ font.c:370:9: warning: unused variable 'i' [-Wunused-variable] int i,j; ^ if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT sound_stuff.o -MD -MP -MF ".deps/sound_stuff.Tpo" \ -c -o sound_stuff.o `test -f 'sound_stuff.c' || echo './'`sound_stuff.c; \ then mv ".deps/sound_stuff.Tpo" ".deps/sound_stuff.Po"; \ else rm -f ".deps/sound_stuff.Tpo"; exit 1; \ fi font.c: In function 'getStringGLListFT': font.c:530:52: warning: unused variable 'h1' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~ font.c:530:49: warning: unused variable 'w1' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~ font.c:530:39: warning: unused variable 'h' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^ font.c:530:37: warning: unused variable 'w' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^ font.c:530:35: warning: unused variable 'i' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^ font.c:530:26: warning: unused variable 'pen_y' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~~~~ font.c:530:19: warning: unused variable 'pen_x' [-Wunused-variable] int pen_x, pen_y, n,i,w,h, error, w1,h1; ^~~~~ sound_stuff.c: In function 'mixaudio': sound_stuff.c:132:13: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] write(h_audio,sndbuff,SNDBUFF_SIZE*2); ^~~~~ fwrite sound_stuff.c: In function 'exit_sound': sound_stuff.c:247:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(h_audio); ^~~~~ pclose if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT menu.o -MD -MP -MF ".deps/menu.Tpo" \ -c -o menu.o `test -f 'menu.c' || echo './'`menu.c; \ then mv ".deps/menu.Tpo" ".deps/menu.Po"; \ else rm -f ".deps/menu.Tpo"; exit 1; \ fi if cc -DHAVE_CONFIG_H -I. -I. -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/local/share/foobillard/"' -I/usr/local/include -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing -MT bumpref.o -MD -MP -MF ".deps/bumpref.Tpo" \ -c -o bumpref.o `test -f 'bumpref.c' || echo './'`bumpref.c; \ then mv ".deps/bumpref.Tpo" ".deps/bumpref.Po"; \ else rm -f ".deps/bumpref.Tpo"; exit 1; \ fi menu.c: In function 'menu_create_textobj': menu.c:178:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~ menu.c:178:13: note: 'sprintf' output between 4 and 514 bytes into a destination of size 256 sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ font.c: In function 'makeGLGeometryFT': font.c:496:54: warning: 'tdv_n' may be used uninitialized in this function [-Wmaybe-uninitialized] glVertex3f( tdv_n->d[0], tdv_n->d[1], -depth ); ~~~~~~~~^~~ bumpref.c: In function 'bump2normal': bumpref.c:170:30: warning: variable 'sd_xyn' set but not used [-Wunused-but-set-variable] double sd, sd_xn, sd_yn, sd_xyn, dzx, dzy, dx, dy; ^~~~~~ bumpref.c: In function 'bump2normal_HILO': bumpref.c:224:30: warning: variable 'sd_xyn' set but not used [-Wunused-but-set-variable] double sd, sd_xn, sd_yn, sd_xyn, dzx, dzy, dx, dy; ^~~~~~ bumpref.c: In function 'bumpref_setup_vp_ts_rc': menu.c: In function 'menu_entry_set_text': menu.c:142:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wfbumpref.c:538:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ ormat-overflow=] sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~ menu.c:142:13: note: 'sprintf' output between 4 and 514 bytes into a destination of size 256 sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bumpref.c: In function 'bump_setup_vp_rc': bumpref.c:1121:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ menu.c: In function 'menu_entry_set_settingtext': menu.c:158:28: warning: ' : ' directive writing 3 bytes into a region of size between 1 and 256 [-Wformat-overflow=] sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~ menu.c:158:13: note: 'sprintf' output between 4 and 514 bytes into a destination of size 256 sprintf(str,"%s : %s",entry->text,entry->settingtext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c: In function 'DisplayFunc': billard3d.c:2912: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:4576: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); ^~ ~~~~~~~~~~~~~~ billard3d.c:4576:5: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 sprintf(str,"P1 Name: %s",player[0].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4583: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); ^~ ~~~~~~~~~~~~~~ billard3d.c:4583:5: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 sprintf(str,"P2 Name: %s",player[1].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4597: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); ^~ ~~~~~~~~~~~~~~ billard3d.c:4597:5: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 sprintf(str,"P1 Name: %s",player[0].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ billard3d.c:4599: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); ^~ ~~~~~~~~~~~~~~ billard3d.c:4599:5: note: 'sprintf' output between 10 and 265 bytes into a destination of size 256 sprintf(str,"P2 Name: %s",player[1].name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -Wall `/usr/local/bin/freetype-config --cflags` -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -DGL_AMD_gpu_shader_int64=1 -DGLuint64EXT=uint64_t -DGLint64EXT=int64_t -UGL_VERTEX_PROGRAM_NV -DGL_NV_vertex_program=1 -O2 -fno-strict-aliasing `/usr/local/bin/freetype-config --libs` -lglut -L/usr/local/lib -o foobillard billard3d.o billmove.o billard.o vmath.o ball.o png_loader.o table.o queue.o aiplayer.o options.o evaluate_move.o helpscreen.o textobj.o font.o sys_stuff.o net_socket.o sound_stuff.o menu.o bumpref.o -lSM -lICE -L/usr/local/lib -lGL -lGLU -lXaw -lm -lXi -lpng -lz gmake[3]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/src' gmake[2]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/src' Making all in data gmake[2]: Entering directory '/construction/games/foobillard/foobillard-3.0a/data' gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/data' gmake[2]: Entering directory '/construction/games/foobillard/foobillard-3.0a' gmake[2]: Nothing to be done for 'all-am'. gmake[2]: Leaving directory '/construction/games/foobillard/foobillard-3.0a' gmake[1]: Leaving directory '/construction/games/foobillard/foobillard-3.0a' SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for foobillard-3.0a_11 ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> foobillard-3.0a_11 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found ===> Generating temporary packing list gmake[1]: Entering directory '/construction/games/foobillard/foobillard-3.0a' Making install in src gmake[2]: Entering directory '/construction/games/foobillard/foobillard-3.0a/src' gmake[3]: Entering directory '/construction/games/foobillard/foobillard-3.0a/src' /bin/sh ../mkinstalldirs /construction/games/foobillard/stage/usr/local/bin install -s -m 555 foobillard /construction/games/foobillard/stage/usr/local/bin/foobillard gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/src' gmake[2]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/src' Making install in data gmake[2]: Entering directory '/construction/games/foobillard/foobillard-3.0a/data' gmake[3]: Entering directory '/construction/games/foobillard/foobillard-3.0a/data' gmake[3]: Nothing to be done for 'install-exec-am'. /bin/sh ../mkinstalldirs /construction/games/foobillard/stage/usr/local/share/foobillard mkdir /construction/games/foobillard/stage/usr/local/share/foobillard install -m 0644 blende.png /construction/games/foobillard/stage/usr/local/share/foobillard/blende.png install -m 0644 bluebold.ttf /construction/games/foobillard/stage/usr/local/share/foobillard/bluebold.ttf install -m 0644 cue_shadow.png /construction/games/foobillard/stage/usr/local/share/foobillard/cue_shadow.png install -m 0644 foobillard.gif /construction/games/foobillard/stage/usr/local/share/foobillard/foobillard.gif install -m 0644 foobillard.png /construction/games/foobillard/stage/usr/local/share/foobillard/foobillard.png install -m 0644 full_symbol.png /construction/games/foobillard/stage/usr/local/share/foobillard/full_symbol.png install -m 0644 fullhalf_symbol.png /construction/games/foobillard/stage/usr/local/share/foobillard/fullhalf_symbol.png install -m 0644 half_symbol.png /construction/games/foobillard/stage/usr/local/share/foobillard/half_symbol.png install -m 0644 iomanoid.ttf /construction/games/foobillard/stage/usr/local/share/foobillard/iomanoid.ttf install -m 0644 lightflare.png /construction/games/foobillard/stage/usr/local/share/foobillard/lightflare.png install -m 0644 place_cue_ball.png /construction/games/foobillard/stage/usr/local/share/foobillard/place_cue_ball.png install -m 0644 queue.png /construction/games/foobillard/stage/usr/local/share/foobillard/queue.png install -m 0644 queue_shadow.png /construction/games/foobillard/stage/usr/local/share/foobillard/queue_shadow.png install -m 0644 shadow2.png /construction/games/foobillard/stage/usr/local/share/foobillard/shadow2.png install -m 0644 shadow3.png /construction/games/foobillard/stage/usr/local/share/foobillard/shadow3.png install -m 0644 shadow_alpha.png /construction/games/foobillard/stage/usr/local/share/foobillard/shadow_alpha.png install -m 0644 sphere_map_128x128.png /construction/games/foobillard/stage/usr/local/share/foobillard/sphere_map_128x128.png install -m 0644 sphere_map_128x128_light.png /construction/games/foobillard/stage/usr/local/share/foobillard/sphere_map_128x128_light.png install -m 0644 sphere_map_64x64.png /construction/games/foobillard/stage/usr/local/share/foobillard/sphere_map_64x64.png install -m 0644 table-frame.png /construction/games/foobillard/stage/usr/local/share/foobillard/table-frame.png install -m 0644 tabletex_fB_128x128.png /construction/games/foobillard/stage/usr/local/share/foobillard/tabletex_fB_128x128.png install -m 0644 tabletex_fB_256x256.png /construction/games/foobillard/stage/usr/local/share/foobillard/tabletex_fB_256x256.png install -m 0644 youregon.ttf /construction/games/foobillard/stage/usr/local/share/foobillard/youregon.ttf install -m 0644 ball_ball.raw /construction/games/foobillard/stage/usr/local/share/foobillard/ball_ball.raw install -m 0644 posx.png /construction/games/foobillard/stage/usr/local/share/foobillard/posx.png install -m 0644 posy.png /construction/games/foobillard/stage/usr/local/share/foobillard/posy.png install -m 0644 posz.png /construction/games/foobillard/stage/usr/local/share/foobillard/posz.png install -m 0644 negx.png /construction/games/foobillard/stage/usr/local/share/foobillard/negx.png install -m 0644 negy.png /construction/games/foobillard/stage/usr/local/share/foobillard/negy.png install -m 0644 negz.png /construction/games/foobillard/stage/usr/local/share/foobillard/negz.png install -m 0644 bumpref.png /construction/games/foobillard/stage/usr/local/share/foobillard/bumpref.png install -m 0644 cloth.png /construction/games/foobillard/stage/usr/local/share/foobillard/cloth.png gmake[3]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/data' gmake[2]: Leaving directory '/construction/games/foobillard/foobillard-3.0a/data' gmake[2]: Entering directory '/construction/games/foobillard/foobillard-3.0a' gmake[3]: Entering directory '/construction/games/foobillard/foobillard-3.0a' gmake[3]: Nothing to be done for 'install-exec-am'. gmake[3]: Nothing to be done for 'install-data-am'. gmake[3]: Leaving directory '/construction/games/foobillard/foobillard-3.0a' gmake[2]: Leaving directory '/construction/games/foobillard/foobillard-3.0a' gmake[1]: Leaving directory '/construction/games/foobillard/foobillard-3.0a' install -m 444 /construction/games/foobillard/foobillard-3.0a/foobillard.6 /construction/games/foobillard/stage/usr/local/man/man6/foobillard.6 ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/foobillard is linked to /usr/local/lib/libSM.so.6 from x11/libSM but it is not declared as a dependency Warning: you need USE_XORG+=sm Error: /usr/local/bin/foobillard is linked to /usr/local/lib/libGL.so.1 from graphics/mesa-libs but it is not declared as a dependency Warning: you need USE_GL+=gl Error: /usr/local/bin/foobillard is linked to /usr/local/lib/libGLU.so.1 from graphics/libGLU but it is not declared as a dependency Warning: you need USE_GL+=glu Error: /usr/local/bin/foobillard is linked to /usr/local/lib/libXi.so.6 from x11/libXi but it is not declared as a dependency Warning: you need USE_XORG+=xi Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for foobillard-3.0a_11 file sizes/checksums [35]: 0% file sizes/checksums [35]: 100% packing files [35]: 0% packing files [35]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:02 TOTAL TIME 00:00:23