[REL - 10i386-default][games/wanderer] Failed for wanderer-3.2 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Jan 2 19:01:15 UTC 2014


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:     marina at surferz.net
Last committer: bapt at FreeBSD.org
Ident:          $FreeBSD: head/games/wanderer/Makefile 327730 2013-09-20 17:36:33Z bapt $
Log URL:        http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-01-02_11h07m14s/logs/wanderer-3.2.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/10i386-default/2014-01-02_11h07m14s
Log:

====>> Building games/wanderer
build started at Thu Jan  2 19:01:12 UTC 2014
port directory: /usr/ports/games/wanderer
building for: FreeBSD 10i386-default-job-02 10.0-RC1 FreeBSD 10.0-RC1 i386
maintained by: marina at surferz.net
Makefile ident:      $FreeBSD: head/games/wanderer/Makefile 327730 2013-09-20 17:36:33Z bapt $
Poudriere version: 3.1-pre

---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1000510
UNAME_v=FreeBSD 10.0-RC1
UNAME_r=10.0-RC1
BLOCKSIZE=K
MAIL=/var/mail/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/10i386-default/ref
PKG_EXT=txz
tpid=87328
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=wanderer-3.2
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=10i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
---End OPTIONS List---

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
DOCSDIR="/usr/local/share/doc/wanderer" MKDIR="/bin/mkdir -p" CHOWN="/usr/sbin/chown"  CHGRP="/usr/bin/chgrp" CHMOD="/bin/chmod" TOUCH="/usr/bin/touch" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--SUB_LIST--
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/wanderer
DOCSDIR=/usr/local/share/doc/wanderer
EXAMPLESDIR=/usr/local/share/examples/wanderer
WWWDIR=/usr/local/www/wanderer
ETCDIR=/usr/local/etc/wanderer
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for wanderer-3.2
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   wanderer-3.2 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.4_1.txz
Installing pkg-1.2.4_1... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of wanderer-3.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by wanderer-3.2 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by wanderer-3.2 for building
=> SHA256 Checksum OK for wanderer-3.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by wanderer-3.2 for building
===>  Extracting for wanderer-3.2
=> SHA256 Checksum OK for wanderer-3.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for wanderer-3.2
===>  Applying FreeBSD patches for wanderer-3.2
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for wanderer-3.2
===========================================================================
=======================<phase: build          >============================
===>  Building for wanderer-3.2
cc -O2 -pipe -fno-strict-aliasing  -c monsters.c
In file included from monsters.c:23:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
monsters.c:54:11: warning: incompatible redeclaration of library function 'malloc' [-Wincompatible-library-redeclaration]
    char *malloc();
          ^
monsters.c:54:11: note: 'malloc' is a builtin with type 'void *(unsigned int)'
monsters.c:174:46: warning: '&&' within '||' [-Wlogical-op-parentheses]
                if(((*mxp+xdirection)<ROWLEN)&&(screen[*myp][*mxp+xdirection] == ' ')||(screen[*myp][*mxp+xdirection] == '@'))
                   ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
monsters.c:174:46: note: place parentheses around the '&&' expression to silence this warning
                if(((*mxp+xdirection)<ROWLEN)&&(screen[*myp][*mxp+xdirection] == ' ')||(screen[*myp][*mxp+xdirection] == '@'))
                                             ^
                   (                                                                 )
4 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c m.c
In file included from m.c:25:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
m.c:62:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
  while(read(fd,ptr,1)==1) 
        ^
m.c:98:20: warning: implicit declaration of function 'tgetnum' is invalid in C99 [-Wimplicit-function-declaration]
        maxlines = tgetnum("li") - 3;
                   ^
m.c:123:26: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types]
                select(1,&inp,&nul,&nul,&tv);
                         ^~~~
/usr/include/sys/select.h:103:25: note: passing argument to parameter here
int     select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                            ^
m.c:123:31: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types]
                select(1,&inp,&nul,&nul,&tv);
                              ^~~~
/usr/include/sys/select.h:103:35: note: passing argument to parameter here
int     select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                                      ^
m.c:123:36: warning: incompatible pointer types passing 'int *' to parameter of type 'fd_set *' (aka 'struct fd_set *') [-Wincompatible-pointer-types]
                select(1,&inp,&nul,&nul,&tv);
                                   ^~~~
/usr/include/sys/select.h:103:45: note: passing argument to parameter here
int     select(int, fd_set *, fd_set *, fd_set *, struct timeval *);
                                                ^
m.c:204:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
main(int argc,char **argv)
^~~~
m.c:220:13: warning: implicit declaration of function 'getopt' is invalid in C99 [-Wimplicit-function-declaration]
while(( c = getopt(argc,argv,"01k:et:r:fmCcvsi")) != -1 )
            ^
m.c:276:5: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
    close(fp);
    ^
m.c:338:58: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                                            name,howdead,score,num); 
                                                         ^~~~~
11 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c save.c
In file included from save.c:23:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
save.c:97:14: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
             unlink(fname);
             ^
save.c:126:9: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
        exit(0);
<snip>
game.c:173:46: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
        if((record_file != -1)&&(ch != 'q')) write(record_file,&ch,1);
                                             ^
game.c:236:13: warning: implicit declaration of function 'helpme' is invalid in C99 [-Wimplicit-function-declaration]
            helpme(1);
            ^
game.c:403:42: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                sprintf(buffer,"%d\t %d",*score,nf);
                                ~~       ^~~~~~
                                %ld
game.c:434:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                    sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds);
                                    ~~             ^~~~~~
                                    %ld
game.c:517:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                    sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds);
                                    ~~             ^~~~~~
                                    %ld
game.c:565:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                    sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds);
                                    ~~             ^~~~~~
                                    %ld
game.c:639:52: warning: format specifies type 'int' but the argument has type 'long' [-Wformat]
                    sprintf(buffer,"%d\t %d\t %d ",*score,nf,diamonds);
                                    ~~             ^~~~~~
                                    %ld
9 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c read.c
In file included from read.c:23:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
read.c:73:9: warning: array index 61 is past the end of the array (which contains 61 elements) [-Warray-bounds]
        screen_name[61] = '\0';
        ^           ~~
read.c:31:1: note: array 'screen_name' declared here
extern char screen_name[61];
^
read.c:100:39: warning: implicit declaration of function 'getpid' is invalid in C99 [-Wimplicit-function-declaration]
        sprintf(name,"/tmp/screen.%d",getpid());
                                      ^
read.c:107:13: warning: implicit declaration of function 'err' is invalid in C99 [-Wimplicit-function-declaration]
            err(1,"Could not open %s.\n",buffer);
            ^
5 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c help.c
In file included from help.c:4:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
2 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c fall.c
In file included from fall.c:23:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
fall.c:155:18: warning: implicit declaration of function 'bang' is invalid in C99 [-Wimplicit-function-declaration]
        retval = bang(nx,y,mx,my,sx,sy,howdead);
                 ^
3 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c scores.c
In file included from scores.c:23:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
scores.c:31:48: warning: '/*' within block comment [-Wcomment]
/*#define LOCK     flock( fp->_cnt , LOCK_EX ) /* peeked at stdio.h ! */
                                               ^
scores.c:32:48: warning: '/*' within block comment [-Wcomment]
/*#define UNLOCK   flock( fp->_cnt , LOCK_UN ) /*                     */
                                               ^
scores.c:156:5: warning: implicit declaration of function 'errx' is invalid in C99 [-Wimplicit-function-declaration]
    LOCK;    /* BUG is HERE !!! */
    ^
scores.c:35:81: note: expanded from macro 'LOCK'
#define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */
                                                                                ^
scores.c:156:5: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))'
scores.c:35:125: note: expanded from macro 'LOCK'
#define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */
                                                                                                                            ^
scores.c:156:5: note: please include the header <stdlib.h> or explicitly provide a declaration for 'exit'
scores.c:35:125: note: expanded from macro 'LOCK'
#define LOCK if((lock = open(LOCKFILE, O_CREAT | O_TRUNC | O_WRONLY, "r"))==-1){errx (1,"%s","Lockfile creation failed\n"); exit(1);} /* Marina */
                                                                                                                            ^
scores.c:167:9: warning: implicit declaration of function 'unlink' is invalid in C99 [-Wimplicit-function-declaration]
        UNLOCK;
        ^
scores.c:37:16: note: expanded from macro 'UNLOCK'
#define UNLOCK unlink(LOCKFILE)
               ^
scores.c:243:9: warning: implicit declaration of function 'chmod' is invalid in C99 [-Wimplicit-function-declaration]
        chmod(HISCOREPATH,0666);
        ^
scores.c:252:9: warning: implicit declaration of function 'err' is invalid in C99 [-Wimplicit-function-declaration]
        err(1,"%s","Error in savescore - fopen HISCOREPATH failed\n");
        ^
scores.c:317:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
erase_scores()
^~~~~~~~~~~~
scores.c:351:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
11 warnings generated.
cc -O2 -pipe -fno-strict-aliasing  -c edit.c
In file included from edit.c:24:
./wand_head.h:60:29: warning: '/*' within block comment [-Wcomment]
/* #define COMPARE_BY_NAME  /* define this to compare by name, not uid         */
                            ^
./wand_head.h:61:26: warning: '/*' within block comment [-Wcomment]
/* #define NO_ENCRYPTION /* define this to disable the savefile encryptor */
                         ^
edit.c:65:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
check_legality()
^~~~~~~~~~~~~~
edit.c:102:30: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        if(inform_me(buf,1)) return;
                             ^
edit.c:106:61: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        if(inform_me("++++ Warning: Too many teleports",1)) return;
                                                            ^
edit.c:111:68: error: non-void function 'check_legality' should return a value [-Wreturn-type]
            if(inform_me("**** No arrivals without teleports.",1)) return;
                                                                   ^
edit.c:112:59: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        } else if(inform_me("**** Too many arrivals.",1)) return;
                                                          ^
edit.c:116:58: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        if(inform_me("**** No arrival for teleport.",1)) return;
                                                         ^
edit.c:121:56: error: non-void function 'check_legality' should return a value [-Wreturn-type]
            if(inform_me("**** No start position.",1)) return;
                                                       ^
edit.c:122:65: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        } else if(inform_me("**** Too many start positions.",1))return;
                                                                ^
edit.c:126:51: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        if(inform_me("**** Too many monsters.",1))return;
                                                  ^
edit.c:131:55: error: non-void function 'check_legality' should return a value [-Wreturn-type]
            if(inform_me("**** No exit to screen.",1))return;
                                                      ^
edit.c:132:64: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        } else if(inform_me("++++ Warning: Too many exits.",1))return;
                                                               ^
edit.c:136:30: error: non-void function 'check_legality' should return a value [-Wreturn-type]
        if(inform_me(buf,1)) return;
                             ^
edit.c:182:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
clearbottom()
^~~~~~~~~~~
edit.c:226:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
screen_save(maxmoves)
^~~~~~~~~~~
edit.c:260:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
screen_read(maxmoves)
^~~~~~~~~~~
edit.c:275:21: error: non-void function 'screen_read' should return a value [-Wreturn-type]
    if( ! file[0] ) return;
                    ^
edit.c:288:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
edit_save()
^~~~~~~~~
edit.c:301:13: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
        i = write(fd, edit_memory, (int)(memory_end - edit_memory));
            ^
edit.c:310:1: warning: type specifier missing, defaults to 'int' [-Wimplicit-int]
edit_restore()
^~~~~~~~~~~~
edit.c:324:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
    i = read(fd, edit_memory, EMSIZE);
        ^
edit.c:459:9: warning: array index 61 is past the end of the array (which contains 61 elements) [-Warray-bounds]
        screen_name[61] = '\0';
        ^           ~~
edit.c:35:1: note: array 'screen_name' declared here
extern char screen_name[61];
^
11 warnings and 12 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/games/wanderer/work/wanderer-3.2
*** Error code 1

Stop.
make: stopped in /usr/ports/games/wanderer
===>  Cleaning for wanderer-3.2


More information about the freebsd-pkg-fallout mailing list