Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Feb 2018 08:08:45 GMT
From:      pkg-fallout@FreeBSD.org
To:        amdmi3@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][games/freera] Failed for freera-080203_6 in build
Message-ID:  <201802030808.w1388jFF013561@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: mat@FreeBSD.org
Ident:          $FreeBSD: head/games/freera/Makefile 424411 2016-10-21 12:51:40Z mat $
Log URL:        http://beefy11.nyi.freebsd.org/data/head-i386-default/p460764_s328823/logs/freera-080203_6.log
Build URL:      http://beefy11.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p460764_s328823
Log:

=>> Building games/freera
build started at Sat Feb  3 08:08:07 UTC 2018
port directory: /usr/ports/games/freera
package name: freera-080203_6
building for: FreeBSD head-i386-default-job-08 12.0-CURRENT FreeBSD 12.0-CURRENT 1200056 i386
maintained by: amdmi3@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/freera/Makefile 424411 2016-10-21 12:51:40Z mat $
Poudriere version: 3.2.4-34-g673bd441
Host OSVERSION: 1200054
Jail OSVERSION: 1200056
Job Id: 08




!!! 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-34-g673bd441
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---
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/freera/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/freera/work  HOME=/wrkdirs/usr/ports/games/freera/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/freera/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/games/freera/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/freera/work  HOME=/wrkdirs/usr/ports/games/freera/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/freera/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="" OSREL=12.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/freera"  EXAMPLESDIR="share/examples/freera"  DATADIR="share/freera"  WWWDIR="www/freera"  ETCDIR="etc/freera"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/freera DOCSDIR=/usr/local/share/doc/freera EXAMPLESDIR=/usr/local/share/examples/freera  WWWDIR=/usr/local/www/freera ETCDIR=/usr/local/etc/freera
--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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   freera-080203_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[head-i386-default-job-08] Installing pkg-1.10.4...
[head-i386-default-job-08] Extracting pkg-1.10.4: .......... done
===>   freera-080203_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of freera-080203_6
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by freera-080203_6 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by freera-080203_6 for building
=> SHA256 Checksum OK for 080203_freera++_src.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by freera-080203_6 for building
===>  Extracting for freera-080203_6
=> SHA256 Checksum OK for 080203_freera++_src.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for freera-080203_6
===>  Applying FreeBSD patches for freera-080203_6
===========================================================================
=======================<phase: build-depends  >============================
===>   freera-080203_6 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-08] Installing sdl-1.2.15_10,2...
[head-i386-default-job-08] `-- Installing aalib-1.4.r5_11...
[head-i386-default-job-08] |   `-- Installing indexinfo-0.3.1...
[head-i386-default-job-08] |   `-- Extracting indexinfo-0.3.1: .... done
[head-i386-default-job-08] `-- Extracting aalib-1.4.r5_11: .......... done
[head-i386-default-job-08] `-- Installing libGLU-9.0.0_3...
[head-i386-default-job-08] |   `-- Installing mesa-libs-17.3.1...
[head-i386-default-job-08] |   | `-- Installing expat-2.2.5...
[head-i386-default-job-08] |   | `-- Extracting expat-2.2.5: .......... done
[head-i386-default-job-08] |   | `-- Installing libX11-1.6.5,1...
[head-i386-default-job-08] |   |   `-- Installing kbproto-1.0.7...
[head-i386-default-job-08] |   |   `-- Extracting kbproto-1.0.7: .......... done
[head-i386-default-job-08] |   |   `-- Installing libXau-1.0.8_3...
[head-i386-default-job-08] |   |   | `-- Installing xproto-7.0.31...
[head-i386-default-job-08] |   |   | `-- Extracting xproto-7.0.31: .......... done
[head-i386-default-job-08] |   |   `-- Extracting libXau-1.0.8_3: .......... done
[head-i386-default-job-08] |   |   `-- Installing libXdmcp-1.1.2...
[head-i386-default-job-08] |   |   `-- Extracting libXdmcp-1.1.2: ......... done
[head-i386-default-job-08] |   |   `-- Installing libxcb-1.12_2...
[head-i386-default-job-08] |   |   | `-- Installing libpthread-stubs-0.4...
[head-i386-default-job-08] |   |   | `-- Extracting libpthread-stubs-0.4: . done
[head-i386-default-job-08] |   |   | `-- Installing libxml2-2.9.7...
[head-i386-default-job-08] |   |   | `-- Extracting libxml2-2.9.7: .......... done
[head-i386-default-job-08] |   |   `-- Extracting libxcb-1.12_2: .......... done
[head-i386-default-job-08] |   | `-- Extracting libX11-1.6.5,1: .......... done
[head-i386-default-job-08] |   | `-- Installing libXdamage-1.1.4_3...
[head-i386-default-job-08] |   |   `-- Installing damageproto-1.2.1...
[head-i386-default-job-08] |   |   `-- Extracting damageproto-1.2.1: .... done
<snip>
                tmpterrain.yoffset = -(linenum/ysize)*24;
                                   ~ ~~~~~~~~~~~~~~~~^~~
src/game/loadmap.cpp:476:27: warning: implicit conversion changes signedness: 'Uint32' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                linenum = normaliseCoord(tx, ty);
                        ~ ^~~~~~~~~~~~~~~~~~~~~~
src/game/loadmap.cpp:486:35: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                    overlaymatrix[linenum] |= HAS_TERRAIN;
                    ~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:488:30: warning: implicit conversion changes signedness: 'int' to 'std::__1::map<unsigned int, TerrainEntry, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<const unsigned int, TerrainEntry> > >::key_type' (aka 'unsigned int') [-Wsign-conversion]
                    terrains[linenum] = tmpterrain;
                    ~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:492:35: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                    overlaymatrix[linenum] |= HAS_TERRAIN;
                    ~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:494:30: warning: implicit conversion changes signedness: 'int' to 'std::__1::map<unsigned int, TerrainEntry, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<const unsigned int, TerrainEntry> > >::key_type' (aka 'unsigned int') [-Wsign-conversion]
                    terrains[linenum] = tmpterrain;
                    ~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:496:55: warning: implicit conversion loses integer precision: 'int' to 'Sint8' (aka 'signed char') [-Wconversion]
                        image = new SHPImage(shpname, mapscaleq);
                                    ~~~~~~~~          ^~~~~~~~~
src/game/loadmap.cpp:519:32: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                translateCoord(linenum, &tx, &ty);
                ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:524:31: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                overlaymatrix[linenum] |= (smudgenum<<4);
                ~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:524:53: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                overlaymatrix[linenum] |= (smudgenum<<4);
                                       ~~  ~~~~~~~~~^~~
src/game/loadmap.cpp:528:32: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                translateCoord(linenum, &tx, &ty);
                ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:534:31: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                overlaymatrix[linenum] |= ((smudgenum+6)<<4);
                ~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:534:57: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                overlaymatrix[linenum] |= ((smudgenum+6)<<4);
                                       ~~  ~~~~~~~~~~~~~^~~
src/game/loadmap.cpp:551:36: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                    translateCoord(linenum, &tx, &ty);
                    ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:557:54: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                    p::uspool->createStructure(type, linenum, p::ppool->getPlayerNum(owner),
                               ~~~~~~~~~~~~~~~       ^~~~~~~
src/game/loadmap.cpp:558:25: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                        health, facing, false, trigger);
                        ^~~~~~
src/game/loadmap.cpp:558:33: warning: implicit conversion loses integer precision: 'int' to 'Uint8' (aka 'unsigned char') [-Wconversion]
                        health, facing, false, trigger);
                                ^~~~~~
src/game/loadmap.cpp:568:36: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                    translateCoord(linenum, &tx, &ty);
                    ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:574:54: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                    p::uspool->createStructure(type, linenum, p::ppool->getPlayerNum(owner),
                               ~~~~~~~~~~~~~~~       ^~~~~~~
src/game/loadmap.cpp:575:25: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                        health, facing, false, trigger);
                        ^~~~~~
src/game/loadmap.cpp:575:33: warning: implicit conversion loses integer precision: 'int' to 'Uint8' (aka 'unsigned char') [-Wconversion]
                        health, facing, false, trigger);
                                ^~~~~~
src/game/loadmap.cpp:589:32: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                translateCoord(linenum, &tx, &ty);
                ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:595:45: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                p::uspool->createUnit(type, linenum, 5, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~       ^~~~~~~
src/game/loadmap.cpp:595:88: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                p::uspool->createUnit(type, linenum, 5, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~                                                  ^~~~~~
src/game/loadmap.cpp:595:96: warning: implicit conversion loses integer precision: 'int' to 'Uint8' (aka 'unsigned char') [-Wconversion]
                p::uspool->createUnit(type, linenum, 5, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~                                                          ^~~~~~
src/game/loadmap.cpp:610:32: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                translateCoord(linenum, &tx, &ty);
                ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:617:45: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                p::uspool->createUnit(type, linenum, subpos, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~       ^~~~~~~
src/game/loadmap.cpp:617:54: warning: implicit conversion loses integer precision: 'int' to 'Uint8' (aka 'unsigned char') [-Wconversion]
                p::uspool->createUnit(type, linenum, subpos, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~                ^~~~~~
src/game/loadmap.cpp:617:93: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                p::uspool->createUnit(type, linenum, subpos, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~                                                       ^~~~~~
src/game/loadmap.cpp:617:101: warning: implicit conversion loses integer precision: 'int' to 'Uint8' (aka 'unsigned char') [-Wconversion]
                p::uspool->createUnit(type, linenum, subpos, p::ppool->getPlayerNum(owner), health, facing, UnitActionToNr(action), trigger);
                           ~~~~~~~~~~                                                               ^~~~~~
src/game/loadmap.cpp:637:40: warning: implicit conversion loses integer precision: 'int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
                    CellTrig.cellpos = linenum;
                                     ~ ^~~~~~~
src/game/loadmap.cpp:639:36: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
                    translateCoord(linenum, &CellTrig.x, &CellTrig.y);
                    ~~~~~~~~~~~~~~ ^~~~~~~
src/game/loadmap.cpp:697:35: warning: implicit conversion changes signedness: 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size_type' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                pos = key->second.find (teamname,0);
                    ~ ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
src/game/loadmap.cpp:698:56: warning: implicit conversion changes signedness: 'int' to 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                std::string temp = key->second.substr (pos, key->second.size());
                                               ~~~~~~  ^~~
src/game/loadmap.cpp:704:32: warning: implicit conversion changes signedness: 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size_type' (aka 'unsigned int') to 'int' [-Wsign-conversion]
                    pos = temp.find (",", 0);
                        ~ ~~~~~^~~~~~~~~~~~~
src/game/loadmap.cpp:705:43: warning: implicit conversion changes signedness: 'int' to 'std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                    temp = temp.substr(pos+1, temp.size());
                                ~~~~~~ ~~~^~
src/game/loadmap.cpp:839:69: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        curpos = curpos + 4 + mapdata2[curpos] + (mapdata2[curpos+1]<<8) +
                                               ~  ~~~~~~~~~~~~~~~~~~^~~
src/game/loadmap.cpp:840:37: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
                 (mapdata2[curpos+2]<<16);
                  ~~~~~~~~~~~~~~~~~~^~~~
src/game/loadmap.cpp:924:29: warning: '&' within '|' [-Wbitwise-op-parentheses]
                tile = xtile&3 | (ytile&3 << 2);
                       ~~~~~^~ ~
src/game/loadmap.cpp:924:29: note: place parentheses around the '&' expression to silence this warning
                tile = xtile&3 | (ytile&3 << 2);
                            ^
                       (      )
src/game/loadmap.cpp:926:29: warning: '&' within '|' [-Wbitwise-op-parentheses]
                tile = xtile&1 | (ytile&1 << 1);
                       ~~~~~^~ ~
src/game/loadmap.cpp:926:29: note: place parentheses around the '&' expression to silence this warning
                tile = xtile&1 | (ytile&1 << 1);
                            ^
                       (      )
src/game/loadmap.cpp:928:45: warning: implicit conversion changes signedness: 'int' to 'const std::__1::map<unsigned int, tiledata, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<const unsigned int, tiledata> > >::key_type' (aka 'const unsigned int') [-Wsign-conversion]
            imgpos = tilelist.find(templ<<8 | tile);
                              ~~~~ ~~~~~~~~~^~~~~~
src/game/loadmap.cpp:952:33: warning: implicit conversion loses integer precision: 'Uint32' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') [-Wconversion]
                tiledata.type = tiletype;
                              ~ ^~~~~~~~
src/game/loadmap.cpp:953:35: warning: implicit conversion changes signedness: 'int' to 'std::__1::map<unsigned int, tiledata, std::__1::less<unsigned int>, std::__1::allocator<std::__1::pair<const unsigned int, tiledata> > >::key_type' (aka 'unsigned int') [-Wsign-conversion]
                tilelist[templ<<8 | tile] = tiledata;
                ~~~~~~~~ ~~~~~~~~~^~~~~~
src/game/loadmap.cpp:958:35: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned short, std::__1::allocator<unsigned short> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
            tilematrix[width*ytile+xtile] = tileidx;
            ~~~~~~~~~~ ~~~~~~~~~~~^~~~~~
src/game/loadmap.cpp:958:45: warning: implicit conversion loses integer precision: 'Uint32' (aka 'unsigned int') to 'std::__1::__vector_base<unsigned short, std::__1::allocator<unsigned short> >::value_type' (aka 'unsigned short') [-Wconversion]
            tilematrix[width*ytile+xtile] = tileidx;
                                          ~ ^~~~~~~
src/game/loadmap.cpp:959:41: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
            if( terraintypes[width*ytile+xtile] == 0 )
                ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~
src/game/loadmap.cpp:960:41: warning: implicit conversion changes signedness: 'int' to 'std::__1::vector<unsigned char, std::__1::allocator<unsigned char> >::size_type' (aka 'unsigned int') [-Wsign-conversion]
                terraintypes[width*ytile+xtile] = tiletype;
                ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~
src/game/loadmap.cpp:960:51: warning: implicit conversion loses integer precision: 'Uint32' (aka 'unsigned int') to 'std::__1::__vector_base<unsigned char, std::__1::allocator<unsigned char> >::value_type' (aka 'unsigned char') [-Wconversion]
                terraintypes[width*ytile+xtile] = tiletype;
                                                ~ ^~~~~~~~
src/game/loadmap.cpp:1020:61: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
        curpos = curpos + 4 + temp[curpos] + (temp[curpos+1]<<8) +
                                           ~  ~~~~~~~~~~~~~~^~~
src/game/loadmap.cpp:1021:28: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
            (temp[curpos+2]<<16);
             ~~~~~~~~~~~~~~^~~~
src/game/loadmap.cpp:1025:18: warning: implicit conversion loses integer precision: 'Uint16' (aka 'unsigned short') to 'Uint8' (aka 'unsigned char') [-Wconversion]
    for (ytile = y; ytile <= y+height; ++ytile){
               ~ ^
src/game/loadmap.cpp:1026:22: warning: implicit conversion loses integer precision: 'Uint16' (aka 'unsigned short') to 'Uint8' (aka 'unsigned char') [-Wconversion]
        for (xtile = x; xtile <= x+width; ++xtile){
                   ~ ^
src/game/loadmap.cpp:1046:50: warning: implicit conversion loses integer precision: 'const Uint32' (aka 'const unsigned int') to 'Uint16' (aka 'unsigned short') [-Wconversion]
        p::uspool->createStructure(name.c_str(), linenum, p::ppool->getPlayerNum("NEUTRAL"), 256, 0, false);
                   ~~~~~~~~~~~~~~~               ^~~~~~~
src/game/loadmap.cpp:1055:58: warning: implicit conversion loses integer precision: 'Uint32' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') [-Wconversion]
        frame = pc::imgcache->loadImage(shpname.c_str()) >> 16;
              ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/game/loadmap.cpp:1059:62: warning: implicit conversion loses integer precision: 'Uint32' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') [-Wconversion]
            frame = pc::imgcache->loadImage(shpname.c_str()) >> 16;
                  ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
src/game/loadmap.cpp:1076:17: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
            i = atoi(name.c_str() + (name.length() - 2));
              ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/game/loadmap.cpp:1087:34: warning: implicit conversion loses integer precision: 'std::__1::vector<unsigned int, std::__1::allocator<unsigned int> >::size_type' (aka 'unsigned int') to 'Uint8' (aka 'unsigned char') [-Wconversion]
            type = resourcebases.size();
                 ~ ~~~~~~~~~~~~~~^~~~~~
src/game/loadmap.cpp:1090:24: warning: implicit conversion loses integer precision: 'unsigned int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
            res = type | ((i-1) << 8);
                ~ ~~~~~^~~~~~~~~~~~~~
src/game/loadmap.cpp:1094:29: warning: implicit conversion loses integer precision: 'unsigned int' to 'Uint16' (aka 'unsigned short') [-Wconversion]
            res = t->second | ((i-1) << 8);
                ~ ~~~~~~~~~~^~~~~~~~~~~~~~
src/game/loadmap.cpp:1190:27: warning: implicit conversion changes signedness: 'int' to 'Uint32' (aka 'unsigned int') [-Wsign-conversion]
    *tiletype = templini->readInt(tilefilename, tilenum, 0);
              ~ ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/game/loadmap.cpp:1214:63: warning: implicit conversion loses integer precision: 'int' to 'Sint8' (aka 'signed char') [-Wconversion]
                theaterfile = new TemplateImage(tilefilename, mapscaleq, 1);
                                  ~~~~~~~~~~~~~               ^~~~~~~~~
src/game/loadmap.cpp:1216:63: warning: implicit conversion loses integer precision: 'int' to 'Sint8' (aka 'signed char') [-Wconversion]
                theaterfile = new TemplateImage(tilefilename, mapscaleq);
                                  ~~~~~~~~~~~~~               ^~~~~~~~~
100 warnings and 1 error generated.
scons: *** [src/game/loadmap.o] Error 1
scons: building terminated because of errors.
*** Error code 1

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



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