=>> Building games/moria build started at Mon Apr 1 11:11:23 BST 2024 port directory: /usr/ports/games/moria package name: moria-5.5.2_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: glewis@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 970 Mar 13 17:24 /usr/ports/games/moria/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: d8e220c26a Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 18 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/18/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for moria-5.5.2_1: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- glewis@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/moria/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/moria/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/moria/work/.cache HOME=/wrkdirs/usr/ports/games/moria/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/moria/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/moria/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" --End CONFIGURE_ENV-- --MAKE_ENV-- DOCSDIR="/usr/local/share/doc/moria" MKDIR="/bin/mkdir -p" TOUCH="/usr/bin/touch" STAGEDIR="/wrkdirs/usr/ports/games/moria/work/stage" DATADIR="/usr/local/share/moria" XDG_DATA_HOME=/wrkdirs/usr/ports/games/moria/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/moria/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/moria/work/.cache HOME=/wrkdirs/usr/ports/games/moria/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/moria/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/moria/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/moria" EXAMPLESDIR="share/examples/moria" DATADIR="share/moria" WWWDIR="www/moria" ETCDIR="etc/moria" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/moria DOCSDIR=/usr/local/share/doc/moria EXAMPLESDIR=/usr/local/share/examples/moria WWWDIR=/usr/local/www/moria ETCDIR=/usr/local/etc/moria --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> moria-5.5.2_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> moria-5.5.2_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of moria-5.5.2_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by moria-5.5.2_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by moria-5.5.2_1 for building => SHA256 Checksum OK for um5.5.2.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by moria-5.5.2_1 for building ===> Extracting for moria-5.5.2_1 => SHA256 Checksum OK for um5.5.2.tar.Z. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for moria-5.5.2_1 ===> Applying FreeBSD patches for moria-5.5.2_1 from /usr/ports/games/moria/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for moria-5.5.2_1 /usr/bin/sed -i.bak -e "s:%%DATADIR%%:/usr/local/share/moria:g" /wrkdirs/usr/ports/games/moria/work/umoria/source/config.h cd /wrkdirs/usr/ports/games/moria/work/umoria && /bin/ln -sf source/* unix/* . =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for moria-5.5.2_1 cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c main.c -o main.o main.c:228:12: warning: implicit declaration of function 'setuid' is invalid in C99 [-Wimplicit-function-declaration] if (0 != setuid(getuid())) ^ main.c:230:7: warning: implicit declaration of function 'perror' is invalid in C99 [-Wimplicit-function-declaration] perror("Can't set permissions correctly! Setuid call failed.\n"); ^ main.c:233:12: warning: implicit declaration of function 'setgid' is invalid in C99 [-Wimplicit-function-declaration] if (0 != setgid(getgid())) ^ main.c:235:7: warning: implicit declaration of function 'perror' is invalid in C99 [-Wimplicit-function-declaration] perror("Can't set permissions correctly! Setgid call failed.\n"); ^ main.c:285:23: warning: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Wimplicit-function-declaration] default: (void) printf("Usage: moria [-norsw] [savefile]\n"); ^ main.c:285:23: note: include the header or explicitly provide a declaration for 'printf' main.c:320:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy (savefile, argv[0]); ^ main.c:320:12: note: include the header or explicitly provide a declaration for 'strcpy' main.c:330:12: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(savefile, "%s/%s", p, MORIA_SAV); ^ main.c:330:12: note: include the header or explicitly provide a declaration for 'sprintf' main.c:346:31: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if ((new_game == FALSE) && !access(savefile, 0) && get_char(&generate)) ^ 8 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c misc1.c -o misc1.o misc1.c:447:14: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration] scale2 = abs(deltaX * deltaY); ^ misc1.c:447:14: note: include the header or explicitly provide a declaration for 'abs' misc1.c:798:2: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort(); ^ misc1.c:798:2: note: include the header or explicitly provide a declaration for 'abort' 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c misc2.c -o misc2.o misc2.c:1042:14: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(string, "%-38s: %s", options[max].o_prompt, ^ misc2.c:1042:14: note: include the header or explicitly provide a declaration for 'sprintf' 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c misc3.c -o misc3.o misc3.c:247:9: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(out_val, "18/100"); ^ misc3.c:247:9: note: include the header or explicitly provide a declaration for 'strcpy' misc3.c:249:9: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(out_val, " %2d/%02d", part1, part2); ^ misc3.c:249:9: note: include the header or explicitly provide a declaration for 'sprintf' misc3.c:286:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%s:%7ld", header, num); ~~~~ ^~~ %7d misc3.c:298:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%s: %7ld", header, num); ~~~~ ^~~ %7d misc3.c:320:35: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%7ld", num); ~~~~ ^~~ %7d misc3.c:2129:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] mtc_len = strlen(mtc_str); ^ misc3.c:2129:13: note: include the header or explicitly provide a declaration for 'strlen' misc3.c:2149:14: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] (void) strncpy(out_val, object_str, (pc-object_str)); ^ misc3.c:2149:14: note: include the header or explicitly provide a declaration for 'strncpy' misc3.c:2154:9: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcat(out_val, insert); ^ misc3.c:2154:9: note: include the header or explicitly provide a declaration for 'strcat' misc3.c:2231:11: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] flag = strncmp(string, mtc_str, mlen); ^ misc3.c:2231:11: note: include the header or explicitly provide a declaration for 'strncmp' misc3.c:2243:47: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(object_str, "%s+%ld%s", str1, number, str2); ~~~ ^~~~~~ %d misc3.c:2245:46: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(object_str, "%s%ld%s", str1, number, str2); ~~~ ^~~~~~ %d 11 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c misc4.c -o misc4.o misc4.c:43:11: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(out_val, "Inscribing %s", tmp_str); ^ misc4.c:43:11: note: include the header or explicitly provide a declaration for 'sprintf' misc4.c:49:13: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(out_val, "Inscription: "); ^ misc4.c:49:13: note: include the header or explicitly provide a declaration for 'strcpy' misc4.c:50:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] j = 78 - strlen(tmp_str); ^ misc4.c:50:13: note: include the header or explicitly provide a declaration for 'strlen' 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c store1.c -o store1.o store1.c:450:5: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c files.c -o files.o files.c:101:7: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ files.c:101:7: note: include the header or explicitly provide a declaration for 'exit' files.c:130:6: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] if (strlen(in_line) > 3) ^ files.c:130:6: note: include the header or explicitly provide a declaration for 'strlen' files.c:132:11: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp(in_line, "SUN:", 4)) ^ files.c:132:11: note: include the header or explicitly provide a declaration for 'strncmp' files.c:133:15: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(days[0], in_line); ^ files.c:133:15: note: include the header or explicitly provide a declaration for 'strcpy' files.c:254:11: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] level = atoi(tmp_str); ^ files.c:285:12: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] prt(strcat(tmp_str, " random objects being produced..."), 0, 0); ^ files.c:285:12: note: include the header or explicitly provide a declaration for 'strcat' files.c:389:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ files.c:442:60: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) fprintf(file1, "%7sExperience : %7ld", blank, py.misc.exp); ~~~~ ^~~~~~~~~~~ %7d files.c:445:60: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) fprintf(file1, "%7sMax Exp : %7ld", blank, py.misc.max_exp); ~~~~ ^~~~~~~~~~~~~~~ %7d files.c:452:10: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (int32)(player_exp[py.misc.lev-1] ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ files.c:456:8: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] py.misc.au); ^~~~~~~~~~ files.c:557:9: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close (fd); ^ 12 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c io.c -o io.o io.c:514:7: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort(); ^ io.c:514:7: note: include the header or explicitly provide a declaration for 'abort' io.c:746:9: warning: implicit declaration of function 'fork' is invalid in C99 [-Wimplicit-function-declaration] val = fork(); ^ io.c:770:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses] if (str = getenv("SHELL")) ~~~~^~~~~~~~~~~~~~~~~ io.c:770:15: note: place parentheses around the assignment to silence this warning if (str = getenv("SHELL")) ^ ( ) io.c:770:15: note: use '==' to turn this assignment into an equality comparison if (str = getenv("SHELL")) ^ == io.c:772:9: warning: implicit declaration of function 'execl' is invalid in C99 [-Wimplicit-function-declaration] (void) execl(str, str, (char *) 0); ^ io.c:790:10: warning: implicit declaration of function 'wait' is invalid in C99 [-Wimplicit-function-declaration] (void) wait((int *) 0); ^ io.c:1594:10: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration] (void) write(1, "\007", 1); ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c create.c -o create.o create.c:161:14: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(tmp_str, "%c) %s", k+'a', race[j].trace); ^ create.c:161:14: note: include the header or explicitly provide a declaration for 'sprintf' create.c:234:15: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcat(history_block, b_ptr->info); ^ create.c:234:15: note: include the header or explicitly provide a declaration for 'strcat' create.c:254:15: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] end_pos = strlen(history_block) - 1; ^ create.c:254:15: note: include the header or explicitly provide a declaration for 'strlen' create.c:275:14: warning: implicitly declaring library function 'strncpy' with type 'char *(char *, const char *, unsigned long)' [-Wimplicit-function-declaration] (void) strncpy(py.misc.history[line_ctr], &history_block[start_pos], ^ create.c:275:14: note: include the header or explicitly provide a declaration for 'strncpy' 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c desc.c -o desc.o desc.c:114:13: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcat(string, syllables[randint(MAX_SYLLABLES) - 1]); ^ desc.c:114:13: note: include the header or explicitly provide a declaration for 'strcat' desc.c:122:14: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(titles[h], string); ^ desc.c:122:14: note: include the header or explicitly provide a declaration for 'strcpy' desc.c:353:14: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(damstr, " (%dd%d)", i_ptr->damage[0], i_ptr->damage[1]); ^ desc.c:353:14: note: include the header or explicitly provide a declaration for 'sprintf' desc.c:538:12: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned long)' [-Wimplicit-function-declaration] if (!strncmp("some", tmp_val, 4)) ^ desc.c:538:12: note: include the header or explicitly provide a declaration for 'strncmp' desc.c:560:39: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration] (i_ptr->tohit < 0) ? '-' : '+', abs(i_ptr->tohit), ^ desc.c:560:39: note: include the header or explicitly provide a declaration for 'abs' desc.c:676:26: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] else if ((indexx = strlen(tmp_str)) > 0) ^ desc.c:676:26: note: include the header or explicitly provide a declaration for 'strlen' desc.c:659:21: warning: multiple unsequenced modifications to 'indexx' [-Wunsequenced] indexx = (indexx <<= 6) + ~ ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c generate.c -o generate.o generate.c:127:3: warning: implicitly declaring library function 'bzero' with type 'void (void *, unsigned long)' [-Wimplicit-function-declaration] bzero ((char *)&cave[0][0], sizeof (cave)); ^ generate.c:127:3: note: include the header or explicitly provide a declaration for 'bzero' 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c sets.c -o sets.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dungeon.c -o dungeon.o dungeon.c:134:13: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy (died_from, "(closing gate: saved)"); ^ dungeon.c:134:13: note: include the header or explicitly provide a declaration for 'strcpy' dungeon.c:142:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dungeon.c:708:2: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ dungeon.c:846:12: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(tmp_str, ^ dungeon.c:846:12: note: include the header or explicitly provide a declaration for 'sprintf' dungeon.c:1697:11: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] i = atoi(tmp_str); ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c creature.c -o creature.o creature.c:358:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(cdesc, "It "); ^ creature.c:358:12: note: include the header or explicitly provide a declaration for 'strcpy' creature.c:360:12: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(cdesc, "The %s ", r_ptr->name); ^ creature.c:360:12: note: include the header or explicitly provide a declaration for 'sprintf' creature.c:531:24: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] case 1: msg_print(strcat(tmp_str, "hits you.")); break; ^ creature.c:531:24: note: include the header or explicitly provide a declaration for 'strcat' creature.c:1034:39: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration] if (randint((m_ptr->hp+1)*(80+abs(t_ptr->p1))) < ^ creature.c:1034:39: note: include the header or explicitly provide a declaration for 'abs' creature.c:1083:6: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((c_ptr->cptr > 1) && ^ creature.c:1760:9: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if ((py.flags.rest == 0 && py.flags.paralysis < 1) ^ 6 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c death.c -o death.o death.c:153:10: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(day, tmp); ^ death.c:153:10: note: include the header or explicitly provide a declaration for 'strcpy' death.c:163:7: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] i = strlen(in_str); ^ death.c:163:7: note: include the header or explicitly provide a declaration for 'strlen' death.c:321:15: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] rank, score.points, score.name, score.sex, ^~~~~~~~~~~~ death.c:420:7: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration] && strcmp (score.died_from, "(saved)")) ^ death.c:420:7: note: include the header or explicitly provide a declaration for 'strcmp' death.c:480:34: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(str, "%ld Exp", py.misc.exp); ~~~ ^~~~~~~~~~~ %d death.c:483:33: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(str, "%ld Au", py.misc.au); ~~~ ^~~~~~~~~~ %d death.c:951:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit (0); ^ death.c:951:3: note: include the header or explicitly provide a declaration for 'exit' 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c eat.c -o eat.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c help.c -o help.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c magic.c -o magic.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c potions.c -o potions.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c prayer.c -o prayer.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c save.c -o save.o save.c:522:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(savefile, 0) < 0 ^ save.c:524:12: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] || (i = unlink(savefile)) < 0) ^ save.c:535:13: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(savefile, temp); ^ save.c:535:13: note: include the header or explicitly provide a declaration for 'strcpy' save.c:576:17: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (fd < 0 && access(fnam, 0) >= 0 && ^ save.c:580:14: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] (void) chmod(fnam, 0600); ^ save.c:586:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ save.c:627:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration] (void) unlink(fnam); ^ save.c:705:7: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration] if (access(savefile, 0) != 0) ^ save.c:731:9: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration] && (chmod(savefile, 0400) < 0 || ^ save.c:741:14: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration] (void) close(fd); ^ save.c:1239:14: warning: logical not is only applied to the left hand side of this bitwise operator [-Wlogical-not-parentheses] else if ((!noscore & 0x04) && duplicate_character ()) ^ ~ save.c:1239:14: note: add parentheses after the '!' to evaluate the bitwise operator first else if ((!noscore & 0x04) && duplicate_character ()) ^ ( ) save.c:1239:14: note: add parentheses around left hand side expression to silence this warning else if ((!noscore & 0x04) && duplicate_character ()) ^ ( ) 11 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c staffs.c -o staffs.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c wands.c -o wands.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c scrolls.c -o scrolls.o scrolls.c:71:12: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(out_val, "Your %s glows faintly!", tmp_str); ^ scrolls.c:71:12: note: include the header or explicitly provide a declaration for 'sprintf' 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c spells.c -o spells.o spells.c:44:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy (m_name, "It"); ^ spells.c:44:12: note: include the header or explicitly provide a declaration for 'strcpy' spells.c:46:12: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf (m_name, "The %s", r_ptr->name); ^ spells.c:46:12: note: include the header or explicitly provide a declaration for 'sprintf' spells.c:168:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (t_list[c_ptr->tptr].tval == TV_CHEST) ^ spells.c:198:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else if (((t_list[c_ptr->tptr].tval == TV_UP_STAIR) || ^ spells.c:1825:4: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 5 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c wizard.c -o wizard.o wizard.c:73:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:86:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:99:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:112:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:125:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:138:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:152:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:168:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:180:10: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(tmp_str, "Current=%ld Gold = ", m_ptr->au); ^ wizard.c:180:10: note: include the header or explicitly provide a declaration for 'sprintf' wizard.c:180:51: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(tmp_str, "Current=%ld Gold = ", m_ptr->au); ~~~ ^~~~~~~~~ %d wizard.c:181:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] tmp_val = strlen(tmp_str); ^ wizard.c:181:13: note: include the header or explicitly provide a declaration for 'strlen' wizard.c:200:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:212:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:224:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:236:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:248:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:261:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:273:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:314:13: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] tmp_val = atoi(tmp_str); ^ wizard.c:387:10: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy (pattern, "%lx"); ^ wizard.c:387:10: note: include the header or explicitly provide a declaration for 'strcpy' wizard.c:388:10: warning: implicitly declaring library function 'sscanf' with type 'int (const char *restrict, const char *restrict, ...)' [-Wimplicit-function-declaration] (void) sscanf(tmp_str, pattern, &tmp_lval); ^ wizard.c:388:10: note: include the header or explicitly provide a declaration for 'sscanf' 21 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c store2.c -o store2.o store2.c:160:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(comment, comment2a[randint(3)-1]); ^ store2.c:160:12: note: include the header or explicitly provide a declaration for 'strcpy' store2.c:256:14: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(out_val2, "%c) %s", 'a'+i, out_val1); ^ store2.c:256:14: note: include the header or explicitly provide a declaration for 'sprintf' store2.c:265:37: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val2, "%9ld", value); ~~~~ ^~~~~ %9d store2.c:268:42: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val2,"%9ld [Fixed]", x); ~~~~ ^ %9d store2.c:298:38: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%ld", j); ~~~ ^ %d store2.c:301:45: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%9ld [Fixed]", s_ptr->store_inven[pos].scost); ~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %9d store2.c:311:51: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "Gold Remaining : %ld", py.misc.au); ~~~ ^~~~~~~~~~ %d store2.c:428:10: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] clen = strlen(comment); ^ store2.c:428:10: note: include the header or explicitly provide a declaration for 'strlen' store2.c:440:6: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration] abs (last_store_inc)); ^ store2.c:440:6: note: include the header or explicitly provide a declaration for 'abs' store2.c:594:50: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%s : %ld", comment, cur_ask); ~~~ ^~~~~~~ %d store2.c:670:57: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "Your last offer : %ld", last_offer); ~~~ ^~~~~~~~~~ %d store2.c:787:54: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "%s : %ld", comment, cur_ask); ~~~ ^~~~~~~ %d store2.c:863:50: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(out_val, "Your last bid %ld", last_offer); ~~~ ^~~~~~~~~~ %d 13 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c signals.c -o signals.o signals.c:150:11: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(died_from, "Interrupting"); ^ signals.c:150:11: note: include the header or explicitly provide a declaration for 'strcpy' signals.c:183:15: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration] (void) kill(getpid(), sig); ^ signals.c:184:10: warning: implicit declaration of function 'sleep' is invalid in C99 [-Wimplicit-function-declaration] (void) sleep(5); ^ signals.c:186:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration] exit(1); ^ signals.c:186:3: note: include the header or explicitly provide a declaration for 'exit' 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c moria1.c -o moria1.o moria1.c:336:8: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] l = strlen(out_val[i]); ^ moria1.c:336:8: note: include the header or explicitly provide a declaration for 'strlen' moria1.c:797:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(prt1, "Primary weapon : "); ^ moria1.c:797:12: note: include the header or explicitly provide a declaration for 'strcpy' moria1.c:799:15: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] msg_print(strcat(prt1, prt2)); ^ moria1.c:799:15: note: include the header or explicitly provide a declaration for 'strcat' moria1.c:1800:17: warning: implicit declaration of function 'atoi' is invalid in C99 [-Wimplicit-function-declaration] rest_num = atoi(rest_str); ^ 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c moria2.c -o moria2.o moria2.c:102:7: warning: add explicit braces to avoid dangling else [-Wdangling-else] else ^ 1 warning generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c moria3.c -o moria3.o moria3.c:312:11: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(out_val, ^ moria3.c:312:11: note: include the header or explicitly provide a declaration for 'sprintf' moria3.c:314:5: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] i_ptr->cost, tmp_str); ^~~~~~~~~~~ moria3.c:327:13: warning: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Wimplicit-function-declaration] tmp_str[strlen(tmp_str)-1] = '?'; ^ moria3.c:327:13: note: include the header or explicitly provide a declaration for 'strlen' moria3.c:732:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(m_name, "it"); ^ moria3.c:732:12: note: include the header or explicitly provide a declaration for 'strcpy' 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c moria4.c -o moria4.o moria4.c:95:9: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf (m_name, "The %s", c_list[m_ptr->mptr].name); ^ moria4.c:95:9: note: include the header or explicitly provide a declaration for 'sprintf' moria4.c:97:9: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy (m_name, "Something"); ^ moria4.c:97:9: note: include the header or explicitly provide a declaration for 'strcpy' moria4.c:190:3: warning: implicitly declaring library function 'abort' with type 'void (void) __attribute__((noreturn))' [-Wimplicit-function-declaration] abort (); ^ moria4.c:190:3: note: include the header or explicitly provide a declaration for 'abort' moria4.c:1124:28: warning: implicitly declaring library function 'abs' with type 'int (int)' [-Wimplicit-function-declaration] if (randint(tmp*(20+abs(t_ptr->p1))) < 10*(tmp-abs(t_ptr->p1))) ^ moria4.c:1124:28: note: include the header or explicitly provide a declaration for 'abs' 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c monsters.c -o monsters.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c treasure.c -o treasure.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c variable.c -o variable.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c rnd.c -o rnd.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c recall.c -o recall.o recall.c:231:10: warning: implicitly declaring library function 'sprintf' with type 'int (char *, const char *, ...)' [-Wimplicit-function-declaration] (void) sprintf(temp, "The %s:\n", cp->name); ^ recall.c:231:10: note: include the header or explicitly provide a declaration for 'sprintf' recall.c:364:68: warning: format specifies type 'long' but the argument has type 'int32' (aka 'int') [-Wformat] (void) sprintf(temp, " creature is worth %ld.%02ld point%s", templong, ~~~ ^~~~~~~~ %d recall.c:365:8: warning: format specifies type 'long' but the argument has type 'int32u' (aka 'unsigned int') [-Wformat] j, (templong == 1 && j == 0 ? "" : "s")); ^ recall.c:653:39: warning: format specifies type 'long' but the argument has type 'int32u' (aka 'unsigned int') [-Wformat] (void) sprintf(temp, " up to %ld", j); ~~~ ^ %u 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c unix.c -o unix.o unix.c:291:12: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcpy(buf, p); ^ unix.c:291:12: note: include the header or explicitly provide a declaration for 'strcpy' unix.c:334:14: warning: implicitly declaring library function 'strcat' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration] (void) strcat(exp, file); ^ unix.c:334:14: note: include the header or explicitly provide a declaration for 'strcat' unix.c:369:13: warning: implicit declaration of function 'open' is invalid in C99 [-Wimplicit-function-declaration] return (open(buf, flags, mode)); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c player.c -o player.o cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c tables.c -o tables.o cc -o moria -O2 -pipe -fstack-protector-strong -fno-strict-aliasing main.o misc1.o misc2.o misc3.o misc4.o store1.o files.o io.o create.o desc.o generate.o sets.o dungeon.o creature.o death.o eat.o help.o magic.o potions.o prayer.o save.o staffs.o wands.o scrolls.o spells.o wizard.o store2.o signals.o moria1.o moria2.o moria3.o moria4.o monsters.o treasure.o variable.o rnd.o recall.o unix.o player.o tables.o -fstack-protector-strong -lncurses =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for moria-5.5.2_1 ===> Generating temporary packing list /bin/mkdir -p /wrkdirs/usr/ports/games/moria/work/stage/usr/local/bin install -s -m 555 moria /wrkdirs/usr/ports/games/moria/work/stage/usr/local/bin /bin/mkdir -p /wrkdirs/usr/ports/games/moria/work/stage/usr/local/share/moria (cd files; install -m 0644 hours news origcmds.hlp owizcmds.hlp roglcmds.hlp rwizcmds.hlp version.hlp welcome.hlp /wrkdirs/usr/ports/games/moria/work/stage/usr/local/share/moria) (cd /wrkdirs/usr/ports/games/moria/work/stage/usr/local/share/moria; /usr/bin/touch scores) install -m 444 /wrkdirs/usr/ports/games/moria/work/umoria/doc/moria.6 /wrkdirs/usr/ports/games/moria/work/stage/usr/local/share/man/man6/ cd /wrkdirs/usr/ports/games/moria/work/umoria/doc && /usr/bin/env DOCSDIR="/usr/local/share/doc/moria" MKDIR="/bin/mkdir -p" TOUCH="/usr/bin/touch" STAGEDIR="/wrkdirs/usr/ports/games/moria/work/stage" DATADIR="/usr/local/share/moria" XDG_DATA_HOME=/wrkdirs/usr/ports/games/moria/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/moria/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/moria/work/.cache HOME=/wrkdirs/usr/ports/games/moria/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/moria/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/moria/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" 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" /usr/bin/make -f Makefile CURSES=" -fstack-protector-strong -lncurses" DESTDIR=/wrkdirs/usr/ports/games/moria/work/stage install cat moria1.ms moria2.ms > moria.ms cat moria1.txt moria2.txt > moria.txt /bin/mkdir -p /wrkdirs/usr/ports/games/moria/work/stage/usr/local/share/doc/moria install -m 0644 ERRORS FEATURES.NEW dragon.inf exp.doc faq history moria.ms moria.txt pronounc spells.doc where.inf /wrkdirs/usr/ports/games/moria/work/stage/usr/local/share/doc/moria ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-01T10:11:23+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=d8e220c26a' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for moria-5.5.2_1 ===> Building moria-5.5.2_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for moria-5.5.2_1 build of games/moria | moria-5.5.2_1 ended at Mon Apr 1 11:11:50 BST 2024 build time: 00:00:29