[package - head-amd64-default][emulators/vba] Failed for vba-1.7.2_13 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Sun Feb 11 20:48:29 UTC 2018


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:     arundel at h3c.de
Last committer: linimon at FreeBSD.org
Ident:          $FreeBSD: head/emulators/vba/Makefile 444251 2017-06-25 00:29:09Z linimon $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-amd64-default/p461354_s329096/logs/vba-1.7.2_13.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-amd64-default&build=p461354_s329096
Log:

=>> Building emulators/vba
build started at Sun Feb 11 20:48:07 UTC 2018
port directory: /usr/ports/emulators/vba
package name: vba-1.7.2_13
building for: FreeBSD head-amd64-default-job-18 12.0-CURRENT FreeBSD 12.0-CURRENT 1200057 amd64
maintained by: arundel at h3c.de
Makefile ident:      $FreeBSD: head/emulators/vba/Makefile 444251 2017-06-25 00:29:09Z linimon $
Poudriere version: 3.2.4-49-g17610211
Host OSVERSION: 1200054
Jail OSVERSION: 1200057
Job Id: 18




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1200057
UNAME_v=FreeBSD 12.0-CURRENT 1200057
UNAME_r=12.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/head-amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/head-amd64-default/ref/.p/pool
MASTERNAME=head-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
POUDRIERE_VERSION=3.2.4-49-g17610211
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
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 vba-1.7.2_13:
     DOCS=on: Build and/or install documentation
     GTK2=off: GTK+ 2 GUI toolkit support
     PROFILING=off: Enable profiling
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
arundel at h3c.de
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-profiling --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

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

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

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" DOCS="" NO_DOCS="@comment " GTK2="@comment " NO_GTK2="" PROFILING="@comment " NO_PROFILING="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/vba"  EXAMPLESDIR="share/examples/vba"  DATADIR="share/vba"  WWWDIR="www/vba"  ETCDIR="etc/vba"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " GTK2="@comment " NO_GTK2="" PROFILING="@comment " NO_PROFILING="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/vba DOCSDIR=/usr/local/share/doc/vba EXAMPLESDIR=/usr/local/share/examples/vba  WWWDIR=/usr/local/www/vba ETCDIR=/usr/local/etc/vba
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=12.0
OSVERSION=1200057
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=12.0-CURRENT
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   vba-1.7.2_13 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-amd64-default-job-18] Installing pkg-1.10.4...
[head-amd64-default-job-18] Extracting pkg-1.10.4: .......... done
===>   vba-1.7.2_13 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of vba-1.7.2_13
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by vba-1.7.2_13 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by vba-1.7.2_13 for building
=> SHA256 Checksum OK for VisualBoyAdvance-src-1.7.2.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by vba-1.7.2_13 for building
===>  Extracting for vba-1.7.2_13
=> SHA256 Checksum OK for VisualBoyAdvance-src-1.7.2.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for vba-1.7.2_13
===>  Applying FreeBSD patches for vba-1.7.2_13
===========================================================================
=======================<phase: build-depends  >============================
===>   vba-1.7.2_13 depends on executable: nasm - not found
===>   Installing existing package /packages/All/nasm-2.13.02,1.txz
[head-amd64-default-job-18] Installing nasm-2.13.02,1...
[head-amd64-default-job-18] Extracting nasm-2.13.02,1: .......... done
===>   vba-1.7.2_13 depends on executable: nasm - found
===>   Returning to build of vba-1.7.2_13
===>   vba-1.7.2_13 depends on file: /usr/local/bin/sdl-config - not found
===>   Installing existing package /packages/All/sdl-1.2.15_10,2.txz
[head-amd64-default-job-18] Installing sdl-1.2.15_10,2...
[head-amd64-default-job-18] `-- Installing aalib-1.4.r5_11...
[head-amd64-default-job-18] |   `-- Installing indexinfo-0.3.1...
[head-amd64-default-job-18] |   `-- Extracting indexinfo-0.3.1: .... done
[head-amd64-default-job-18] `-- Extracting aalib-1.4.r5_11: .......... done
[head-amd64-default-job-18] `-- Installing libGLU-9.0.0_3...
[head-amd64-default-job-18] |   `-- Installing mesa-libs-17.3.1...
[head-amd64-default-job-18] |   | `-- Installing expat-2.2.5...
[head-amd64-default-job-18] |   | `-- Extracting expat-2.2.5: .......... done
[head-amd64-default-job-18] |   | `-- Installing libX11-1.6.5,1...
[head-amd64-default-job-18] |   |   `-- Installing kbproto-1.0.7...
[head-amd64-default-job-18] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-amd64-default-job-18] |   |   `-- Installing libXau-1.0.8_3...
[head-amd64-default-job-18] |   |   | `-- Installing xproto-7.0.31...
[head-amd64-default-job-18] |   |   | `-- Extracting xproto-7.0.31: .......... done
[head-amd64-default-job-18] |   |   `-- Extracting libXau-1.0.8_3: .......... done
[head-amd64-default-job-18] |   |   `-- Installing libXdmcp-1.1.2...
<snip>
    ^
debugger.cpp:131:31: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  { "where", debuggerWhere,   "Shows call chain", NULL },
                              ^
debugger.cpp:222:24: warning: format specifies type 'long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat]
        printf("%lld", value);
                ~~~~   ^~~~~
                %lu
debugger.cpp:225:26: warning: format specifies type 'unsigned long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat]
        printf("0x%llx", value);
                  ~~~~   ^~~~~
                  %lx
debugger.cpp:228:25: warning: format specifies type 'unsigned long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat]
        printf("0%llo", value);
                 ~~~~   ^~~~~
                 %lo
debugger.cpp:235:24: warning: format specifies type 'unsigned long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat]
        printf("%llu", value);
                ~~~~   ^~~~~
                %lu
debugger.cpp:238:26: warning: format specifies type 'unsigned long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat]
        printf("0x%llx", value);
                  ~~~~   ^~~~~
                  %lx
debugger.cpp:241:25: warning: format specifies type 'unsigned long long' but the argument has type 'u64' (aka 'unsigned long') [-Wformat]
        printf("0%llo", value);
                 ~~~~   ^~~~~
                 %lo
debugger.cpp:436:14: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
      printf(m->name);
             ^~~~~~~
debugger.cpp:436:14: note: treat the string as an argument to avoid this
      printf(m->name);
             ^
             "%s", 
debugger.cpp:534:18: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
      char *ts = "?";
                 ^
debugger.cpp:537:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        ts = "ARM";
             ^
debugger.cpp:540:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        ts = "THUMB";
             ^
debugger.cpp:543:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        ts = "DATA";
             ^
debugger.cpp:672:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("trace");      
                  ^
debugger.cpp:683:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("verbose");    
                  ^
debugger.cpp:823:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("bd");    
                  ^
debugger.cpp:914:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("break");  
                  ^
debugger.cpp:930:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("bt");    
                  ^
debugger.cpp:946:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("ba");
                  ^
debugger.cpp:1016:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("bpw");    
                  ^
debugger.cpp:1125:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  command[0]="m";
             ^
debugger.cpp:1127:14: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
  command[2]="1";
             ^
debugger.cpp:1240:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("eb");    
                  ^
debugger.cpp:1256:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("eh");        
                  ^
debugger.cpp:1272:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("ew");    
                  ^
debugger.cpp:1310:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("mb");    
                  ^
debugger.cpp:1346:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("mh");    
                  ^
debugger.cpp:1385:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
    debuggerUsage("mw");    
                  ^
debugger.cpp:1403:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    printf(s);
           ^
debugger.cpp:1403:12: note: treat the string as an argument to avoid this
    printf(s);
           ^
           "%s", 
110 warnings generated.
if c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1  -I. -I.  -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/local/include -fno-exceptions -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing  -DC_CORE -DDEV_VERSION -MT 2xSaI.o -MD -MP -MF ".deps/2xSaI.Tpo" \
  -c -o 2xSaI.o `test -f '../2xSaI.cpp' || echo './'`../2xSaI.cpp; \
then mv -f ".deps/2xSaI.Tpo" ".deps/2xSaI.Po"; \
else rm -f ".deps/2xSaI.Tpo"; exit 1; \
fi
./2xSaI.cpp:156:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  register u32 x = ((A & qcolorMask) >> 2) +
  ^~~~~~~~~
./2xSaI.cpp:159:3: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
  register u32 y = (A & qlowpixelMask) +
  ^~~~~~~~~
./2xSaI.cpp:282:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
            register int r = 0;
            ^~~~~~~~~
./2xSaI.cpp:414:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register int r = 0;
        ^~~~~~~~~
./2xSaI.cpp:574:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
          register int r = 0;
          ^~~~~~~~~
./2xSaI.cpp:709:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register int r = 0;
        ^~~~~~~~~
./2xSaI.cpp:789:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register u32 colorA, colorB;
        ^~~~~~~~~
./2xSaI.cpp:789:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        register u32 colorA, colorB;
        ^~~~~~~~~
./2xSaI.cpp:862:13: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
            register int r = 0;
            ^~~~~~~~~
./2xSaI.cpp:949:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
      register u32 colorA, colorB;
      ^~~~~~~~~
./2xSaI.cpp:949:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
      register u32 colorA, colorB;
      ^~~~~~~~~
./2xSaI.cpp:1022:11: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
          register int r = 0;
          ^~~~~~~~~
12 warnings generated.
if c++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1  -I. -I.  -I../../src -DSDL -DSYSCONFDIR=\"/usr/local/etc\" -I/usr/local/include -fno-exceptions -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -O2 -pipe -fstack-protector -fno-strict-aliasing  -DC_CORE -DDEV_VERSION -MT Cheats.o -MD -MP -MF ".deps/Cheats.Tpo" \
  -c -o Cheats.o `test -f '../Cheats.cpp' || echo './'`../Cheats.cpp; \
then mv -f ".deps/Cheats.Tpo" ".deps/Cheats.Po"; \
else rm -f ".deps/Cheats.Tpo"; exit 1; \
fi
./Cheats.cpp:1347:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    address & 255,
    ^~~~~~~~~~~~~
./Cheats.cpp:1347:5: note: insert an explicit cast to silence this issue
    address & 255,
    ^~~~~~~~~~~~~
    static_cast<u8>( )
./Cheats.cpp:1348:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    (address >> 8) & 255,
    ^~~~~~~~~~~~~~~~~~~~
./Cheats.cpp:1348:5: note: insert an explicit cast to silence this issue
    (address >> 8) & 255,
    ^~~~~~~~~~~~~~~~~~~~
    static_cast<u8>(    )
./Cheats.cpp:1349:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    (address >> 16) & 255,
    ^~~~~~~~~~~~~~~~~~~~~
./Cheats.cpp:1349:5: note: insert an explicit cast to silence this issue
    (address >> 16) & 255,
    ^~~~~~~~~~~~~~~~~~~~~
    static_cast<u8>(     )
./Cheats.cpp:1350:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    (address >> 24) & 255,
    ^~~~~~~~~~~~~~~~~~~~~
./Cheats.cpp:1350:5: note: insert an explicit cast to silence this issue
    (address >> 24) & 255,
    ^~~~~~~~~~~~~~~~~~~~~
    static_cast<u8>(     )
./Cheats.cpp:1351:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    (value & 255),
    ^~~~~~~~~~~~~
./Cheats.cpp:1351:5: note: insert an explicit cast to silence this issue
    (value & 255),
    ^~~~~~~~~~~~~
    static_cast<u8>( )
./Cheats.cpp:1352:5: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing]
    (value >> 8) & 255,
    ^~~~~~~~~~~~~~~~~~
./Cheats.cpp:1352:5: note: insert an explicit cast to silence this issue
    (value >> 8) & 255,
    ^~~~~~~~~~~~~~~~~~
    static_cast<u8>(  )
6 errors generated.
gmake[3]: *** [Makefile:614: Cheats.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src/sdl'
gmake[2]: *** [Makefile:221: all-recursive] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2/src'
gmake[1]: *** [Makefile:212: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/vba/work/VisualBoyAdvance-1.7.2'
*** Error code 1

Stop.
make: stopped in /usr/ports/emulators/vba


More information about the freebsd-pkg-fallout mailing list