* Package: games-sports/gracer-0.1.5-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 gracer-0.1.5.tar.gz to /var/tmp/portage/games-sports/gracer-0.1.5-r1/work >>> Source unpacked in /var/tmp/portage/games-sports/gracer-0.1.5-r1/work >>> Preparing source in /var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5 ... * Applying 0.1.5-gldefs.patch ... [ ok ] * Applying gracer-gcc-3.4.patch ... [ ok ] * Applying gracer-0.1.5-gcc41.patch ... [ ok ] * Applying gracer-0.1.5-as-needed.patch ... [ ok ] * Applying gracer-0.1.5-libpng14.patch ... [ ok ] * Applying gracer-0.1.5-png15.patch ... [ ok ] * Applying gracer-0.1.5-giflib.patch ... [ ok ] * Applying gracer-0.1.5-warnings.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5 ... * econf: updating gracer-0.1.5/config.sub with /usr/share/gnuconfig/config.sub * econf: updating gracer-0.1.5/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 --libdir=/usr/lib64 --enable-gif --enable-jpeg --enable-png --disable-joystick creating cache ./config.cache checking for gcc... gcc checking whether the C compiler (gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C compiler (gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for c++... c++ checking whether the C++ compiler (c++ -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) works... yes checking whether the C++ compiler (c++ -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking how to run the C++ preprocessor... c++ -E checking for working const... yes checking host system type... x86_64-pc-linux-gnu checking build system type... x86_64-pc-linux-gnu checking for ranlib... ranlib checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache loading cache ./config.cache within ltconfig checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... no checking if gcc static flag -static works... -static checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/x86_64-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool updating cache ./config.cache loading cache ./config.cache checking for working const... (cached) yes checking for a BSD compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether to enable maintainer-specific portions of Makefiles... no checking how to run the C preprocessor... gcc -E checking for X... libraries /usr/lib64, headers checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for XOpenDisplay in -lX11... yes checking for XShmAttach in -lXext... yes checking for XtGetSelectionValue in -lXt... yes checking for XmuLookupStandardColormap in -lXmu... yes checking for XOpenDevice in -lXi... yes checking for floor in -lm... yes checking GL... yes checking GLU... yes checking check Glide support... no checking for glutKeyboardUpFunc in -lglut... yes checking tcl build dir... use tclConfig.sh in /usr/lib checking for tcl8.0.h... no checking for tcl.h... yes checking for /usr/local/plib/include/plib/sl.h... no checking for /usr/local/plib/include/sl.h... no checking for /usr/include/plib/sl.h... yes checking libplibsl... ok checking for gif_lib.h... yes checking for DGifOpenFileHandle in -lungif... no checking for DGifOpenFileHandle in -lgif... yes checking for jpeg_start_decompress in -ljpeg... yes checking for png_create_read_struct in -lpng... yes updating cache ./config.cache creating ./config.status creating common/Makefile creating ac2scene/Makefile creating ac2course/Makefile creating data/Makefile creating data/scenes/Makefile creating data/courses/Makefile creating data/vehicles/Makefile creating data/vehicles/formula/Makefile creating data/vehicles/cart/Makefile creating data/vehicles/road/Makefile creating data/vehicles/s2000/Makefile creating data/vehicles/mini/Makefile creating data/sounds/Makefile creating data/images/Makefile creating src/Makefile creating src/tcldefs.h creating Makefile creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5' Making all in common make[2]: Entering directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/common' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_ac3d.c gr_ac3d.c: In function ‘read_object’: gr_ac3d.c:329:17: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 329 | obj->data = gr_new (char, obj->data_size+1); | ^ gr_ac3d.c: In function ‘ac3d_scene_new_from_file’: gr_ac3d.c:458:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 458 | fread (buf, 1, len, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_angle.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_boundary.c gr_boundary.c: In function ‘gr_boundary_check_region’: gr_boundary.c:161:9: warning: variable ‘tmp’ set but not used [-Wunused-but-set-variable] 161 | float tmp; | ^~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_course.c gr_course.c: In function ‘create_boundary’: gr_course.c:667:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 667 | *list = gr_slist_prepend (*list, (void *) i); | ^ gr_course.c: In function ‘gr_course_foreach_surface’: gr_course.c:820:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 820 | surf = (int) slist->data; | ^ gr_course.c: In function ‘gr_course_foreach_surface_xy’: gr_course.c:894:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 894 | surf = (int) slist->data; | ^ gr_course.c: In function ‘gr_course_new_from_file’: gr_course.c:128:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 128 | fread (buf, 1, len, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~ At top level: gr_course.c:83:1: warning: ‘gr_csegment_free’ defined but not used [-Wunused-function] 83 | gr_csegment_free (GrCSegment *seg) | ^~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_debug.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_matrix.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_memory.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_physics.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_plane.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_quat.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_scene.c gr_scene.c: In function ‘gr_scene_new_from_file’: gr_scene.c:1055:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1055 | fread (buf, 1, len, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_texture.c gr_texture.c: In function ‘read_png_file’: gr_texture.c:426:20: warning: pointer targets in passing argument 1 of ‘png_sig_cmp’ differ in signedness [-Wpointer-sign] 426 | if (png_sig_cmp (header, 0, PNG_BYTES_TO_CHECK)) { | ^~~~~~ | | | char * In file included from /usr/include/png.h:346, from gr_texture.c:35: /usr/include/png.h:943:1: note: expected ‘png_const_bytep’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 943 | PNG_EXPORT(3, int, png_sig_cmp, (png_const_bytep sig, size_t start, | ^~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_vertex.c rm -f libcommon.a ar cru libcommon.a gr_ac3d.o gr_angle.o gr_boundary.o gr_course.o gr_debug.o gr_matrix.o gr_memory.o gr_physics.o gr_plane.o gr_quat.o gr_scene.o gr_texture.o gr_vertex.o ranlib libcommon.a make[2]: Leaving directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/common' Making all in ac2scene make[2]: Entering directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/ac2scene' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c ac2scene.c /bin/sh ../libtool --mode=link gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ac2scene ac2scene.o ../common/libcommon.a -L/usr/lib64 -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lgif -ljpeg -lpng -lm mkdir .libs gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ac2scene ac2scene.o ../common/libcommon.a -L/usr/lib64 -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lgif -ljpeg -lpng -lm make[2]: Leaving directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/ac2scene' Making all in ac2course make[2]: Entering directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/ac2course' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c ac2course.c /bin/sh ../libtool --mode=link gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ac2course ac2course.o ../common/libcommon.a -lm mkdir .libs gcc -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o ac2course ac2course.o ../common/libcommon.a -lm make[2]: Leaving directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/ac2course' Making all in src make[2]: Entering directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src' gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c glbind.c glbind.c: In function ‘gr_open_file’: glbind.c:106:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | str = Tcl_GetStringResult (main_interp); | ^ glbind.c: In function ‘gr_get_fullurl’: glbind.c:121:10: warning: return discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | return Tcl_GetStringResult (main_interp); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from tcldefs.h:25, from glbind.c:30: glbind.c: In function ‘tcl_InstallGlutCallback’: glbind.c:283:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 283 | entry = Tcl_FindHashEntry (hash, (ClientData) key); | ^ glbind.c:293:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 293 | entry = Tcl_CreateHashEntry (hash, (ClientData) key, &_new); | ^ glbind.c: In function ‘tcl_GetGlutCallback’: glbind.c:318:36: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 318 | entry = Tcl_FindHashEntry (hash, (ClientData) key); | ^ glbind.c: In function ‘tcl_GrObjectLoadTexture’: glbind.c:701:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 701 | str = Tcl_GetStringResult (interp); | ^ glbind.c:707:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 707 | filename = Tcl_GetStringResult (interp); | ^ glbind.c: In function ‘tcl_GetGrScene’: glbind.c:761:7: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 761 | str = Tcl_GetStringResult (interp); | ^ glbind.c: In function ‘grSceneCmd’: glbind.c:817:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 817 | filename = Tcl_GetStringResult (interp); | ^ glbind.c:821:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 821 | filename = Tcl_GetStringResult (interp); | ^ In file included from tcldefs.h:25, from glbind.c:30: glbind.c:840:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 840 | entry = Tcl_CreateHashEntry (&scene_hash, (ClientData)count++, &_new); | ^ glbind.c:849:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 849 | entry = Tcl_FindHashEntry (&scene_hash, (ClientData)key); | ^ glbind.c:862:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 862 | entry = Tcl_FindHashEntry (&scene_hash, (ClientData)key); | ^ glbind.c:878:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 878 | entry = Tcl_FindHashEntry (&scene_hash, (ClientData)key); | ^ glbind.c:890:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 890 | entry = Tcl_FindHashEntry (&scene_hash, (ClientData)key); | ^ glbind.c:916:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 916 | entry = Tcl_FindHashEntry (&scene_hash, (ClientData)key); | ^ glbind.c: In function ‘GetGLEnum’: glbind.c:1025:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1025 | return (GLenum) Tcl_GetHashValue (entry); | ^ In file included from glbind.c:33: glbind.c: In function ‘gl_subcmd_deletetextures’: glbind.c:1167:35: warning: pointer targets in passing argument 2 of ‘glDeleteTextures’ differ in signedness [-Wpointer-sign] 1167 | GL_CHECK(glDeleteTextures (1, &val)); | ^~~~ | | | int * ../common/gr_debug.h:177:26: note: in definition of macro ‘GL_CHECK’ 177 | #define GL_CHECK(expr) expr | ^~~~ In file included from glbind.c:23: /usr/include/GL/gl.h:1304:66: note: expected ‘const GLuint *’ {aka ‘const unsigned int *’} but argument is of type ‘int *’ 1304 | I void GLAPIENTRY glDeleteTextures( GLsizei n, const GLuint *textures); | ~~~~~~~~~~~~~~^~~~~~~~ In file included from glbind.c:33: glbind.c: In function ‘gl_subcmd_newlist’: glbind.c:1449:50: warning: pointer targets in passing argument 3 of ‘Tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1449 | TCL_CHECK (Tcl_GetIntFromObj (interp, objv[1], &name), ERROR); | ^~~~~ | | | GLuint * {aka unsigned int *} ../common/gr_debug.h:30:35: note: in definition of macro ‘TCL_CHECK’ 30 | #define TCL_CHECK(cmd,label) if ((cmd) == TCL_ERROR) {goto label;} | ^~~ In file included from /usr/include/tcl.h:2441, from tcldefs.h:25, from glbind.c:30: /usr/include/tclDecls.h:161:27: note: expected ‘int *’ but argument is of type ‘GLuint *’ {aka ‘unsigned int *’} 161 | Tcl_Obj *objPtr, int *intPtr); | ~~~~~^~~~~~ glbind.c: In function ‘gl_subcmd_calllist’: glbind.c:1482:45: warning: pointer targets in passing argument 3 of ‘Tcl_GetIntFromObj’ differ in signedness [-Wpointer-sign] 1482 | if (Tcl_GetIntFromObj (interp, objv[i], &name) == TCL_ERROR) | ^~~~~ | | | GLuint * {aka unsigned int *} In file included from /usr/include/tcl.h:2441, from tcldefs.h:25, from glbind.c:30: /usr/include/tclDecls.h:161:27: note: expected ‘int *’ but argument is of type ‘GLuint *’ {aka ‘unsigned int *’} 161 | Tcl_Obj *objPtr, int *intPtr); | ~~~~~^~~~~~ In file included from tcldefs.h:25, from glbind.c:30: glbind.c: In function ‘real_init’: glbind.c:3974:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3974 | Tcl_SetHashValue (entry, (ClientData) glwordlist[i].val); | ^ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c glutwidgets.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gluttclwidgets.c gluttclwidgets.c: In function ‘Tcl_GlutButtonCreateCmd’: gluttclwidgets.c:514:13: warning: variable ‘root’ set but not used [-Wunused-but-set-variable] 514 | GlutRoot *root; | ^~~~ gluttclwidgets.c: In function ‘Tcl_GlutEntryCreateCmd’: gluttclwidgets.c:702:13: warning: variable ‘root’ set but not used [-Wunused-but-set-variable] 702 | GlutRoot *root; | ^~~~ gluttclwidgets.c: In function ‘Tcl_GlutLabelCreateCmd’: gluttclwidgets.c:829:13: warning: variable ‘root’ set but not used [-Wunused-but-set-variable] 829 | GlutRoot *root; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c glutgame.c In file included from tcldefs.h:25, from glutgame.c:25: glutgame.c: In function ‘tcl_GrViewerTrigger’: glutgame.c:311:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 311 | entry = Tcl_FindHashEntry (&game->trigger_hash, (ClientData) key); | ^ glutgame.c:338:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 338 | (char *) game->trigger_key, &_new); | ^ glutgame.c: In function ‘tcl_query_subcmd_entry’: glutgame.c:597:49: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 597 | entry = Tcl_FindHashEntry (&game->entry_hash, (ClientData) entry_no); | ^ glutgame.c: In function ‘Tcl_GrViewerCmd’: glutgame.c:834:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 834 | str = Tcl_GetStringResult (interp); | ^ In file included from tcldefs.h:25, from glutgame.c:25: glutgame.c:948:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 948 | (ClientData) entry_no, &_new); | ^ glutgame.c:1205:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1205 | entry = Tcl_FindHashEntry (&game->entry_hash, (ClientData) d); | ^ glutgame.c:1292:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1292 | str = Tcl_GetStringResult (interp); | ^ glutgame.c:1305:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1305 | str = Tcl_GetStringResult (interp); | ^ glutgame.c: In function ‘Tcl_GrViewerCreateCmd’: glutgame.c:1967:13: warning: variable ‘root’ set but not used [-Wunused-but-set-variable] 1967 | GlutRoot *root; | ^~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c gr_world.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c vehicle.c vehicle.c: In function ‘surf_foreach_callback’: vehicle.c:752:16: warning: variable ‘wd’ set but not used [-Wunused-but-set-variable] 752 | GrWheelData *wd; | ^~ vehicle.c: In function ‘gr_break_data_new_from_file’: vehicle.c:179:5: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 179 | fscanf (file, "%f", &data->mu[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ vehicle.c: In function ‘gr_tire_data_new_from_file’: vehicle.c:210:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 210 | fread (buf, 1, size, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vehicle.c: In function ‘gr_engine_data_new_from_file’: vehicle.c:257:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 257 | fread (buf, 1, size, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ vehicle.c: In function ‘gr_vehicle_data_new_from_file’: vehicle.c:349:3: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 349 | fread (buf, 1, size, file); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c lap.c gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -g -Wall -c joystick.c joystick.c:37:17: warning: ‘js_obj’ defined but not used [-Wunused-variable] 37 | static Tcl_Obj *js_obj; | ^~~~~~ joystick.c:36:20: warning: ‘js_interp’ defined but not used [-Wunused-variable] 36 | static Tcl_Interp *js_interp; | ^~~~~~~~~ joystick.c:35:12: warning: ‘js_fd’ defined but not used [-Wunused-variable] 35 | static int js_fd = -1; | ^~~~~ c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -c sound.cxx c++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/lib/tcl8.6/include -I/usr/include/plib -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -c main.cxx /bin/sh ../libtool --mode=link c++ -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o gracer glbind.o glutwidgets.o gluttclwidgets.o glutgame.o gr_world.o vehicle.o lap.o joystick.o sound.o main.o ../common/libcommon.a -ltcl8.6 -ldl -lz -lpthread -lm -L/usr/lib64 -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lglut -lgif -ljpeg -lpng -lplibsl -lplibul -lm mkdir .libs c++ -O2 -pipe -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o gracer glbind.o glutwidgets.o gluttclwidgets.o glutgame.o gr_world.o vehicle.o lap.o joystick.o sound.o main.o ../common/libcommon.a -ltcl8.6 -ldl -lz -lpthread -lm -L/usr/lib64 -lX11 -lXext -lSM -lICE -lXt -lXmu -lXi -lGL -lGLU -lglut -lgif -ljpeg -lpng -lplibsl -lplibul -lm /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: gr_world.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: multiple definition of `GrBreak'; glutgame.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: vehicle.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: multiple definition of `GrBreak'; glutgame.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: first defined here /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0x0): multiple definition of `GrBreak'; glutgame.o:/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src/vehicle.h:73: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:240: gracer] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5/src' make[1]: *** [Makefile:229: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5' make: *** [Makefile:374: all-recursive-am] Error 2 * ERROR: games-sports/gracer-0.1.5-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-sports/gracer-0.1.5-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-sports/gracer-0.1.5-r1::gentoo'`. * The complete build log is located at '/var/log/portage/games-sports:gracer-0.1.5-r1:20200925-215219.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-sports/gracer-0.1.5-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-sports/gracer-0.1.5-r1/temp/environment'. * Working directory: '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5' * S: '/var/tmp/portage/games-sports/gracer-0.1.5-r1/work/gracer-0.1.5'