Date: Thu, 1 Feb 2018 19:46:09 GMT From: pkg-fallout@FreeBSD.org To: tomse@oagd.net Cc: pkg-fallout@FreeBSD.org Subject: [package - head-i386-default][emulators/fs-uae] Failed for fs-uae-2.4.1_5 in build Message-ID: <201802011946.w11Jk9XS017323@beefy11.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: tomse@oagd.net Last committer: krion@FreeBSD.org Ident: $FreeBSD: head/emulators/fs-uae/Makefile 458378 2018-01-07 19:49:15Z krion $ Log URL: http://beefy11.nyi.freebsd.org/data/head-i386-default/p460549_s328647/logs/fs-uae-2.4.1_5.log Build URL: http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p460549_s328647 Log: =>> Building emulators/fs-uae build started at Thu Feb 1 19:43:32 UTC 2018 port directory: /usr/ports/emulators/fs-uae package name: fs-uae-2.4.1_5 building for: FreeBSD head-i386-default-job-12 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386 maintained by: tomse@oagd.net Makefile ident: $FreeBSD: head/emulators/fs-uae/Makefile 458378 2018-01-07 19:49:15Z krion $ Poudriere version: 3.2.4-27-gd8c1b2b1 Host OSVERSION: 1200054 Jail OSVERSION: 1200056 Job Id: 12 !!! Jail is newer than host. (Jail: 1200056, Host: 1200054) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- SHELL=/bin/csh UNAME_p=i386 UNAME_m=i386 OSVERSION=1200056 UNAME_v=FreeBSD 12.0-CURRENT 1200056 UNAME_r=12.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 SAVED_TERM= MASTERMNT=/usr/local/poudriere/data/.m/head-i386-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-i386-default/ref/.p P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool MASTERNAME=head-i386-default SCRIPTPREFIX=/usr/local/share/poudriere USER=root HOME=/root P_PYTHON_MAJOR_VER=2 POUDRIERE_VERSION=3.2.4-27-gd8c1b2b1 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 fs-uae-2.4.1_5: DOCS=on: Build and/or install documentation ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- tomse@oagd.net --End MAINTAINER-- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- SDL_CONFIG=/usr/local/bin/sdl-config MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/fs-uae/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/fs-uae/work HOME=/wrkdirs/usr/ports/emulators/fs-uae/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/fs-uae/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-- SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/fs-uae/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/fs-uae/work HOME=/wrkdirs/usr/ports/emulators/fs-uae/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/fs-uae/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="" LDFLAGS=" -fstack-protector" LIBS="" 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="" GTK2_VERSION="2.10.0" GTK3_VERSION="3.0.0" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/fs-uae" EXAMPLESDIR="share/examples/fs-uae" DATADIR="share/fs-uae" WWWDIR="www/fs-uae" ETCDIR="etc/fs-uae" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/fs-uae DOCSDIR=/usr/local/share/doc/fs-uae EXAMPLESDIR=/usr/local/share/examples/fs-uae WWWDIR=/usr/local/www/fs-uae ETCDIR=/usr/local/etc/fs-uae --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 MACHINE=i386 MACHINE_ARCH=i386 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 #### ARCH=i386 CONFIGURE_MAX_CMD_LEN=262144 OPSYS=FreeBSD OSREL=12.0 OSVERSION=1200056 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) 524288 stack size (kbytes, -s) 65536 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 >============================ ===> fs-uae-2.4.1_5 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.4.txz [head-i386-default-job-12] Installing pkg-1.10.4... [head-i386-default-job-12] Extracting pkg-1.10.4: .......... done ===> fs-uae-2.4.1_5 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of fs-uae-2.4.1_5 =========================================================================== =======================<phase: fetch-depends >============================ =========================================================================== =======================<phase: fetch >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by fs-uae-2.4.1_5 for building =========================================================================== =======================<phase: checksum >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by fs-uae-2.4.1_5 for building => SHA256 Checksum OK for fs-uae-2.4.1.tar.gz. =========================================================================== =======================<phase: extract-depends>============================ =========================================================================== =======================<phase: extract >============================ ===> License GPLv2 accepted by the user ===> Fetching all distfiles required by fs-uae-2.4.1_5 for building ===> Extracting for fs-uae-2.4.1_5 => SHA256 Checksum OK for fs-uae-2.4.1.tar.gz. =========================================================================== =======================<phase: patch-depends >============================ =========================================================================== =======================<phase: patch >============================ ===> Patching for fs-uae-2.4.1_5 =========================================================================== =======================<phase: build-depends >============================ ===> fs-uae-2.4.1_5 depends on file: /usr/local/bin/sdl-config - not found ===> Installing existing package /packages/All/sdl-1.2.15_10,2.txz [head-i386-default-job-12] Installing sdl-1.2.15_10,2... [head-i386-default-job-12] `-- Installing aalib-1.4.r5_11... [head-i386-default-job-12] | `-- Installing indexinfo-0.3.1... [head-i386-default-job-12] | `-- Extracting indexinfo-0.3.1: .... done [head-i386-default-job-12] `-- Extracting aalib-1.4.r5_11: .......... done [head-i386-default-job-12] `-- Installing libGLU-9.0.0_3... [head-i386-default-job-12] | `-- Installing mesa-libs-17.3.1... [head-i386-default-job-12] | | `-- Installing expat-2.2.5... [head-i386-default-job-12] | | `-- Extracting expat-2.2.5: .......... done [head-i386-default-job-12] | | `-- Installing libX11-1.6.5,1... [head-i386-default-job-12] | | `-- Installing kbproto-1.0.7... [head-i386-default-job-12] | | `-- Extracting kbproto-1.0.7: .......... done [head-i386-default-job-12] | | `-- Installing libXau-1.0.8_3... [head-i386-default-job-12] | | | `-- Installing xproto-7.0.31... [head-i386-default-job-12] | | | `-- Extracting xproto-7.0.31: .......... done [head-i386-default-job-12] | | `-- Extracting libXau-1.0.8_3: .......... done [head-i386-default-job-12] | | `-- Installing libXdmcp-1.1.2... [head-i386-default-job-12] | | `-- Extracting libXdmcp-1.1.2: ......... done [head-i386-default-job-12] | | `-- Installing libxcb-1.12_2... [head-i386-default-job-12] | | | `-- Installing libpthread-stubs-0.4... [head-i386-default-job-12] | | | `-- Extracting libpthread-stubs-0.4: . done <snip> ^ src/arcadia.cpp:62:11: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 40, _T("ar_rdwr.zip"), _T("rdwr_"), ARCADIA_GAME, 1, 3, 1, 6, 4, 0, 5, 2, 7 }, ^ src/arcadia.cpp:62:30: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 40, _T("ar_rdwr.zip"), _T("rdwr_"), ARCADIA_GAME, 1, 3, 1, 6, 4, 0, 5, 2, 7 }, ^ src/arcadia.cpp:63:11: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 41, _T("ar_sdwr.zip"), _T("sdwr_"), ARCADIA_GAME, 1, 6, 3, 4, 5, 2, 1, 0, 7 }, ^ src/arcadia.cpp:63:30: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 41, _T("ar_sdwr.zip"), _T("sdwr_"), ARCADIA_GAME, 1, 6, 3, 4, 5, 2, 1, 0, 7 }, ^ src/arcadia.cpp:64:11: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 42, _T("ar_spot.zip"), _T("spotv2."), ARCADIA_GAME, 0, 7, 6, 5, 4, 3, 2, 1, 0 }, ^ src/arcadia.cpp:64:30: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 42, _T("ar_spot.zip"), _T("spotv2."), ARCADIA_GAME, 0, 7, 6, 5, 4, 3, 2, 1, 0 }, ^ src/arcadia.cpp:65:11: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 43, _T("ar_sprg.zip"), _T("sprg_"), ARCADIA_GAME, 1, 4, 7, 3, 0, 6, 5, 2, 1 }, ^ src/arcadia.cpp:65:30: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 43, _T("ar_sprg.zip"), _T("sprg_"), ARCADIA_GAME, 1, 4, 7, 3, 0, 6, 5, 2, 1 }, ^ src/arcadia.cpp:66:11: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 44, _T("ar_xeon.zip"), _T("xeon_"), ARCADIA_GAME, 1, 3, 1, 2, 4, 0, 5, 6, 7 }, ^ src/arcadia.cpp:66:30: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 44, _T("ar_xeon.zip"), _T("xeon_"), ARCADIA_GAME, 1, 3, 1, 2, 4, 0, 5, 6, 7 }, ^ src/arcadia.cpp:67:11: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 45, _T("ar_socc.zip"), _T("socc30."), ARCADIA_GAME, 2, 0, 7, 1, 6, 5, 4, 3, 2 }, ^ src/arcadia.cpp:67:30: warning: ISO C++11 does not allow conversion from string literal to 'TCHAR *' (aka 'char *') [-Wwritable-strings] { 45, _T("ar_socc.zip"), _T("socc30."), ARCADIA_GAME, 2, 0, 7, 1, 6, 5, 4, 3, 2 }, ^ src/arcadia.cpp:73:12: warning: unused variable 'boot_read' [-Wunused-variable] static int boot_read; ^ 33 warnings generated. c++ -DFSEMU -DFSUAE -D_FILE_OFFSET_BITS=64 -DFREEBSD -DUSE_SDL -DUSE_GLIB -DWITH_LUA -Isrc/od-fs -Isrc/od-fs/include -Isrc/include -Igensrc -Isrc `pkg-config --cflags glib-2.0 gthread-2.0 libpng` -I"libfsemu"/include -I"libfsemu"/src/lua `sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -ggdb -Wall -Wno-sign-compare -c src/aros.rom.cpp -o obj/aros.rom.o c++ -DFSEMU -DFSUAE -D_FILE_OFFSET_BITS=64 -DFREEBSD -DUSE_SDL -DUSE_GLIB -DWITH_LUA -Isrc/od-fs -Isrc/od-fs/include -Isrc/include -Igensrc -Isrc `pkg-config --cflags glib-2.0 gthread-2.0 libpng` -I"libfsemu"/include -I"libfsemu"/src/lua `sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -ggdb -Wall -Wno-sign-compare -c src/audio.cpp -o obj/audio.o c++ -DFSEMU -DFSUAE -D_FILE_OFFSET_BITS=64 -DFREEBSD -DUSE_SDL -DUSE_GLIB -DWITH_LUA -Isrc/od-fs -Isrc/od-fs/include -Isrc/include -Igensrc -Isrc `pkg-config --cflags glib-2.0 gthread-2.0 libpng` -I"libfsemu"/include -I"libfsemu"/src/lua `sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -ggdb -Wall -Wno-sign-compare -c src/autoconf.cpp -o obj/autoconf.o c++ -DFSEMU -DFSUAE -D_FILE_OFFSET_BITS=64 -DFREEBSD -DUSE_SDL -DUSE_GLIB -DWITH_LUA -Isrc/od-fs -Isrc/od-fs/include -Isrc/include -Igensrc -Isrc `pkg-config --cflags glib-2.0 gthread-2.0 libpng` -I"libfsemu"/include -I"libfsemu"/src/lua `sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -ggdb -Wall -Wno-sign-compare -c src/blitter.cpp -o obj/blitter.o src/blitter.cpp:74:12: warning: unused variable 'blit_linecycles' [-Wunused-variable] static int blit_linecycles, blit_extracycles, blit_nod; ^ src/blitter.cpp:74:29: warning: unused variable 'blit_extracycles' [-Wunused-variable] static int blit_linecycles, blit_extracycles, blit_nod; ^ 2 warnings generated. c++ -DFSEMU -DFSUAE -D_FILE_OFFSET_BITS=64 -DFREEBSD -DUSE_SDL -DUSE_GLIB -DWITH_LUA -Isrc/od-fs -Isrc/od-fs/include -Isrc/include -Igensrc -Isrc `pkg-config --cflags glib-2.0 gthread-2.0 libpng` -I"libfsemu"/include -I"libfsemu"/src/lua `sdl-config --cflags` -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -ggdb -Wall -Wno-sign-compare -c src/blkdev.cpp -o obj/blkdev.o src/blkdev.cpp:534:8: warning: unused variable 'wasimage' [-Wunused-variable] bool wasimage = currprefs.cdslots[unitnum].name[0] != 0; ^ src/blkdev.cpp:664:40: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[10] = {0x4b,0,0,0,0,0,0,0,paused?0:1,0}; ^~~~~~~~~~ src/blkdev.cpp:664:40: note: insert an explicit cast to silence this issue uae_u8 cmd[10] = {0x4b,0,0,0,0,0,0,0,paused?0:1,0}; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:682:7: warning: unused variable 'as' [-Wunused-variable] int as = audiostatus (unitnum); ^ src/blkdev.cpp:802:32: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~~ src/blkdev.cpp:802:32: note: insert an explicit cast to silence this issue uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:802:45: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~~ src/blkdev.cpp:802:45: note: insert an explicit cast to silence this issue uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:802:58: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:802:58: note: insert an explicit cast to silence this issue uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:802:70: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:802:70: note: insert an explicit cast to silence this issue uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:802:85: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~ src/blkdev.cpp:802:85: note: insert an explicit cast to silence this issue uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:802:96: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~ src/blkdev.cpp:802:96: note: insert an explicit cast to silence this issue uae_u8 cmd1[12] = { 0x28, 0, block >> 24, block >> 16, block >> 8, block >> 0, 0, size >> 8, size >> 0, 0, 0, 0 }; ^~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:31: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ src/blkdev.cpp:824:31: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:44: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ src/blkdev.cpp:824:44: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:57: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:824:57: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:824:69: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:81: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:824:81: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:93: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~ src/blkdev.cpp:824:93: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:824:104: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~ src/blkdev.cpp:824:104: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:840:31: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ src/blkdev.cpp:840:31: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:840:44: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ src/blkdev.cpp:840:44: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:840:57: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:840:57: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:840:69: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:840:69: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) src/blkdev.cpp:840:81: error: non-constant-expression cannot be narrowed from type 'int' to 'uae_u8' (aka 'unsigned char') in initializer list [-Wc++11-narrowing] uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ src/blkdev.cpp:840:81: note: insert an explicit cast to silence this issue uae_u8 cmd[12] = { 0xbe, 0, block >> 24, block >> 16, block >> 8, block >> 0, size >> 16, size >> 8, size >> 0, 0x10, 0, 0 }; ^~~~~~~~~~ static_cast<uae_u8>( ) fatal error: too many errors emitted, stopping now [-ferror-limit=] 2 warnings and 20 errors generated. gmake[1]: *** [Makefile:398: obj/blkdev.o] Error 1 gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/fs-uae/work/fs-uae-2.4.1' *** Error code 1 Stop. make: stopped in /usr/ports/emulators/fs-uae
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802011946.w11Jk9XS017323>