[package - head-i386-default][games/stratagus] Failed for stratagus-2.4.1_1 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Feb 8 12:36:19 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:     amdmi3 at FreeBSD.org
Last committer: rezny at 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/p461193_s329007/logs/stratagus-2.4.1_1.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p461193_s329007
Log:

=>> Building games/stratagus
build started at Thu Feb  8 12:33:37 UTC 2018
port directory: /usr/ports/games/stratagus
package name: stratagus-2.4.1_1
building for: FreeBSD head-i386-default-job-03 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386
maintained by: amdmi3 at FreeBSD.org
Makefile ident:      $FreeBSD: head/games/stratagus/Makefile 441503 2017-05-23 05:03:14Z rezny $
Poudriere version: 3.2.4-48-gf881e389
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 03




!!! 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
POUDRIERE_VERSION=3.2.4-48-gf881e389
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 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 at 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 ####
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    >============================
===>   stratagus-2.4.1_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-03] Installing pkg-1.10.4...
[head-i386-default-job-03] Extracting pkg-1.10.4: .......... 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  >============================
===>   stratagus-2.4.1_1 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-03] Installing sdl-1.2.15_10,2...
[head-i386-default-job-03] `-- Installing aalib-1.4.r5_11...
[head-i386-default-job-03] |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-03] |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-03] `-- Extracting aalib-1.4.r5_11: .......... done
[head-i386-default-job-03] `-- Installing libGLU-9.0.0_3...
[head-i386-default-job-03] |   `-- Installing mesa-libs-17.3.1...
[head-i386-default-job-03] |   | `-- Installing expat-2.2.5...
[head-i386-default-job-03] |   | `-- Extracting expat-2.2.5: .......... done
[head-i386-default-job-03] |   | `-- Installing libX11-1.6.5,1...
[head-i386-default-job-03] |   |   `-- Installing kbproto-1.0.7...
[head-i386-default-job-03] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-i386-default-job-03] |   |   `-- Installing libXau-1.0.8_3...
[head-i386-default-job-03] |   |   | `-- Installing xproto-7.0.31...
[head-i386-default-job-03] |   |   | `-- Extracting xproto-7.0.31: .......... done
[head-i386-default-job-03] |   |   `-- Extracting libXau-1.0.8_3: .......... done
<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


More information about the freebsd-pkg-fallout mailing list