=> Building games/wanderer Started : Friday, 8 MAR 2019 at 09:49:38 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 -------------------------------------------------- XDG_DATA_HOME=/construction/games/wanderer XDG_CONFIG_HOME=/construction/games/wanderer HOME=/construction/games/wanderer TMPDIR="/tmp" PATH=/construction/games/wanderer/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc80 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- MKDIR="/bin/mkdir -p" XDG_DATA_HOME=/construction/games/wanderer XDG_CONFIG_HOME=/construction/games/wanderer HOME=/construction/games/wanderer TMPDIR="/tmp" PATH=/construction/games/wanderer/.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 -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -L/usr/local/lib -Wl,-rpath=/usr/local/lib " LIBS="" CXX="c++" CXXFLAGS=" -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -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/wanderer/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- OSREL=5.5 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/wanderer" EXAMPLESDIR="share/examples/wanderer" DATADIR="share/wanderer" WWWDIR="www/wanderer" ETCDIR="etc/wanderer" -------------------------------------------------- -- SUB_LIST -------------------------------------------------- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/wanderer DOCSDIR=/usr/local/share/doc/wanderer EXAMPLESDIR=/usr/local/share/examples/wanderer WWWDIR=/usr/local/www/wanderer ETCDIR=/usr/local/etc/wanderer -------------------------------------------------- -- /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 wanderer 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 ===> License GPLv2+ accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> wanderer-3.2 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 ===> wanderer-3.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of wanderer-3.2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> NOTICE: The wanderer 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by wanderer-3.2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> NOTICE: The wanderer 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by wanderer-3.2 for building => SHA256 Checksum OK for wanderer-3.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> NOTICE: The wanderer 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 ===> License GPLv2+ accepted by the user ===> Fetching all distfiles required by wanderer-3.2 for building ===> Extracting for wanderer-3.2 => SHA256 Checksum OK for wanderer-3.2.tar.gz. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for wanderer-3.2 ===> Applying ports patches for wanderer-3.2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> wanderer-3.2 depends on file: /usr/local/lib/libncurses.so.6 - not found ===> Installing existing package /packages/All/ncurses-6.1.20190112.txz Installing ncurses-6.1.20190112... Extracting ncurses-6.1.20190112: .......... done ===> wanderer-3.2 depends on file: /usr/local/lib/libncurses.so.6 - found ===> Returning to build of wanderer-3.2 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for wanderer-3.2 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> Building for wanderer-3.2 --- monsters.o --- --- m.o --- --- save.o --- --- jump.o --- --- display.o --- --- monsters.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c monsters.c --- m.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c m.c --- save.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c save.c --- jump.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c jump.c --- display.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c display.c --- save.o --- save.c: In function 'save_game': save.c:97:14: warning: implicit declaration of function 'unlink'; did you mean 'noins'? [-Wimplicit-function-declaration] unlink(fname); ^~~~~~ noins save.c:126:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(0); ^~~~ save.c:126:9: warning: incompatible implicit declaration of built-in function 'exit' --- jump.o --- jump.c: In function 'jumpscreen': --- save.o --- save.c:126:9: note: include '' or provide a declaration of 'exit' save.c:25:1: +#include save.c:126:9: exit(0); ^~~~ --- jump.o --- jump.c:206:5: warning: implicit declaration of function 'usleep'; did you mean 'beep'? [-Wimplicit-function-declaration] usleep(750000); /* Marina */ ^~~~~~ beep --- save.o --- save.c: In function 'restore_game': save.c:165:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ save.c:165:9: note: include '' or provide a declaration of 'exit' save.c:175:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ save.c:175:9: note: include '' or provide a declaration of 'exit' save.c:190:9: warning: implicit declaration of function 'free' [-Wimplicit-function-declaration] free(tmp); ^~~~ save.c:190:9: warning: incompatible implicit declaration of built-in function 'free' save.c:190:9: note: include '' or provide a declaration of 'free' save.c:215:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ save.c:215:13: note: include '' or provide a declaration of 'exit' save.c:223:13: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ save.c:223:13: note: include '' or provide a declaration of 'exit' --- m.o --- m.c: In function 'readline': m.c:62:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] while(read(fd,ptr,1)==1) ^~~~ fread m.c: In function 'show_credits': m.c:98:20: warning: implicit declaration of function 'tgetnum'; did you mean 'getnum'? [-Wimplicit-function-declaration] maxlines = tgetnum("li") - 3; ^~~~~~~ getnum m.c:123:26: warning: passing argument 2 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] select(1,&inp,&nul,&nul,&tv); ^~~~ In file included from /usr/include/sys/time.h:45, from m.c:24: /usr/include/sys/select.h:50:17: note: expected 'fd_set * restrict' {aka 'struct fd_set * restrict'} but argument is of type 'int *' int select(int, fd_set * __restrict, fd_set * __restrict, ^~~~~~~~~~~~~~~~~~~ m.c:123:31: warning: passing argument 3 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] select(1,&inp,&nul,&nul,&tv); ^~~~ In file included from /usr/include/sys/time.h:45, from m.c:24: /usr/include/sys/select.h:50:38: note: expected 'fd_set * restrict' {aka 'struct fd_set * restrict'} but argument is of type 'int *' int select(int, fd_set * __restrict, fd_set * __restrict, ^~~~~~~~~~~~~~~~~~~ m.c:123:36: warning: passing argument 4 of 'select' from incompatible pointer type [-Wincompatible-pointer-types] select(1,&inp,&nul,&nul,&tv); ^~~~ In file included from /usr/include/sys/time.h:45, from m.c:24: /usr/include/sys/select.h:51:9: note: expected 'fd_set * restrict' {aka 'struct fd_set * restrict'} but argument is of type 'int *' fd_set * __restrict, struct timeval * __restrict); ^~~~~~~~~~~~~~~~~~~ m.c: At top level: m.c:204:1: warning: return type defaults to 'int' [-Wimplicit-int] main(int argc,char **argv) ^~~~ m.c: In function 'main': m.c:220:13: warning: implicit declaration of function 'getopt'; did you mean 'getnum'? [-Wimplicit-function-declaration] while(( c = getopt(argc,argv,"01k:et:r:fmCcvsi")) != -1 ) ^~~~~~ getnum m.c:276:5: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fp); ^~~~~ pclose --- monsters.o --- monsters.c: In function 'make_monster': monsters.c:54:11: warning: conflicting types for built-in function 'malloc' [-Wbuiltin-declaration-mismatch] char *malloc(); ^~~~~~ --- icon.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c icon.c --- game.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c game.c --- read.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c read.c --- game.o --- game.c: In function 'playscreen': game.c:173:46: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if((record_file != -1)&&(ch != 'q')) write(record_file,&ch,1); ^~~~~ fwrite game.c:236:13: warning: implicit declaration of function 'helpme'; did you mean 'hline'? [-Wimplicit-function-declaration] helpme(1); ^~~~~~ hline --- read.o --- read.c: In function 'wscreen': read.c:100:39: warning: implicit declaration of function 'getpid'; did you mean 'getwin'? [-Wimplicit-function-declaration] sprintf(name,"/tmp/screen.%d",getpid()); ^~~~~~ getwin read.c:107:13: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] err(1,"Could not open %s.\n",buffer); ^~~ --- help.o --- --- fall.o --- --- help.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c help.c --- fall.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c fall.c fall.c: In function 'fall': fall.c:155:18: warning: implicit declaration of function 'bang' [-Wimplicit-function-declaration] retval = bang(nx,y,mx,my,sx,sy,howdead); ^~~~ --- scores.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c scores.c --- edit.o --- --- scores.o --- scores.c: In function 'savescore': scores.c:35:81: warning: implicit declaration of function 'errx' [-Wimplicit-function-declaration] #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:156:5: note: in expansion of macro 'LOCK' LOCK; /* BUG is HERE !!! */ ^~~~ scores.c:35:125: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: in definition of macro 'LOCK' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: warning: incompatible implicit declaration of built-in function 'exit' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: in definition of macro 'LOCK' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: include '' or provide a declaration of 'exit' scores.c:24:1: +#include scores.c:35:125: #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: in definition of macro 'LOCK' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ --- edit.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c edit.c --- scores.o --- scores.c:37:16: warning: implicit declaration of function 'unlink'; did you mean 'noins'? [-Wimplicit-function-declaration] #define UNLOCK unlink(LOCKFILE) ^~~~~~ scores.c:167:9: note: in expansion of macro 'UNLOCK' UNLOCK; ^~~~~~ scores.c:243:9: warning: implicit declaration of function 'chmod'; did you mean 'crmode'? [-Wimplicit-function-declaration] chmod(HISCOREPATH,0666); ^~~~~ crmode scores.c:252:9: warning: implicit declaration of function 'err' [-Wimplicit-function-declaration] err(1,"%s","Error in savescore - fopen HISCOREPATH failed\n"); ^~~ scores.c: In function 'delete_entry': scores.c:35:125: warning: incompatible implicit declaration of built-in function 'exit' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: in definition of macro 'LOCK' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: include '' or provide a declaration of 'exit' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:35:125: note: in definition of macro 'LOCK' #define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */ ^~~~ scores.c:275:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ scores.c:275:9: note: include '' or provide a declaration of 'exit' scores.c: At top level: scores.c:317:1: warning: return type defaults to 'int' [-Wimplicit-int] erase_scores() ^~~~~~~~~~~~ --- encrypt.o --- --- edit.o --- edit.c:65:1: warning: return type defaults to 'int' [-Wimplicit-int] check_legality() ^~~~~~~~~~~~~~ edit.c: In function 'check_legality': edit.c:102:30: warning: 'return' with no value, in function returning non-void if(inform_me(buf,1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:106:61: warning: 'return' with no value, in function returning non-void if(inform_me("++++ Warning: Too many teleports",1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:111:68: warning: 'return' with no value, in function returning non-void if(inform_me("**** No arrivals without teleports.",1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:112:59: warning: 'return' with no value, in function returning non-void } else if(inform_me("**** Too many arrivals.",1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:116:58: warning: 'return' with no value, in function returning non-void if(inform_me("**** No arrival for teleport.",1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:121:56: warning: 'return' with no value, in function returning non-void if(inform_me("**** No start position.",1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:122:65: warning: 'return' with no value, in function returning non-void } else if(inform_me("**** Too many start positions.",1))return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:126:51: warning: 'return' with no value, in function returning non-void if(inform_me("**** Too many monsters.",1))return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:131:55: warning: 'return' with no value, in function returning non-void if(inform_me("**** No exit to screen.",1))return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:132:64: warning: 'return' with no value, in function returning non-void } else if(inform_me("++++ Warning: Too many exits.",1))return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c:136:30: warning: 'return' with no value, in function returning non-void if(inform_me(buf,1)) return; ^~~~~~ edit.c:65:1: note: declared here check_legality() ^~~~~~~~~~~~~~ edit.c: At top level: edit.c:182:1: warning: return type defaults to 'int' [-Wimplicit-int] clearbottom() ^~~~~~~~~~~ edit.c:226:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_save(maxmoves) ^~~~~~~~~~~ edit.c:260:1: warning: return type defaults to 'int' [-Wimplicit-int] screen_read(maxmoves) ^~~~~~~~~~~ edit.c: In function 'screen_read': edit.c:275:21: warning: 'return' with no value, in function returning non-void if( ! file[0] ) return; ^~~~~~ edit.c:260:1: note: declared here screen_read(maxmoves) ^~~~~~~~~~~ edit.c: At top level: edit.c:288:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_save() ^~~~~~~~~ edit.c: In function 'edit_save': edit.c:301:13: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] i = write(fd, edit_memory, (int)(memory_end - edit_memory)); ^~~~~ fwrite edit.c: At top level: edit.c:310:1: warning: return type defaults to 'int' [-Wimplicit-int] edit_restore() ^~~~~~~~~~~~ edit.c: In function 'edit_restore': edit.c:324:9: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] i = read(fd, edit_memory, EMSIZE); ^~~~ fread edit.c: In function 'screen_save': edit.c:248:17: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] if(screen[y][ROWLEN-1] == ' ') /* correctly... */ ~~~~~~~~~^~~~~~~~~~ edit.c:247:1: note: within this loop for(y = 0; y<=NOOFROWS;y++) /* make sure screen written */ ^~~ edit.c:252:17: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] if(screen[y][ROWLEN-1] == '-') ~~~~~~~~~^~~~~~~~~~ edit.c:251:1: note: within this loop for(y = 0; y<=NOOFROWS;y++) ^~~ edit.c: In function 'screen_read': edit.c:279:21: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] if(screen[y][ROWLEN-1] == '-') ~~~~~~~~~^~~~~~~~~~ edit.c:278:5: note: within this loop for(y = 0; y<=NOOFROWS;y++) ^~~ edit.c: In function 'editscreen': edit.c:593:25: warning: iteration 16 invokes undefined behavior [-Waggressive-loop-optimizations] if(screen[y][ROWLEN-1] == ' ') ~~~~~~~~~^~~~~~~~~~ edit.c:590:9: note: within this loop for(y = 0; y<=NOOFROWS;y++) /* certain editors - eg ded - have a */ ^~~ --- encrypt.o --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -c encrypt.c encrypt.c:28:1: warning: return type defaults to 'int' [-Wimplicit-int] crypt_file(name) ^~~~~~~~~~ encrypt.c: In function 'crypt_file': encrypt.c:38:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit(1); ^~~~ encrypt.c:38:9: warning: incompatible implicit declaration of built-in function 'exit' encrypt.c:38:9: note: include '' or provide a declaration of 'exit' encrypt.c:24:1: +#include encrypt.c:38:9: exit(1); ^~~~ encrypt.c:40:14: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] if((length = read(fd,buffer,1024)) < 1) { ^~~~ fread encrypt.c:44:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ encrypt.c:44:9: note: include '' or provide a declaration of 'exit' encrypt.c:46:1: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] close(fd); ^~~~~ pclose encrypt.c:53:1: warning: implicit declaration of function 'srand'; did you mean 'scanw'? [-Wimplicit-function-declaration] srand(BLURFL); ^~~~~ scanw encrypt.c:55:23: warning: implicit declaration of function 'rand'; did you mean 'raw'? [-Wimplicit-function-declaration] buffer[loop]^=rand(); ^~~~ raw encrypt.c:61:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ encrypt.c:61:9: note: include '' or provide a declaration of 'exit' encrypt.c:63:4: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] if(write(fd,buffer,length)!=length) { ^~~~~ fwrite encrypt.c:67:9: warning: incompatible implicit declaration of built-in function 'exit' exit(1); ^~~~ encrypt.c:67:9: note: include '' or provide a declaration of 'exit' --- wanderer --- cc -pipe -Wno-return-type -I/usr/local/include -I/usr/local/include/ncurses -O2 -fno-strict-aliasing -o wanderer monsters.o m.o save.o jump.o display.o icon.o game.o read.o help.o fall.o scores.o edit.o encrypt.o -L/usr/local/lib -Wl,-rpath=/usr/local/lib -lncurses --- all --- DONE -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> wanderer-3.2 depends on file: /usr/local/lib/libncurses.so.6 - found -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for wanderer-3.2 ===> Generating temporary packing list /bin/mkdir -p /construction/games/wanderer/stage/usr/local/share/wanderer /bin/mkdir -p /construction/games/wanderer/stage/usr/local/share/wanderer/screens install -m 0644 ./screens/* /construction/games/wanderer/stage/usr/local/share/wanderer/screens/ install -s -m 555 ./wanderer /construction/games/wanderer/stage/usr/local/bin/ install -m 0644 wanderer.6 /construction/games/wanderer/stage/usr/local/man/man6/ ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for wanderer-3.2 file sizes/checksums [64]: . done packing files [64]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 8 MAR 2019 at 09:49:45 UTC Duration: 00:00:07