[package - 141i386-quarterly][emulators/mupen64plus-video-z64] Failed for mupen64plus-video-z64-2.6.0.20240714 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 05 Nov 2024 01:12:32 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/beefy19/data/141i386-quarterly/477ded5fbe68/logs/mupen64plus-video-z64-2.6.0.20240714.log
Build URL:      https://pkg-status.freebsd.org/beefy19/build.html?mastername=141i386-quarterly&build=477ded5fbe68
Log:

=>> Building emulators/mupen64plus-video-z64
build started at Tue Nov  5 01:12:27 UTC 2024
port directory: /usr/ports/emulators/mupen64plus-video-z64
package name: mupen64plus-video-z64-2.6.0.20240714
building for: FreeBSD 141i386-quarterly-job-06 14.1-RELEASE-p6 FreeBSD 14.1-RELEASE-p6 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 538 Oct  8 01:01 /usr/ports/emulators/mupen64plus-video-z64/Makefile
Ports top last git commit: 477ded5fb
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: 1401000
Job Id: 06

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
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=14.1-RELEASE-p6
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p6
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-quarterly/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-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-z64-2.6.0.20240714:
     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-z64/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/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-z64/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--
OPTFLAGS="" SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-video-z64/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-z64/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 -I/usr/local/include/GL -I/usr/local/include/mupen64plus -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LI
BS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/local/include -I/usr/local/include/GL -I/usr/local/include/mupen64plus -fstack-protector-strong -fno-strict-aliasing  " 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=14.1 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-z64-2.6.0.20240714 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141i386-quarterly-job-06] Installing pkg-1.21.3...
[141i386-quarterly-job-06] Extracting pkg-1.21.3: .......... done
===>   mupen64plus-video-z64-2.6.0.20240714 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mupen64plus-video-z64-2.6.0.20240714
===========================================================================
=======================<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-z64-2.6.0.20240714 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by mupen64plus-video-z64-2.6.0.20240714 for building
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-video-z64-2.6.0.20240714-11f354a65a5b123fa8d18e761d52c2d3280a9333_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-z64-2.6.0.20240714 for building
===>  Extracting for mupen64plus-video-z64-2.6.0.20240714
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-video-z64-2.6.0.20240714-11f354a65a5b123fa8d18e761d52c2d3280a9333_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-z64-2.6.0.20240714
===>   Converting DOS text files to UNIX text files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mupen64plus-video-z64-2.6.0.20240714 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.30.7.pkg
[141i386-quarterly-job-06] Installing sdl2-2.30.7...
[141i386-quarterly-job-06] `-- Installing libX11-1.8.9,1...
[141i386-quarterly-job-06] |   `-- Installing libxcb-1.17.0...
[141i386-quarterly-job-06] |   | `-- Installing libXau-1.0.11...
[141i386-quarterly-job-06] |   | `-- Extracting libXau-1.0.11: .......... done
[141i386-quarterly-job-06] |   | `-- Installing libXdmcp-1.1.5...
[141i386-quarterly-job-06] |   |   `-- Installing xorgproto-2024.1...
[141i386-quarterly-job-06] |   |   `-- Extracting xorgproto-2024.1: .......... done
[141i386-quarterly-job-06] |   | `-- Extracting libXdmcp-1.1.5: ......... done
[141i386-quarterly-job-06] |   `-- Extracting libxcb-1.17.0: .......... done
[141i386-quarterly-job-06] `-- Extracting libX11-1.8.9,1: .......... done
[141i386-quarterly-job-06] `-- Installing libXScrnSaver-1.2.4_1...
[141i386-quarterly-job-06] |   `-- Installing libXext-1.3.6,1...
[141i386-quarterly-job-06] |   `-- Extracting libXext-1.3.6,1: .......... done
[141i386-quarterly-job-06] `-- Extracting libXScrnSaver-1.2.4_1: .......... done
[141i386-quarterly-job-06] `-- Installing libXcursor-1.2.2...
[141i386-quarterly-job-06] |   `-- Installing libXfixes-6.0.1...
[141i386-quarterly-job-06] |   `-- Extracting libXfixes-6.0.1: .......... done
[141i386-quarterly-job-06] |   `-- Installing libXrender-0.9.11...
[141i386-quarterly-job-06] |   `-- Extracting libXrender-0.9.11: .......... done
<snip>
===>   Installing existing package /packages/All/pkgconf-2.3.0,1.pkg
[141i386-quarterly-job-06] Installing pkgconf-2.3.0,1...
[141i386-quarterly-job-06] Extracting pkgconf-2.3.0,1: .......... done
===>   mupen64plus-video-z64-2.6.0.20240714 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of mupen64plus-video-z64-2.6.0.20240714
===>   mupen64plus-video-z64-2.6.0.20240714 depends on package: xorgproto>=0 - found
===>   mupen64plus-video-z64-2.6.0.20240714 depends on package: xorgproto>=0 - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libmupen64plus.so.2 - not found
===>   Installing existing package /packages/All/mupen64plus-core-2.6.0.20240714.pkg
[141i386-quarterly-job-06] Installing mupen64plus-core-2.6.0.20240714...
[141i386-quarterly-job-06] `-- Installing freetype2-2.13.3...
[141i386-quarterly-job-06] |   `-- Installing brotli-1.1.0,1...
[141i386-quarterly-job-06] |   `-- Extracting brotli-1.1.0,1: .......... done
[141i386-quarterly-job-06] |   `-- Installing png-1.6.44...
[141i386-quarterly-job-06] |   `-- Extracting png-1.6.44: .......... done
[141i386-quarterly-job-06] `-- Extracting freetype2-2.13.3: .......... done
[141i386-quarterly-job-06] `-- Installing libGLU-9.0.3...
[141i386-quarterly-job-06] `-- Extracting libGLU-9.0.3: ..... done
[141i386-quarterly-job-06] `-- Installing minizip-1.3.1...
[141i386-quarterly-job-06] `-- Extracting minizip-1.3.1: .......... done
[141i386-quarterly-job-06] Extracting mupen64plus-core-2.6.0.20240714: .......... done
=====
Message from freetype2-2.13.3:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libmupen64plus.so.2 - found (/usr/local/lib/libmupen64plus.so.2)
===>   Returning to build of mupen64plus-video-z64-2.6.0.20240714
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libGLEW.so - not found
===>   Installing existing package /packages/All/glew-2.2.0_3.pkg
[141i386-quarterly-job-06] Installing glew-2.2.0_3...
[141i386-quarterly-job-06] Extracting glew-2.2.0_3: .......... done
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libGLEW.so - found (/usr/local/lib/libGLEW.so)
===>   Returning to build of mupen64plus-video-z64-2.6.0.20240714
===>   mupen64plus-video-z64-2.6.0.20240714 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for mupen64plus-video-z64-2.6.0.20240714
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for mupen64plus-video-z64-2.6.0.20240714
    CC  _obj/osal_dynamiclib_unix.o
    CXX _obj/rgl.o
    CXX _obj/rgl_settings.o
    CXX _obj/rgl_tiles.o
    CXX _obj/rgl_rendermode.o
    CXX _obj/rgl_geometry.o
    CXX _obj/rgl_debugger.o
    CXX _obj/rgl_osdep.o
    CXX _obj/rdp.o
    CXX _obj/glshader.o
    CXX _obj/disasm.o
    CXX _obj/maingl.o
    LD  mupen64plus-video-z64.so
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 disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_PC32 cannot be used against symbol 'dlsym'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by osal_dynamiclib_unix.c
>>>               _obj/osal_dynamiclib_unix.o:(osal_dynlib_getproc)

ld: error: relocation R_386_32 cannot be used against symbol 'nbZBuffers'; recompile with -fPIC
>>> defined in _obj/rgl.o
>>> referenced by rgl.cpp
>>>               _obj/rgl.o:(rglFindDepthBuffer(unsigned int, int, int))

ld: error: relocation R_386_32 cannot be used against symbol 'rglStatus'; recompile with -fPIC
>>> defined in _obj/rgl.o
>>> referenced by maingl.cpp
>>>               _obj/maingl.o:(rdpThreadFunc(void*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

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 glshader.cpp
>>>               _obj/glshader.o:(rglCreateShader(char const*, char const*))

ld: error: relocation R_386_32 cannot be used against symbol 'zBuffers'; recompile with -fPIC
>>> defined in _obj/rgl.o
>>> referenced by rgl.cpp
>>>               _obj/rgl.o:(rglFindDepthBuffer(unsigned int, int, int))

ld: error: relocation R_386_32 cannot be used against symbol 'rdpCommandSema'; recompile with -fPIC
>>> defined in _obj/maingl.o
>>> referenced by maingl.cpp
>>>               _obj/maingl.o:(rdpThreadFunc(void*))

ld: error: relocation R_386_PC32 cannot be used against symbol 'sprintf'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_PC32 cannot be used against symbol 'sprintf'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_PC32 cannot be used against symbol 'sprintf'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_PC32 cannot be used against symbol 'sprintf'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_PC32 cannot be used against symbol 'sprintf'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/disasm.o
>>> referenced by disasm.cpp
>>>               _obj/disasm.o:(rdp_dasm(unsigned int*, int, int, char*))

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:402: mupen64plus-video-z64.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-z64