Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2018 09:27:59 GMT
From:      pkg-fallout@FreeBSD.org
To:        amdmi3@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][games/stratagus] Failed for stratagus-2.4.1_1 in build
Message-ID:  <201805100927.w4A9RxOu079588@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:     amdmi3@FreeBSD.org
Last committer: rezny@FreeBSD.org
Ident:          $FreeBSD: head/games/stratagus/Makefile 441503 2017-05-23 05:03:14Z rezny $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p469496_s333442/logs/stratagus-2.4.1_1.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p469496_s333442
Log:

=>> Building games/stratagus
build started at Thu May 10 09:25:12 UTC 2018
port directory: /usr/ports/games/stratagus
package name: stratagus-2.4.1_1
building for: FreeBSD head-i386-default-job-14 12.0-CURRENT FreeBSD 12.0-CURRENT 1200062 i386
maintained by: amdmi3@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/stratagus/Makefile 441503 2017-05-23 05:03:14Z rezny $
Poudriere version: 3.2.6-3-g832b198d
Host OSVERSION: 1200060
Jail OSVERSION: 1200062
Job Id: 14




!!! 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=i386
UNAME_m=i386
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
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.6-3-g832b198d
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-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 stratagus-2.4.1_1:
     DOCS=on: Build and/or install documentation
     FLUIDSYNTH=on: MIDI playback support via FluidSynth
     MIKMOD=on: MOD audio format support
     MNG=on: MNG image library support
     THEORA=on: Ogg Theora video codec support
     VORBIS=on: Ogg Vorbis audio codec support
     X11=on: X11 clipboard pasting support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/games/stratagus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/stratagus/work  HOME=/wrkdirs/usr/ports/games/stratagus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/stratagus/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 LUA_MODLIBDIR=/usr/local/lib/lua/5.1  LUA_MODSHAREDIR=/usr/local/share/lua/5.1  LUA_VER=5.1  LUA_INCDIR=/usr/local/include/lua51  LUA_LIBDIR=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/games/stratagus/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/stratagus/work  HOME=/wrkdirs/usr/ports/games/stratagus/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/stratagus/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 DESTDIR=/wrkdirs/usr/ports/games/stratagus/work/stage 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="" CMAKE_BUILD_TYPE="release" LUA_MODLIBDIR=lib/lua/5.1  LUA_MODSHAREDIR=share/lua/5.1  LUA_VER=5.1  LUA_INCDIR=include/lua51  LUA_LIBDIR=lib  LUA_VER_STR=51 OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/stratagus"  EXAMPLESDIR="share/examples/stratagus"  DATADIR="share/stratagus"  WWWDIR="www/stratagus"  ETCDIR="etc/stratagus"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/stratagus DOCSDIR=/usr/local/share/doc/stratagus EXAMPLESDIR=/usr/local/share/examples/stratagus  WWWDIR=/usr/local/www/stratagus ETCDIR=/usr/local/etc/stratagus
--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 ####
_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-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_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: i386-unknown-freebsd12.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
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---
--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    >============================
===>   stratagus-2.4.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-i386-default-job-14] Installing pkg-1.10.5_1...
[head-i386-default-job-14] Extracting pkg-1.10.5_1: .......... done
===>   stratagus-2.4.1_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of stratagus-2.4.1_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by stratagus-2.4.1_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by stratagus-2.4.1_1 for building
=> SHA256 Checksum OK for Wargus-stratagus-v2.4.1_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by stratagus-2.4.1_1 for building
===>  Extracting for stratagus-2.4.1_1
=> SHA256 Checksum OK for Wargus-stratagus-v2.4.1_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for stratagus-2.4.1_1
===========================================================================
=======================<phase: build-depends  >============================
<snip>
[58/230] /usr/bin/c++  -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_FLUIDSYNTH -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_X11 -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include/guichan -I. -I/usr/local/include/lua51 -I/usr/local/include -I/usr/local/include/SDL -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stratagus.dir/src/video/cursor.cpp.o -MF CMakeFiles/stratagus.dir/src/video/cursor.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/cursor.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/cursor.cpp
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/cursor.cpp:51:
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include/video.h:191:
In file included from /usr/local/include/libmng.h:385:
In file included from /usr/local/include/libmng_types.h:181:
/usr/local/include/lcms.h:1238:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef int (* _cmsSAMPLER)(register WORD In[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1239:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register WORD Out[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1240:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register LPVOID Cargo);
                            ^~~~~~~~~
/usr/local/include/lcms.h:1250:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef unsigned char* (* cmsFORMATTER)(register void* CMMcargo,
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1251:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register WORD ToUnroll[],
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1252:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register LPBYTE Buffer);
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1887:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef LPBYTE (* _cmsFIXFN)(register struct _cmstransform_struct *info,
                             ^~~~~~~~~
/usr/local/include/lcms.h:1888:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register WORD ToUnroll[],
                             ^~~~~~~~~
/usr/local/include/lcms.h:1889:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register LPBYTE Buffer);
                             ^~~~~~~~~
9 warnings generated.
[59/230] /usr/bin/c++  -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_FLUIDSYNTH -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_X11 -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include/guichan -I. -I/usr/local/include/lua51 -I/usr/local/include -I/usr/local/include/SDL -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stratagus.dir/src/video/font.cpp.o -MF CMakeFiles/stratagus.dir/src/video/font.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/font.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/font.cpp
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/font.cpp:41:
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include/video.h:191:
In file included from /usr/local/include/libmng.h:385:
In file included from /usr/local/include/libmng_types.h:181:
/usr/local/include/lcms.h:1238:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef int (* _cmsSAMPLER)(register WORD In[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1239:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register WORD Out[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1240:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register LPVOID Cargo);
                            ^~~~~~~~~
/usr/local/include/lcms.h:1250:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef unsigned char* (* cmsFORMATTER)(register void* CMMcargo,
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1251:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register WORD ToUnroll[],
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1252:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register LPBYTE Buffer);
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1887:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef LPBYTE (* _cmsFIXFN)(register struct _cmstransform_struct *info,
                             ^~~~~~~~~
/usr/local/include/lcms.h:1888:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register WORD ToUnroll[],
                             ^~~~~~~~~
/usr/local/include/lcms.h:1889:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register LPBYTE Buffer);
                             ^~~~~~~~~
9 warnings generated.
[60/230] /usr/bin/c++  -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_FLUIDSYNTH -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_X11 -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include/guichan -I. -I/usr/local/include/lua51 -I/usr/local/include -I/usr/local/include/SDL -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stratagus.dir/src/video/graphic.cpp.o -MF CMakeFiles/stratagus.dir/src/video/graphic.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/graphic.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/graphic.cpp
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/graphic.cpp:43:
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include/video.h:191:
In file included from /usr/local/include/libmng.h:385:
In file included from /usr/local/include/libmng_types.h:181:
/usr/local/include/lcms.h:1238:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef int (* _cmsSAMPLER)(register WORD In[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1239:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register WORD Out[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1240:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register LPVOID Cargo);
                            ^~~~~~~~~
/usr/local/include/lcms.h:1250:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef unsigned char* (* cmsFORMATTER)(register void* CMMcargo,
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1251:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register WORD ToUnroll[],
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1252:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register LPBYTE Buffer);
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1887:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef LPBYTE (* _cmsFIXFN)(register struct _cmstransform_struct *info,
                             ^~~~~~~~~
/usr/local/include/lcms.h:1888:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register WORD ToUnroll[],
                             ^~~~~~~~~
/usr/local/include/lcms.h:1889:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register LPBYTE Buffer);
                             ^~~~~~~~~
9 warnings generated.
[61/230] /usr/bin/c++  -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_FLUIDSYNTH -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_X11 -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include/guichan -I. -I/usr/local/include/lua51 -I/usr/local/include -I/usr/local/include/SDL -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o -MF CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/linedraw.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/linedraw.cpp
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/linedraw.cpp:38:
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include/video.h:191:
In file included from /usr/local/include/libmng.h:385:
In file included from /usr/local/include/libmng_types.h:181:
/usr/local/include/lcms.h:1238:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef int (* _cmsSAMPLER)(register WORD In[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1239:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register WORD Out[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1240:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register LPVOID Cargo);
                            ^~~~~~~~~
/usr/local/include/lcms.h:1250:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef unsigned char* (* cmsFORMATTER)(register void* CMMcargo,
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1251:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register WORD ToUnroll[],
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1252:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register LPBYTE Buffer);
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1887:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef LPBYTE (* _cmsFIXFN)(register struct _cmstransform_struct *info,
                             ^~~~~~~~~
/usr/local/include/lcms.h:1888:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register WORD ToUnroll[],
                             ^~~~~~~~~
/usr/local/include/lcms.h:1889:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register LPBYTE Buffer);
                             ^~~~~~~~~
9 warnings generated.
[62/230] /usr/bin/c++  -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_FLUIDSYNTH -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_X11 -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include/guichan -I. -I/usr/local/include/lua51 -I/usr/local/include -I/usr/local/include/SDL -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stratagus.dir/src/video/mng.cpp.o -MF CMakeFiles/stratagus.dir/src/video/mng.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/mng.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp
FAILED: CMakeFiles/stratagus.dir/src/video/mng.cpp.o 
/usr/bin/c++  -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_FLUIDSYNTH -DUSE_MIKMOD -DUSE_MNG -DUSE_OPENGL -DUSE_THEORA -DUSE_VORBIS -DUSE_X11 -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/guichan/include/guichan -I. -I/usr/local/include/lua51 -I/usr/local/include -I/usr/local/include/SDL -O2 -pipe -fstack-protector -fno-strict-aliasing -O2 -pipe -fstack-protector -fno-strict-aliasing -MD -MT CMakeFiles/stratagus.dir/src/video/mng.cpp.o -MF CMakeFiles/stratagus.dir/src/video/mng.cpp.o.d -o CMakeFiles/stratagus.dir/src/video/mng.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:40:
In file included from /wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/include/video.h:191:
In file included from /usr/local/include/libmng.h:385:
In file included from /usr/local/include/libmng_types.h:181:
/usr/local/include/lcms.h:1238:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef int (* _cmsSAMPLER)(register WORD In[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1239:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register WORD Out[],
                            ^~~~~~~~~
/usr/local/include/lcms.h:1240:29: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                            register LPVOID Cargo);
                            ^~~~~~~~~
/usr/local/include/lcms.h:1250:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef unsigned char* (* cmsFORMATTER)(register void* CMMcargo,
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1251:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register WORD ToUnroll[],
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1252:41: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                                        register LPBYTE Buffer);
                                        ^~~~~~~~~
/usr/local/include/lcms.h:1887:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
typedef LPBYTE (* _cmsFIXFN)(register struct _cmstransform_struct *info,
                             ^~~~~~~~~
/usr/local/include/lcms.h:1888:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register WORD ToUnroll[],
                             ^~~~~~~~~
/usr/local/include/lcms.h:1889:30: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                             register LPBYTE Buffer);
                             ^~~~~~~~~
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:20: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                 ^
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:20: note: insert an explicit cast to silence this issue
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                 ^
                                 static_cast<Sint16>( )
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:23: error: non-constant-expression cannot be narrowed from type 'int' to 'Sint16' (aka 'short') in initializer list [-Wc++11-narrowing]
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                    ^
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:23: note: insert an explicit cast to silence this issue
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                    ^
                                    static_cast<Sint16>( )
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:26: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                       ^~~~~~~~~~
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:26: note: insert an explicit cast to silence this issue
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                       ^~~~~~~~~~
                                       static_cast<Uint16>( )
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:38: error: non-constant-expression cannot be narrowed from type 'int' to 'Uint16' (aka 'unsigned short') in initializer list [-Wc++11-narrowing]
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                                   ^~~~~~~~~~
/wrkdirs/usr/ports/games/stratagus/work/stratagus-2.4.1/src/video/mng.cpp:301:38: note: insert an explicit cast to silence this issue
                SDL_Rect rect = {x, y, surface->w, surface->h};
                                                   ^~~~~~~~~~
                                                   static_cast<Uint16>( )
9 warnings and 4 errors generated.
ninja: build stopped: subcommand failed.
*** Error code 1

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



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