* Package: games-sports/foobillard-3.0a-r1:0 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux sdl 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-freetype_pkgconfig.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 --system-acdir=/var/tmp/portage/games-sports/foobillard-3.0a-r1/temp/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 ... * econf: updating foobillard-3.0a/config.sub with /usr/share/gnuconfig/config.sub * econf: updating foobillard-3.0a/config.guess with /usr/share/gnuconfig/config.guess ./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 --enable-SDL --disable-glut --disable-nvidia checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a race-free 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... clang 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 the compiler supports GNU C... yes checking whether clang accepts -g... yes checking for clang option to enable C11 features... none needed checking whether clang understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of clang... none checking whether the compiler supports GNU C++... yes checking whether clang++ accepts -g... yes checking for clang++ option to enable C++11 features... none needed checking dependency style of clang++... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for limits.h... yes checking for unistd.h... (cached) yes checking for math.h... yes checking for stdlib.h... (cached) yes checking for stdio.h... (cached) yes checking for endian.h... yes checking for sys/endian.h... no checking for an ANSI C-conforming const... yes checking for inline... inline checking how to run the C preprocessor... clang -E 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"... "yes" checking "for glut support"... "no" 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. '/var/tmp/portage/games-sports/foobillard-3.0a-r1/temp/clang14.log' -> '/var/tmp/clang/games-sports/foobillard-3.0a-r1/clang14.log' '/var/tmp/portage/games-sports/foobillard-3.0a-r1/temp/clang15.log' -> '/var/tmp/clang/games-sports/foobillard-3.0a-r1/clang15.log' >>> Compiling source in /var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a ... make -j4 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' clang -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `x86_64-pc-linux-gnu-pkg-config --cflags freetype2` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o billard3d.o billard3d.c clang -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `x86_64-pc-linux-gnu-pkg-config --cflags freetype2` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o billmove.o billmove.c clang -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `x86_64-pc-linux-gnu-pkg-config --cflags freetype2` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o billard.o billard.c clang -DHAVE_CONFIG_H -I. -DNDEBUG -DDATA_DIRECTORY='"/usr/share/foobillard/"' -Wall `x86_64-pc-linux-gnu-pkg-config --cflags freetype2` `sdl-config --cflags` -DUSE_SDL -DNO_NV_BUMPREF -DNO_NV_FRESNEL -DUSE_SOUND -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o vmath.o vmath.c billmove.c:412:13: error: parameter 'nr' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] int my_rand(nr) ^ billmove.c:412:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] int my_rand(nr) ^ billmove.c:516:61: warning: variable 'v' is uninitialized when used here [-Wuninitialized] q = (vec_abssq(r) - ball->d*ball->d/4.0)/vec_abssq(v); ^ billmove.c:488:5: note: variable 'v' is declared here myvec dr, r, v; ^ billard3d.c:655:55: warning: for loop has empty body [-Wempty-body] if( i!=(*confc)-1 ){ for(;(*str)!=0;str++); str++; } ^ billard3d.c:655:55: note: put the semicolon on a separate line to silence this warning 2 warnings and 1 error generated. make[2]: *** [Makefile:475: billmove.o] Error 1 make[2]: *** Waiting for unfinished jobs.... billard.c:735:21: warning: variable 'ampl' set but not used [-Wunused-but-set-variable] double ang, ampl; ^ billard3d.c:1596:16: warning: variable 'first_time' set but not used [-Wunused-but-set-variable] static int first_time=1; ^ billard3d.c:1603:16: warning: variable 'dt_rest' set but not used [-Wunused-but-set-variable] static int dt_rest=0; ^ billard3d.c:2115:43: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] Xoffs += (double)(y-start_y)*fabs(y-start_y)*0.01*acc; ^ billard3d.c:2115:43: note: use function 'abs' instead Xoffs += (double)(y-start_y)*fabs(y-start_y)*0.01*acc; ^~~~ abs billard3d.c:2153:43: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] Xoffs += (double)(y-start_y)*fabs(y-start_y)*0.01*acc; ^ billard3d.c:2153:43: note: use function 'abs' instead Xoffs += (double)(y-start_y)*fabs(y-start_y)*0.01*acc; ^~~~ abs billard3d.c:2154:43: warning: using floating point absolute value function 'fabs' when argument is of integer type [-Wabsolute-value] Zoffs += (double)(x-start_x)*fabs(x-start_x)*0.01*acc; ^ billard3d.c:2154:43: note: use function 'abs' instead Zoffs += (double)(x-start_x)*fabs(x-start_x)*0.01*acc; ^~~~ abs billard3d.c:2810:18: warning: variable 'fps' set but not used [-Wunused-but-set-variable] static double fps; ^ billard3d.c:4005:28: warning: passing 'int *' to parameter of type 'const GLuint *' (aka 'const unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] glDeleteTextures(1,&cuberef_allballs_texbind[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/GL/gl.h:1304:66: note: passing argument to parameter 'textures' here GLAPI void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); ^ billard3d.c:4028:25: warning: passing 'int *' to parameter of type 'GLuint *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign] glGenTextures(1,&cuberef_allballs_texbind[i]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/GL/gl.h:1302:57: note: passing argument to parameter 'textures' here GLAPI void GLAPIENTRY glGenTextures( GLsizei n, GLuint *textures ); ^ billard3d.c:4415:56: warning: for loop has empty body [-Wempty-body] for(mode_num=0;modes[mode_num].w!=0;mode_num++); ^ billard3d.c:4415:56: note: put the semicolon on a separate line to silence this warning billard3d.c:217:15: warning: unused variable 'half_full_names' [-Wunused-variable] static char * half_full_names[]={"any","full","half"}; ^ 1 warning generated. 11 warnings generated. make[2]: Leaving directory '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a/src' make[1]: *** [Makefile:343: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/games-sports/foobillard-3.0a-r1/work/foobillard-3.0a/src' make: *** [Makefile:356: 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:20221005-170452.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'