[package - 133i386-quarterly][emulators/mupen64plus-video-glide64mk2] Failed for mupen64plus-video-glide64mk2-2.6.0.20240714_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 01:15:07 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:     acm@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy13/data/133i386-quarterly/1d66b8995a6b/logs/mupen64plus-video-glide64mk2-2.6.0.20240714_1.log
Build URL:      https://pkg-status.freebsd.org/beefy13/build.html?mastername=133i386-quarterly&build=1d66b8995a6b
Log:

=>> Building emulators/mupen64plus-video-glide64mk2
build started at Thu Nov 21 01:14:32 UTC 2024
port directory: /usr/ports/emulators/mupen64plus-video-glide64mk2
package name: mupen64plus-video-glide64mk2-2.6.0.20240714_1
building for: FreeBSD 133i386-quarterly-job-13 13.3-RELEASE-p8 FreeBSD 13.3-RELEASE-p8 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  533 Oct  8 01:02 /usr/ports/emulators/mupen64plus-video-glide64mk2/Makefile
Ports top last git commit: 1d66b8995
Ports top unclean checkout: no
Port dir last git commit: 19fbadfb9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1303001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.3-RELEASE-p8
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.3-RELEASE-p8
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/133i386-quarterly/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/133i386-quarterly/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133i386-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for mupen64plus-video-glide64mk2-2.6.0.20240714_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
acm@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
OPTFLAGS="" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64mk2/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  -I/usr/local/include/mupen64plus -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFL
AGS=" -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe  -I/usr/local/include/mupen64plus -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -isystem /usr/local/include -std=c++17 " 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.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mupen64plus"  EXAMPLESDIR="share/examples/mupen64plus"  DATADIR="share/mupen64plus"  WWWDIR="www/mupen64plus"  ETCDIR="etc/mupen64plus"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mupen64plus DOCSDIR=/usr/local/share/doc/mupen64plus EXAMPLESDIR=/usr/local/share/examples/mupen64plus  WWWDIR=/usr/local/www/mupen64plus ETCDIR=/usr/local/etc/mupen64plus
--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}
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mupen64plus-video-glide64mk2-2.6.0.20240714_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133i386-quarterly-job-13] Installing pkg-1.21.3...
[133i386-quarterly-job-13] Extracting pkg-1.21.3: .......... done
===>   mupen64plus-video-glide64mk2-2.6.0.20240714_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mupen64plus-video-glide64mk2-2.6.0.20240714_1
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by mupen64plus-video-glide64mk2-2.6.0.20240714_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by mupen64plus-video-glide64mk2-2.6.0.20240714_1 for building
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-video-glide64mk2-2.6.0.20240714-2e2704194a6a188c8e5127970e9aa320f37e5156_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by mupen64plus-video-glide64mk2-2.6.0.20240714_1 for building
===>  Extracting for mupen64plus-video-glide64mk2-2.6.0.20240714_1
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-video-glide64mk2-2.6.0.20240714-2e2704194a6a188c8e5127970e9aa320f37e5156_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for mupen64plus-video-glide64mk2-2.6.0.20240714_1
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for mupen64plus-video-glide64mk2-2.6.0.20240714_1 from /usr/ports/emulators/mupen64plus-video-glide64mk2/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mupen64plus-video-glide64mk2-2.6.0.20240714_1 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.30.7.pkg
[133i386-quarterly-job-13] Installing sdl2-2.30.7...
[133i386-quarterly-job-13] `-- Installing libX11-1.8.9,1...
[133i386-quarterly-job-13] |   `-- Installing libxcb-1.17.0...
[133i386-quarterly-job-13] |   | `-- Installing libXau-1.0.11...
[133i386-quarterly-job-13] |   | `-- Extracting libXau-1.0.11: .......... done
[133i386-quarterly-job-13] |   | `-- Installing libXdmcp-1.1.5...
[133i386-quarterly-job-13] |   |   `-- Installing xorgproto-2024.1...
[133i386-quarterly-job-13] |   |   `-- Extracting xorgproto-2024.1: .......... done
[133i386-quarterly-job-13] |   | `-- Extracting libXdmcp-1.1.5: ......... done
[133i386-quarterly-job-13] |   `-- Extracting libxcb-1.17.0: .......... done
[133i386-quarterly-job-13] `-- Extracting libX11-1.8.9,1: .......... done
[133i386-quarterly-job-13] `-- Installing libXScrnSaver-1.2.4_1...
[133i386-quarterly-job-13] |   `-- Installing libXext-1.3.6,1...
[133i386-quarterly-job-13] |   `-- Extracting libXext-1.3.6,1: .......... done
[133i386-quarterly-job-13] `-- Extracting libXScrnSaver-1.2.4_1: .......... done
[133i386-quarterly-job-13] `-- Installing libXcursor-1.2.2...
[133i386-quarterly-job-13] |   `-- Installing libXfixes-6.0.1...
[133i386-quarterly-job-13] |   `-- Extracting libXfixes-6.0.1: .......... done
[133i386-quarterly-job-13] |   `-- Installing libXrender-0.9.11...
<snip>
      |                                                                      %lx
../../src/Glitch64/OGLtextures.cpp:835:68: warning: format specifies type 'unsigned int' but the argument has type 'GrTextureClampMode_t' (aka 'long') [-Wformat]
  835 |       display_warning("grTexClampMode : unknown s_clampmode : %x", s_clampmode);
      |                                                               ~~   ^~~~~~~~~~~
      |                                                               %lx
../../src/Glitch64/OGLtextures.cpp:849:68: warning: format specifies type 'unsigned int' but the argument has type 'GrTextureClampMode_t' (aka 'long') [-Wformat]
  849 |       display_warning("grTexClampMode : unknown t_clampmode : %x", t_clampmode);
      |                                                               ~~   ^~~~~~~~~~~
      |                                                               %lx
../../src/Glitch64/OGLtextures.cpp:869:68: warning: format specifies type 'unsigned int' but the argument has type 'GrTextureClampMode_t' (aka 'long') [-Wformat]
  869 |       display_warning("grTexClampMode : unknown s_clampmode : %x", s_clampmode);
      |                                                               ~~   ^~~~~~~~~~~
      |                                                               %lx
../../src/Glitch64/OGLtextures.cpp:883:68: warning: format specifies type 'unsigned int' but the argument has type 'GrTextureClampMode_t' (aka 'long') [-Wformat]
  883 |       display_warning("grTexClampMode : unknown t_clampmode : %x", t_clampmode);
      |                                                               ~~   ^~~~~~~~~~~
      |                                                               %lx
7 warnings generated.
    CXX _obj/GlideHQ/Ext_TxFilter.o
7 warnings generated.
    CXX _obj/GlideHQ/TxFilterExport.o
../../src/Glitch64/OGLglitchmain.cpp:308:41: warning: format specifies type 'unsigned int' but the argument has type 'GrOriginLocation_t' (aka 'long') [-Wformat]
  308 |     display_warning("grSstOrigin : %x", origin);
      |                                    ~~   ^~~~~~
      |                                    %lx
../../src/Glitch64/OGLglitchmain.cpp:1317:52: warning: format specifies type 'unsigned int' but the argument has type 'FxU32' (aka 'unsigned long') [-Wformat]
 1317 |     display_warning("unknown pname in grGet : %x", pname);
      |                                               ~~   ^~~~~
      |                                               %lx
../../src/Glitch64/OGLglitchmain.cpp:1359:58: warning: format specifies type 'unsigned int' but the argument has type 'FxU32' (aka 'unsigned long') [-Wformat]
 1359 |     display_warning("unknown grGetString selector : %x", pname);
      |                                                     ~~   ^~~~~
      |                                                     %lx
../../src/Glitch64/OGLglitchmain.cpp:1617:61: warning: format specifies type 'unsigned int' but the argument has type 'GrBuffer_t' (aka 'long') [-Wformat]
 1617 |     display_warning("grRenderBuffer : unknown buffer : %x", buffer);
      |                                                        ~~   ^~~~~~
      |                                                        %lx
../../src/Glitch64/OGLglitchmain.cpp:1756:58: warning: format specifies type 'unsigned int' but the argument has type 'GrBuffer_t' (aka 'long') [-Wformat]
 1756 |       display_warning("grLfbLock : unknown buffer : %x", buffer);
      |                                                     ~~   ^~~~~~
      |                                                     %lx
../../src/Glitch64/OGLglitchmain.cpp:1838:59: warning: format specifies type 'unsigned int' but the argument has type 'GrBuffer_t' (aka 'long') [-Wformat]
 1838 |     display_warning("grReadRegion : unknown buffer : %x", src_buffer);
      |                                                      ~~   ^~~~~~~~~~
      |                                                      %lx
../../src/Glitch64/OGLglitchmain.cpp:1908:63: warning: format specifies type 'unsigned int' but the argument has type 'GrBuffer_t' (aka 'long') [-Wformat]
 1908 |     display_warning("grLfbWriteRegion : unknown buffer : %x", dst_buffer);
      |                                                          ~~   ^~~~~~~~~~
      |                                                          %lx
../../src/Glitch64/OGLglitchmain.cpp:1961:65: warning: format specifies type 'int' but the argument has type 'GrLfbSrcFmt_t' (aka 'unsigned long') [-Wformat]
 1961 |       display_warning("grLfbWriteRegion : unknown format : %d", src_format);
      |                                                            ~~   ^~~~~~~~~~
      |                                                            %lu
../../src/Glitch64/OGLglitchmain.cpp:1994:63: warning: format specifies type 'unsigned int' but the argument has type 'GrLfbSrcFmt_t' (aka 'unsigned long') [-Wformat]
 1994 |       display_warning("unknown depth buffer write format:%x", src_format);
      |                                                          ~~   ^~~~~~~~~~
      |                                                          %lx
../../src/Glitch64/OGLglitchmain.cpp:1997:46: warning: format specifies type 'int' but the argument has type 'FxU32' (aka 'unsigned long') [-Wformat]
 1997 |       display_warning("dst_x:%d, dst_y:%d\n",dst_x, dst_y);
      |                              ~~              ^~~~~
      |                              %lu
../../src/Glitch64/OGLglitchmain.cpp:1997:53: warning: format specifies type 'int' but the argument has type 'FxU32' (aka 'unsigned long') [-Wformat]
 1997 |       display_warning("dst_x:%d, dst_y:%d\n",dst_x, dst_y);
      |                                        ~~           ^~~~~
      |                                        %lu
    CXX _obj/GlideHQ/TxFilter.o
11 warnings generated.
    CXX _obj/GlideHQ/TxCache.o
    CXX _obj/GlideHQ/TxTexCache.o
    CXX _obj/GlideHQ/TxHiResCache.o
    CXX _obj/GlideHQ/TxQuantize.o
    CXX _obj/GlideHQ/TxUtil.o
../../src/GlideHQ/TxQuantize.cpp:1795:7: warning: variable 'bpp_shift' set but not used [-Wunused-but-set-variable]
 1795 |   int bpp_shift = 0;
      |       ^
    CXX _obj/GlideHQ/TextureFilters.o
1 warning generated.
    CXX _obj/GlideHQ/TextureFilters_2xsai.o
../../src/GlideHQ/TxHiResCache.cpp:555:11: warning: variable 'fullalpha' set but not used [-Wunused-but-set-variable]
  555 |       int fullalpha = 0;
      |           ^
1 warning generated.
    CXX _obj/GlideHQ/TextureFilters_hq2x.o
    CXX _obj/GlideHQ/TextureFilters_hq4x.o
    CXX _obj/GlideHQ/TxImage.o
    CXX _obj/GlideHQ/TxReSample.o
    CXX _obj/GlideHQ/TxDbg.o
    CXX _obj/GlideHQ/tc-1.1+/s2tc/s2tc_algorithm.o
    CXX _obj/GlideHQ/tc-1.1+/s2tc/s2tc_libtxc_dxtn.o
    LD  mupen64plus-video-glide64mk2.so
ld: error: relocation R_386_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by wrapper.c
>>>               _obj/GlideHQ/tc-1.1+/wrapper.o:(tx_compress_dxtn_rgba)

ld: error: relocation R_386_32 cannot be used against symbol '__stack_chk_guard'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by FBtoScreen.cpp
>>>               _obj/Glide64/FBtoScreen.o:(DrawFrameBufferToScreen(FB_TO_SCREEN_INFO&))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/Glide64/Config.o
>>> referenced by Config.cpp
>>>               _obj/Glide64/Config.o:(Config_Open())

ld: error: relocation R_386_32 cannot be used against symbol '__stack_chk_guard'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by fxt1.c
>>>               _obj/GlideHQ/tc-1.1+/fxt1.o:(fxt1_encode)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/GlideHQ/tc-1.1+/wrapper.o
>>> referenced by wrapper.c
>>>               _obj/GlideHQ/tc-1.1+/wrapper.o:(tx_compress_dxtn_rgba)

ld: error: relocation R_386_32 cannot be used against symbol 'voodoo'; recompile with -fPIC
>>> defined in _obj/Glide64/Main.o
>>> referenced by FBtoScreen.cpp
>>>               _obj/Glide64/FBtoScreen.o:(DrawFrameBufferToScreen(FB_TO_SCREEN_INFO&))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/Glide64/Config.o
>>> referenced by Config.cpp
>>>               _obj/Glide64/Config.o:(Config_Open())

ld: error: relocation R_386_PC32 cannot be used against symbol 'malloc'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by fxt1.c
>>>               _obj/GlideHQ/tc-1.1+/fxt1.o:(fxt1_encode)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/GlideHQ/tc-1.1+/wrapper.o
>>> referenced by wrapper.c
>>>               _obj/GlideHQ/tc-1.1+/wrapper.o:(tx_compress_dxtn_rgba)

ld: error: relocation R_386_32 cannot be used against symbol 'gfx'; recompile with -fPIC
>>> defined in _obj/Glide64/Main.o
>>> referenced by FBtoScreen.cpp
>>>               _obj/Glide64/FBtoScreen.o:(DrawFrameBufferToScreen(FB_TO_SCREEN_INFO&))

ld: error: relocation R_386_32 cannot be used against symbol 'ConfigOpenSection'; recompile with -fPIC
>>> defined in _obj/Glide64/Main.o
>>> referenced by Config.cpp
>>>               _obj/Glide64/Config.o:(Config_Open())

ld: error: relocation R_386_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by fxt1.c
>>>               _obj/GlideHQ/tc-1.1+/fxt1.o:(fxt1_encode)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/GlideHQ/tc-1.1+/wrapper.o
>>> referenced by wrapper.c
>>>               _obj/GlideHQ/tc-1.1+/wrapper.o:(tx_compress_dxtn_rgba)

ld: error: relocation R_386_32 cannot be used against symbol 'BMASK'; recompile with -fPIC
>>> defined in _obj/Glide64/Main.o
>>> referenced by FBtoScreen.cpp
>>>               _obj/Glide64/FBtoScreen.o:(DrawFrameBufferToScreen(FB_TO_SCREEN_INFO&))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/Glide64/Config.o
>>> referenced by Config.cpp
>>>               _obj/Glide64/Config.o:(Config_Open())

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/Glide64/Config.o
>>> referenced by Config.cpp
>>>               _obj/Glide64/Config.o:(Config_Open())

ld: error: relocation R_386_PC32 cannot be used against symbol '__assert'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by wrapper.c
>>>               _obj/GlideHQ/tc-1.1+/wrapper.o:(tx_compress_dxtn_rgba)

ld: error: relocation R_386_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by fxt1.c
>>>               _obj/GlideHQ/tc-1.1+/fxt1.o:(fxt1_encode)

ld: error: relocation R_386_32 cannot be used against symbol 'texture_buffer'; recompile with -fPIC
>>> defined in _obj/Glide64/TexCache.o
>>> referenced by FBtoScreen.cpp
>>>               _obj/Glide64/FBtoScreen.o:(DrawFrameBufferToScreen(FB_TO_SCREEN_INFO&))

ld: error: relocation R_386_32 cannot be used against symbol 'ConfigOpenSection'; recompile with -fPIC
>>> defined in _obj/Glide64/Main.o
>>> referenced by Config.cpp
>>>               _obj/Glide64/Config.o:(Config_Open())

ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
c++: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:535: mupen64plus-video-glide64mk2.so] Error 1
===> 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/emulators/mupen64plus-video-glide64mk2