Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Dec 2017 12:37:29 GMT
From:      pkg-fallout@FreeBSD.org
To:        knu@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 111amd64-default][games/unnethack] Failed for unnethack-5.1.0.20131208 in build
Message-ID:  <201712161237.vBGCbTkG088109@beefy9.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     knu@FreeBSD.org
Last committer: antoine@FreeBSD.org
Ident:          $FreeBSD: head/games/unnethack/Makefile 441925 2017-05-28 21:18:04Z antoine $
Log URL:        http://beefy9.nyi.freebsd.org/data/111amd64-default/456453/logs/unnethack-5.1.0.20131208.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=111amd64-default&build=456453
Log:

=>> Building games/unnethack
build started at Sat Dec 16 12:35:50 UTC 2017
port directory: /usr/ports/games/unnethack
package name: unnethack-5.1.0.20131208
building for: FreeBSD 111amd64-default-job-10 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 amd64
maintained by: knu@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/unnethack/Makefile 441925 2017-05-28 21:18:04Z antoine $
Poudriere version: 3.2.3-16-g77e43413
Host OSVERSION: 1200052
Jail OSVERSION: 1101001
Job Id: 10

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p6
UNAME_r=11.1-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/111amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/111amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/111amd64-default/ref/.p/pool
MASTERNAME=111amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.3-16-g77e43413
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for unnethack-5.1.0.20131208:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
knu@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--datadir="/usr/local/share"  --localstatedir="/usr/local/var/games"  --docdir="/usr/local/share/doc"  --with-owner=no  --with-group=no  --enable-data-librarian  LFLAGS=" -fstack-protector" --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/unnethack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/unnethack/work  HOME=/wrkdirs/usr/ports/games/unnethack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/unnethack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/unnethack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/unnethack/work  HOME=/wrkdirs/usr/ports/games/unnethack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/unnethack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
VARDIR="var/games/unnethack" OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/unnethack"  EXAMPLESDIR="share/examples/unnethack"  DATADIR="share/unnethack"  WWWDIR="www/unnethack"  ETCDIR="etc/unnethack"
--End PLIST_SUB--

--SUB_LIST--
VARDIR="/usr/local/var/games/unnethack" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/unnethack DOCSDIR=/usr/local/share/doc/unnethack EXAMPLESDIR=/usr/local/share/examples/unnethack  WWWDIR=/usr/local/www/unnethack ETCDIR=/usr/local/etc/unnethack
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.1-RELEASE-p6
#### Misc Poudriere ####
GID=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)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   unnethack-5.1.0.20131208 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.3_1.txz
[111amd64-default-job-10] Installing pkg-1.10.3_1...
[111amd64-default-job-10] Extracting pkg-1.10.3_1: .......... done
===>   unnethack-5.1.0.20131208 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of unnethack-5.1.0.20131208
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by unnethack-5.1.0.20131208 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by unnethack-5.1.0.20131208 for building
=> SHA256 Checksum OK for unnethack-5.1.0-20131208.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by unnethack-5.1.0.20131208 for building
===>  Extracting for unnethack-5.1.0.20131208
=> SHA256 Checksum OK for unnethack-5.1.0-20131208.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for unnethack-5.1.0.20131208
===>  Applying FreeBSD patches for unnethack-5.1.0.20131208
/bin/mv /wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc/nethack.6 /wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc/unnethack.6
===========================================================================
=======================<phase: build-depends  >============================
===>   unnethack-5.1.0.20131208 depends on executable: gmake - not found
===>   Installing existing package /packages/All/gmake-4.2.1_1.txz
[111amd64-default-job-10] Installing gmake-4.2.1_1...
[111amd64-default-job-10] `-- Installing gettext-runtime-0.19.8.1_1...
[111amd64-default-job-10] |   `-- Installing indexinfo-0.3.1...
[111amd64-default-job-10] |   `-- Extracting indexinfo-0.3.1: .... done
[111amd64-default-job-10] `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[111amd64-default-job-10] Extracting gmake-4.2.1_1: .......... done
===>   unnethack-5.1.0.20131208 depends on executable: gmake - found
===>   Returning to build of unnethack-5.1.0.20131208
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for unnethack-5.1.0.20131208
configure: loading site script /usr/ports/Templates/config.site
checking whether ln -s works... yes
checking for gawk... (cached) /usr/bin/awk
checking dummy-graphics... no
checking lisp-graphics... no
checking curses-graphics... no
checking tty-graphics... yes
checking x11-graphics... no
checking mswin-graphics... no
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking build system type... amd64-portbld-freebsd11.1
checking host system type... amd64-portbld-freebsd11.1
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -lfl
checking whether yytext is a pointer... yes
checking for bison... no
<snip>
./Guidebook.mn:1969: warning [p 39, 7.8i]: cannot adjust line
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/doc'
( cd dat ; gmake data )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
./util/makedefs -d
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
( cd dat ; gmake oracles )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
./util/makedefs -h
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
( cd dat ; gmake options )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
gmake[2]: 'options' is up to date.
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
( cd dat ; gmake quest.dat )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
./util/makedefs -q
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
( cd dat ; gmake rumors )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
./util/makedefs -r
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
( cd util ; gmake lev_comp )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util'
byacc  -b lev -d ./lev_comp.y
mv lev.tab.c lev_yacc.c
mv lev.tab.h ../include/lev_comp.h
cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe  -fstack-protector -fno-strict-aliasing   -c -o lev_yacc.o lev_yacc.c
./lev_comp.y:1182:34: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                      add_opvars(splev, "mio", SP_MAPCHAR_PACK(ROOM,-2), yystack.l_mark[0].i, SPO_WALLWALK);
                                               ^~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK'
#define SP_MAPCHAR_PACK(typ,lit) ((( lit ) << 8) + ((char)( typ )))
                                   ~~~~~~~ ^
./lev_comp.y:2234:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                          yyval.i = SP_MAPCHAR_PACK(what_map_char((char) yystack.l_mark[0].i), -2);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK'
#define SP_MAPCHAR_PACK(typ,lit) ((( lit ) << 8) + ((char)( typ )))
                                   ~~~~~~~ ^
./lev_comp.y:2237:16: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                          yyval.i = SP_MAPCHAR_PACK(STONE, -2);
                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:295:44: note: expanded from macro 'SP_MAPCHAR_PACK'
#define SP_MAPCHAR_PACK(typ,lit) ((( lit ) << 8) + ((char)( typ )))
                                   ~~~~~~~ ^
./lev_comp.y:2283:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                            yyval.i = SP_MONST_PACK(-1, yystack.l_mark[0].i);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:287:36: note: expanded from macro 'SP_MONST_PACK'
#define SP_MONST_PACK(m,c) ((( m ) << 8) + ((char)( c )))
                             ~~~~~ ^
./lev_comp.y:2378:18: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
                            yyval.i = SP_OBJ_PACK(-1, yystack.l_mark[0].i);
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:291:35: note: expanded from macro 'SP_OBJ_PACK'
#define SP_OBJ_PACK(o,c)  ((( o ) << 8) + ((char)( c )))
                            ~~~~~ ^
5 warnings generated.
rm -f lev_lex.yy.c
flex -t  ./lev_comp.l > lev_lex.yy.c
mv lev_lex.yy.c lev_lex.c
cc -DAUTOCONF -c -O2 -I../include -I./../include -O2 -pipe -fstack-protector -fno-strict-aliasing lev_lex.c
./lev_comp.l:329:4: warning: implicit declaration of function 'lc_error' is invalid in C99 [-Wimplicit-function-declaration]
                        lc_error("Unexpected percentile '%li%%'", yylval.i);
                        ^
./lev_comp.l:396:5: warning: implicit declaration of function 'yyerror' is invalid in C99 [-Wimplicit-function-declaration]
    yyerror("Too deep includes");
    ^
./lev_comp.l:410:8: warning: implicit declaration of function 'yyparse' is invalid in C99 [-Wimplicit-function-declaration]
       yyparse();
       ^
./lev_comp.l:509:11: warning: implicit declaration of function 'is_core_func' is invalid in C99 [-Wimplicit-function-declaration]
  int f = is_core_func(s);
          ^
./lev_comp.l:511:13: warning: implicit declaration of function 'core_func_idx' is invalid in C99 [-Wimplicit-function-declaration]
    int i = core_func_idx(s);
            ^
./lev_comp.l:512:13: warning: implicit declaration of function 'core_func_retval' is invalid in C99 [-Wimplicit-function-declaration]
    switch (core_func_retval(i)) {
            ^
6 warnings generated.
gmake[3]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src'
gmake[3]: '../include/date.h' is up to date.
gmake[3]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/src'
cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe  -fstack-protector -fno-strict-aliasing   -c -o lev_main.o lev_main.c
lev_main.c:388:10: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
                       token_start_pos-strlen(curr_token), s);
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lev_main.c:718:61: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                    fprintf(stderr, "add_opvars: unknown opcode '%i'.\n", i);
                                                                 ~~       ^
                                                                 %li
lev_main.c:1543:60: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                       snprintf(debuf, 127, "%li:\t%s\tcoord:(%i,%i)\n", i, opcodestr[tmpo.opcode],
                                             ~~~                         ^
                                             %i
lev_main.c:1544:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                (ov->vardata.l & 0xff), ((ov->vardata.l >> 16) & 0xff));
                                ^~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1544:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                (ov->vardata.l & 0xff), ((ov->vardata.l >> 16) & 0xff));
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1548:67: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                       snprintf(debuf, 127, "%li:\t%s\tregion:(%i,%i,%i,%i)\n", i, opcodestr[tmpo.opcode],
                                             ~~~                                ^
                                             %i
lev_main.c:1549:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                (ov->vardata.l & 0xff), ((ov->vardata.l >> 8) & 0xff),
                                ^~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1549:29: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                (ov->vardata.l & 0xff), ((ov->vardata.l >> 8) & 0xff),
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1550:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                ((ov->vardata.l >> 16) & 0xff), ((ov->vardata.l >> 24) & 0xff));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1550:37: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                ((ov->vardata.l >> 16) & 0xff), ((ov->vardata.l >> 24) & 0xff));
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1555:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                                i, opcodestr[tmpo.opcode],
                                ^
lev_main.c:1556:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                SP_OBJ_TYP(ov->vardata.l), SP_OBJ_CLASS(ov->vardata.l));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:290:25: note: expanded from macro 'SP_OBJ_TYP'
#define SP_OBJ_TYP(l)     ((l >> 8) & 0xffff)
                          ^~~~~~~~~~~~~~~~~~~
lev_main.c:1556:32: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                SP_OBJ_TYP(ov->vardata.l), SP_OBJ_CLASS(ov->vardata.l));
                                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:289:27: note: expanded from macro 'SP_OBJ_CLASS'
#define SP_OBJ_CLASS(l)   (l & 0xff)
                          ^~~~~~~~~~
lev_main.c:1560:74: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                       snprintf(debuf, 127, "%li:\t%s\tmonster:(pm=%i, class='%c')\n", i, opcodestr[tmpo.opcode],
                                             ~~~                                       ^
                                             %i
lev_main.c:1561:5: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                SP_MONST_PM(ov->vardata.l), SP_MONST_CLASS(ov->vardata.l));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:286:26: note: expanded from macro 'SP_MONST_PM'
#define SP_MONST_PM(l)    ((l >> 8) & 0xffff)
                          ^~~~~~~~~~~~~~~~~~~
lev_main.c:1561:33: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                SP_MONST_PM(ov->vardata.l), SP_MONST_CLASS(ov->vardata.l));
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/sp_lev.h:285:27: note: expanded from macro 'SP_MONST_CLASS'
#define SP_MONST_CLASS(l) (l & 0xff)
                          ^~~~~~~~~~
lev_main.c:1565:63: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                       snprintf(debuf, 127, "%li:\t%s\tmapchar:(%li,%i)\n", i, opcodestr[tmpo.opcode],
                                             ~~~                            ^
                                             %i
lev_main.c:1566:5: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                                (int)SP_MAPCHAR_TYP(ov->vardata.l), (schar)SP_MAPCHAR_LIT(ov->vardata.l));
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
lev_main.c:1571:59: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                           snprintf(debuf, 127, "%li:\t%s\tint:%li\t# '%c'\n", i, opcodestr[tmpo.opcode], ov->vardata.l, (char)ov->vardata.l);
                                                 ~~~                           ^
                                                 %i
lev_main.c:1573:51: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                           snprintf(debuf, 127, "%li:\t%s\tint:%li\n", i, opcodestr[tmpo.opcode], ov->vardata.l);
                                                 ~~~                   ^
                                                 %i
lev_main.c:1592:52: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                                   snprintf(debuf, 127, "%li:\t%s\tvar:$%s\n", i, opcodestr[tmpo.opcode], ov->vardata.str);
                                                         ~~~                   ^
                                                         %i
lev_main.c:1594:55: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                                   snprintf(debuf, 127, "%li:\t%s\tstr:\"%s\"\n", i, opcodestr[tmpo.opcode], ov->vardata.str);
                                                         ~~~                      ^
                                                         %i
lev_main.c:1597:50: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                               snprintf(debuf, 127, "%li:\t%s\tstr:", i, opcodestr[tmpo.opcode]);
                                                     ~~~              ^
                                                     %i
lev_main.c:1616:44: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
               snprintf(debuf, 127, "%li:\t%s\n", i, opcodestr[tmpo.opcode]);
                                     ~~~          ^
                                     %i
24 warnings generated.
cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe  -fstack-protector -fno-strict-aliasing -c ./../src/drawing.c -o ../src/drawing_util.o
cc -DAUTOCONF -O2 -I../include -I./../include -O2 -pipe  -fstack-protector -fno-strict-aliasing -c ./../src/decl.c -o ../src/decl_util.o
cc -DAUTOCONF -fstack-protector -o lev_comp lev_yacc.o lev_lex.o lev_main.o ../src/alloc_util.o panic.o ../src/drawing_util.o ../src/decl_util.o ../src/monst_util.o ../src/objects_util.o 
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/util'
( cd dat ; gmake spec_levs )
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
rm -f vaults.dat
./util/lev_comp  ./vaults.des
./vaults.des: line 110, pos 9 : Core function 'level.depth' has unknown return type 'i'.
./vaults.des: line 110, pos 9 : syntax error at "level.depth"
gmake[2]: *** [Makefile:303: spec_levs] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208/dat'
gmake[1]: *** [Makefile:177: spec_levs] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/unnethack/work/unnethack-5.1.0-20131208'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/unnethack



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712161237.vBGCbTkG088109>