[package - 132arm64-quarterly][games/mirrormagic] Failed for mirrormagic-3.3.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 03 Sep 2023 17:19:47 UTC
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
Log URL:        https://pkg-status.freebsd.org/ampere1/data/132arm64-quarterly/0fe4b67dc0eb/logs/mirrormagic-3.3.0.log
Build URL:      https://pkg-status.freebsd.org/ampere1/build.html?mastername=132arm64-quarterly&build=0fe4b67dc0eb
Log:

=>> Building games/mirrormagic
build started at Sun Sep  3 17:18:58 UTC 2023
port directory: /usr/ports/games/mirrormagic
package name: mirrormagic-3.3.0
building for: FreeBSD 132arm64-quarterly-job-13 13.2-RELEASE-p2 FreeBSD 13.2-RELEASE-p2 arm64
maintained by: amdmi3@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p2
UNAME_r=13.2-RELEASE-p2
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/132arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/132arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/132arm64-quarterly/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 mirrormagic-3.3.0:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/mirrormagic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/mirrormagic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/mirrormagic/work/.cache  HOME=/wrkdirs/usr/ports/games/mirrormagic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/mirrormagic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/mirrormagic/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
PERL_USE_UNSAFE_INC=1 SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/mirrormagic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/mirrormagic/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/games/mirrormagic/work/.cache  HOME=/wrkdirs/usr/ports/games/mirrormagic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/mirrormagic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/games/mirrormagic/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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--
PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.32.1  PERL_VER=5.32  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.32 DOCSDIR="share/doc/mirrormagic"  EXAMPLESDIR="share/examples/mirrormagic"  DATADIR="share/mirrormagic"  WWWDIR="www/mirrormagic"  ETCDIR="etc/mirrormagic"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mirrormagic DOCSDIR=/usr/local/share/doc/mirrormagic EXAMPLESDIR=/usr/local/share/examples/mirrormagic  WWWDIR=/usr/local/www/mirrormagic ETCDIR=/usr/local/etc/mirrormagic
--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 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd13.2 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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 14.0.5 (https://github.com/llvm/llvm-project.git llvmorg-14.0.5-0-gc12386ae247c) Target: aarch64-unknown-freebsd13.2 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.2-RELEASE-p2
OSREL=13.2
OSVERSION=1302001
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)  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    >============================
===>   mirrormagic-3.3.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.2.pkg
[132arm64-quarterly-job-13] Installing pkg-1.19.2...
[132arm64-quarterly-job-13] Extracting pkg-1.19.2: .......... done
===>   mirrormagic-3.3.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mirrormagic-3.3.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by mirrormagic-3.3.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by mirrormagic-3.3.0 for building
=> SHA256 Checksum OK for mirrormagic-3.3.0-linux.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by mirrormagic-3.3.0 for building
===>  Extracting for mirrormagic-3.3.0
=> SHA256 Checksum OK for mirrormagic-3.3.0-linux.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for mirrormagic-3.3.0
===>  Applying FreeBSD patches for mirrormagic-3.3.0 from /usr/ports/games/mirrormagic/files
===========================================================================
=======================<phase: build-depends  >============================
===>   mirrormagic-3.3.0 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[132arm64-quarterly-job-13] Installing gmake-4.3_2...
[132arm64-quarterly-job-13] `-- Installing gettext-runtime-0.21.1...
[132arm64-quarterly-job-13] |   `-- Installing indexinfo-0.3.1...
[132arm64-quarterly-job-13] |   `-- Extracting indexinfo-0.3.1: .... done
[132arm64-quarterly-job-13] `-- Extracting gettext-runtime-0.21.1: .......... done
[132arm64-quarterly-job-13] Extracting gmake-4.3_2: .......... done
===>   mirrormagic-3.3.0 depends on package: gmake>=4.3 - found
===>   Returning to build of mirrormagic-3.3.0
===>   mirrormagic-3.3.0 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.26.5.pkg
<snip>

--
Additional packages recommended for new users:
- imlib2-jxl (e.g., feh, scrot)
- kf5-kimageformats (e.g., nomacs, flameshot, skanlite)
- gimp-jxl-plugin
===>   mirrormagic-3.3.0 depends on shared library: libSDL2_image.so - found (/usr/local/lib/libSDL2_image.so)
===>   Returning to build of mirrormagic-3.3.0
===>   mirrormagic-3.3.0 depends on shared library: libSDL2_mixer.so - not found
===>   Installing existing package /packages/All/sdl2_mixer-2.6.3_1.pkg
[132arm64-quarterly-job-13] Installing sdl2_mixer-2.6.3_1...
[132arm64-quarterly-job-13] `-- Installing flac-1.4.3,1...
[132arm64-quarterly-job-13] |   `-- Installing libogg-1.3.5,4...
[132arm64-quarterly-job-13] |   `-- Extracting libogg-1.3.5,4: .......... done
[132arm64-quarterly-job-13] `-- Extracting flac-1.4.3,1: .......... done
[132arm64-quarterly-job-13] `-- Installing fluidsynth-2.3.3...
[132arm64-quarterly-job-13] |   `-- Installing jackit-1.9.22_1...
[132arm64-quarterly-job-13] |   | `-- Installing dbus-1.14.6,1...
[132arm64-quarterly-job-13] |   |   `-- Installing libICE-1.1.0_1,1...
[132arm64-quarterly-job-13] |   |   `-- Extracting libICE-1.1.0_1,1: .......... done
[132arm64-quarterly-job-13] |   |   `-- Installing libSM-1.2.3,1...
[132arm64-quarterly-job-13] |   |   `-- Extracting libSM-1.2.3,1: .......... done
===> Creating groups.
Creating group 'messagebus' with gid '556'.
===> Creating users
Creating user 'messagebus' with uid '556'.
[132arm64-quarterly-job-13] |   | `-- Extracting dbus-1.14.6,1: ......... done
[132arm64-quarterly-job-13] |   | `-- Installing libsamplerate-0.2.2_1...
[132arm64-quarterly-job-13] |   |   `-- Installing libsndfile-1.2.0_1...
[132arm64-quarterly-job-13] |   |   | `-- Installing lame-3.100_4...
[132arm64-quarterly-job-13] |   |   | `-- Extracting lame-3.100_4: .......... done
[132arm64-quarterly-job-13] |   |   | `-- Installing libvorbis-1.3.7_2,3...
[132arm64-quarterly-job-13] |   |   | `-- Extracting libvorbis-1.3.7_2,3: .......... done
[132arm64-quarterly-job-13] |   |   | `-- Installing mpg123-1.31.3_1...
[132arm64-quarterly-job-13] |   |   | `-- Extracting mpg123-1.31.3_1: .......... done
[132arm64-quarterly-job-13] |   |   | `-- Installing opus-1.4...
[132arm64-quarterly-job-13] |   |   | `-- Extracting opus-1.4: .......... done
[132arm64-quarterly-job-13] |   |   `-- Extracting libsndfile-1.2.0_1: .......... done
[132arm64-quarterly-job-13] |   | `-- Extracting libsamplerate-0.2.2_1: .......... done
[132arm64-quarterly-job-13] |   | `-- Installing libsysinfo-0.0.3_2...
[132arm64-quarterly-job-13] |   | `-- Extracting libsysinfo-0.0.3_2: ......... done
[132arm64-quarterly-job-13] |   | `-- Installing py39-dbus-1.3.2...
[132arm64-quarterly-job-13] |   |   `-- Installing dbus-glib-0.112...
[132arm64-quarterly-job-13] |   |   `-- Extracting dbus-glib-0.112: .......... done
[132arm64-quarterly-job-13] |   |   `-- Installing pydbus-common-1.3.2...
[132arm64-quarterly-job-13] |   |   `-- Extracting pydbus-common-1.3.2: .......... done
[132arm64-quarterly-job-13] |   | `-- Extracting py39-dbus-1.3.2: .......... done
[132arm64-quarterly-job-13] |   `-- Extracting jackit-1.9.22_1: .......... done
[132arm64-quarterly-job-13] `-- Extracting fluidsynth-2.3.3: .......... done
[132arm64-quarterly-job-13] `-- Installing libmodplug-0.8.9.1.r461...
[132arm64-quarterly-job-13] `-- Extracting libmodplug-0.8.9.1.r461: .......... done
[132arm64-quarterly-job-13] `-- Installing opusfile-0.12_1...
[132arm64-quarterly-job-13] `-- Extracting opusfile-0.12_1: .......... done
[132arm64-quarterly-job-13] Extracting sdl2_mixer-2.6.3_1: .......... done
=====
Message from jackit-1.9.22_1:

--
The new JACK server comes with a DBUS control interface:

$ jack_control help
$ jack_control ds oss
$ jack_control dp
$ jack_control eps realtime False
$ jack_control start

Only root can grant real-time priority to processes for now, using rtprio(1).
Upcoming FreeBSD releases will have a MAC policy with a realtime user group.

Memory locking has to be allowed in /etc/login.conf or ~/.login_conf. Set the
resource limit ":memorylocked=unlimited:" and don't forget to run

# cap_mkdb /etc/login.conf

It's still possible to start JACK server as an RC service for a dedicated user.
Note that only one JACK server can be run at a time. An /etc/rc.conf example:

jackd_enable="YES"
jackd_user="joe"
jackd_rtprio="YES"
jackd_args="-R -doss -r48000 -p1024 -n1 -w16 \
            --capture /dev/dsp0 --playback /dev/dsp0"

Official JACK example clients and tools are available as jack-example-tools.

JACK 1.9.22 introduces a latency correction fix.
Latency correction parameters have to be measured again after an update.
===>   mirrormagic-3.3.0 depends on shared library: libSDL2_mixer.so - found (/usr/local/lib/libSDL2_mixer.so)
===>   Returning to build of mirrormagic-3.3.0
===>   mirrormagic-3.3.0 depends on shared library: libSDL2_net.so - not found
===>   Installing existing package /packages/All/sdl2_net-2.2.0.pkg
[132arm64-quarterly-job-13] Installing sdl2_net-2.2.0...
[132arm64-quarterly-job-13] Extracting sdl2_net-2.2.0: .......... done
===>   mirrormagic-3.3.0 depends on shared library: libSDL2_net.so - found (/usr/local/lib/libSDL2_net.so)
===>   Returning to build of mirrormagic-3.3.0
===>   mirrormagic-3.3.0 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for mirrormagic-3.3.0
===========================================================================
=======================<phase: build          >============================
===>  Building for mirrormagic-3.3.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src'
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/libgame'
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c system.c -o system.o
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_em'
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c cave.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c convert.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c gadgets.c -o gadgets.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c graphics.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c init.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c text.c -o text.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c game.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c sound.c -o sound.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c logic.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c snapshot.c -o snapshot.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c joystick.c -o joystick.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c image.c -o image.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c random.c -o random.o
random.c:482:41: warning: implicit conversion from 'unsigned long' to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-const-int-float-conversion]
      double dbl = prng_get_ulong () / (ULONG_MAX + 1.0);
                                        ^~~~~~~~~ ~
/usr/include/sys/limits.h:63:19: note: expanded from macro 'ULONG_MAX'
#define ULONG_MAX       __ULONG_MAX     /* max for an unsigned long */
                        ^~~~~~~~~~~
/usr/include/machine/_limits.h:57:21: note: expanded from macro '__ULONG_MAX'
#define __ULONG_MAX     0xffffffffffffffffUL    /* max for an unsigned long */
                        ^~~~~~~~~~~~~~~~~~~~
1 warning generated.
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c hash.c -o hash.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c http.c -o http.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c reademc.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c base64.c -o base64.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c setup.c -o setup.o
ar cr game_em.a cave.o convert.o graphics.o init.o game.o logic.o reademc.o
ranlib game_em.a
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_em'
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_sp'
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c init.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c file.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c main.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c misc.c -o misc.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c vb_lib.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c ASM.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c BugsTerminals.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c sdl.c -o sdl.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c DDScrollBuffer.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c zip/ioapi.c -o zip/ioapi.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c DDSpriteBuffer.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c zip/iowin32.c -o zip/iowin32.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c zip/unzip.c -o zip/unzip.o
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Display.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c zip/miniunz.c -o zip/miniunz.o
ar cr libgame.a system.o gadgets.o text.o sound.o snapshot.o joystick.o image.o random.o hash.o http.o base64.o setup.o misc.o sdl.o zip/ioapi.o zip/iowin32.o zip/unzip.o zip/miniunz.o
ranlib libgame.a
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/libgame'
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_mm'
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c mm_init.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c DoGameStuff.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c mm_main.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Electrons.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c mm_game.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Explosions.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Globals.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Infotrons.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c InitGameConditions.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c mm_files.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Input.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c mm_tools.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c MainForm.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c MainGameLoop.c
ar cr game_mm.a mm_init.o mm_main.o mm_game.o mm_files.o mm_tools.o
ranlib game_mm.a
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_mm'
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Murphy.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c OrangeDisk.c
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_sp'
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c SnikSnaks.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c SnikSnaks.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Sound.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Sound.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Zonk.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -Wall -Wstrict-prototypes -Wmissing-prototypes  -DTARGET_SDL2 -I/usr/local/include/SDL2 -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE   -DBASE_PATH="\"/usr/local/share/mirrormagic\""  -c Zonk.c
ar cr game_sp.a init.o file.o main.o vb_lib.o ASM.o BugsTerminals.o DDScrollBuffer.o DDSpriteBuffer.o Display.o DoGameStuff.o Electrons.o Explosions.o Globals.o Infotrons.o InitGameConditions.o Input.o MainForm.o MainGameLoop.o Murphy.o OrangeDisk.o SnikSnaks.o Sound.o Zonk.o
ranlib game_sp.a
ar cr game_sp.a init.o file.o main.o vb_lib.o ASM.o BugsTerminals.o DDScrollBuffer.o DDSpriteBuffer.o Display.o DoGameStuff.o Electrons.o Explosions.o Globals.o Infotrons.o InitGameConditions.o Input.o MainForm.o MainGameLoop.o Murphy.o OrangeDisk.o SnikSnaks.o Sound.o Zonk.o
ar: fatal: Unrecognized archive format: Inappropriate file type or format
gmake[2]: *** [Makefile:81: game_sp.a] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_sp'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src/game_sp'
gmake[1]: *** [Makefile:287: game_sp_dir] Error 2
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/mirrormagic/work/mirrormagic-3.3.0/src'
===> 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/mirrormagic