Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Feb 2014 14:22:53 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-amd64-default][games/xarchon] Failed for xarchon-0.50_5 in build
Message-ID:  <201402071422.s17EMr7X041431@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:     ports@FreeBSD.org
Last committer: nemysis@FreeBSD.org
Ident:          $FreeBSD: head/games/xarchon/Makefile 340909 2014-01-24 15:06:44Z nemysis $
Log URL:        http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s/logs/xarchon-0.50_5.log
Build URL:      http://beefy2.isc.freebsd.org/bulk/head-amd64-default/2014-02-06_22h28m10s
Log:

====>> Building games/xarchon
build started at Fri Feb  7 14:22:40 UTC 2014
port directory: /usr/ports/games/xarchon
building for: FreeBSD head-amd64-default-job-02 11.0-CURRENT FreeBSD 11.0-CURRENT r261447 amd64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/xarchon/Makefile 340909 2014-01-24 15:06:44Z nemysis $
Poudriere version: 3.1-pre

---Begin Environment---
OSVERSION=1100007
UNAME_v=FreeBSD 11.0-CURRENT r261447
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
MASTERMNT=/usr/local/poudriere/data/build/head-amd64-default/ref
PKG_EXT=txz
tpid=22622
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=xarchon-0.50_5
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
PWD=/root
MASTERNAME=head-amd64-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--
--x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh ESD_CONFIG="/usr/local/bin/esd-config" GLIB_CONFIG="/usr/local/bin/glib12-config" GTK_CONFIG="/usr/local/bin/gtk12-config" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES ESD_CONFIG="/usr/local/bin/esd-config" GLIB_CONFIG="/usr/local/bin/glib12-config" GTK_CONFIG="/usr/local/bin/gtk12-config" PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe -fno-strict-aliasing -std=gnu89"  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/xarchon
DOCSDIR=/usr/local/share/doc/xarchon
EXAMPLESDIR=/usr/local/share/examples/xarchon
WWWDIR=/usr/local/www/xarchon
ETCDIR=/usr/local/etc/xarchon
--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 xarchon-0.50_5
=======================<phase: check-config   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xarchon-0.50_5 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.6.txz
Installing pkg-1.2.6... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of xarchon-0.50_5
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Unusable, development ceased, not works with stage.

It is scheduled to be removed on or after 2014-03-25.

===> Fetching all distfiles required by xarchon-0.50_5 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Unusable, development ceased, not works with stage.

It is scheduled to be removed on or after 2014-03-25.

===> Fetching all distfiles required by xarchon-0.50_5 for building
=> SHA256 Checksum OK for xarchon-0.50.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

This port is deprecated; you may wish to reconsider installing it:

Unusable, development ceased, not works with stage.

It is scheduled to be removed on or after 2014-03-25.

===> Fetching all distfiles required by xarchon-0.50_5 for building
===>  Extracting for xarchon-0.50_5
=> SHA256 Checksum OK for xarchon-0.50.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for xarchon-0.50_5
===>  Applying FreeBSD patches for xarchon-0.50_5
===========================================================================
=======================<phase: build-depends  >============================
===>   xarchon-0.50_5 depends on executable: gmake - not found
===>    Verifying install for gmake in /usr/ports/devel/gmake
===>   Installing existing package /packages/All/gmake-3.82_1.txz
Installing gmake-3.82_1...Installing gettext-0.18.3.1... done
 done
===>   Returning to build of xarchon-0.50_5
===>   xarchon-0.50_5 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...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1... done
Installing libxcb-1.9.3...Installing libpthread-stubs-0.3_4... done
Installing libxml2-2.8.0_3... done
 done
 done
===>   Returning to build of xarchon-0.50_5
===>   xarchon-0.50_5 depends on file: /usr/local/libdata/pkgconfig/xpm.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/xpm.pc in /usr/ports/x11/libXpm
===>   Installing existing package /packages/All/libXpm-3.5.11.txz
Installing libXpm-3.5.11...Installing libXext-1.3.2,1...Installing xextproto-7.2.1... done
 done
Installing libXt-1.1.4,1...Installing libSM-1.2.2,1...Installing libICE-1.0.8,1... done
 done
 done
 done
===>   Returning to build of xarchon-0.50_5
===>   xarchon-0.50_5 depends on file: /usr/local/libdata/pkgconfig/ice.pc - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   xarchon-0.50_5 depends on shared library: libesd.so - not found
===>    Verifying for libesd.so in /usr/ports/audio/esound
===>   Installing existing package /packages/All/esound-0.2.41_2.txz
Installing esound-0.2.41_2...Installing libaudiofile-0.3.6... done
Installing pkgconf-0.9.4... done
 done
The ESounD daemon (esd) must be started on a per-user basis.  This is typically
done by the Session Manager in GNOME.  However, if you are not using the
GNOME Desktop, you will need to add something like the following to your
X Windows initialization script:

esd -terminate -nobeeps -as 2
===>   Returning to build of xarchon-0.50_5
===>   xarchon-0.50_5 depends on shared library: libglib-12.so - not found
===>    Verifying for libglib-12.so in /usr/ports/devel/glib12
===>   Installing existing package /packages/All/glib12-1.2.10_13.txz
Installing glib12-1.2.10_13... done
===>   Returning to build of xarchon-0.50_5
===>   xarchon-0.50_5 depends on shared library: libgtk-12.so - not found
===>    Verifying for libgtk-12.so in /usr/ports/x11-toolkits/gtk12
===>   Installing existing package /packages/All/gtk1-1.2.10_22.txz
Installing gtk1-1.2.10_22...Installing libXi-1.7.2,1...Installing inputproto-2.3... done
Installing libXfixes-5.0.1...Installing fixesproto-5.0... done
 done
 done
 done
===>   Returning to build of xarchon-0.50_5
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for xarchon-0.50_5
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50/acinclude.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50/configure
loading site script /usr/ports/Templates/config.site
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... found
checking for gcc... cc
checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing -std=gnu89 ) works... yes
checking whether the C compiler (cc -O2 -pipe -fno-strict-aliasing -std=gnu89 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -pipe -fno-strict-aliasing ) works... yes
checking whether the C++ compiler (c++ -O2 -pipe -fno-strict-aliasing ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking how to run the C preprocessor... cpp
checking for X... libraries /usr/local/lib, headers /usr/local/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... (cached) yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XOpenDisplay in X library -lX11... yes
checking extra paths for Xpm... library /usr/local/lib, include no
checking for XpmReadFileToPixmap in X library -lXpm... yes
checking for gtk-config... /usr/local/bin/gtk12-config
checking for GTK - version >= 1.2.0... yes
checking for pthread.h... yes
checking for pthread_create in -pthread... yes
checking for esd-config... /usr/local/bin/esd-config
checking for ESD - version >= 0.2.7... yes
checking for ANSI C header files... (cached) yes
checking for limits.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for 8-bit clean memcmp... yes
checking return type of signal handlers... void
checking for vprintf... (cached) yes
checking for gettimeofday... (cached) yes
checking for setitimer... yes
checking for strdup... (cached) yes
checking for nanosleep... yes
checking wheather to include networking support... yes
checking which sound driver to use... the esd driver
checking for linux/joystick.h... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating data/Makefile
creating stamp.h
creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for xarchon-0.50_5
gmake[1]: Entering directory `/wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50'
gmake  all-recursive
gmake[2]: Entering directory `/wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50'
Making all in src
gmake[3]: Entering directory `/wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50/src'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c actors.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c audio.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c board.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c canvas.c
canvas.c:142:7: warning: variable 'rect' is uninitialized when used here [-Wuninitialized]
      rect++;
      ^~~~
canvas.c:134:20: note: initialize the variable 'rect' to silence this warning
   XRectangle *rect;
                   ^
                    = NULL
canvas.c:451:42: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
   XFreeColors(display, canvas_colormap, image->colors, image->num_colors, 0);
                                         ^~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:2540:32: note: passing argument to parameter here
    unsigned long*      /* pixels */,
                                    ^
canvas.c:532:19: warning: passing 'long *' to parameter of type 'unsigned long *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  image->colors, image->num_colors, 0);
                  ^~~~~~~~~~~~~
/usr/local/include/X11/Xlib.h:2540:32: note: passing argument to parameter here
    unsigned long*      /* pixels */,
                                    ^
canvas.c:630:30: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
   return canvas_keysym_name(XKeycodeToKeysym(display, keycode, 0));
                             ^
/usr/local/include/X11/Xlib.h:1699:15: note: 'XKeycodeToKeysym' declared here
extern KeySym XKeycodeToKeysym(
              ^
canvas.c:721:30: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XMotionEvent *' [-Wincompatible-pointer-types]
     canvas_mouse_drag_event(event);
                             ^~~~~
canvas.c:675:44: note: passing argument to parameter 'event' here
void canvas_mouse_drag_event(XMotionEvent *event)
                                           ^
canvas.c:723:32: warning: incompatible pointer types passing 'XEvent *' (aka 'union _XEvent *') to parameter of type 'XButtonEvent *' [-Wincompatible-pointer-types]
     canvas_mouse_button_event(event);
                               ^~~~~
canvas.c:708:46: note: passing argument to parameter 'event' here
void canvas_mouse_button_event(XButtonEvent *event)
                                             ^
6 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c computer.c
computer.c:501:7: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
      memcpy(&good_moves[i], &move, sizeof(MOVE));
      ^
computer.c:501:7: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
computer.c:984:11: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)'
      if (strcmp(config->rules, "easy") == 0)
          ^
computer.c:984:11: note: please include the header <string.h> or explicitly provide a declaration for 'strcmp'
computer.c:1092:4: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)'
   strcpy(work_config.rules, data);
   ^
computer.c:1092:4: note: please include the header <string.h> or explicitly provide a declaration for 'strcpy'
3 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c field.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c human.c
human.c:348:56: warning: cast to 'gpointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-pointer-cast]
      gtk_object_set_data(GTK_OBJECT(item->data), "i", (gpointer)i);
                                                       ^
human.c:365:4: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned long)'
   memcpy(&work_config, orig_config, sizeof(HUMAN_CONFIG));
   ^
human.c:365:4: note: please include the header <string.h> or explicitly provide a declaration for 'memcpy'
2 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c iface.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c list.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c network.c
network.c:257:75: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
      n = recvfrom(network_socket, dummy, 1, 0, (struct sockaddr *)&name, &name_len);
                                                                          ^~~~~~~~~
/usr/include/sys/socket.h:635:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
network.c:316:75: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
      n = recvfrom(network_socket, dummy, 8, 0, (struct sockaddr *)&name, &name_len);
                                                                          ^~~~~~~~~
/usr/include/sys/socket.h:635:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
network.c:399:49: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                      (struct sockaddr *)&name, &name_len) != sizeof(data))
                                                ^~~~~~~~~
/usr/include/sys/socket.h:635:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
network.c:452:85: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
      if (recvfrom(network_socket, data, sizeof(data), 0, (struct sockaddr *)&name, &name_len) != sizeof(data))
                                                                                    ^~~~~~~~~
/usr/include/sys/socket.h:635:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
4 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c sprite.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c theme.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -c sample-driver-esd.c
c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/local/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/local/include -I/usr/local/include   -I../    -O2 -pipe -fno-strict-aliasing -Wall -c Xarchon_Problem.cpp
In file included from Xarchon_Problem.cpp:2:
In file included from ./Xarchon_Interface.hpp:6:
In file included from ./Xarchon_Genetic.hpp:6:
./Genetic.hpp:162:11: error: use of undeclared identifier 'rand'
    int r=rand()%max;
          ^
./Genetic.hpp:222:11: error: use of undeclared identifier 'rand'
    int r=rand()%max;
          ^
Xarchon_Problem.cpp:461:20: error: use of undeclared identifier 'rand'
  int random_value=rand()%r;
                   ^
Xarchon_Problem.cpp:546:10: error: use of undeclared identifier 'rand'
  int r=(rand()%1000);
         ^
4 errors generated.
gmake[3]: *** [Xarchon_Problem.o] Error 1
gmake[3]: Leaving directory `/wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50'
gmake[1]: *** [all-recursive-am] Error 2
gmake[1]: Leaving directory `/wrkdirs/usr/ports/games/xarchon/work/xarchon-0.50'
*** Error code 1

Stop.
make: stopped in /usr/ports/games/xarchon
===>  Cleaning for xarchon-0.50_5



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