[package - main-i386-default][emulators/mupen64plus-audio-sdl] Failed for mupen64plus-audio-sdl-2.6.0.20240714 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 07 Nov 2024 02:13:39 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/beefy17/data/main-i386-default/p380be9c7980a_s5036d9652a5/logs/mupen64plus-audio-sdl-2.6.0.20240714.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p380be9c7980a_s5036d9652a5
Log:

=>> Building emulators/mupen64plus-audio-sdl
build started at Thu Nov  7 02:13:35 UTC 2024
port directory: /usr/ports/emulators/mupen64plus-audio-sdl
package name: mupen64plus-audio-sdl-2.6.0.20240714
building for: FreeBSD main-i386-default-job-08 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 371 Sep 12 01:01 /usr/ports/emulators/mupen64plus-audio-sdl/Makefile
Ports top last git commit: 380be9c7980
Ports top unclean checkout: no
Port dir last git commit: 196094decf1
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 08




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



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500026
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=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500026
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/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/main-i386-default/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/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=15.0 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---
# 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
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--
ulimit: can't get limit: Invalid argument
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
[main-i386-default-job-08] Installing pkg-1.21.3...
[main-i386-default-job-08] 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
===> 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
[main-i386-default-job-08] Installing gmake-4.4.1...
[main-i386-default-job-08] `-- Installing gettext-runtime-0.22.5...
<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
[main-i386-default-job-08] Installing mupen64plus-core-2.6.0.20240714...
[main-i386-default-job-08] `-- Installing freetype2-2.13.3...
[main-i386-default-job-08] |   `-- Installing brotli-1.1.0,1...
[main-i386-default-job-08] |   `-- Extracting brotli-1.1.0,1: .......... done
[main-i386-default-job-08] |   `-- Installing png-1.6.44...
[main-i386-default-job-08] |   `-- Extracting png-1.6.44: .......... done
[main-i386-default-job-08] `-- Extracting freetype2-2.13.3: .......... done
[main-i386-default-job-08] `-- Installing libGLU-9.0.3...
[main-i386-default-job-08] `-- Extracting libGLU-9.0.3: ..... done
[main-i386-default-job-08] `-- Installing minizip-1.3.1...
[main-i386-default-job-08] `-- Extracting minizip-1.3.1: .......... done
[main-i386-default-job-08] 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 'malloc'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by circular_buffer.c
>>>               _obj/circular_buffer.o:(init_cbuff)

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 '__stack_chk_guard'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by main.c
>>>               _obj/main.o:(DebugMessage)

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_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by circular_buffer.c
>>>               _obj/circular_buffer.o:(release_cbuff)

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/main.o
>>> referenced by main.c
>>>               _obj/main.o:(DebugMessage)

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 local symbol; recompile with -fPIC
>>> defined in _obj/circular_buffer.o
>>> referenced by circular_buffer.c
>>>               _obj/circular_buffer.o:(cbuff_head)

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/circular_buffer.o
>>> referenced by circular_buffer.c
>>>               _obj/circular_buffer.o:(cbuff_head)

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_PC32 cannot be used against symbol 'vsprintf'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by main.c
>>>               _obj/main.o:(DebugMessage)

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/main.o
>>> referenced by main.c
>>>               _obj/main.o:(DebugMessage)

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/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/circular_buffer.o
>>> referenced by circular_buffer.c
>>>               _obj/circular_buffer.o:(cbuff_head)

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

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

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 making "build" in /usr/ports/emulators/mupen64plus-audio-sdl