+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/mame-0.262/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=311 WRKLOG=/tmp/bulklog/mame-0.262/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 => Checksum BLAKE2s OK for mame-0.262.tar.gz => Checksum SHA512 OK for mame-0.262.tar.gz ===> Installing dependencies for mame-0.262 ========================================================================== The following variables will affect the build process of this package, mame-0.262. Their current value is shown below: * JPEG_DEFAULT = jpeg * PYTHON_VERSION_DEFAULT = 311 Based on these variables, the following variables have been set: * JPEGBASE (defined, but empty) * JPEG_TYPE = jpeg * PYPACKAGE = python311 You may want to abort the process now with CTRL-C and change the value of variables in the first group before continuing. Be sure to run `/opt/pkg/bin/bmake clean' after the changes. ========================================================================== => Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.78.4 => Tool dependency mktools-[0-9]*: found mktools-20220614 => Tool dependency gmake>=3.81: found gmake-4.4.1 => Tool dependency pkgconf-[0-9]*: found pkgconf-2.0.3 => Tool dependency cwrappers>=20150314: found cwrappers-20220403 => Tool dependency checkperms>=1.1: found checkperms-1.12 => Build dependency xorgproto>=2016.1: found xorgproto-2023.2 => Build dependency xcb-proto>=1.15.2nb3: found xcb-proto-1.16.0nb1 => Build dependency glm>=0.9.7: found glm-1.0.0 => Build dependency python311>=3.11.6nb1: found python311-3.11.8 => Build dependency rapidjson>=1.1.0: found rapidjson-1.1.0nb1 => Full dependency liberation-ttf-[0-9]*: found liberation-ttf-2.1.5nb1 => Full dependency flac>=1.4.0: found flac-1.4.3 => Full dependency utf8proc>=2.9.0: found utf8proc-2.9.0 => Full dependency SDL2>=2.28.5nb1: found SDL2-2.30.0 => Full dependency zlib>=1.2.3: found zlib-1.3.1 => Full dependency sqlite3>=3.44.0nb1: found sqlite3-3.45.1 => Full dependency SDL2_ttf>=2.22.0nb1: found SDL2_ttf-2.22.0nb1 => Full dependency fontconfig>=2.14.2nb3: found fontconfig-2.15.0 => Full dependency expat>=2.0.0nb1: found expat-2.6.0 => Full dependency pugixml>=1.7: found pugixml-1.14 => Full dependency jpeg>=9: found jpeg-9e ===> Overriding tools for mame-0.262 ===> Extracting for mame-0.262 /usr/bin/rm /home/pbulk/build/emulators/mame/work/mame-mame0262/3rdparty/bx/include/compat/freebsd/signal.h /usr/bin/rm /home/pbulk/build/emulators/mame/work/mame-mame0262/3rdparty/bx/include/compat/freebsd/dirent.h /usr/bin/mv /home/pbulk/build/emulators/mame/work/mame-mame0262/3rdparty/genie/build/gmake.freebsd /home/pbulk/build/emulators/mame/work/mame-mame0262/3rdparty/genie/build/gmake.bsd ===> Patching for mame-0.262 => Applying pkgsrc patches for mame-0.262 => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-3rdparty_bx_src_thread.cpp Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-3rdparty_bx_src_thread.cpp,v 1.5 2023/02/27 11:23:23 wiz Exp $ | |NetBSD does not provide pthread_np.h. |https://github.com/bkaradzic/bx/issues/295 | |--- 3rdparty/bx/src/thread.cpp.orig 2023-02-21 17:59:53.000000000 +0000 |+++ 3rdparty/bx/src/thread.cpp -------------------------- Patching file 3rdparty/bx/src/thread.cpp using Plan A... Hunk #1 succeeded at 25. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-3rdparty_genie_build_gmake.darwin_genie.make Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-3rdparty_genie_build_gmake.darwin_genie.make,v 1.3 2019/11/08 09:44:17 wiz Exp $ | |Do not set optimization level, nor minimal macOS version. | |--- 3rdparty/genie/build/gmake.darwin/genie.make.orig 2019-10-29 17:16:37.000000000 +0000 |+++ 3rdparty/genie/build/gmake.darwin/genie.make -------------------------- Patching file 3rdparty/genie/build/gmake.darwin/genie.make using Plan A... Hunk #1 succeeded at 49. done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-makefile => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-makefile Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-makefile,v 1.24 2020/10/28 16:56:24 wiz Exp $ | |Treat all BSDs the same. | |Do not set compiler optimization. | |--- makefile.orig 2020-10-27 01:00:36.000000000 +0000 |+++ makefile -------------------------- Patching file makefile using Plan A... Hunk #1 succeeded at 208 (offset 8 lines). Hunk #2 succeeded at 618 (offset 19 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-scripts_src_3rdparty.lua => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-scripts_src_3rdparty.lua Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_src_3rdparty.lua,v 1.6 2023/11/02 01:51:58 wiz Exp $ | |NetBSD has arc4random too. | |Disable SSE usage in bimg - it seems to assume availability of AVX2 |intrinsics? | |Compiling 3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_decompress_symbolic.cpp... |In file included from /usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.5.0/include/immintrin.h:35, | from ../../../../../3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_mathlib.h:85, | from ../../../../../3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_internal.h:34, | from ../../../../../3rdparty/bimg/3rdparty/astc-encoder/source/astcenc_decompress_symbolic.cpp:22: |/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.5.0/include/tmmintrin.h: In function 'vint4 vtable_8bt_32bi(vint4, vint4, vint4)': |/usr/pkg/gcc8/lib/gcc/x86_64--netbsd/8.5.0/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline '__m128i _mm_shuffle_epi8(__m128i, __m128i)': target specific option mismatch | |--- scripts/src/3rdparty.lua.orig 2023-10-23 15:53:41.000000000 +0000 |+++ scripts/src/3rdparty.lua -------------------------- Patching file scripts/src/3rdparty.lua using Plan A... Hunk #1 succeeded at 49. Hunk #2 succeeded at 1373 (offset 85 lines). done => Verifying /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-scripts_toolchain.lua => Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-upstream-trunk/emulators/mame/patches/patch-scripts_toolchain.lua Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |$NetBSD: patch-scripts_toolchain.lua,v 1.6 2023/03/31 20:39:45 wiz Exp $ | |Not for upstream. |android toolchain value is not used in pkgsrc so this is good enough for now. |https://github.com/mamedev/mame/issues/11049 | |--- scripts/toolchain.lua.orig 2023-03-29 14:05:56.000000000 +0000 |+++ scripts/toolchain.lua -------------------------- Patching file scripts/toolchain.lua using Plan A... Hunk #1 succeeded at 60. done ===> Creating toolchain wrappers for mame-0.262 ===> Configuring for mame-0.262 => Checking for portability problems in extracted files