Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Feb 2021 07:36:57 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - main-arm64-default][games/uhexen] Failed for uhexen-0.601_11 in build
Message-ID:  <202102010736.1117avHr045323@ampere2.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:     ports@FreeBSD.org
Last committer: tobik@FreeBSD.org
Ident:          $FreeBSD: head/games/uhexen/Makefile 517046 2019-11-08 10:47:01Z tobik $
Log URL:        http://ampere2.nyi.freebsd.org/data/main-arm64-default/p563107_s7b08a307e8/logs/uhexen-0.601_11.log
Build URL:      http://ampere2.nyi.freebsd.org/build.html?mastername=main-arm64-default&build=p563107_s7b08a307e8
Log:

=>> Building games/uhexen
build started at Mon Feb  1 07:36:36 UTC 2021
port directory: /usr/ports/games/uhexen
package name: uhexen-0.601_11
building for: FreeBSD main-arm64-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400002 arm64
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/uhexen/Makefile 517046 2019-11-08 10:47:01Z tobik $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1300134
Jail OSVERSION: 1400002
Job Id: 01




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



---Begin Environment---
SHELL=/bin/csh
OSVERSION=1400002
UNAME_v=FreeBSD 14.0-CURRENT 1400002
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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.8-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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 uhexen-0.601_11:
     MUSIC=on: In-game MIDI music support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/uhexen/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/uhexen/work  HOME=/wrkdirs/usr/ports/games/uhexen/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/uhexen/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--
EXTRA_LIBS=-lm SDL_CONFIG=/usr/local/bin/sdl-config DMDIR="/usr/local/share/doom" XDG_DATA_HOME=/wrkdirs/usr/ports/games/uhexen/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/uhexen/work  HOME=/wrkdirs/usr/ports/games/uhexen/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/uhexen/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="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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--
DMDIR="share/doom" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/uhexen"  EXAMPLESDIR="share/examples/uhexen"  DATADIR="share/uhexen"  WWWDIR="www/uhexen"  ETCDIR="etc/uhexen"
--End PLIST_SUB--

--SUB_LIST--
DMDIR="/usr/local/share/doom" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/uhexen DOCSDIR=/usr/local/share/doc/uhexen EXAMPLESDIR=/usr/local/share/examples/uhexen  WWWDIR=/usr/local/www/uhexen ETCDIR=/usr/local/etc/uhexen
--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
#### /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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--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_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_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: aarch64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400002
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  34045
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   >============================
===>   NOTICE:

The uhexen port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===========================================================================
=======================<phase: pkg-depends    >============================
===>   uhexen-0.601_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.2.txz
[main-arm64-default-job-01] Installing pkg-1.16.2...
[main-arm64-default-job-01] Extracting pkg-1.16.2: .......... done
===>   uhexen-0.601_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of uhexen-0.601_11
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The uhexen port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===> Fetching all distfiles required by uhexen-0.601_11 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The uhexen port currently does not have a maintainer. As a result, it is
<snip>
src/sb_bar.c:205:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatWeaponsFunc, CheatWeaponsSeq, NULL, 0, 0, 0 },
                                                   ^~~~
                                                   {   }
src/sb_bar.c:206:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatHealthFunc, CheatHealthSeq, NULL, 0, 0, 0 },
                                                 ^~~~
                                                 {   }
src/sb_bar.c:207:39: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatKeysFunc, CheatKeysSeq, NULL, 0, 0, 0 },
                                             ^~~~
                                             {   }
src/sb_bar.c:208:41: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatSoundFunc, CheatSoundSeq, NULL, 0, 0, 0 },
                                               ^~~~
                                               {   }
src/sb_bar.c:209:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatTickerFunc, CheatTickerSeq, NULL, 0, 0, 0 },
                                                 ^~~~
                                                 {   }
src/sb_bar.c:210:53: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatArtifactAllFunc, CheatArtifactAllSeq, NULL, 0, 0, 0 },
                                                           ^~~~
                                                           {   }
src/sb_bar.c:211:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatPuzzleFunc, CheatPuzzleSeq, NULL, 0, 0, 0 },
                                                 ^~~~
                                                 {   }
src/sb_bar.c:212:39: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatWarpFunc, CheatWarpSeq, NULL, 0, 0, 0 },
                                             ^~~~
                                             {   }
src/sb_bar.c:213:37: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatPigFunc, CheatPigSeq, NULL, 0, 0, 0 },
                                           ^~~~
                                           {   }
src/sb_bar.c:214:47: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatMassacreFunc, CheatMassacreSeq, NULL, 0, 0, 0 },
                                                     ^~~~
                                                     {   }
src/sb_bar.c:215:41: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatIDKFAFunc, CheatIDKFASeq, NULL, 0, 0, 0 },
                                               ^~~~
                                               {   }
src/sb_bar.c:216:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatQuickenFunc, CheatQuickenSeq, NULL, 0, 0, 0 },
                                                   ^~~~
                                                   {   }
src/sb_bar.c:217:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatClassFunc1, CheatClass1Seq, NULL, 0, 0, 0 },
                                                 ^~~~
                                                 {   }
src/sb_bar.c:218:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatClassFunc2, CheatClass2Seq, NULL, 0, 0, 0 },
                                                 ^~~~
                                                 {   }
src/sb_bar.c:219:39: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatInitFunc, CheatInitSeq, NULL, 0, 0, 0 },
                                             ^~~~
                                             {   }
src/sb_bar.c:220:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatVersionFunc, CheatVersionSeq, NULL, 0, 0, 0 },
                                                   ^~~~
                                                   {   }
src/sb_bar.c:221:41: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatDebugFunc, CheatDebugSeq, NULL, 0, 0, 0 },
                                               ^~~~
                                               {   }
src/sb_bar.c:222:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatScriptFunc1, CheatScriptSeq1, NULL, 0, 0, 0 },
                                                   ^~~~
                                                   {   }
src/sb_bar.c:223:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatScriptFunc2, CheatScriptSeq2, NULL, 0, 0, 0 },
                                                   ^~~~
                                                   {   }
src/sb_bar.c:224:45: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatScriptFunc3, CheatScriptSeq3, NULL, 0, 0, 0 },
                                                   ^~~~
                                                   {   }
src/sb_bar.c:225:43: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { CheatRevealFunc, CheatRevealSeq, NULL, 0, 0, 0 },
                                                 ^~~~
                                                 {   }
src/sb_bar.c:226:22: warning: suggest braces around initialization of subobject [-Wmissing-braces]
        { NULL, NULL, NULL, 0, 0, 0 } // Terminator
                            ^~~~
                            {   }
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/sc_man.c -o obj/sc_man.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/sn_sonix.c -o obj/sn_sonix.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/sounds.c -o obj/sounds.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/st_start_stub.c -o obj/st_start_stub.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/sv_save.c -o obj/sv_save.o
26 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/tables.c -o obj/tables.o
src/sv_save.c:372:12: warning: passing 'byte *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if(strcmp(SavePtr.b, HXS_VERSION_TEXT))
                  ^~~~~~~~~
/usr/include/string.h:82:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
src/sv_save.c:596:28: warning: cast to smaller integer type 'int' from 'mobj_t *' (aka 'struct mobj_s *') [-Wpointer-to-int-cast]
                        *TargetPlayerAddrs[i] = (int)targetPlayerMobj;
                                                ^~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:779:14: warning: cast to smaller integer type 'int' from 'state_t *' [-Wpointer-to-int-cast]
                                        &states[(int)players[i].psprites[j].state];
                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1012:18: warning: cast to 'mobj_t *' (aka 'struct mobj_s *') from smaller integer type 'int' [-Wint-to-pointer-cast]
                mobj->target = (mobj_t *)GetMobjNum(mobj->target);
                               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1031:33: warning: cast to 'mobj_t *' (aka 'struct mobj_s *') from smaller integer type 'int' [-Wint-to-pointer-cast]
                                mobj->special1 = GetMobjNum((mobj_t *)mobj->special1);
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1044:33: warning: cast to 'mobj_t *' (aka 'struct mobj_s *') from smaller integer type 'int' [-Wint-to-pointer-cast]
                                mobj->special2 = GetMobjNum((mobj_t *)mobj->special2);
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1058:33: warning: cast to 'mobj_t *' (aka 'struct mobj_s *') from smaller integer type 'int' [-Wint-to-pointer-cast]
                                mobj->special1 = GetMobjNum((mobj_t *)mobj->special1);
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1059:33: warning: cast to 'mobj_t *' (aka 'struct mobj_s *') from smaller integer type 'int' [-Wint-to-pointer-cast]
                                mobj->special2 = GetMobjNum((mobj_t *)mobj->special2);
                                                            ^~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/template.c -o obj/template.o
src/sv_save.c:1100:24: warning: cast to smaller integer type 'int' from 'state_t *' [-Wpointer-to-int-cast]
        mobj->state = &states[(int)mobj->state];
                              ^~~~~~~~~~~~~~~~
src/sv_save.c:1103:27: warning: cast to smaller integer type 'int' from 'struct player_s *' [-Wpointer-to-int-cast]
                mobj->player = &players[(int)mobj->player-1];
                                        ^~~~~~~~~~~~~~~~~
src/sv_save.c:1165:16: warning: cast to smaller integer type 'int' from 'mobj_t *' (aka 'struct mobj_s *') [-Wpointer-to-int-cast]
        *archiveNum = (int)MobjList[*archiveNum];
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1261:25: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast]
        sst->sector = &sectors[(int)sst->sector];
                               ^~~~~~~~~~~~~~~~
src/sv_save.c:1273:25: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast]
        sst->sector = &sectors[(int)sst->sector];
                               ^~~~~~~~~~~~~~~~
src/sv_save.c:1284:23: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast]
        script->ip = (int *)((int)(script->ip)-(int)ActionCodeBase);
                             ^~~~~~~~~~~~~~~~~
src/sv_save.c:1284:41: warning: cast to smaller integer type 'int' from 'byte *' (aka 'unsigned char *') [-Wpointer-to-int-cast]
        script->ip = (int *)((int)(script->ip)-(int)ActionCodeBase);
                                               ^~~~~~~~~~~~~~~~~~~
src/sv_save.c:1284:15: warning: cast to 'int *' from smaller integer type 'int' [-Wint-to-pointer-cast]
        script->ip = (int *)((int)(script->ip)-(int)ActionCodeBase);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1287:22: warning: cast to 'mobj_t *' (aka 'struct mobj_s *') from smaller integer type 'int' [-Wint-to-pointer-cast]
        script->activator = (mobj_t *)GetMobjNum(script->activator);
                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/sv_save.c:1298:38: warning: cast to smaller integer type 'int' from 'int *' [-Wpointer-to-int-cast]
        script->ip = (int *)(ActionCodeBase+(int)script->ip);
                                            ^~~~~~~~~~~~~~~
src/sv_save.c:1299:5: warning: cast to smaller integer type 'int' from 'line_t *' (aka 'struct line_s *') [-Wpointer-to-int-cast]
        if((int)script->line == -1)
           ^~~~~~~~~~~~~~~~~
src/sv_save.c:1305:25: warning: cast to smaller integer type 'int' from 'line_t *' (aka 'struct line_s *') [-Wpointer-to-int-cast]
                script->line = &lines[(int)script->line];
                                      ^~~~~~~~~~~~~~~~~
src/sv_save.c:1318:26: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast]
        plat->sector = &sectors[(int)plat->sector];
                                ^~~~~~~~~~~~~~~~~
src/sv_save.c:1331:29: warning: cast to smaller integer type 'int' from 'sector_t *' [-Wpointer-to-int-cast]
        ceiling->sector = &sectors[(int)ceiling->sector];
                                   ^~~~~~~~~~~~~~~~~~~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/v_video.c -o obj/v_video.o
src/v_video.c:58:3: warning: indirection of non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
                *((int *)0)=0;
                ^~~~~~~~~~~
src/v_video.c:58:3: note: consider using __builtin_trap() or qualifying pointer with 'volatile'
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/w_wad.c -o obj/w_wad.o
src/w_wad.c:87:4: warning: unsequenced modification and access to 's' [-Wunsequenced]
        *s++ = toupper(*s);
          ^             ~
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -c src/z_zone.c -o obj/z_zone.o
src/z_zone.c:369:30: warning: cast to smaller integer type 'unsigned int' from 'void **' [-Wpointer-to-int-cast]
        if (tag >= PU_PURGELEVEL && (unsigned)block->user < 0x100)
                                    ^~~~~~~~~~~~~~~~~~~~~
1 warning generated.
22 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DPREFIX=\"/usr/local\" -Iinclude -fomit-frame-pointer -Wall -DNORMALUNIX -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE  -DUSE_SDL -DFBSD_CONSOLE -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread -lSDL_mixer -lm obj/a_action.o obj/am_map.o obj/ct_chat.o obj/d_net.o obj/f_finale.o obj/g_game.o obj/h2_main.o obj/in_lude.o obj/info.o obj/m_misc.o obj/mn_menu.o obj/mn_keynames.o obj/p_acs.o obj/p_anim.o obj/p_ceilng.o obj/p_doors.o obj/p_enemy.o obj/p_floor.o obj/p_inter.o obj/p_lights.o obj/p_map.o obj/p_maputl.o obj/p_mobj.o obj/p_plats.o obj/p_pspr.o obj/p_setup.o obj/p_sight.o obj/p_spec.o obj/p_switch.o obj/p_telept.o obj/p_things.o obj/p_tick.o obj/p_user.o obj/po_man.o obj/i_video.o obj/i_sdlvideo.o obj/i_fbsdvideo.o obj/i_main.o obj/i_system.o obj/i_sound.o obj/qmus2mid.o obj/i_sdlsound.o obj/i_netstub.o obj/m_fixed.o obj/r_bsp.o obj/r_data.o obj/r_draw.o obj/r_main.o obj/r_plane.o ob
 j/r_segs.o obj/r_things.o obj/sb_bar.o obj/sc_man.o obj/sn_sonix.o obj/sounds.o obj/st_start_stub.o obj/sv_save.o obj/tables.o obj/template.o obj/v_video.o obj/w_wad.o obj/z_zone.o  \
-o uhexen -lSDL_mixer
ld: error: duplicate symbol: mouse_scale_factor
>>> defined at i_sdlvideo.c
>>>            obj/i_sdlvideo.o:(mouse_scale_factor)
>>> defined at i_fbsdvideo.c
>>>            obj/i_fbsdvideo.o:(.bss+0x3B8)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:124: uhexen] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/uhexen/work/uhexen-0.601'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

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



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