=>> Building games/pvpgn build started at Sun Mar 31 20:11:41 BST 2024 port directory: /usr/ports/games/pvpgn package name: pvpgn-1.8.5_2 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: ports@FreeBSD.org Makefile datestamp: -rw-r--r-- 1 root wheel 2184 Feb 25 10:26 /usr/ports/games/pvpgn/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: 5a5fde289c 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 pvpgn-1.8.5_2: D2=on: Diablo II server (D2CS/D2DBS) DOCS=on: Build and/or install documentation MYSQL=off: MySQL database support PGSQL=off: PostgreSQL database support SQLITE3=off: SQLite 3 database support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- ports@FreeBSD.org --End MAINTAINER-- --CONFIGURE_ARGS-- --sysconfdir=/usr/local/etc/pvpgn --localstatedir=/usr/local/share/pvpgn --with-libraries=/usr/local/lib --enable-d2cs --enable-d2dbs --without-mysql --without-pgsql --without-sqlite3 --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/pvpgn/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/pvpgn/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/pvpgn/work/.cache HOME=/wrkdirs/usr/ports/games/pvpgn/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/pvpgn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/pvpgn/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" 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/pvpgn/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/pvpgn/work XDG_CACHE_HOME=/wrkdirs/usr/ports/games/pvpgn/work/.cache HOME=/wrkdirs/usr/ports/games/pvpgn/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/games/pvpgn/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/pvpgn/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-- RC_SUFX=.sh PORTDOCS="" D2="" NO_D2="@comment " DOCS="" NO_DOCS="@comment " MYSQL="@comment " NO_MYSQL="" PGSQL="@comment " NO_PGSQL="" SQLITE3="@comment " NO_SQLITE3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pvpgn" EXAMPLESDIR="share/examples/pvpgn" DATADIR="share/pvpgn" WWWDIR="www/pvpgn" ETCDIR="etc/pvpgn" --End PLIST_SUB-- --SUB_LIST-- D2="" NO_D2="@comment " DOCS="" NO_DOCS="@comment " MYSQL="@comment " NO_MYSQL="" PGSQL="@comment " NO_PGSQL="" SQLITE3="@comment " NO_SQLITE3="" PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pvpgn DOCSDIR=/usr/local/share/doc/pvpgn EXAMPLESDIR=/usr/local/share/examples/pvpgn WWWDIR=/usr/local/www/pvpgn ETCDIR=/usr/local/etc/pvpgn --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 ===> NOTICE: The pvpgn 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://docs.freebsd.org/en/articles/contributing/#ports-contributing =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pvpgn-1.8.5_2 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 ===> pvpgn-1.8.5_2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pvpgn-1.8.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pvpgn 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pvpgn-1.8.5_2 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pvpgn 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pvpgn-1.8.5_2 for building => SHA256 Checksum OK for pvpgn/pvpgn-1.8.5.tar.bz2. => SHA256 Checksum OK for pvpgn/pvpgn-support-1.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> NOTICE: The pvpgn 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://docs.freebsd.org/en/articles/contributing/#ports-contributing ===> Fetching all distfiles required by pvpgn-1.8.5_2 for building ===> Extracting for pvpgn-1.8.5_2 => SHA256 Checksum OK for pvpgn/pvpgn-1.8.5.tar.bz2. => SHA256 Checksum OK for pvpgn/pvpgn-support-1.2.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pvpgn-1.8.5_2 ===> Applying FreeBSD patches for pvpgn-1.8.5_2 from /usr/ports/games/pvpgn/files =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pvpgn-1.8.5_2 depends on package: gmake>=4.4.1 - not found ===> Installing existing package /packages/All/gmake-4.4.1.pkg [pkg-builder.dan.net.uk] Installing gmake-4.4.1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] Extracting gmake-4.4.1: .......... done ===> pvpgn-1.8.5_2 depends on package: gmake>=4.4.1 - found ===> Returning to build of pvpgn-1.8.5_2 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for pvpgn-1.8.5_2 loading site script /usr/ports/Templates/config.site creating cache ./config.cache checking host system type... amd64-portbld-freebsd13.2 checking target system type... amd64-portbld-freebsd13.2 checking build system type... amd64-portbld-freebsd13.2 checking for gcc... cc checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) works... yes checking whether the C compiler (cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c checking how to run the C preprocessor... cpp checking for AIX... no checking for POSIXized ISC... no checking for minix/config.h... (cached) no adding /usr/local/lib to library search path checking whether cc needs -traditional... no checking for cc option to accept ANSI C... none needed checking for working const... yes checking for inline... inline checking for pow in -lm... yes checking for compress in -lz... yes checking for gethostbyname in -lnsl... no checking for socket in -lsocket... no checking for inet_aton in -lresolv... no checking for __inet_aton in -lbind... no checking for _libwsock32_a_iname in -lwsock32... no checking for dirent.h that defines DIR... yes checking for opendir in -ldir... no checking for ANSI C header files... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether stat file-mode macros are broken... no checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for time.h... (cached) yes checking for sys/select.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for unistd.h... (cached) yes checking for stdarg.h... (cached) yes checking for varargs.h... no checking for malloc.h... yes checking for sys/utsname.h... yes checking for sys/timeb.h... no checking for sys/socket.h... (cached) yes checking for sys/param.h... (cached) yes checking for netinet/in.h... (cached) yes checking for arpa/inet.h... (cached) yes checking for netdb.h... (cached) yes checking for termios.h... yes checking for stddef.h... (cached) yes checking for memory.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/wait.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/file.h... (cached) yes checking for limits.h... (cached) yes checking for poll.h... (cached) yes checking for sys/poll.h... (cached) yes checking for stropts.h... no checking for sys/stropts.h... no checking for sys/stat.h... (cached) yes checking for pwd.h... (cached) yes checking for grp.h... yes checking for dir.h... no checking for direct.h... no checking for sys/mman.h... (cached) yes checking for sys/event.h... yes checking for sys/epoll.h... no checking for sys/resource.h... (cached) yes checking for assert.h... yes checking for sqlite3.h... no checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... (cached) yes checking return type of signal handlers... void checking for off_t... (cached) yes checking for size_t... (cached) yes checking size of unsigned char... 1 checking size of unsigned short... 2 checking size of unsigned int... 4 checking size of unsigned long... 8 checking size of unsigned long long... 8 checking size of signed char... 1 checking size of signed short... 2 checking size of signed int... 4 checking size of signed long... 8 checking size of signed long long... 8 checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... (cached) yes checking for strftime... (cached) yes checking for vprintf... (cached) yes checking whether closedir returns void... no checking for mkdir... yes checking for _mkdir... yes checking whether mkdir takes one argument... no checking for gethostname... (cached) yes checking for gettimeofday... (cached) yes checking for select... (cached) yes checking for socket... yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for strerror... (cached) yes checking for inet_aton... (cached) yes checking for inet_ntoa... (cached) yes checking for uname... (cached) yes checking for recv... yes checking for send... yes checking for recvfrom... yes checking for sendto... yes checking for uname... (cached) yes checking for fork... (cached) yes checking for getpid... (cached) yes checking for sigaction... (cached) yes checking for sigprocmask... (cached) yes checking for sigaddset... yes checking for setpgid... (cached) yes checking for setpgrp... yes checking for ftime... no checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for stricmp... no checking for strnicmp... no checking for chdir... yes checking for difftime... yes checking for strchr... (cached) yes checking for strrchr... (cached) yes checking for index... (cached) yes checking for rindex... (cached) yes checking for memcpy... (cached) yes checking for memset... (cached) yes checking for memmove... (cached) yes checking for bcopy... (cached) yes checking for wait... (cached) yes checking for waitpid... (cached) yes checking for pipe... (cached) yes checking for getenv... (cached) yes checking for ioctl... yes checking for setsid... (cached) yes checking for mktime... yes checking for poll... (cached) yes checking for gethostbyname... (cached) yes checking for getservbyname... yes checking for getlogin... yes checking for pow... yes checking for getpwnam... yes checking for getgrnam... yes checking for getuid... (cached) yes checking for getgid... (cached) yes checking for setuid... (cached) yes checking for setgid... (cached) yes checking for mkdir... (cached) yes checking for _mkdir... (cached) yes checking for strsep... (cached) yes checking for getopt... (cached) yes checking for kqueue... yes checking for setitimer... yes checking for epoll_create... no checking for getrlimit... (cached) yes checking for vsnprintf... (cached) yes checking for _vsnprintf... no checking for snprintf... (cached) yes checking for _snprintf... no checking whether setpgrp takes no argument... no updating cache ./config.cache creating ./config.status creating Makefile creating config.h =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pvpgn-1.8.5_2 gmake dep gmake[1]: Entering directory '/wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src' Dependency check: bnetd Dependency check: bniutils Dependency check: bnpass Dependency check: bnpcap Dependency check: bnproxy Dependency check: bntrackd Dependency check: client Dependency check: common Dependency check: compat Dependency check: d2cs Dependency check: d2dbs Dependency check: tinycdb Dependency check: zlib Dependency check: win32 gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src' Using compile command: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DBNETD_DEFAULT_CONF_FILE="/usr/local/etc/pvpgn/bnetd.conf" -DD2CS_DEFAULT_CONF_FILE="/usr/local/etc/pvpgn/d2cs.conf" -DD2DBS_DEFAULT_CONF_FILE="/usr/local/etc/pvpgn/d2dbs.conf" -I. -fno-strict-aliasing -c Compiling bnetd/main.c Compiling bnetd/server.c Compiling bnetd/connection.c Compiling bnetd/message.c Compiling bnetd/handle_init.c Compiling bnetd/handle_bnet.c bnetd/handle_bnet.c:2252:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((dest_c == c)) ~~~~~~~^~~~ bnetd/handle_bnet.c:2252:18: note: remove extraneous parentheses around the comparison to silence this warning if ((dest_c == c)) ~ ^ ~ bnetd/handle_bnet.c:2252:18: note: use '=' to turn this equality comparison into an assignment if ((dest_c == c)) ^~ = 1 warning generated. Compiling bnetd/handle_file.c Compiling bnetd/handle_bot.c Compiling bnetd/handle_telnet.c Compiling bnetd/handle_irc.c bnetd/handle_irc.c:1391:8: warning: implicit declaration of function 'trans_net' is invalid in C99 [-Wimplicit-function-declaration] trans_net(conn_get_addr(conn), &addr, &port); ^ bnetd/handle_irc.c:1557:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((numparams==2)) { ~~~~~~~~~^~~ bnetd/handle_irc.c:1557:15: note: remove extraneous parentheses around the comparison to silence this warning if((numparams==2)) { ~ ^ ~ bnetd/handle_irc.c:1557:15: note: use '=' to turn this equality comparison into an assignment if((numparams==2)) { ^~ = bnetd/handle_irc.c:1638:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] else if((numparams==3)) { ~~~~~~~~~^~~ bnetd/handle_irc.c:1638:20: note: remove extraneous parentheses around the comparison to silence this warning else if((numparams==3)) { ~ ^ ~ bnetd/handle_irc.c:1638:20: note: use '=' to turn this equality comparison into an assignment else if((numparams==3)) { ^~ = 3 warnings generated. Compiling bnetd/handle_udp.c Compiling bnetd/channel.c Compiling bnetd/channel_conv.c Compiling bnetd/game.c bnetd/game.c:1815:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((game->players[i]==account)) break; ~~~~~~~~~~~~~~~~^~~~~~~~~ bnetd/game.c:1815:30: note: remove extraneous parentheses around the comparison to silence this warning if ((game->players[i]==account)) break; ~ ^ ~ bnetd/game.c:1815:30: note: use '=' to turn this equality comparison into an assignment if ((game->players[i]==account)) break; ^~ = bnetd/game.c:1895:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((game->players[i]==account)) ~~~~~~~~~~~~~~~~^~~~~~~~~ bnetd/game.c:1895:30: note: remove extraneous parentheses around the comparison to silence this warning if ((game->players[i]==account)) ~ ^ ~ bnetd/game.c:1895:30: note: use '=' to turn this equality comparison into an assignment if ((game->players[i]==account)) ^~ = bnetd/game.c:1936:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((game->players[i]==account)) break; ~~~~~~~~~~~~~~~~^~~~~~~~~ bnetd/game.c:1936:30: note: remove extraneous parentheses around the comparison to silence this warning if ((game->players[i]==account)) break; ~ ^ ~ bnetd/game.c:1936:30: note: use '=' to turn this equality comparison into an assignment if ((game->players[i]==account)) break; ^~ = 3 warnings generated. Compiling bnetd/anongame.c bnetd/anongame.c:1145:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((result == W3_GAMERESULT_WIN)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~ bnetd/anongame.c:1145:15: note: remove extraneous parentheses around the comparison to silence this warning if ((result == W3_GAMERESULT_WIN)) ~ ^ ~ bnetd/anongame.c:1145:15: note: use '=' to turn this equality comparison into an assignment if ((result == W3_GAMERESULT_WIN)) ^~ = bnetd/anongame.c:1147:15: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((result == W3_GAMERESULT_LOSS)) ~~~~~~~^~~~~~~~~~~~~~~~~~~~~ bnetd/anongame.c:1147:15: note: remove extraneous parentheses around the comparison to silence this warning if ((result == W3_GAMERESULT_LOSS)) ~ ^ ~ bnetd/anongame.c:1147:15: note: use '=' to turn this equality comparison into an assignment if ((result == W3_GAMERESULT_LOSS)) ^~ = 2 warnings generated. Compiling bnetd/command.c bnetd/command.c:3952:28: warning: for loop has empty body [-Wempty-body] for (; text[i]==' '; i++); ^ bnetd/command.c:3952:28: note: put the semicolon on a separate line to silence this warning bnetd/command.c:4305:25: warning: array index 255 is past the end of the array (which contains 255 elements) [-Warray-bounds] msgtemp[MAX_MESSAGE_LEN]='\0'; ^ ~~~~~~~~~~~~~~~ bnetd/command.c:117:1: note: array 'msgtemp' declared here char msgtemp[MAX_MESSAGE_LEN]; ^ 2 warnings generated. Compiling bnetd/account.c Compiling bnetd/account_wrap.c bnetd/account_wrap.c:1583:28: warning: passing 't_uint8[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] str_to_hex(hex_buffer, ch->data, ch->datalen); ^~~~~~~~ ./common/util.h:51:46: note: passing argument to parameter 'data' here extern void str_to_hex(char * target, char * data, int datalen); ^ 1 warning generated. Compiling bnetd/prefs.c Compiling bnetd/tick.c Compiling bnetd/file.c Compiling bnetd/watch.c Compiling bnetd/ladder.c Compiling bnetd/ladder_calc.c Compiling bnetd/adbanner.c Compiling bnetd/timer.c Compiling bnetd/tracker.c Compiling bnetd/ipban.c Compiling bnetd/game_conv.c bnetd/game_conv.c:1001:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((game->type == game_type_diablo2closed)) ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ bnetd/game_conv.c:1001:20: note: remove extraneous parentheses around the comparison to silence this warning if ((game->type == game_type_diablo2closed)) ~ ^ ~ bnetd/game_conv.c:1001:20: note: use '=' to turn this equality comparison into an assignment if ((game->type == game_type_diablo2closed)) ^~ = 1 warning generated. Compiling bnetd/autoupdate.c Compiling bnetd/helpfile.c Compiling bnetd/mail.c Compiling bnetd/anongame_infos.c bnetd/anongame_infos.c:1972:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] tmpdata = (unsigned char *) xmalloc(srclen + (srclen / 0x10) + 0x200 + 0x8000); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bnetd/anongame_infos.c:1977:19: warning: assigning to 'Bytef *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] zcpr.next_out = tmpdata; ^ ~~~~~~~ 2 warnings generated. Compiling bnetd/anongame_gameresult.c Compiling bnetd/storage.c Compiling bnetd/storage_file.c bnetd/storage_file.c:817:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((team->teammembers[i]==0)) ~~~~~~~~~~~~~~~~~~~~^~~ bnetd/storage_file.c:817:28: note: remove extraneous parentheses around the comparison to silence this warning if ((team->teammembers[i]==0)) ~ ^ ~ bnetd/storage_file.c:817:28: note: use '=' to turn this equality comparison into an assignment if ((team->teammembers[i]==0)) ^~ = 1 warning generated. Compiling bnetd/file_plain.c Compiling bnetd/file_cdb.c Compiling bnetd/storage_sql.c Compiling bnetd/storage_sql2.c Compiling bnetd/sql_dbcreator.c Compiling bnetd/sql_common.c Compiling bnetd/sql_pgsql.c Compiling bnetd/sql_mysql.c Compiling bnetd/sql_sqlite3.c Compiling bnetd/sql_odbc.c Compiling bnetd/runprog.c Compiling bnetd/realm.c Compiling bnetd/character.c bnetd/character.c:270:50: warning: passing 't_uint8[64]' (aka 'unsigned char[64]') to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] character->datalen = hex_to_str(data_in_hex, character->data, 33); ^~~~~~~~~~~~~~~ ./common/util.h:52:51: note: passing argument to parameter 'data' here extern int hex_to_str(char const * source, char * data, int datalen); ^ 1 warning generated. Compiling bnetd/udptest_send.c Compiling bnetd/versioncheck.c bnetd/versioncheck.c:240:33: warning: for loop has empty body [-Wempty-body] for (; marker[0]==' ';marker++); ^ bnetd/versioncheck.c:240:33: note: put the semicolon on a separate line to silence this warning bnetd/versioncheck.c:248:33: warning: for loop has empty body [-Wempty-body] for (; marker[0]==' ';marker++); ^ bnetd/versioncheck.c:248:33: note: put the semicolon on a separate line to silence this warning 2 warnings generated. Compiling bnetd/handle_d2cs.c Compiling bnetd/news.c Compiling bnetd/irc.c Compiling bnetd/alias_command.c Compiling bnetd/command_groups.c Compiling bnetd/output.c Compiling bnetd/handle_anongame.c Compiling bnetd/tournament.c Compiling bnetd/anongame_maplists.c Compiling bnetd/clan.c Compiling bnetd/team.c bnetd/team.c:265:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((accounts[i] == cteam->members[j])) ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ bnetd/team.c:265:20: note: remove extraneous parentheses around the comparison to silence this warning if ((accounts[i] == cteam->members[j])) ~ ^ ~ bnetd/team.c:265:20: note: use '=' to turn this equality comparison into an assignment if ((accounts[i] == cteam->members[j])) ^~ = bnetd/team.c:317:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((uids[i] == cteam->teammembers[j])) ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ bnetd/team.c:317:16: note: remove extraneous parentheses around the comparison to silence this warning if ((uids[i] == cteam->teammembers[j])) ~ ^ ~ bnetd/team.c:317:16: note: use '=' to turn this equality comparison into an assignment if ((uids[i] == cteam->teammembers[j])) ^~ = bnetd/team.c:356:25: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if ((cteam->teamid == teamid)) ~~~~~~~~~~~~~~^~~~~~~~~ bnetd/team.c:356:25: note: remove extraneous parentheses around the comparison to silence this warning if ((cteam->teamid == teamid)) ~ ^ ~ bnetd/team.c:356:25: note: use '=' to turn this equality comparison into an assignment if ((cteam->teamid == teamid)) ^~ = 3 warnings generated. Compiling bnetd/topic.c Compiling bnetd/friends.c Compiling bnetd/ladder_binary.c Compiling bnetd/support.c Compiling bnetd/attrgroup.c Compiling bnetd/attrlayer.c Compiling bnetd/cmdline.c Compiling common/tag.c Compiling common/hexdump.c common/hexdump.c:51:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i = 0, datac = (char*)data ; i < len; i += 16, datac += 16) ^ ~~~~~~~~~~~ 1 warning generated. Compiling common/bn_type.c Compiling common/packet.c Compiling common/queue.c Compiling common/util.c Compiling common/network.c Compiling common/list.c Compiling common/eventlog.c common/eventlog.c:246:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i = 0, datac = (char*)data; i < len; i += 16, datac += 16) ^ ~~~~~~~~~~~ 1 warning generated. Compiling common/bnettime.c Compiling common/bnethash.c Compiling common/bnethashconv.c Compiling common/addr.c Compiling common/hashtable.c Compiling common/give_up_root_privileges.c Compiling common/token.c Compiling common/proginfo.c Compiling common/rlimit.c Compiling common/fdwatch.c Compiling common/fdwatch_select.c Compiling common/fdwatch_poll.c Compiling common/fdwatch_kqueue.c common/fdwatch_kqueue.c:134:67: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] EV_SET(kqchanges + ridx, fdw_fd(cfd), EVFILT_READ, EV_ADD, 0, 0, (void*)idx); ^~~~~~~~~~ /usr/include/sys/event.h:60:16: note: expanded from macro 'EV_SET' .udata = (f), \ ^ common/fdwatch_kqueue.c:147:70: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] EV_SET(kqchanges + ridx, fdw_fd(cfd), EVFILT_READ, EV_DELETE, 0, 0, (void*)idx); ^~~~~~~~~~ /usr/include/sys/event.h:60:16: note: expanded from macro 'EV_SET' .udata = (f), \ ^ common/fdwatch_kqueue.c:162:68: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] EV_SET(kqchanges + ridx, fdw_fd(cfd), EVFILT_WRITE, EV_ADD, 0, 0, (void*)idx); ^~~~~~~~~~ /usr/include/sys/event.h:60:16: note: expanded from macro 'EV_SET' .udata = (f), \ ^ common/fdwatch_kqueue.c:175:71: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast] EV_SET(kqchanges + ridx, fdw_fd(cfd), EVFILT_WRITE, EV_DELETE, 0, 0, (void*)idx); ^~~~~~~~~~ /usr/include/sys/event.h:60:16: note: expanded from macro 'EV_SET' .udata = (f), \ ^ common/fdwatch_kqueue.c:200:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] oidx = (int)(kqchanges[nochanges].udata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/fdwatch_kqueue.c:229:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] oidx = (int)(kqchanges[nochanges].udata); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ common/fdwatch_kqueue.c:275:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast] cfd = fdw_fds + (int)kqevents[i].udata; ^~~~~~~~~~~~~~~~~~~~~~ 7 warnings generated. Compiling common/fdwatch_epoll.c Compiling common/trans.c Compiling common/xalloc.c Compiling common/rcm.c Compiling common/conf.c Compiling common/asnprintf.c Compiling common/xstr.c Compiling compat/pdir.c Compiling compat/inet_aton.c Compiling compat/inet_ntoa.c Compiling compat/strdup.c Compiling compat/strerror.c Compiling compat/strtoul.c Compiling compat/strftime.c Compiling compat/strcasecmp.c Compiling compat/strncasecmp.c Compiling compat/strsep.c Compiling compat/psock.c Compiling compat/uname.c Compiling compat/gettimeofday.c Compiling compat/difftime.c Compiling compat/memset.c Compiling compat/memcpy.c Compiling compat/mmap.c Compiling tinycdb/cdb_init.c Compiling tinycdb/cdb_find.c Compiling tinycdb/cdb_findnext.c Compiling tinycdb/cdb_seek.c Compiling tinycdb/cdb_seq.c Compiling tinycdb/cdb_unpack.c Compiling tinycdb/cdb_make_add.c tinycdb/cdb_make_add.c:46:30: warning: passing 'unsigned char[8]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (_cdb_make_write(cdbmp, rlen, 8) < 0 || ^~~~ tinycdb/cdb_int.h:41:19: note: passing argument to parameter 'ptr' here const char *ptr, cdbi_t len); ^ 1 warning generated. Compiling tinycdb/cdb_make_put.c tinycdb/cdb_make_put.c:79:30: warning: passing 'unsigned char[8]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (_cdb_make_write(cdbmp, rlen, 8) < 0 || ^~~~ tinycdb/cdb_int.h:41:19: note: passing argument to parameter 'ptr' here const char *ptr, cdbi_t len); ^ 1 warning generated. Compiling tinycdb/cdb_make_find.c Compiling tinycdb/cdb_make.c tinycdb/cdb_make.c:147:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (_cdb_make_write(cdbmp, p, len << 3) < 0) { ^ tinycdb/cdb_make.c:63:53: note: passing argument to parameter 'ptr' here _cdb_make_write(struct cdb_make *cdbmp, const char *ptr, unsigned len) ^ tinycdb/cdb_make.c:157:5: warning: assigning to 'unsigned char *' from 'char[4096]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p = cdbmp->cdb_buf; ^ ~~~~~~~~~~~~~~ tinycdb/cdb_make.c:163:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ewrite(cdbmp->cdb_fd, p, 2048) != 0) ^ tinycdb/cdb_make.c:50:30: note: passing argument to parameter 'buf' here ewrite(FILE *fd, const char *buf, int len) ^ 3 warnings generated. Compiling tinycdb/cdb_hash.c Compiling zlib/pvpgn_adler32.c Compiling zlib/pvpgn_deflate.c Compiling zlib/pvpgn_trees.c Compiling zlib/pvpgn_zutil.c Compiling win32/service.c Linking ../sbin/bnetd Compiling bntrackd/bntrackd.c bntrackd/bntrackd.c:324:53: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.server_location); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:325:53: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.software); ~~ ^~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:326:51: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.version); ~~ ^~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:327:48: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"\t%lu\n",bn_int_nget(server->info.users)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:328:54: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"\t%lu\n",bn_int_nget(server->info.channels)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:329:48: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"\t%lu\n",bn_int_nget(server->info.games)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:330:59: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.server_desc); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:331:53: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.platform); ~~ ^~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:332:43: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.server_url); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:333:61: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.contact_name); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:334:63: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"\t%s\n",server->info.contact_email); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:335:50: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"\t%lu\n",bn_int_nget(server->info.uptime)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:336:60: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"\t%lu\n",bn_int_nget(server->info.total_games)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:337:50: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"\t%lu\n",bn_int_nget(server->info.total_logins)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:344:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.server_location); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:345:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.software); ~~ ^~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:346:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.version); ~~ ^~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:347:35: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"%lu\n##\n",bn_int_nget(server->info.users)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:348:35: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"%lu\n##\n",bn_int_nget(server->info.channels)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:349:35: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"%lu\n##\n",bn_int_nget(server->info.games)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:350:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.server_desc); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:351:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.platform); ~~ ^~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:352:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.server_url); ~~ ^~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:353:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.contact_name); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:354:34: warning: format specifies type 'char *' but the argument has type 'bn_byte *' (aka 'unsigned char (*)[1]') [-Wformat] fprintf(outfile,"%s\n##\n",server->info.contact_email); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~ bntrackd/bntrackd.c:355:35: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"%lu\n##\n",bn_int_nget(server->info.uptime)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:356:35: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"%lu\n##\n",bn_int_nget(server->info.total_games)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:357:35: warning: format specifies type 'unsigned long' but the argument has type 't_uint32' (aka 'unsigned int') [-Wformat] fprintf(outfile,"%lu\n##\n",bn_int_nget(server->info.total_logins)); ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %u bntrackd/bntrackd.c:777:16: warning: relational comparison result unused [-Wunused-comparison] for (i=0; icharinfo->header.charname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/packet.h:383:65: note: passing argument to parameter 'str' here extern int packet_append_string(t_packet * packet, char const * str); ^ d2cs/handle_d2cs.c:927:34: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packet_append_string(rpacket,ccharlist->charinfo->header.charname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/packet.h:383:65: note: passing argument to parameter 'str' here extern int packet_append_string(t_packet * packet, char const * str); ^ d2cs/handle_d2cs.c:1022:34: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packet_append_string(rpacket,ccharlist->charinfo->header.charname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/packet.h:383:65: note: passing argument to parameter 'str' here extern int packet_append_string(t_packet * packet, char const * str); ^ d2cs/handle_d2cs.c:1040:34: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] packet_append_string(rpacket,ccharlist->charinfo->header.charname); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/packet.h:383:65: note: passing argument to parameter 'str' here extern int packet_append_string(t_packet * packet, char const * str); ^ 4 warnings generated. Compiling d2cs/d2charfile.c d2cs/d2charfile.c:107:10: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(chardata->header.charname,charname,MAX_CHARNAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2cs/d2charfile.c:109:10: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(chardata->header.account,account,MAX_ACCTNAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2cs/d2charfile.c:111:10: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(chardata->header.realmname,prefs_get_realmname(),MAX_REALMNAME_LEN); ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2cs/d2charfile.c:467:26: warning: passing 'int *' to parameter of type 'unsigned int *' converts between pointers to integer types with different sign [-Wpointer-sign] if (file_read(file,data,&size)<0) { ^~~~~ d2cs/d2charfile.h:98:73: note: passing argument to parameter 'size' here extern int file_read(char const * filename, void * data, unsigned int * size); ^ d2cs/d2charfile.c:536:22: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] version=bn_int_get(buffer+D2CHARSAVE_VERSION_OFFSET); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:60:41: note: passing argument to parameter 'src' here extern t_uint32 bn_int_get(bn_int const src) ; ^ d2cs/d2charfile.c:542:22: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] status=bn_byte_get(buffer+status_offset); ^~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:57:42: note: passing argument to parameter 'src' here extern t_uint8 bn_byte_get(bn_byte const src) ; ^ d2cs/d2charfile.c:547:33: warning: passing 'char[32768]' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] checksum=d2charsave_checksum(buffer,size,D2CHARSAVE_CHECKSUM_OFFSET); ^~~~~~ ./common/d2char_checksum.h:23:54: note: passing argument to parameter 'data' here extern int d2charsave_checksum(unsigned char const * data, unsigned int len, unsigned int offset); ^ 7 warnings generated. Compiling d2cs/d2charlist.c d2cs/d2charlist.c:71:102: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncasecmp(charinfo->header.charname,ccharlist->charinfo->header.charname,strlen(charinfo->header.charname))<0) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ d2cs/d2charlist.c:71:32: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncasecmp(charinfo->header.charname,ccharlist->charinfo->header.charname,strlen(charinfo->header.charname))<0) ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:30: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ d2cs/d2charlist.c:71:58: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncasecmp(charinfo->header.charname,ccharlist->charinfo->header.charname,strlen(charinfo->header.charname))<0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/strings.h:66:44: note: passing argument to parameter here int strncasecmp(const char *, const char *, size_t) __pure; ^ 3 warnings generated. Compiling d2cs/gamequeue.c Compiling d2cs/prefs.c Compiling d2cs/cmdline.c Compiling d2cs/bnetd.c Compiling d2cs/handle_bnetd.c Compiling d2cs/s2s.c Compiling d2cs/net.c Compiling d2cs/d2ladder.c Compiling d2cs/handle_signal.c Compiling common/xstring.c common/xstring.c:112:15: warning: passing 'const unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dest=xstrdup(src); ^~~ ./common/xalloc.h:50:35: note: expanded from macro 'xstrdup' #define xstrdup(str) xstrdup_real(str,__FILE__,__LINE__) ^~~ ./common/xalloc.h:51:32: note: passing argument to parameter 'str' here char *xstrdup_real(const char *str, const char *fn, unsigned ln); ^ 1 warning generated. Compiling common/d2char_checksum.c Compiling compat/memmove.c Linking ../sbin/d2cs Compiling d2dbs/main.c In file included from d2dbs/main.c:53: d2dbs/cmdline.h:20:9: warning: '__DDBS_CMDLINE_H_PROTOS__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __DDBS_CMDLINE_H_PROTOS__ ^~~~~~~~~~~~~~~~~~~~~~~~~ d2dbs/cmdline.h:21:9: note: '__D2DBS_CMDLINE_H_PROTOS__' is defined here; did you mean '__DDBS_CMDLINE_H_PROTOS__'? #define __D2DBS_CMDLINE_H_PROTOS__ ^~~~~~~~~~~~~~~~~~~~~~~~~~ __DDBS_CMDLINE_H_PROTOS__ 1 warning generated. Compiling d2dbs/charlock.c d2dbs/charlock.c:111:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(charname)>=MAX_CHARNAME_LEN) return -1; ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ d2dbs/charlock.c:113:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hashval = string_hash(charname) % clitbl_len; ^~~~~~~~ d2dbs/charlock.c:55:45: note: passing argument to parameter 'string' here static unsigned int string_hash(char const *string); ^ d2dbs/charlock.c:117:18: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcasecmp(pcl->charname, charname) == 0) { ^~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ d2dbs/charlock.c:117:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcasecmp(pcl->charname, charname) == 0) { ^~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ d2dbs/charlock.c:135:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(charname)>=MAX_CHARNAME_LEN) return -1; ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ d2dbs/charlock.c:137:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hashval = string_hash(charname) % clitbl_len; ^~~~~~~~ d2dbs/charlock.c:55:45: note: passing argument to parameter 'string' here static unsigned int string_hash(char const *string); ^ d2dbs/charlock.c:142:18: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcasecmp(pcl->charname, charname) == 0) ^~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ d2dbs/charlock.c:142:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcasecmp(pcl->charname, charname) == 0) ^~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ d2dbs/charlock.c:151:10: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pcl->charname, charname, MAX_CHARNAME_LEN-1); ^~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2dbs/charlock.c:151:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pcl->charname, charname, MAX_CHARNAME_LEN-1); ^~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2dbs/charlock.c:152:10: warning: passing 'unsigned char[32]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pcl->realmname, realmname, MAX_REALMNAME_LEN-1); ^~~~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2dbs/charlock.c:152:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(pcl->realmname, realmname, MAX_REALMNAME_LEN-1); ^~~~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2dbs/charlock.c:172:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen(charname)>=MAX_CHARNAME_LEN) return -1; ^~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ d2dbs/charlock.c:174:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hashval = string_hash(charname) % clitbl_len; ^~~~~~~~ d2dbs/charlock.c:55:45: note: passing argument to parameter 'string' here static unsigned int string_hash(char const *string); ^ d2dbs/charlock.c:179:19: warning: passing 'unsigned char[16]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((strcasecmp(pcl->charname, charname) == 0) && (pcl->gsid==gsid)) { ^~~~~~~~~~~~~ /usr/include/strings.h:65:29: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ d2dbs/charlock.c:179:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((strcasecmp(pcl->charname, charname) == 0) && (pcl->gsid==gsid)) { ^~~~~~~~ /usr/include/strings.h:65:43: note: passing argument to parameter here int strcasecmp(const char *, const char *) __pure; ^ 16 warnings generated. Compiling d2dbs/d2ladder.c d2dbs/d2ladder.c:633:22: warning: comparison of array 'ldata[i].charname' not equal to a null pointer is always true [-Wtautological-pointer-compare] if ((ldata[i].charname != NULL) && (ldata[i].charname[0] != '\0')) ~~~~~~~~~^~~~~~~~ ~~~~ 1 warning generated. Compiling d2dbs/dbserver.c d2dbs/dbserver.c:313:10: warning: passing 'unsigned char[16]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(it->serverip, inet_ntoa(in), sizeof(it->serverip)-1); ^~~~~~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ 1 warning generated. Compiling d2dbs/dbspacket.c d2dbs/dbspacket.c:141:31: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] checksum_header = bn_int_get(&data[D2CHARSAVE_CHECKSUM_OFFSET]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:60:41: note: passing argument to parameter 'src' here extern t_uint32 bn_int_get(bn_int const src) ; ^ d2dbs/dbspacket.c:142:40: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] checksum_calc = d2charsave_checksum(data,datalen,D2CHARSAVE_CHECKSUM_OFFSET); ^~~~ ./common/d2char_checksum.h:23:54: note: passing argument to parameter 'data' here extern int d2charsave_checksum(unsigned char const * data, unsigned int len, unsigned int offset); ^ d2dbs/dbspacket.c:418:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] writepos=conn->WriteBuf+conn->nCharsInWriteBuffer; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d2dbs/dbspacket.c:426:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(writepos,CharName,MAX_CHARNAME_LEN); ^~~~~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ d2dbs/dbspacket.c:490:32: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_query_charlock_status(CharName,RealmName,&gsid)!=0) { ^~~~~~~~ d2dbs/charlock.h:37:45: note: passing argument to parameter 'charname' here int cl_query_charlock_status(unsigned char *charname, ^ d2dbs/dbspacket.c:490:41: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_query_charlock_status(CharName,RealmName,&gsid)!=0) { ^~~~~~~~~ d2dbs/charlock.h:38:18: note: passing argument to parameter 'realmnamei' here unsigned char *realmnamei, unsigned int *gsid); ^ d2dbs/dbspacket.c:493:27: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if (cl_lock_char(CharName,RealmName,conn->serverid) != 0) { ^~~~~~~~ d2dbs/charlock.h:39:33: note: passing argument to parameter 'charname' here int cl_lock_char(unsigned char *charname, ^ d2dbs/dbspacket.c:493:36: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } else if (cl_lock_char(CharName,RealmName,conn->serverid) != 0) { ^~~~~~~~~ d2dbs/charlock.h:40:25: note: passing argument to parameter 'realmname' here unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:506:25: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_unlock_char(CharName,RealmName,gsid)!=0) { ^~~~~~~~ d2dbs/charlock.h:41:35: note: passing argument to parameter 'charname' here int cl_unlock_char(unsigned char *charname, unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:506:34: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_unlock_char(CharName,RealmName,gsid)!=0) { ^~~~~~~~~ d2dbs/charlock.h:41:60: note: passing argument to parameter 'realmname' here int cl_unlock_char(unsigned char *charname, unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:517:24: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_unlock_char(CharName,RealmName,gsid)!=0) { ^~~~~~~~ d2dbs/charlock.h:41:35: note: passing argument to parameter 'charname' here int cl_unlock_char(unsigned char *charname, unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:517:33: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_unlock_char(CharName,RealmName,gsid)!=0) { ^~~~~~~~~ d2dbs/charlock.h:41:60: note: passing argument to parameter 'realmname' here int cl_unlock_char(unsigned char *charname, unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:647:20: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_lock_char(CharName,RealmName,conn->serverid)!=0) { ^~~~~~~~ d2dbs/charlock.h:39:33: note: passing argument to parameter 'charname' here int cl_lock_char(unsigned char *charname, ^ d2dbs/dbspacket.c:647:29: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_lock_char(CharName,RealmName,conn->serverid)!=0) { ^~~~~~~~~ d2dbs/charlock.h:40:25: note: passing argument to parameter 'realmname' here unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:653:22: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_unlock_char(CharName,RealmName,conn->serverid) != 0) { ^~~~~~~~ d2dbs/charlock.h:41:35: note: passing argument to parameter 'charname' here int cl_unlock_char(unsigned char *charname, unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:653:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (cl_unlock_char(CharName,RealmName,conn->serverid) != 0) { ^~~~~~~~~ d2dbs/charlock.h:41:60: note: passing argument to parameter 'realmname' here int cl_unlock_char(unsigned char *charname, unsigned char *realmname, unsigned int gsid); ^ d2dbs/dbspacket.c:817:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] writepos = tempc->WriteBuf + tempc->nCharsInWriteBuffer; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ d2dbs/dbspacket.c:848:34: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned int level = bn_int_get(&charinfo[CHARINFO_SUMMARY_LEVEL_OFFSET]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:60:41: note: passing argument to parameter 'src' here extern t_uint32 bn_int_get(bn_int const src) ; ^ d2dbs/dbspacket.c:849:36: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned int plevel = bn_byte_get(&charinfo[CHARINFO_PORTRAIT_LEVEL_OFFSET]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:57:42: note: passing argument to parameter 'src' here extern t_uint8 bn_byte_get(bn_byte const src) ; ^ d2dbs/dbspacket.c:864:35: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned int level = bn_byte_get(&charsave[CHARSAVE_LEVEL_OFFSET]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:57:42: note: passing argument to parameter 'src' here extern t_uint8 bn_byte_get(bn_byte const src) ; ^ d2dbs/dbspacket.c:865:39: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned short status = bn_short_get(&charsave[CHARSAVE_STATUS_OFFSET]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:58:45: note: passing argument to parameter 'src' here extern t_uint16 bn_short_get(bn_short const src) ; ^ d2dbs/dbspacket.c:885:61: warning: passing 'unsigned char[192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!(dbs_packet_getdata_charinfo(conn,AccountName,CharName,charinfo,CHARINFO_SIZE))) { ^~~~~~~~ d2dbs/dbspacket.c:296:116: note: passing argument to parameter 'data' here static unsigned int dbs_packet_getdata_charinfo(t_d2dbs_connection* conn,char * AccountName,char * CharName,char * data,unsigned int bufsize) ^ d2dbs/dbspacket.c:906:83: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bn_byte_set((bn_byte *)&charinfo[CHARINFO_PORTRAIT_GFX_OFFSET+i],bn_byte_get(&charsave[CHARSAVE_GFX_OFFSET+i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:57:42: note: passing argument to parameter 'src' here extern t_uint8 bn_byte_get(bn_byte const src) ; ^ d2dbs/dbspacket.c:907:85: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] bn_byte_set((bn_byte *)&charinfo[CHARINFO_PORTRAIT_COLOR_OFFSET+i],bn_byte_get(&charsave[CHARSAVE_GFX_OFFSET+i])); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./common/bn_type.h:57:42: note: passing argument to parameter 'src' here extern t_uint8 bn_byte_get(bn_byte const src) ; ^ d2dbs/dbspacket.c:910:63: warning: passing 'unsigned char[192]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(dbs_packet_savedata_charinfo(conn,AccountName,CharName,charinfo,CHARINFO_SIZE))) { ^~~~~~~~ d2dbs/dbspacket.c:186:117: note: passing argument to parameter 'data' here static unsigned int dbs_packet_savedata_charinfo(t_d2dbs_connection* conn,char * AccountName,char * CharName,char * data,unsigned int datalen) ^ 25 warnings generated. Compiling d2dbs/cmdline.c In file included from d2dbs/cmdline.c:47: d2dbs/cmdline.h:20:9: warning: '__DDBS_CMDLINE_H_PROTOS__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __DDBS_CMDLINE_H_PROTOS__ ^~~~~~~~~~~~~~~~~~~~~~~~~ d2dbs/cmdline.h:21:9: note: '__D2DBS_CMDLINE_H_PROTOS__' is defined here; did you mean '__DDBS_CMDLINE_H_PROTOS__'? #define __D2DBS_CMDLINE_H_PROTOS__ ^~~~~~~~~~~~~~~~~~~~~~~~~~ __DDBS_CMDLINE_H_PROTOS__ 1 warning generated. Compiling d2dbs/prefs.c Compiling d2dbs/handle_signal.c In file included from d2dbs/handle_signal.c:68: d2dbs/cmdline.h:20:9: warning: '__DDBS_CMDLINE_H_PROTOS__' is used as a header guard here, followed by #define of a different macro [-Wheader-guard] #ifndef __DDBS_CMDLINE_H_PROTOS__ ^~~~~~~~~~~~~~~~~~~~~~~~~ d2dbs/cmdline.h:21:9: note: '__D2DBS_CMDLINE_H_PROTOS__' is defined here; did you mean '__DDBS_CMDLINE_H_PROTOS__'? #define __D2DBS_CMDLINE_H_PROTOS__ ^~~~~~~~~~~~~~~~~~~~~~~~~~ __DDBS_CMDLINE_H_PROTOS__ 1 warning generated. Compiling d2dbs/dbsdupecheck.c d2dbs/dbsdupecheck.c:95:29: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] itemcount = bn_short_get(&datap[2]); ^~~~~~~~~ ./common/bn_type.h:58:45: note: passing argument to parameter 'src' here extern t_uint16 bn_short_get(bn_short const src) ; ^ d2dbs/dbsdupecheck.c:111:19: warning: passing 'char *' to parameter of type 'const bn_basic *' (aka 'const unsigned char *') converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] uid = bn_int_get(&datap[14]); ^~~~~~~~~~ ./common/bn_type.h:60:41: note: passing argument to parameter 'src' here extern t_uint32 bn_int_get(bn_int const src) ; ^ 2 warnings generated. Linking ../sbin/d2dbs Compiling client/bnchat.c client/bnchat.c:859:25: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if ((user.clienttag == CLIENTTAG_DIABLO2DV) || (user.clienttag == CLIENTTAG_DIABLO2XP)) ^ ~~~~~~~~~~~~~~~~~~~ client/bnchat.c:859:68: warning: result of comparison against a string literal is unspecified (use an explicit string comparison function instead) [-Wstring-compare] if ((user.clienttag == CLIENTTAG_DIABLO2DV) || (user.clienttag == CLIENTTAG_DIABLO2XP)) ^ ~~~~~~~~~~~~~~~~~~~ client/bnchat.c:1731:77: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Got bad SERVER_ECHOREQ packet (expected %u bytes, got %u)\n",sizeof(t_server_echoreq),packet_get_size(rpacket)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu client/bnchat.c:1774:89: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Got bad SERVER_W3XP_CLAN_INVITEREQ packet (expected %u bytes, got %u)\n",sizeof(t_server_w3xp_clan_invitereq),packet_get_size(rpacket)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu client/bnchat.c:1816:91: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Got bad SERVER_W3XP_CLANMEMBERUPDATE packet (expected %u bytes, got %u)\n",sizeof(t_server_w3xp_clanmemberupdate),packet_get_size(rpacket)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu client/bnchat.c:1978:75: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Got bad SERVER_MESSAGE packet (expected %u bytes, got %u)",sizeof(t_server_message),packet_get_size(rpacket)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~ %lu client/bnchat.c:1995:111: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat] printf("Got SERVER_MESSAGE packet with bad or missing message (speaker=\"%s\" start=%u len=%u)\n",speaker,sizeof(t_server_message)+strlen(speaker)+1,packet_get_size(rpacket)); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ %lu 7 warnings generated. Compiling client/client.c Compiling client/client_connect.c client/client_connect.c:343:44: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] dprintf("my tzbias = %d (0x%08hx)\n",bias,(unsigned int)bias); ~~~~~ ^~~~~~~~~~~~~~~~~~ %08x 1 warning generated. Compiling client/udptest.c client/udptest.c:123:91: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] dprintf("Could not bind to standard UDP port %hu, trying others. (psock_bind: %s)\n",BNETD_MIN_TEST_PORT,pstrerror(psock_errno())); ~~~ ^~~~~~~~~~~~~~~~~~~ %d ./common/setup_before.h:197:31: note: expanded from macro 'BNETD_MIN_TEST_PORT' #define BNETD_MIN_TEST_PORT 6112 ^~~~ client/udptest.c:127:98: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] fprintf(stderr,"%s: could not bind to any UDP port %hu through %hu (psock_bind: %s)\n",progname,BNETD_MIN_TEST_PORT,BNETD_MAX_TEST_PORT,pstrerror(psock_errno())); ~~~ ^~~~~~~~~~~~~~~~~~~ %d ./common/setup_before.h:197:31: note: expanded from macro 'BNETD_MIN_TEST_PORT' #define BNETD_MIN_TEST_PORT 6112 ^~~~ client/udptest.c:127:118: warning: format specifies type 'unsigned short' but the argument has type 'int' [-Wformat] fprintf(stderr,"%s: could not bind to any UDP port %hu through %hu (psock_bind: %s)\n",progname,BNETD_MIN_TEST_PORT,BNETD_MAX_TEST_PORT,pstrerror(psock_errno())); ~~~ ^~~~~~~~~~~~~~~~~~~ %d ./common/setup_before.h:198:31: note: expanded from macro 'BNETD_MAX_TEST_PORT' #define BNETD_MAX_TEST_PORT 6500 ^~~~ 3 warnings generated. Compiling compat/vsnprintf.c Linking ../bin/bnchat Compiling bnpass/bnpass.c Linking ../bin/bnpass Compiling client/bnftp.c client/bnftp.c:494:32: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(packet),(unsigned int)packet_get_class(packet), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:495:54: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(packet,packet_dir_from_client),packet_get_type(packet), ^~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:690:32: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(packet),(unsigned int)packet_get_class(packet), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:691:54: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(packet,packet_dir_from_client),packet_get_type(packet), ^~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:715:38: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(fpacket),(unsigned int)packet_get_class(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:716:60: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(fpacket,packet_dir_from_server),packet_get_type(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:738:37: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(fpacket),(unsigned int)packet_get_class(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:739:59: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(fpacket,packet_dir_from_client),packet_get_type(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:757:38: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(rpacket),(unsigned int)packet_get_class(rpacket), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:758:60: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(rpacket,packet_dir_from_server),packet_get_type(rpacket), ^~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:823:38: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(fpacket),(unsigned int)packet_get_class(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:824:60: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(fpacket,packet_dir_from_server),packet_get_type(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:859:38: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_class_str(fpacket),(unsigned int)packet_get_class(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ client/bnftp.c:860:60: warning: format specifies type 'unsigned short' but the argument has type 'unsigned int' [-Wformat] packet_get_type_str(fpacket,packet_dir_from_server),packet_get_type(fpacket), ^~~~~~~~~~~~~~~~~~~~~~~~ 14 warnings generated. Linking ../bin/bnftp Compiling client/bnbot.c Linking ../bin/bnbot Compiling client/bnstat.c Linking ../bin/bnstat Compiling bniutils/bnilist.c Compiling bniutils/fileio.c Compiling bniutils/tga.c Linking ../bin/bnilist Compiling bniutils/bni2tga.c Linking ../bin/bni2tga Compiling bniutils/bniextract.c Compiling bniutils/bni.c Linking ../bin/bniextract Compiling bniutils/bnibuild.c Linking ../bin/bnibuild Compiling bniutils/tgainfo.c Linking ../bin/tgainfo Compiling tinycdb/cdb.c tinycdb/cdb.c:128:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(fi, buf, blen, posp, limit); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:133:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(fi, buf, len, posp, limit); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:150:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(f, buf, 2048, &pos, 2048); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:151:20: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] eod = cdb_unpack(buf); ^~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:153:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(f, buf, 8, &pos, eod); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:154:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] klen = cdb_unpack(buf); ^~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:155:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vlen = cdb_unpack(buf + 4); ^~~~~~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:200:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(f, buf, 8, &pos, eod); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:201:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] klen = cdb_unpack(buf); ^~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:202:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] vlen = cdb_unpack(buf + 4); ^~~~~~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:225:15: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(f, buf, 8, &pos, 0xffffffff); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:226:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!cdb_unpack(buf + 4)) continue; ^~~~~~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:227:23: warning: passing 'char *' to parameter of type 'const unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] h = (cdb_unpack(buf) >> 8) % hlen; ^~~ tinycdb/cdb.h:15:41: note: passing argument to parameter 'buf' here unsigned cdb_unpack(const unsigned char buf[4]); ^ tinycdb/cdb.c:306:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(f, buf, klen, NULL, 0); ^~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ tinycdb/cdb.c:308:13: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fget(f, buf + klen, vlen, NULL, 0); ^~~~~~~~~~ tinycdb/cdb.c:112:30: note: passing argument to parameter 'b' here fget(FILE *f, unsigned char *b, unsigned len, unsigned *posp, unsigned limit) ^ 15 warnings generated. Compiling compat/getopt.c Linking ../bin/bncdb sed -e "s@/usr/local/var/@/usr/local/share/pvpgn/@g" -e "s@/usr/local/etc/@/usr/local/etc/pvpgn/@g" ./../conf/bnetd.conf.in > ../conf/bnetd.conf sed -e "s@/usr/local/var/@/usr/local/share/pvpgn/@g" -e "s@/usr/local/etc/@/usr/local/etc/pvpgn/@g" ./../conf/d2cs.conf.in > ../conf/d2cs.conf sed -e "s@/usr/local/var/@/usr/local/share/pvpgn/@g" -e "s@/usr/local/etc/@/usr/local/etc/pvpgn/@g" ./../conf/d2dbs.conf.in > ../conf/d2dbs.conf =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pvpgn-1.8.5_2 ===> Generating temporary packing list ===> Creating groups. ===> Creating users Using compile command: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DHAVE_CONFIG_H -DBNETD_DEFAULT_CONF_FILE="/usr/local/etc/pvpgn/bnetd.conf" -DD2CS_DEFAULT_CONF_FILE="/usr/local/etc/pvpgn/d2cs.conf" -DD2DBS_DEFAULT_CONF_FILE="/usr/local/etc/pvpgn/d2dbs.conf" -I. -fno-strict-aliasing -c Linking ../sbin/bnetd Linking ../sbin/bntrackd Linking ../sbin/d2cs Linking ../sbin/d2dbs /usr/bin/install -c -d -m 755 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/sbin install -s -m 555 ./../sbin/bnetd /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/sbin install -s -m 555 ./../sbin/bntrackd /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/sbin install -s -m 555 ./../sbin/d2cs /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/sbin install -s -m 555 ./../sbin/d2dbs /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/sbin Linking ../bin/bnchat Linking ../bin/bnpass Linking ../bin/bnftp Linking ../bin/bnbot Linking ../bin/bnstat Linking ../bin/bnilist Linking ../bin/bni2tga Linking ../bin/bniextract Linking ../bin/bnibuild Linking ../bin/tgainfo Linking ../bin/bncdb /usr/bin/install -c -d -m 755 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnchat /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnpass /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnftp /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnbot /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnstat /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnilist /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bni2tga /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bniextract /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bnibuild /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/tgainfo /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin install -s -m 555 ./../bin/bncdb /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/bin /usr/bin/install -c -d -m 755 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man5 install -m 0644 ./../man/bnetd.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bntrackd.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnchat.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnpass.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnbot.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnftp.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnstat.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnetd.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bni2tga.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnibuild.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bniextract.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnilist.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/tgainfo.1 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man1 install -m 0644 ./../man/bnetd.conf.5 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man5 install -m 0644 ./../man/bntext.5 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/man/man5 /usr/bin/install -c -d -m 755 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnetd.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/ad.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/channel.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/realm.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/autoupdate.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnetd_default_user.plain-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnetd_default_user.cdb-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/versioncheck.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnmotd.txt-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnissue.txt-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnmaps.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnxplevel.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnxpcalc.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/news.txt-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/command_groups.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnban.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnhelp.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/bnalias.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/anongame_infos.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/tournament.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/topics.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/sql_DB_layout.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/sql_DB_layout2.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/address_translation.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/supportfile.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/d2cs.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/d2server.ini-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/address_translation.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn install -m 0644 ./../conf/d2dbs.conf-sample /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/etc/pvpgn /usr/bin/install -c -d -m 755 /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/users /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/userscdb /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/bnmail /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/reports \ /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/chanlogs /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/charinfo /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/charsave /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/bak/charsave \ /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/bak/charinfo /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/ladders /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/status \ /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/clans /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/teams install -m 0644 ./../files/ad000001.smk /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/ad000001.mng /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/ad000004.mng /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/tos.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/newbie.save /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/termsofservice-default.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/termsofservice-enUS.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/chathelp-war3-default.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/chathelp-war3-enUS.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/chathelp-war3-frFR.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/chathelp-war3-zhCN.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/chathelp-war3-ruRU.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/newaccount-default.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files install -m 0644 ./../files/newaccount-enUS.txt /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files chmod u+x ./../scripts/tos.sh ./../scripts/tos.sh /wrkdirs/usr/ports/games/pvpgn/work/stage//usr/local/share/pvpgn/files Generating Term Of Service for language "RUS" Generating Term Of Service for language "POL" Generating Term Of Service for language "CHI" Generating Term Of Service for language "SIN" Generating Term Of Service for language "HAN" Generating Term Of Service for language "KOR" Generating Term Of Service for language "JPN" Generating Term Of Service for language "ITA" Generating Term Of Service for language "BRA" Generating Term Of Service for language "POR" Generating Term Of Service for language "FRA" Generating Term Of Service for language "DEU" Generating Term Of Service for language "ESP" Generating Term Of Service for language "USA" Generating Term Of Service for language "ENU" >>> installing support files ... install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/IX86ver1.mpq /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/PMACver1.mpq /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/XMACver1.mpq /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/bnserver-D2DV.ini /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/bnserver-D2XP.ini /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/bnserver-WAR3.ini /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/bnserver.ini /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/icons-WAR3.bni /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/icons.bni /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/icons_STAR.bni /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/pvpgn-support-1.2/ver-ix86-1.mpq /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/pvpgn/files /bin/mkdir -p /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/doc/pvpgn install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/../docs/INSTALL.unix /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/doc/pvpgn install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/../docs/PORTS /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/doc/pvpgn install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/../docs/README.fdwatch /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/doc/pvpgn install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/../docs/README.storage /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/doc/pvpgn install -m 0644 /wrkdirs/usr/ports/games/pvpgn/work/pvpgn-1.8.5/src/../docs/bnmotd.txt /wrkdirs/usr/ports/games/pvpgn/work/stage/usr/local/share/doc/pvpgn ====> Compressing man pages (compress-man) ===> Staging rc.d startup script(s) =========================================================================== =================================================== ===== 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-03-31T19:11:41+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=5a5fde289c' '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 pvpgn-1.8.5_2 ===> Building pvpgn-1.8.5_2 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pvpgn-1.8.5_2 build of games/pvpgn | pvpgn-1.8.5_2 ended at Sun Mar 31 20:12:43 BST 2024 build time: 00:01:04