[package - 133i386-quarterly][emulators/mupen64plus-audio-sdl] Failed for mupen64plus-audio-sdl-2.6.0.20240714 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 22 Oct 2024 03:41:49 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/6a159827c4c0/logs/mupen64plus-audio-sdl-2.6.0.20240714.log
Build URL:      https://pkg-status.freebsd.org/beefy13/build.html?mastername=133i386-quarterly&build=6a159827c4c0
Log:

=>> Building emulators/mupen64plus-audio-sdl
build started at Tue Oct 22 03:41:08 UTC 2024
port directory: /usr/ports/emulators/mupen64plus-audio-sdl
package name: mupen64plus-audio-sdl-2.6.0.20240714
building for: FreeBSD 133i386-quarterly-job-10 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  371 Oct  8 01:02 /usr/ports/emulators/mupen64plus-audio-sdl/Makefile
Ports top last git commit: 6a159827c
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: 10

---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-p7
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.3-RELEASE-p7
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/10/.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-audio-sdl-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--
MAKE=gmake PKG_CONFIG=pkgconf SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/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-audio-sdl/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/mupen64plus-audio-sdl/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  " BSD_INSTA
LL_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-audio-sdl-2.6.0.20240714 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133i386-quarterly-job-10] Installing pkg-1.21.3...
[133i386-quarterly-job-10] Extracting pkg-1.21.3: .......... done
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mupen64plus-audio-sdl-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
=> mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535ce5bd1be24e7d816c54b3e75673_GH0.tar.gz doesn't seem to exist in /portdistfiles/mupen64plus.
=> Attempting to fetch https://codeload.github.com/mupen64plus/mupen64plus-audio-sdl/tar.gz/cec70e42b4535ce5bd1be24e7d816c54b3e75673?dummy=/mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535ce5bd1be24e7d816c54b3e75673_GH0.tar.gz
fetch: https://codeload.github.com/mupen64plus/mupen64plus-audio-sdl/tar.gz/cec70e42b4535ce5bd1be24e7d816c54b3e75673?dummy=/mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535ce5bd1be24e7d816c54b3e75673_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/mupen64plus/mupen64plus-audio-sdl/tar.gz/cec70e42b4535ce5bd1be24e7d816c54b3e75673?dummy=/mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535ce5bd1be24e7d816c54b3e75673_GH0.tar.gz: size of remote file is not known
mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535c          31 kB  138 MBps    00s
===> Fetching all distfiles required by mupen64plus-audio-sdl-2.6.0.20240714 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===> Fetching all distfiles required by mupen64plus-audio-sdl-2.6.0.20240714 for building
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535ce5bd1be24e7d816c54b3e75673_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-audio-sdl-2.6.0.20240714 for building
===>  Extracting for mupen64plus-audio-sdl-2.6.0.20240714
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-audio-sdl-2.6.0.20240714-cec70e42b4535ce5bd1be24e7d816c54b3e75673_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-audio-sdl-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-audio-sdl-2.6.0.20240714 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[133i386-quarterly-job-10] Installing gmake-4.4.1...
[133i386-quarterly-job-10] `-- Installing gettext-runtime-0.22.5...
[133i386-quarterly-job-10] |   `-- Installing indexinfo-0.3.1...
[133i386-quarterly-job-10] |   `-- Extracting indexinfo-0.3.1: .... done
[133i386-quarterly-job-10] `-- Extracting gettext-runtime-0.22.5: .......... done
[133i386-quarterly-job-10] Extracting gmake-4.4.1: .......... done
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on package: gmake>=4.4.1 - found
===>   Returning to build of mupen64plus-audio-sdl-2.6.0.20240714
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-2.3.0,1.pkg
[133i386-quarterly-job-10] Installing pkgconf-2.3.0,1...
[133i386-quarterly-job-10] Extracting pkgconf-2.3.0,1: .......... done
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of mupen64plus-audio-sdl-2.6.0.20240714
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on file: /usr/local/bin/sdl2-config - not found
<snip>
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from libxkbcommon-1.7.0_1:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on file: /usr/local/bin/sdl2-config - found
===>   Returning to build of mupen64plus-audio-sdl-2.6.0.20240714
===>   mupen64plus-audio-sdl-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-audio-sdl-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
[133i386-quarterly-job-10] Installing mupen64plus-core-2.6.0.20240714...
[133i386-quarterly-job-10] `-- Installing freetype2-2.13.3...
[133i386-quarterly-job-10] |   `-- Installing brotli-1.1.0,1...
[133i386-quarterly-job-10] |   `-- Extracting brotli-1.1.0,1: .......... done
[133i386-quarterly-job-10] |   `-- Installing png-1.6.44...
[133i386-quarterly-job-10] |   `-- Extracting png-1.6.44: .......... done
[133i386-quarterly-job-10] `-- Extracting freetype2-2.13.3: .......... done
[133i386-quarterly-job-10] `-- Installing libGLU-9.0.3...
[133i386-quarterly-job-10] `-- Extracting libGLU-9.0.3: ..... done
[133i386-quarterly-job-10] `-- Installing minizip-1.3.1...
[133i386-quarterly-job-10] `-- Extracting minizip-1.3.1: .......... done
[133i386-quarterly-job-10] 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-audio-sdl-2.6.0.20240714 depends on shared library: libmupen64plus.so.2 - found (/usr/local/lib/libmupen64plus.so.2)
===>   Returning to build of mupen64plus-audio-sdl-2.6.0.20240714
===>   mupen64plus-audio-sdl-2.6.0.20240714 depends on shared library: libGLU.so - found (/usr/local/lib/libGLU.so)
===>   mupen64plus-audio-sdl-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-audio-sdl-2.6.0.20240714
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for mupen64plus-audio-sdl-2.6.0.20240714
Makefile:186: No libspeexdsp development libraries found.  Mupen64plus-sdl-audio will be built without speex-* resampler.
Makefile:204: No libsamplerate development libraries found.  Mupen64plus-sdl-audio will be built without src-* resampler.
    CC  _obj/circular_buffer.o
    CC  _obj/main.o
    CC  _obj/sdl_backend.o
    CC  _obj/volume.o
    CC  _obj/resamplers/resamplers.o
    CC  _obj/resamplers/trivial.o
    CC  _obj/osal_dynamiclib_unix.o
    LD  mupen64plus-audio-sdl.so
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 local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by trivial.c
>>>               _obj/resamplers/trivial.o:(g_trivial_iresampler)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by trivial.c
>>>               _obj/resamplers/trivial.o:(g_trivial_iresampler)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by trivial.c
>>>               _obj/resamplers/trivial.o:(g_trivial_iresampler)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by trivial.c
>>>               _obj/resamplers/trivial.o:(g_trivial_iresampler)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/resamplers.o
>>> referenced by resamplers.c
>>>               _obj/resamplers/resamplers.o:(get_iresampler)

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

ld: error: relocation R_386_32 cannot be used against symbol 'g_trivial_iresampler'; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by resamplers.c
>>>               _obj/resamplers/resamplers.o:(get_iresampler)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/resamplers.o
>>> referenced by resamplers.c
>>>               _obj/resamplers/resamplers.o:(get_iresampler)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/resamplers/resamplers.o
>>> referenced by resamplers.c
>>>               _obj/resamplers/resamplers.o:(get_iresampler)

ld: error: relocation R_386_32 cannot be used against symbol 'g_trivial_iresampler'; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by resamplers.c
>>>               _obj/resamplers/resamplers.o:(get_iresampler)

ld: error: relocation R_386_32 cannot be used against symbol 'g_trivial_iresampler'; recompile with -fPIC
>>> defined in _obj/resamplers/trivial.o
>>> referenced by resamplers.c
>>>               _obj/resamplers/resamplers.o:(get_iresampler)

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 sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/sdl_backend.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against symbol 'ConfigGetParamInt'; recompile with -fPIC
>>> defined in _obj/main.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/sdl_backend.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against symbol 'ConfigGetParamBool'; recompile with -fPIC
>>> defined in _obj/main.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/sdl_backend.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against symbol 'ConfigGetParamBool'; recompile with -fPIC
>>> defined in _obj/main.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/sdl_backend.o
>>> referenced by sdl_backend.c
>>>               _obj/sdl_backend.o:(init_sdl_backend_from_config)

ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake: *** [Makefile:390: mupen64plus-audio-sdl.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-audio-sdl