Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jun 2018 19:39:30 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - head-armv6-default][games/freera] Failed for freera-080203_6 in build
Message-ID:  <201806261939.w5QJdUpZ045938@beefy8.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://beefy8.nyi.freebsd.org/data/head-armv6-default/p473110_s335573/logs/freera-080203_6.log
Build URL:      http://beefy8.nyi.freebsd.org/build.html?mastername=head-armv6-default&build=p473110_s335573
Log:

=>> Building games/freera
build started at Tue Jun 26 19:38:23 UTC 2018
port directory: /usr/ports/games/freera
package name: freera-080203_6
building for: FreeBSD head-armv6-default-job-09 12.0-CURRENT FreeBSD 12.0-CURRENT 1200069 arm
maintained by: amdmi3@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/freera/Makefile 424411 2016-10-21 12:51:40Z mat $
Poudriere version: 3.2.7-1-g7087c444
Host OSVERSION: 1200062
Jail OSVERSION: 1200069
Job Id: 09




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1200069
UNAME_v=FreeBSD 12.0-CURRENT 1200069
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.7-1-g7087c444
MASTERMNT=/usr/local/poudriere/data/.m/head-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv6-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---
---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  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="" LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -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---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 6.0.0 (tags/RELEASE_600/final 326565) (based on LLVM 6.0.0) Target: armv6-unknown-freebsd12.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=12.0-CURRENT
OSREL=12.0
OSVERSION=1200069
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---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
AS=/nxb-bin/usr/bin/as
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   freera-080203_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.5_1.txz
[head-armv6-default-job-09] Installing pkg-1.10.5_1...
[head-armv6-default-job-09] Extracting pkg-1.10.5_1: .......... 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>============================
===========================================================================
<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?201806261939.w5QJdUpZ045938>