Date: Wed, 8 Jan 2014 01:51:11 GMT From: pkg-fallout@FreeBSD.org To: joerg@FreeBSD.org Cc: pkg-fallout@FreeBSD.org Subject: [REL - 10amd64-quarterly][games/xpacman] Failed for xpacman-1.0_3 in build Message-ID: <201401080151.s081pB6f092436@beefy2.isc.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: joerg@FreeBSD.org Last committer: bapt@FreeBSD.org Ident: $FreeBSD: branches/2014Q1/games/xpacman/Makefile 327730 2013-09-20 17:36:33Z bapt $ Log URL: http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/2014-01-08_01h07m09s/logs/xpacman-1.0_3.log Build URL: http://beefy2.isc.freebsd.org/bulk/10amd64-quarterly/2014-01-08_01h07m09s Log: ====>> Building games/xpacman build started at Wed Jan 8 01:50:58 UTC 2014 port directory: /usr/ports/games/xpacman building for: FreeBSD 10amd64-quarterly-job-13 10.0-RC1 FreeBSD 10.0-RC1 amd64 maintained by: joerg@FreeBSD.org Makefile ident: $FreeBSD: branches/2014Q1/games/xpacman/Makefile 327730 2013-09-20 17:36:33Z bapt $ Poudriere version: 3.1-pre ---Begin Environment--- 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/10amd64-quarterly/ref PKG_EXT=txz tpid=73237 POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=xpacman-1.0_3 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=10amd64-quarterly 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" IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- TMPDIR="/tmp" IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" 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/xpacman DOCSDIR=/usr/local/share/doc/xpacman EXAMPLESDIR=/usr/local/share/examples/xpacman WWWDIR=/usr/local/www/xpacman ETCDIR=/usr/local/etc/xpacman --End SUB_LIST-- ---Begin make.conf--- 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 xpacman-1.0_3 =======================<phase: check-config >============================ =========================================================================== =======================<phase: pkg-depends >============================ ===> xpacman-1.0_3 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 xpacman-1.0_3 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> Fetching all distfiles required by xpacman-1.0_3 for building =========================================================================== =======================<phase: checksum >============================ ===> Fetching all distfiles required by xpacman-1.0_3 for building => SHA256 Checksum OK for pacman10.zip. =========================================================================== =======================<phase: extract-depends>============================ ===> xpacman-1.0_3 depends on file: /usr/local/bin/unzip - not found ===> Verifying install for /usr/local/bin/unzip in /usr/ports/archivers/unzip ===> Installing existing package /packages/All/unzip-6.0_1.txz Installing unzip-6.0_1... done ===> Returning to build of xpacman-1.0_3 =========================================================================== =======================<phase: extract >============================ ===> Fetching all distfiles required by xpacman-1.0_3 for building ===> Extracting for xpacman-1.0_3 => SHA256 Checksum OK for pacman10.zip. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for xpacman-1.0_3 ===> Applying FreeBSD patches for xpacman-1.0_3 =========================================================================== =======================<phase: build-depends >============================ ===> xpacman-1.0_3 depends on executable: imake - not found ===> Verifying install for imake in /usr/ports/devel/imake ===> Installing existing package /packages/All/imake-1.0.6_1,1.txz Installing imake-1.0.6_1,1...Installing gccmakedep-1.0.2_1... done Installing makedepend-1.0.5,1...Installing xproto-7.0.24... done done Installing perl5-5.16.3_6...Removing /usr/local/etc/perl5_version... Done. Creating /usr/local/etc/perl5_version... Done. Removing stale symlinks from /usr/bin... Skipping /usr/bin/perl Skipping /usr/bin/perl5 Done. Creating various symlinks in /usr/bin... Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl Symlinking /usr/local/bin/perl5.16.3 to /usr/bin/perl5 Done. done Installing xorg-cf-files-1.0.5_1... done done ===> Returning to build of xpacman-1.0_3 ===> xpacman-1.0_3 depends on executable: tradcpp - not found ===> Verifying install for tradcpp in /usr/ports/devel/tradcpp ===> Installing existing package /packages/All/tradcpp-0.4.txz Installing tradcpp-0.4... done ===> Returning to build of xpacman-1.0_3 ===> xpacman-1.0_3 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11 ===> Installing existing package /packages/All/libX11-1.6.2,1.txz Installing libX11-1.6.2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8... done Installing libXdmcp-1.1.1... done Installing libpthread-stubs-0.3_4... done Installing libxcb-1.9.1_1...Installing libxml2-2.8.0_3... done done done ===> Returning to build of xpacman-1.0_3 ===> xpacman-1.0_3 depends on file: /usr/local/libdata/pkgconfig/xext.pc - not found ===> Verifying install for /usr/local/libdata/pkgconfig/xext.pc in /usr/ports/x11/libXext ===> Installing existing package /packages/All/libXext-1.3.2,1.txz Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done done ===> Returning to build of xpacman-1.0_3 =========================================================================== =======================<phase: lib-depends >============================ =========================================================================== =======================<phase: configure >============================ ===> Configuring for xpacman-1.0_3 imake -DUseInstalled -I/usr/local/lib/X11/config make Makefiles make includes make depend rm -f .depend gccmakedep -f- -- -I/usr/local/include -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -- arg.cc blank.cc board.cc bonus.cc bonuslif.cc bonuspnt.cc colour.cc corner.cc corner1.cc corner2.cc corner3.cc corner4.cc cross.cc direc.cc dynamiel.cc e0.cc e180.cc e270.cc e90.cc element.cc food.cc gamedata.cc gblank.cc gboard.cc gbonlife.cc gbonpnt.cc gdynelem.cc gfood.cc gghost.cc ghost.cc gpacman.cc graphele.cc gspecwal.cc gsupfood.cc horiwall.cc pac.cc pacman.cc point.cc specwall.cc supefood.cc t0.cc t180.cc t270.cc t90.cc timing.cc usrinter.cc vertwall.cc walls.cc > .depend =========================================================================== =======================<phase: build >============================ ===> Building for xpacman-1.0_3 rm -f pacman._man if test -z "" ; then cd `dirname pacman` && ln -s `basename pacman.man` `basename pacman._man`; else tradcpp -undef -traditional -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org" < pacman.man | sed -e '/^# *[0-9][0-9]* *.*$/d' -e '/^#line *[0-9][0-9]* *.*$/d' -e '/^[ ]*XCOMM$/s/XCOMM/#/' -e '/^[ ]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' -e '/^[ ]*XHASH/s/XHASH/#/' -e '/\@\@$/s/\@\@$/\\/' >pacman._man; fi c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c arg.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c blank.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c board.cc board.cc:29:20: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (!u) { pacexit("no userinterface"); } ^ board.cc:53:38: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] default: { g=new Blank; pacwarning("unrecognized");} break; ^ board.cc:57:18: warning: delete called on 'Element' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] if (board[i][j]) delete board[i][j]; ^ board.cc:70:3: warning: delete called on 'Element' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] delete board[i][j]; ^ board.cc:128:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] pacwarning("zero"); ^ board.cc:134:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] pacwarning("zero"); ^ board.cc:151:20: warning: delete called on 'Element' that is abstract but has non-virtual destructor [-Wdelete-non-virtual-dtor] if (board[xx][yy]) delete board[xx][yy];//delete the element ^ 7 warnings generated. c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c bonus.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c bonuslif.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c bonuspnt.cc <snip> while(s=*temp) { //while there is still an argument left ^ == colour.cc:75:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&cyan)==0) pacexit("Colour initialization error"); ^ colour.cc:81:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&black)==0) pacexit("Colour initialization error"); ^ colour.cc:87:49: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&white)==0) pacexit("Colour initialization error"); ^ colour.cc:93:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&lightblue)==0) pacexit("Colour initialization error"); ^ colour.cc:99:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&yellow)==0) pacexit("Colour initialization error"); ^ colour.cc:105:47: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&red)==0) pacexit("Colour initialization error"); ^ colour.cc:111:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&orangered)==0) pacexit("Colour initialization error"); ^ colour.cc:117:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&violetred)==0) pacexit("Colour initialization error"); ^ colour.cc:123:50: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&violet)==0) pacexit("Colour initialization error"); ^ colour.cc:129:55: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&deepskyblue)==0) pacexit("Colour initialization error"); ^ colour.cc:135:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&gold)==0) pacexit("Colour initialization error"); ^ colour.cc:141:55: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&lightyellow)==0) pacexit("Colour initialization error"); ^ colour.cc:178:48: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&grey)==0) pacexit("Colour initialization error"); ^ colour.cc:184:51: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&dimgrey)==0) pacexit("Colour initialization error"); ^ colour.cc:190:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&lightgrey)==0) pacexit("Colour initialization error"); ^ colour.cc:196:58: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&lightslategrey)==0) pacexit("Colour initialization error"); ^ colour.cc:202:53: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&slategrey)==0) pacexit("Colour initialization error"); ^ colour.cc:208:57: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if(XAllocColor(display,cmap,&darkslategrey)==0) pacexit("Colour initialization error"); ^ 20 warnings generated. c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c corner.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c corner1.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c corner2.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c corner3.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c corner4.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c cross.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c direc.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c dynamiel.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c e0.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c e180.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c e270.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c e90.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c element.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c food.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gamedata.cc gamedata.cc:73:58: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] void Gamedata::foodeat() {if (eats) eats--; else pacexit("food"); } ^ 1 warning generated. c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gblank.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gboard.cc gboard.cc:73:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"? ?OOO? ?")) return '-';//check if patterns matches and return ^ gboard.cc:74:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"?O? O ?O?")) return '|'; ^ gboard.cc:75:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," ? OO?O ")) return 'n'; ^ gboard.cc:76:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"? OO O?")) return 'b'; ^ gboard.cc:77:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," O?OO ? ")) return 'v'; ^ gboard.cc:78:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"?O OO ?")) return 'c'; ^ gboard.cc:79:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," O ?O?")) return 'e'; ^ gboard.cc:80:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," ? OO ?")) return 's'; ^ gboard.cc:81:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"? OO ? ")) return 'd'; ^ gboard.cc:82:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"?O? O ")) return 'x'; ^ gboard.cc:83:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"? ?OOO O ")) return 't'; ^ gboard.cc:84:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat,"?O OO?O ")) return 'y'; ^ gboard.cc:85:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," O OOO? ?")) return 'u'; ^ gboard.cc:86:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," O?OO O?")) return 'i'; ^ gboard.cc:87:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (eqpat(pat," O OOO O ")) return '+'; ^ gboard.cc:88:13: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] pacwarning("pattern"); //give warning if not returned yet ^ gboard.cc:95:44: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] if (!UserInterface::instance()) { pacexit("no userinterface"); } ^ 17 warnings generated. c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gbonlife.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gbonpnt.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gdynelem.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gfood.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gghost.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c ghost.cc ghost.cc:65:10: warning: enumeration values 'none' and 'still' not handled in switch [-Wswitch] switch (dd) { //find out relative direction ^ ghost.cc:82:10: warning: enumeration values 'none' and 'still' not handled in switch [-Wswitch] switch (*dd) { //find out relative direction ^ 2 warnings generated. c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gpacman.cc gpacman.cc:43:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] default: pacwarning("Gpac"); ^ gpacman.cc:63:23: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] default: pacwarning("Gpac"); ^ 2 warnings generated. c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c graphele.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gspecwal.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c gsupfood.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c horiwall.cc c++ -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DCSRG_BASED -c pac.cc pac.cc:65:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,1,"Hiscore"); //print to userinterface at x, y, something ^ pac.cc:67:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,4,"Score"); ^ pac.cc:69:14: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,7,"Lives"); ^ pac.cc:71:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,10,"Level"); ^ pac.cc:73:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,13,"Bonus"); ^ pac.cc:75:15: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,16,"Supertime"); ^ pac.cc:85:1: error: C++ requires a type specifier for all declarations main(int argc,char **argv) { ^~~~ pac.cc:216:17: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,17," "); //write nothing ^ pac.cc:224:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,20,"GAME OVER"); //then the game must be over ^ pac.cc:227:16: warning: conversion from string literal to 'char *' is deprecated [-Wdeprecated-writable-strings] u->write(1,20," "); //then write nothing ^ pac.cc:232:3: warning: add explicit braces to avoid dangling else [-Wdangling-else] } else { //all food must have been eaten ^ 10 warnings and 1 error generated. *** Error code 1 Stop. make[1]: stopped in /wrkdirs/usr/ports/games/xpacman/work *** Error code 1 Stop. make: stopped in /usr/ports/games/xpacman ===> Cleaning for xpacman-1.0_3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401080151.s081pB6f092436>