=> Building games/xrally Started : Friday, 8 MAR 2019 at 10:01:48 UTC Platform: 5.5-DEVELOPMENT DragonFly v5.5.0.192.g15ae7f0-DEVELOPMENT #34: Tue Feb 19 09:07:07 PST 2019 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.5-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.5-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- MAKE=gmake XDG_DATA_HOME=/construction/games/xrally XDG_CONFIG_HOME=/construction/games/xrally HOME=/construction/games/xrally TMPDIR="/tmp" PATH=/construction/games/xrally/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --prefix=/usr/local -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- INCLUDES="-I/usr/local/include" XDG_DATA_HOME=/construction/games/xrally XDG_CONFIG_HOME=/construction/games/xrally HOME=/construction/games/xrally TMPDIR="/tmp" PATH=/construction/games/xrally/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc80 PREFIX=/usr/local LOCALBASE=/usr/local NOPROFILE=1 CC="cc" CFLAGS="-pipe -I/usr/local/include -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -lpthread -L/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -I/usr/local/include -O2 -fno-strict-aliasing " MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/games/xrally/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xrally" EXAMPLESDIR="share/examples/xrally" DATADIR="share/xrally" WWWDIR="www/xrally" ETCDIR="etc/xrally" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xrally DOCSDIR=/usr/local/share/doc/xrally EXAMPLESDIR=/usr/local/share/examples/xrally WWWDIR=/usr/local/www/xrally ETCDIR=/usr/local/etc/xrally -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-BE USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _PERL5_FROM_BIN=5.26.2 _ALTCCVERSION_921dbbb2=none _OBJC_ALTCCVERSION_921dbbb2=none _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500500 OSVERSION=9999999 OSREL=5.5 _OSRELEASE=5.5-SYNTH PYTHONBASE=/usr/local _PKG_CHECKED=1 -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> NOTICE: The xrally port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xrally-1.1.1_6 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5_5.txz Installing pkg-1.10.5_5... Extracting pkg-1.10.5_5: .......... done ===> xrally-1.1.1_6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xrally-1.1.1_6 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The xrally port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by xrally-1.1.1_6 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The xrally port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by xrally-1.1.1_6 for building => SHA256 Checksum OK for xrally-1.1.tar.bz2. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The xrally port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> Fetching all distfiles required by xrally-1.1.1_6 for building ===> Extracting for xrally-1.1.1_6 => SHA256 Checksum OK for xrally-1.1.tar.bz2. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xrally-1.1.1_6 ===> Applying ports patches for xrally-1.1.1_6 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> xrally-1.1.1_6 depends on executable: gmake - not found ===> Installing existing package /packages/All/gmake-4.2.1_3.txz Installing gmake-4.2.1_3... `-- Installing gettext-runtime-0.19.8.1_2... | `-- Installing indexinfo-0.3.1... | `-- Extracting indexinfo-0.3.1: .... done `-- Extracting gettext-runtime-0.19.8.1_2: .......... done Extracting gmake-4.2.1_3: .......... done ===> xrally-1.1.1_6 depends on executable: gmake - found ===> Returning to build of xrally-1.1.1_6 ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Installing existing package /packages/All/libX11-1.6.7,1.txz Installing libX11-1.6.7,1... `-- Installing libXau-1.0.8_5... `-- Extracting libXau-1.0.8_5: .......... done `-- Installing libXdmcp-1.1.2_2... | `-- Installing xorgproto-2018.4... | `-- Extracting xorgproto-2018.4: .......... done `-- Extracting libXdmcp-1.1.2_2: ......... done `-- Installing libxcb-1.13.1... | `-- Installing libpthread-stubs-0.4... | `-- Extracting libpthread-stubs-0.4: .... done | `-- Installing libxml2-2.9.8... | `-- Extracting libxml2-2.9.8: .......... done `-- Extracting libxcb-1.13.1: .......... done Extracting libX11-1.6.7,1: .......... done ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> Returning to build of xrally-1.1.1_6 ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/xi.pc - not found ===> Installing existing package /packages/All/libXi-1.7.9_2,1.txz Installing libXi-1.7.9_2,1... `-- Installing libXext-1.3.3_3,1... `-- Extracting libXext-1.3.3_3,1: .......... done `-- Installing libXfixes-5.0.3_2... `-- Extracting libXfixes-5.0.3_2: .......... done Extracting libXi-1.7.9_2,1: .......... done ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> Returning to build of xrally-1.1.1_6 ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found ===> Installing existing package /packages/All/libXpm-3.5.12_2.txz Installing libXpm-3.5.12_2... `-- Installing libXt-1.1.5_2,1... | `-- Installing libICE-1.0.9_3,1... | `-- Extracting libICE-1.0.9_3,1: .......... done | `-- Installing libSM-1.2.3,1... | `-- Extracting libSM-1.2.3,1: .......... done `-- Extracting libXt-1.1.5_2,1: .......... done Extracting libXpm-3.5.12_2: .......... done ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found ===> Returning to build of xrally-1.1.1_6 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xrally-1.1.1_6 creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether gmake sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... missing checking for gcc... cc checking whether the C compiler (cc -O3 -g3 -Wall -lpthread -L/usr/local/lib ) works... yes checking whether the C compiler (cc -O3 -g3 -Wall -lpthread -L/usr/local/lib ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking whether to enable sound support... yes checking for pthread_create in ... yes checking how to run the C preprocessor... cpp checking for X... libraries , headers /usr/local/include checking whether byte ordering is bigendian... no checking for XpmReadFileToPixmap in -lXpm... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ************************** Configure is done! ********************************** * * * Now run 'make' and, if you want, 'make install' * * * * When the compilation process is over, just run 'xrally' to play the game. * * * * Don't forget to take a look at the 'doc' and 'maps' directory to learn how * * to create your own maps! * * * * Also note that the xpm2xrally utility, to convert xpm files into XRally maps * * is included in the 'tools' subdirectory * * * * Sound support is enabled (run './configure --disable-sound' to disable it) * * * * Good luck and happy playing! * * * ******************************************************************************** -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for xrally-1.1.1_6 gmake[1]: Entering directory '/construction/games/xrally/xrally' cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c main.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c graphics.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c map.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c car.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c ai.c car.c: In function 'restrictedArea': car.c:390:9: warning: variable 'y' set but not used [-Wunused-but-set-variable] int x, y; ^ car.c:390:6: warning: variable 'x' set but not used [-Wunused-but-set-variable] int x, y; ^ In file included from map.h:23, from map.c:19: map.c: In function 'createMap': global.h:181:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] #define _D_INFO "\x1b[33m" ^~~~~~~~~~ global.h:187:9: note: in definition of macro '_D' printf(args); \ ^~~~ global.h:191:40: note: in expansion of macro '_D_INFO' #define ldbg(STR...) { if (DEBUG&4) _D(_D_INFO STR); } ^~~~~~~ map.c:53:2: note: in expansion of macro 'ldbg' ldbg("Map size: %d", sizeof(mapStruct)); ^~~~ map.c:53:20: note: format string is defined here ldbg("Map size: %d", sizeof(mapStruct)); ~^ %ld In file included from map.h:23, from map.c:19: global.h:181:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat=] #define _D_INFO "\x1b[33m" ^~~~~~~~~~ global.h:187:9: note: in definition of macro '_D' printf(args); \ ^~~~ global.h:191:40: note: in expansion of macro '_D_INFO' #define ldbg(STR...) { if (DEBUG&4) _D(_D_INFO STR); } ^~~~~~~ map.c:54:2: note: in expansion of macro 'ldbg' ldbg("Data size: %d", sizeof(map->data)); ^~~~ map.c:54:20: note: format string is defined here ldbg("Data size: %d", sizeof(map->data)); ~^ %ld main.c: In function 'mainGameLoop': main.c:288:28: warning: '%3d' directive writing between 3 and 11 bytes into a region of size 10 [-Wformat-overflow=] sprintf(mapString, "Map: %3d of %3d", mapNumber+1, level.number); ^~~ main.c:288:22: note: directive argument in the range [-2147483647, 2147483647] sprintf(mapString, "Map: %3d of %3d", mapNumber+1, level.number); ^~~~~~~~~~~~~~~~~ main.c:288:3: note: 'sprintf' output between 16 and 32 bytes into a destination of size 15 sprintf(mapString, "Map: %3d of %3d", mapNumber+1, level.number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:312:28: warning: '%3d' directive writing between 3 and 11 bytes into a region of size 10 [-Wformat-overflow=] sprintf(mapString, "Map: %3d of %3d", mapNumber+1, level.number); ^~~ main.c:312:22: note: directive argument in the range [-2147483647, 2147483647] sprintf(mapString, "Map: %3d of %3d", mapNumber+1, level.number); ^~~~~~~~~~~~~~~~~ main.c:312:3: note: 'sprintf' output between 16 and 32 bytes into a destination of size 15 sprintf(mapString, "Map: %3d of %3d", mapNumber+1, level.number); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:497:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(livesString, "Lives: %d", lives); ^~ main.c:497:24: note: directive argument in the range [-2147483648, 2147483646] sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~ main.c:497:3: note: 'sprintf' output between 9 and 19 bytes into a destination of size 10 sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'initRoutines': main.c:197:31: warning: '%s' directive writing up to 255 bytes into a region of size 248 [-Wformat-overflow=] sprintf(splScr.txt, "Loading %s tileset...", level.tileset); ^~ ~~~~~~~~~~~~~ main.c:197:2: note: 'sprintf' output between 20 and 275 bytes into a destination of size 256 sprintf(splScr.txt, "Loading %s tileset...", level.tileset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:220:32: warning: '%d' directive writing between 1 and 10 bytes into a region of size 3 [-Wformat-overflow=] sprintf(livesString, "Lives: %d", lives); ^~ main.c:220:24: note: directive argument in the range [0, 2147483647] sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~ main.c:220:3: note: 'sprintf' output between 9 and 18 bytes into a destination of size 10 sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'mapLose': main.c:497:32: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(livesString, "Lives: %d", lives); ^~ main.c:497:24: note: directive argument in the range [-2147483648, 2147483646] sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~ main.c:497:3: note: 'sprintf' output between 9 and 19 bytes into a destination of size 10 sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c menu.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c level.c menu.c: In function 'getName': menu.c:327:9: warning: the address of 'temp' will always evaluate as 'true' [-Waddress] if (temp) ^~~~ cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c score.c level.c: In function 'checksum': level.c:276:4: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] c = buf; ^ In file included from level.c:20: level.c: In function 'parseMapOptions': global.h:181:17: warning: format '%d' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] #define _D_INFO "\x1b[33m" ^~~~~~~~~~ global.h:187:9: note: in definition of macro '_D' printf(args); \ ^~~~ global.h:191:40: note: in expansion of macro '_D_INFO' #define ldbg(STR...) { if (DEBUG&4) _D(_D_INFO STR); } ^~~~~~~ level.c:382:4: note: in expansion of macro 'ldbg' ldbg("Not a map option: %d - %s(Len: %d, Width: %d)", a, buf, strlen(buf), map->width); ^~~~ level.c:382:42: note: format string is defined here ldbg("Not a map option: %d - %s(Len: %d, Width: %d)", a, buf, strlen(buf), map->width); ~^ %ld level.c:354:7: warning: variable 'first' set but not used [-Wunused-but-set-variable] bool first = true; ^~~~~ cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c sound.c score.c: In function 'loadRecords': score.c:85:18: warning: array subscript -2 is below array bounds of 'char[256]' [-Warray-bounds] temp = (char *)malloc(strlen(buf-2)); ^~~~~~~~~~~~~~~~~~~~~ level.c: In function 'levelOption': level.c:458:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(level->tileset, arg, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ level.c:451:4: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(level->name, arg, 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c: In function 'mix_sound': sound.c:120:15: warning: pointer targets in initialization of 'int8 *' {aka 'signed char *'} from 'char *' differ in signedness [-Wpointer-sign] int8 *src = mod[slot].sample[channel[c].sample]; ^~~ score.c: In function 'addRecord': sound.c: In function 'note_to_period': score.c:149:28: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(livStr, "%d lives", lives); ^ sound.c:172:25: warning: operation on 't' may be undefined [-Wsequence-point] return ((*t << 4) + (*t++ - *t) * (f & 0xf)) >> (n / 12); ~^~ sound.c:172:25: warning: operation on 't' may be undefined [-Wsequence-point] score.c:149:3: note: 'sprintf' output between 8 and 17 bytes into a destination of size 16 sprintf(livStr, "%d lives", lives); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ score.c:152:46: warning: '%s' directive writing up to 255 bytes into a region of size between 201 and 236 [-Wformat-overflow=] sprintf(temp, "%d %s (%s - %ld min:%ld sec) %s", score->value, name, livStr, (curtime-startime)/60, (curtime-startime)%60, date); ^~ ~~~~ score.c:152:2: note: 'sprintf' output 21 or more bytes (assuming 311) into a destination of size 256 sprintf(temp, "%d %s (%s - %ld min:%ld sec) %s", score->value, name, livStr, (curtime-startime)/60, (curtime-startime)%60, date); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sound.c: In function 'mod_convert': sound.c:258:20: warning: pointer targets in passing argument 1 of 'event_convert' differ in signedness [-Wpointer-sign] event_convert ((char *)e); ^~~~~~~~~ sound.c:207:13: note: expected 'uint8 *' {aka 'unsigned char *'} but argument is of type 'char *' static void event_convert (uint8 *e) ^~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c sound_oss.c level.c: In function 'parseMapOptions': level.c:388:3: warning: 'strncpy' specified bound 256 equals destination size [-Wstringop-truncation] strncpy(buf, cut(buf), 256); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ score.c: In function 'add_score': score.c:312:33: warning: '%d' directive writing between 1 and 11 bytes into a region of size 3 [-Wformat-overflow=] sprintf(livesString, "Lives: %d", lives); ^~ score.c:312:25: note: directive argument in the range [-2147483647, 2147483647] sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~ score.c:312:4: note: 'sprintf' output between 9 and 19 bytes into a destination of size 10 sprintf(livesString, "Lives: %d", lives); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c sound_dummy.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c effects.c cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -O3 -g3 -Wall -c game.c menu.c: In function 'levelDescription': menu.c:699:30: warning: 'sprintf' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(livStr, "%d lives", lev.lives); ^ menu.c:699:5: note: 'sprintf' output between 8 and 17 bytes into a destination of size 16 sprintf(livStr, "%d lives", lev.lives); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c:709:37: warning: '%s' directive writing up to 255 bytes into a region of size between 242 and 497 [-Wformat-overflow=] sprintf(desc, "**%s**\n\nTileset: %s\n%d map%c\n%s\n%d pts / extra live\n%s\n\n*First map:*\nPlayer speed: %d\nEnemy speed: %d\n", lev.name, lev.tileset, lev.number, (lev.number>1)?'s':' ', livStr, lev.extra, bonStr, lev.map[0].carVel, lev.map[0].aiVel); ^~ ~~~~~~~~~~~ menu.c:709:3: note: 'sprintf' output between 90 and 718 bytes into a destination of size 512 sprintf(desc, "**%s**\n\nTileset: %s\n%d map%c\n%s\n%d pts / extra live\n%s\n\n*First map:*\nPlayer speed: %d\nEnemy speed: %d\n", lev.name, lev.tileset, lev.number, (lev.number>1)?'s':' ', livStr, lev.extra, bonStr, lev.map[0].carVel, lev.map[0].aiVel); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ menu.c: In function 'displayHiscores': menu.c:538:21: warning: '%2d' directive writing between 2 and 11 bytes into a region of size 9 [-Wformat-overflow=] sprintf(pos, "%2d-", a+offset+1); ^~~ menu.c:538:20: note: directive argument in the range [-2147483647, 2147483647] sprintf(pos, "%2d-", a+offset+1); ^~~~~~ menu.c:538:7: note: 'sprintf' output between 4 and 13 bytes into a destination of size 9 sprintf(pos, "%2d-", a+offset+1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O3 -g3 -Wall -lpthread -L/usr/local/lib -L{x_libraries-.} -o xrally main.o graphics.o map.o car.o ai.o menu.o level.o score.o sound.o sound_oss.o sound_dummy.o effects.o game.o -lX11 -lXpm gmake[1]: Leaving directory '/construction/games/xrally/xrally' -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/xi.pc - found ===> xrally-1.1.1_6 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xrally-1.1.1_6 ===> Generating temporary packing list gmake[1]: Entering directory '/construction/games/xrally/xrally' gmake[2]: Entering directory '/construction/games/xrally/xrally' /bin/sh ./mkinstalldirs /construction/games/xrally/stage/usr/local/bin install -s -m 555 xrally /construction/games/xrally/stage/usr/local/bin/xrally /bin/sh ./mkinstalldirs /construction/games/xrally/stage/usr/local/share/xrally/maps mkdir /construction/games/xrally/stage/usr/local/share/xrally mkdir /construction/games/xrally/stage/usr/local/share/xrally/maps /bin/sh ./mkinstalldirs /construction/games/xrally/stage/usr/local/share/xrally/sounds mkdir /construction/games/xrally/stage/usr/local/share/xrally/sounds install -m 0644 maps/* /construction/games/xrally/stage/usr/local/share/xrally/maps install -m 0644 sounds/* /construction/games/xrally/stage/usr/local/share/xrally/sounds test -e "/construction/games/xrally/stage/usr/local/share/xrally/hiscore" || >"/construction/games/xrally/stage/usr/local/share/xrally/hiscore" chmod 666 /construction/games/xrally/stage/usr/local/share/xrally/hiscore cp -r images /construction/games/xrally/stage/usr/local/share/xrally --------------------------------------------------------------------- \nThe levels files were installed to /usr/local/share/xrally/maps, \n the tilesets were installed to /usr/local/share/xrally/images \n and the sound files were installed to /usr/local/share/xrally/sounds \n---------------------------------------------------------------------- gmake[2]: Leaving directory '/construction/games/xrally/xrally' gmake[1]: Leaving directory '/construction/games/xrally/xrally' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xrally-1.1.1_6 file sizes/checksums [165]: .. done packing files [165]: .. done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 10:02:04 UTC Duration: 00:00:16