[package - 133i386-default][emulators/mupen64plus-video-glide64] Failed for mupen64plus-video-glide64-2.6.0.20240714 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 23 Nov 2024 16:04:25 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/beefy15/data/133i386-default/6df70458f823/logs/mupen64plus-video-glide64-2.6.0.20240714.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=133i386-default&build=6df70458f823
Log:

=>> Building emulators/mupen64plus-video-glide64
build started at Sat Nov 23 16:03:57 UTC 2024
port directory: /usr/ports/emulators/mupen64plus-video-glide64
package name: mupen64plus-video-glide64-2.6.0.20240714
building for: FreeBSD 133i386-default-job-11 13.3-RELEASE-p8 FreeBSD 13.3-RELEASE-p8 i386
maintained by: acm@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  488 Sep 14 01:01 /usr/ports/emulators/mupen64plus-video-glide64/Makefile
Ports top last git commit: 6df70458f82
Ports top unclean checkout: no
Port dir last git commit: e6b8ae2a354
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 11

---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-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/133i386-default/11/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133i386-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-video-glide64-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-glide64/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/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-glide64/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-glide64/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/work/.cache  HOME=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/mupen64plus-video-glide64/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-glide64/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"  LDFLAGS=" -fstack-prot
ector-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++14 " 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-glide64-2.6.0.20240714 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133i386-default-job-11] Installing pkg-1.21.3...
[133i386-default-job-11] Extracting pkg-1.21.3: .......... done
===>   mupen64plus-video-glide64-2.6.0.20240714 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mupen64plus-video-glide64-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-glide64-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-glide64-2.6.0.20240714 for building
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-video-glide64-2.6.0.20240714-713c833826c47e4decd78f6f28a4a1bd8f1527ea_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-glide64-2.6.0.20240714 for building
===>  Extracting for mupen64plus-video-glide64-2.6.0.20240714
=> SHA256 Checksum OK for mupen64plus/mupen64plus-mupen64plus-video-glide64-2.6.0.20240714-713c833826c47e4decd78f6f28a4a1bd8f1527ea_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-glide64-2.6.0.20240714
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for mupen64plus-video-glide64-2.6.0.20240714 from /usr/ports/emulators/mupen64plus-video-glide64/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mupen64plus-video-glide64-2.6.0.20240714 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.30.9.pkg
[133i386-default-job-11] Installing sdl2-2.30.9...
[133i386-default-job-11] `-- Installing libX11-1.8.9,1...
[133i386-default-job-11] |   `-- Installing libxcb-1.17.0...
[133i386-default-job-11] |   | `-- Installing libXau-1.0.11...
[133i386-default-job-11] |   | `-- Extracting libXau-1.0.11: .......... done
[133i386-default-job-11] |   | `-- Installing libXdmcp-1.1.5...
[133i386-default-job-11] |   |   `-- Installing xorgproto-2024.1...
[133i386-default-job-11] |   |   `-- Extracting xorgproto-2024.1: .......... done
[133i386-default-job-11] |   | `-- Extracting libXdmcp-1.1.5: ......... done
[133i386-default-job-11] |   `-- Extracting libxcb-1.17.0: .......... done
[133i386-default-job-11] `-- Extracting libX11-1.8.9,1: .......... done
[133i386-default-job-11] `-- Installing libXScrnSaver-1.2.4_1...
[133i386-default-job-11] |   `-- Installing libXext-1.3.6,1...
[133i386-default-job-11] |   `-- Extracting libXext-1.3.6,1: .......... done
[133i386-default-job-11] `-- Extracting libXScrnSaver-1.2.4_1: .......... done
[133i386-default-job-11] `-- Installing libXcursor-1.2.2...
[133i386-default-job-11] |   `-- Installing libXfixes-6.0.1...
[133i386-default-job-11] |   `-- Extracting libXfixes-6.0.1: .......... done
[133i386-default-job-11] |   `-- Installing libXrender-0.9.11...
<snip>
[133i386-default-job-11] `-- Installing freetype2-2.13.3...
[133i386-default-job-11] |   `-- Installing brotli-1.1.0,1...
[133i386-default-job-11] |   `-- Extracting brotli-1.1.0,1: .......... done
[133i386-default-job-11] |   `-- Installing png-1.6.44...
[133i386-default-job-11] |   `-- Extracting png-1.6.44: .......... done
[133i386-default-job-11] `-- Extracting freetype2-2.13.3: .......... done
[133i386-default-job-11] `-- Installing libGLU-9.0.3...
[133i386-default-job-11] `-- Extracting libGLU-9.0.3: ..... done
[133i386-default-job-11] `-- Installing minizip-1.3.1...
[133i386-default-job-11] `-- Extracting minizip-1.3.1: .......... done
[133i386-default-job-11] 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-glide64-2.6.0.20240714 depends on shared library: libmupen64plus.so.2 - found (/usr/local/lib/libmupen64plus.so.2)
===>   Returning to build of mupen64plus-video-glide64-2.6.0.20240714
===>   mupen64plus-video-glide64-2.6.0.20240714 depends on shared library: libGL.so - found (/usr/local/lib/libGL.so)
===>   mupen64plus-video-glide64-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-glide64-2.6.0.20240714
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for mupen64plus-video-glide64-2.6.0.20240714
    CC  _obj/osal_dynamiclib_unix.o
    CXX _obj/3dmath.o
    CXX _obj/CRC.o
    CXX _obj/Combine.o
    CXX _obj/Config.o
    CXX _obj/Debugger.o
    CXX _obj/DepthBufferRender.o
    CXX _obj/Ini.o
    CXX _obj/Main.o
    CXX _obj/TexBuffer.o
    CXX _obj/TexCache.o
    CXX _obj/Util.o
    CXX _obj/rdp.o
    CXX _obj/wrapper/2xsai.o
../../src/rdp.cpp:980:5: warning: misleading indentation; statement is not part of the previous 'if' [-Wmisleading-indentation]
  980 |     DWORD dlist_start = *(DWORD*)(gfx.DMEM+0xFF0);
      |     ^
../../src/rdp.cpp:974:3: note: previous statement is here
  974 |   if (!settings.lego || rdp.num_of_ci > 1)
      |   ^
../../src/rdp.cpp:2200:9: warning: variable 'size' set but not used [-Wunused-but-set-variable]
 2200 |   DWORD size = width * height;
      |         ^
    CXX _obj/wrapper/combiner.o
    CXX _obj/wrapper/config.o
    CXX _obj/wrapper/filter.o
    CXX _obj/wrapper/geometry.o
    CXX _obj/wrapper/hq2x.o
2 warnings generated.
    CXX _obj/wrapper/hq4x.o
    CXX _obj/wrapper/main.o
    CXX _obj/wrapper/textures.o
    LD  mupen64plus-video-glide64.so
ld: error: relocation R_386_32 cannot be used against symbol '__gxx_personality_v0'; recompile with -fPIC
>>> defined in /usr/lib/libcxxrt.so
>>> referenced by rdp.cpp
>>>               _obj/rdp.o:(.eh_frame+0x8A7B)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/rdp.o
>>> referenced by rdp.cpp
>>>               _obj/rdp.o:(.eh_frame+0x8A99)

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/rdp.o
>>> referenced by rdp.cpp
>>>               _obj/rdp.o:(.eh_frame+0x8B19)

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

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

ld: error: relocation R_386_PC32 cannot be used against symbol 'malloc'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

ld: error: relocation R_386_PC32 cannot be used against symbol 'realloc'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

ld: error: relocation R_386_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

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

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

ld: error: relocation R_386_PC32 cannot be used against symbol 'realloc'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

ld: error: relocation R_386_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

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

ld: error: relocation R_386_PC32 cannot be used against symbol 'glDeleteTextures'; recompile with -fPIC
>>> defined in /usr/local/lib/libGL.so
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

ld: error: relocation R_386_PC32 cannot be used against symbol 'free'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(remove_tex(unsigned int, unsigned int))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/wrapper/textures.o
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(add_tex(unsigned int))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/wrapper/textures.o
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(add_tex(unsigned int))

ld: error: relocation R_386_PC32 cannot be used against symbol 'malloc'; recompile with -fPIC
>>> defined in /lib/libc.so.7
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(add_tex(unsigned int))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/wrapper/textures.o
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(add_tex(unsigned int))

ld: error: relocation R_386_32 cannot be used against local symbol; recompile with -fPIC
>>> defined in _obj/wrapper/textures.o
>>> referenced by textures.cpp
>>>               _obj/wrapper/textures.o:(add_tex(unsigned int))

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:414: mupen64plus-video-glide64.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-glide64