From owner-freebsd-pkg-fallout@freebsd.org Fri Dec 4 04:37:59 2020 Return-Path: Delivered-To: freebsd-pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 4D00047284E for ; Fri, 4 Dec 2020 04:37:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4CnKh71gPLz3l4T for ; Fri, 4 Dec 2020 04:37:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 393D8472D19; Fri, 4 Dec 2020 04:37:59 +0000 (UTC) Delivered-To: pkg-fallout@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 39014472C8B for ; Fri, 4 Dec 2020 04:37:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CnKh718H7z3lFr; Fri, 4 Dec 2020 04:37:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy17.nyi.freebsd.org (beefy17.nyi.freebsd.org [IPv6:2610:1c1:1:6080::16:f2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1A5C725A03; Fri, 4 Dec 2020 04:37:59 +0000 (UTC) (envelope-from pkg-fallout@FreeBSD.org) Received: from beefy17.nyi.freebsd.org (localhost [127.0.0.1]) by beefy17.nyi.freebsd.org (8.16.1/8.16.1) with ESMTP id 0B44bxSC040369; Fri, 4 Dec 2020 04:37:59 GMT (envelope-from pkg-fallout@FreeBSD.org) Received: (from root@localhost) by beefy17.nyi.freebsd.org (8.16.1/8.16.1/Submit) id 0B44bwmR040351; Fri, 4 Dec 2020 04:37:58 GMT (envelope-from pkg-fallout@FreeBSD.org) Date: Fri, 4 Dec 2020 04:37:58 GMT From: pkg-fallout@FreeBSD.org Message-Id: <202012040437.0B44bwmR040351@beefy17.nyi.freebsd.org> To: flambard@mangband.org Subject: [package - head-i386-default][games/mangband] Failed for mangband-1.1.3 in build Cc: pkg-fallout@FreeBSD.org X-BeenThere: freebsd-pkg-fallout@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Fallout logs from package building List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Dec 2020 04:37:59 -0000 You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: flambard@mangband.org Last committer: tobik@FreeBSD.org Ident: $FreeBSD: head/games/mangband/Makefile 502606 2019-05-25 17:22:36Z tobik $ Log URL: http://beefy17.nyi.freebsd.org/data/head-i386-default/p556876_s368287/logs/mangband-1.1.3.log Build URL: http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p556876_s368287 Log: =>> Building games/mangband build started at Fri Dec 4 04:37:33 UTC 2020 port directory: /usr/ports/games/mangband package name: mangband-1.1.3 building for: FreeBSD head-i386-default-job-08 13.0-CURRENT FreeBSD 13.0-CURRENT 1300130 i386 maintained by: flambard@mangband.org Makefile ident: $FreeBSD: head/games/mangband/Makefile 502606 2019-05-25 17:22:36Z tobik $ Poudriere version: 3.2.8-8-gaf08dbda Host OSVERSION: 1300121 Jail OSVERSION: 1300130 Job Id: 08 !!! Jail is newer than host. (Jail: 1300130, Host: 1300121) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1300130 UNAME_v=FreeBSD 13.0-CURRENT 1300130 UNAME_r=13.0-CURRENT 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 LOCALBASE=/usr/local USER=root LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.2.8-8-gaf08dbda MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM= PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= DEPENDS_ARGS= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for mangband-1.1.3: EXAMPLES=on: Build and/or install examples GCU=on: Display module GCU (curses) SDL=on: Display module SDL X11=on: Display module X11 ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- flambard@mangband.org --End MAINTAINER-- --CONFIGURE_ARGS-- --with-gcu --with-sdl --with-x11 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/mangband/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/mangband/work HOME=/wrkdirs/usr/ports/games/mangband/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/mangband/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/games/mangband/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/mangband/work HOME=/wrkdirs/usr/ports/games/mangband/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/mangband/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes 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 " 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" --End MAKE_ENV-- --PLIST_SUB-- PORTEXAMPLES="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mangband" EXAMPLESDIR="share/examples/mangband" DATADIR="share/mangband" WWWDIR="www/mangband" ETCDIR="etc/mangband" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/mangband DOCSDIR=/usr/local/share/doc/mangband EXAMPLESDIR=/usr/local/share/examples/mangband WWWDIR=/usr/local/www/mangband ETCDIR=/usr/local/etc/mangband --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes MACHINE=i386 MACHINE_ARCH=i386 ARCH=${MACHINE_ARCH} #### /usr/local/etc/poudriere.d/make.conf #### # XXX: We really need this but cannot use it while 'make checksum' does not # try the next mirror on checksum failure. It currently retries the same # failed mirror and then fails rather then trying another. It *does* # try the next if the size is mismatched though. #MASTER_SITE_FREEBSD=yes # Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs MAKE_JOBS_NUMBER=2 #### /usr/ports/Mk/Scripts/ports_env.sh #### _CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _ALTCCVERSION_921dbbb2=none _CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o" CC_OUTPUT_921dbbb2_58173849=yes CC_OUTPUT_921dbbb2_9bdba57c=yes CC_OUTPUT_921dbbb2_6a4fe7f5=yes CC_OUTPUT_921dbbb2_6bcac02b=yes CC_OUTPUT_921dbbb2_67d20829=yes CC_OUTPUT_921dbbb2_bfa62e83=yes CC_OUTPUT_921dbbb2_f0b4d593=yes CC_OUTPUT_921dbbb2_308abb44=yes CC_OUTPUT_921dbbb2_f00456e5=yes CC_OUTPUT_921dbbb2_65ad290d=yes CC_OUTPUT_921dbbb2_f2776b26=yes CC_OUTPUT_921dbbb2_b2657cc3=yes CC_OUTPUT_921dbbb2_380987f7=yes CC_OUTPUT_921dbbb2_160933ec=yes CC_OUTPUT_921dbbb2_fb62803b=yes _OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-0-g176249bd673) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin _OBJC_ALTCCVERSION_921dbbb2=none ARCH=i386 OPSYS=FreeBSD _OSRELEASE=13.0-CURRENT OSREL=13.0 OSVERSION=1300130 PYTHONBASE=/usr/local CONFIGURE_MAX_CMD_LEN=524288 HAVE_PORTS_ENV=1 #### Misc Poudriere #### GID=0 UID=0 ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 524288 stack size (kbytes, -s) 65536 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) 1024 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-- =================================================== ===> License GPLv2 accepted by the user =========================================================================== =================================================== ===> mangband-1.1.3 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.15.10.txz [head-i386-default-job-08] Installing pkg-1.15.10... [head-i386-default-job-08] Extracting pkg-1.15.10: .......... done ===> mangband-1.1.3 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of mangband-1.1.3 =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by mangband-1.1.3 for building =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by mangband-1.1.3 for building => SHA256 Checksum OK for mangband-1.1.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by mangband-1.1.3 for building ===> Extracting for mangband-1.1.3 => SHA256 Checksum OK for mangband-1.1.3.tar.gz. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for mangband-1.1.3 ===> Converting DOS text files to UNIX text files In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ In file included from server/sched.c:27: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/sched-win.o -c server/sched-win.c cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/generate.o -c server/generate.c In file included from server/generate.c:15: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ server/generate.c:386:13: warning: unused variable 'c_ptr' [-Wunused-variable] cave_type *c_ptr = &cave[Depth][y][x]; ^ In file included from server/generate.c:15: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ 24 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/wilderness.o -c server/wilderness.c In file included from server/wilderness.c:17: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ In file included from server/wilderness.c:17: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ 2 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/dungeon.o -c server/dungeon.c In file included from server/dungeon.c:13: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ server/dungeon.c:1649:7: warning: unused variable 'buf' [-Wunused-variable] char buf[1024]; ^ In file included from server/dungeon.c:13: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/init1.o -c server/init1.c In file included from server/init1.c:7: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ server/init1.c:1134:13: warning: incompatible pointer to integer conversion passing 'char [32]' to parameter of type 'int' [-Wint-conversion] msg_format("Unknown player class flag '%s'.", what); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ server/externs.h:1019:28: note: passing argument to parameter 'Ind' here extern void msg_format(int Ind, cptr fmt, ...); ^ server/init1.c:1753:13: warning: incompatible pointer to integer conversion passing 'char [26]' to parameter of type 'int' [-Wint-conversion] msg_format("Unknown player flag '%s'.", what); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ server/externs.h:1019:28: note: passing argument to parameter 'Ind' here extern void msg_format(int Ind, cptr fmt, ...); ^ 3 warnings generated. server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/init2.o -c server/init2.c In file included from server/init2.c:7: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ server/init2.c:717:4: warning: incompatible pointer types assigning to 'char *' from 'cptr *' (aka 'const char **') [-Wincompatible-pointer-types] KILL(head->name_ptr, cptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ server/../common/z-virt.h:153:24: note: expanded from macro 'KILL' (FREE(P,T), (P)=(T*)NULL) ^~~~~~~~~ server/init2.c:718:4: warning: incompatible pointer types assigning to 'char *' from 'cptr *' (aka 'const char **') [-Wincompatible-pointer-types] KILL(head->text_ptr, cptr); ^~~~~~~~~~~~~~~~~~~~~~~~~~ server/../common/z-virt.h:153:24: note: expanded from macro 'KILL' (FREE(P,T), (P)=(T*)NULL) ^~~~~~~~~ server/init2.c:2415:21: warning: result of comparison of constant 65535 with expression of type 's16b' (aka 'short') is always false [-Wtautological-constant-out-of-range-compare] if ((cfg_tcp_port > 65535) || (cfg_tcp_port < 1)) ~~~~~~~~~~~~ ^ ~~~~~ In file included from server/init2.c:7: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/init2.c:224:13: warning: unused function 'show_news_aux' [-Wunused-function] static void show_news_aux(cptr why) ^ server/init2.c:756:13: warning: unused function 'free_info' [-Wunused-function] static errr free_info(header *head) ^ 7 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/netserver.o -c server/netserver.c In file included from server/netserver.c:81: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ server/netserver.c:372:2: warning: misleading indentation; statement is not part of the previous 'else' [-Wmisleading-indentation] if (VERSION_EXTRA == 1) ^ server/netserver.c:369:5: note: previous statement is here else ^ server/netserver.c:716:6: warning: implicit declaration of function 'getpeername' is invalid in C99 [-Wimplicit-function-declaration] if (getpeername(fd, (struct sockaddr *) &sin, &len) >= 0) ^ server/netserver.c:845:6: warning: unused variable 'i' [-Wunused-variable] int i; ^ server/netserver.c:3410:6: warning: variable 'p_ptr' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized] if (connp->id != -1) ^~~~~~~~~~~~~~~ server/netserver.c:3417:13: note: uninitialized use occurs here if (strcmp(p_ptr->name,cfg_dungeon_master)) ^~~~~ server/netserver.c:3410:2: note: remove the 'if' if its condition is always true if (connp->id != -1) ^~~~~~~~~~~~~~~~~~~~ server/netserver.c:3403:20: note: initialize the variable 'p_ptr' to silence this warning player_type *p_ptr; ^ = NULL 4 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o server/main.o -c server/main.c In file included from server/netserver.c:81: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ server/netserver.c:594:13: warning: unused function 'Console' [-Wunused-function] static void Console(int fd, int arg) ^ In file included from server/netserver.c:82: server/netserver.h:147:12: warning: unused function 'Receive_mind' [-Wunused-function] static int Receive_mind(int ind); ^ In file included from server/main.c:15: In file included from server/angband.h:22: In file included from server/../common/h-basic.h:16: In file included from server/../common/h-system.h:43: /usr/include/sys/timeb.h:44:2: warning: "this file includes which is deprecated" [-W#warnings] #warning "this file includes which is deprecated" ^ server/main.c:201:7: warning: unused variable 'buf' [-Wunused-variable] char buf[1024]; ^ In file included from server/main.c:15: In file included from server/angband.h:51: server/externs.h:771:13: warning: unused function 'object_flags_aux' [-Wunused-function] static void object_flags_aux(int mode, const object_type *o_ptr, u32b *f1, u32b *f2, u32b *f3); ^ 3 warnings generated. cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wall -g -pipe -I/usr/local/include -DUSE_GCU -DUSE_X11 -DDEFAULT_PATH="\"/usr/local/share/mangband\"" -o mangclient common/z-util.o common/z-virt.o common/z-form.o common/z-rand.o common/net-unix.o common/net-win.o common/net-ibm.o common/sockbuf.o common/md5.o client/z-term.o client/c-util.o client/c-cmd.o client/c-inven.o client/c-files.o client/c-tables.o client/c-store.o client/c-init.o client/set_focus.o client/variable.o client/readdib.o client/main-ibm.o client/main-cap.o client/main-xaw.o client/main-gcu.o client/main-x11.o client/main-sdl.o client/maim-sdl.o client/sdl-xxx.o client/netclient.o client/c-birth.o client/c-xtra1.o client/c-xtra2.o client/c-spell.o client/client.o -fstack-protector-strong -lncurses -L/usr/local/lib -lX11 ld: error: duplicate symbol: p_name >>> defined at c-tables.c:124 (client/c-tables.c:124) >>> client/c-tables.o:(p_name) >>> defined at variable.c:108 (client/variable.c:108) >>> client/variable.o:(.bss+0x32ABC) cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[1]: *** [Makefile:347: mangclient] Error 1 gmake[1]: *** Waiting for unfinished jobs.... 8 warnings generated. gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/mangband/work/mangband-1.1.3/src' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/games/mangband