Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 May 2018 12:01:37 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][games/galaxyhack] Failed for galaxyhack-1.74_27 in build
Message-ID:  <201805031201.w43C1bBo041522@beefy8.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:     ports@FreeBSD.org
Last committer: jbeich@FreeBSD.org
Ident:          $FreeBSD: head/games/galaxyhack/Makefile 467711 2018-04-18 13:57:42Z jbeich $
Log URL:        http://beefy8.nyi.freebsd.org/data/head-armv6-default/p468751_s333133/logs/galaxyhack-1.74_27.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p468751_s333133
Log:

=>> Building games/galaxyhack
build started at Thu May  3 11:59:59 UTC 2018
port directory: /usr/ports/games/galaxyhack
package name: galaxyhack-1.74_27
building for: FreeBSD head-armv6-default-job-02 12.0-CURRENT FreeBSD 12.0-CURRENT 1200062 arm
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/galaxyhack/Makefile 467711 2018-04-18 13:57:42Z jbeich $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200060
Jail OSVERSION: 1200062
Job Id: 02




!!! Jail is newer than host. (Jail: 1200062, Host: 1200060) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200062
UNAME_v=FreeBSD 12.0-CURRENT 1200062
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-3-g832b198d
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
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 galaxyhack-1.74_27:
     FLEETS=off: Additional fleets
     OPTIMIZED_CFLAGS=on: Use extra compiler optimizations
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  HOME=/wrkdirs/usr/ports/games/galaxyhack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/galaxyhack/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
OPTIMIZED_CFLAGS=YES SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/galaxyhack/work  HOME=/wrkdirs/usr/ports/games/galaxyhack/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/galaxyhack/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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--
PORTDOCS="" PORTEXAMPLES="" FLEETS="@comment " NO_FLEETS="" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/galaxyhack"  EXAMPLESDIR="share/examples/galaxyhack"  DATADIR="share/galaxyhack"  WWWDIR="www/galaxyhack"  ETCDIR="etc/galaxyhack"
--End PLIST_SUB--

--SUB_LIST--
FLEETS="@comment " NO_FLEETS="" OPTIMIZED_CFLAGS="" NO_OPTIMIZED_CFLAGS="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/galaxyhack DOCSDIR=/usr/local/share/doc/galaxyhack EXAMPLESDIR=/usr/local/share/examples/galaxyhack  WWWDIR=/usr/local/www/galaxyhack ETCDIR=/usr/local/etc/galaxyhack
--End SUB_LIST--

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /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 ####
_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200062
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=262144
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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   >============================
===>   NOTICE:

The galaxyhack port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   galaxyhack-1.74_27 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5.txz
[head-armv6-default-job-02] Installing pkg-1.10.5...
[head-armv6-default-job-02] Extracting pkg-1.10.5: .......... done
<snip>
More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   galaxyhack-1.74_27 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of galaxyhack-1.74_27
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for galaxyhack-1.74_27
===========================================================================
=======================<phase: build          >============================
===>  Building for galaxyhack-1.74_27
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/galaxyhack/work/galaxyhack/src'
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c AIInterpreter.cpp -o AIInterpreter.o
AIInterpreter.cpp:1450:9: warning: 4 enumeration values not handled in switch: 'CD_NE', 'CD_SE', 'CD_SW'... [-Wswitch]
        switch(which) {
               ^
AIInterpreter.cpp:1460:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c AutoFireUnit.cpp -o AutoFireUnit.o
AutoFireUnit.cpp:212:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:224:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:236:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:248:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:260:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:272:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:284:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:296:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:308:12: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                        switch (myCSType) {
                                ^
AutoFireUnit.cpp:343:10: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
        switch (myCSType) {
                ^
AutoFireUnit.cpp:370:10: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
        switch (myCSType) {
                ^
AutoFireUnit.cpp:383:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
AutoFireUnit.cpp:394:11: warning: enumeration value 'CST_None' not handled in switch [-Wswitch]
                switch (myCSType) {
                        ^
13 warnings generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c BCCompiler.cpp -o BCCompiler.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c DerivedGroups.cpp -o DerivedGroups.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c DragWindow.cpp -o DragWindow.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c ForceSelect.cpp -o ForceSelect.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c ForceSelectWin.cpp -o ForceSelectWin.o
ForceSelectWin.cpp:53:11: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:64:11: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:94:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:199:10: warning: 157 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_ExpensiveUpdate'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:299:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:387:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:428:10: warning: 160 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:449:10: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:464:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:500:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:566:11: warning: 161 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:607:10: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:639:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:671:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:691:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:818:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:870:10: warning: 157 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:950:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:968:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:991:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
ForceSelectWin.cpp:1178:10: warning: 161 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
        switch (static_cast<WindowChoice>(equipType)) {
                ^
ForceSelectWin.cpp:1308:11: warning: 161 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:1364:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:1404:10: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch(currentSelection.choice) {
                       ^
ForceSelectWin.cpp:1430:11: warning: 163 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
ForceSelectWin.cpp:1543:11: warning: 162 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (currentSelection.choice) {
                        ^
26 warnings generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c GenWindow.cpp -o GenWindow.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c GenWindow_Base.cpp -o GenWindow_Base.o
GenWindow_Base.cpp:84:11: warning: 159 enumeration values not handled in switch: 'WC_Nothing', 'WC_Close', 'WC_Quit'... [-Wswitch]
                switch (theMessage) {
                        ^
1 warning generated.
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c GFX.cpp -o GFX.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c Globals.cpp -o Globals.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c Group.cpp -o Group.o
/nxb-bin/usr/bin/c++ -O2 -pipe -fno-strict-aliasing  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O3 -c Group_Base.cpp -o Group_Base.o
Group_Base.cpp:230:24: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                       ^~~~~~~~~~~~~~~~~~~~~
Group_Base.cpp:230:24: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                       ^~~~~~~~~~~~~~~~~~~~~
                       static_cast<Sint16>( )
Group_Base.cpp:230:47: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                              ^~~~~~~~~~~~~~~~~~~~~
Group_Base.cpp:230:47: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                              ^~~~~~~~~~~~~~~~~~~~~
                                              static_cast<Sint16>( )
Group_Base.cpp:230:70: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                     ^~~~~
Group_Base.cpp:230:70: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                     ^~~~~
                                                                     static_cast<Uint16>( )
Group_Base.cpp:230:77: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                            ^~~~~~
Group_Base.cpp:230:77: note: insert an explicit cast to silence this issue
    SDL_Rect myRect = {static_cast<int>(myx), static_cast<int>(myy), width, height};
                                                                            ^~~~~~
                                                                            static_cast<Uint16>( )
Group_Base.cpp:346:10: warning: enumeration value 'MC_NoMove' not handled in switch [-Wswitch]
        switch (theCommands.moveCommand) {
                ^
Group_Base.cpp:930:50: warning: '&&' within '||' [-Wlogical-op-parentheses]
                || (myy + height + possy > worldHeight) && theCommands.aimPropy > 0) {
                ~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Group_Base.cpp:930:50: note: place parentheses around the '&&' expression to silence this warning
                || (myy + height + possy > worldHeight) && theCommands.aimPropy > 0) {
                                                        ^
                   (                                                               )
2 warnings and 4 errors generated.
gmake[1]: *** [Makefile:50: Group_Base.o] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/galaxyhack/work/galaxyhack/src'
*** Error code 1

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



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