+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lightspark-0.8.5nb9/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake configure BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/lightspark-0.8.5nb9/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
=> Checksum BLAKE2s OK for lightspark-0.8.5.tar.gz
=> Checksum SHA512 OK for lightspark-0.8.5.tar.gz
===> Installing dependencies for lightspark-0.8.5nb9
==========================================================================
The following variables will affect the build process of this package,
lightspark-0.8.5nb9.  Their current value is shown below:

        * JPEG_DEFAULT = libjpeg-turbo
        * SSLBASE (defined)
        * SSLCERTBUNDLE (not defined)
        * SSLCERTS = /opt/local/etc/openssl/certs
        * SSLDIR = /opt/local/etc/openssl
        * SSLKEYS = /opt/local/etc/openssl/private

Based on these variables, the following variables have been set:

        * JPEGBASE (defined, but empty)
        * JPEG_TYPE = libjpeg-turbo

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/local/bin/bmake clean' after the changes.
==========================================================================
=> Tool dependency nasm>=1.1: found nasm-2.15.05nb2
=> Tool dependency glib2-tools-[0-9]*: found glib2-tools-2.74.3
=> Tool dependency mktools-[0-9]*: found mktools-20220614
=> Tool dependency cmake>=2.8.1nb1: found cmake-3.25.1
=> Tool dependency gettext-tools>=0.15: found gettext-tools-0.21nb3
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.8.0
=> Tool dependency cwrappers>=20150314: found cwrappers-20220403
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency xorgproto>=2016.1: found xorgproto-2022.2
=> Build dependency xcb-proto>=1.4: found xcb-proto-1.15.2nb1
=> Build dependency gcc12>=12.2.0: found gcc12-12.2.0
=> Full dependency xz>=5.0.0: found xz-5.4.0
=> Full dependency SDL2_mixer>=2.0.4nb11: found SDL2_mixer-2.0.4nb11
=> Full dependency SDL2>=2.24.0nb2: found SDL2-2.26.1
=> Full dependency MesaLib>=20.0.1nb1: found MesaLib-21.3.9nb1
=> Full dependency libXext>=1.1: found libXext-1.3.5
=> Full dependency gettext-lib>=0.18: found gettext-lib-0.21
=> Full dependency pango>=1.48.10: found pango-1.50.12
=> Full dependency zlib>=1.2.3: found zlib-1.2.13
=> Full dependency freetype2>=2.8.1: found freetype2-2.12.1
=> Full dependency cairo>=1.16.0nb2: found cairo-1.16.0nb7
=> Full dependency pcre>=8.30nb1: found pcre-8.45
=> Full dependency glew>=2.1.0: found glew-2.2.0nb2
=> Full dependency hicolor-icon-theme>=0.9nb1: found hicolor-icon-theme-0.17nb1
=> Full dependency ffmpeg4>=4.4.2nb5: found ffmpeg4-4.4.3nb2
=> Full dependency rtmpdump>=2.4.0.0.fa8646daeb19dfd12c181f7d19de708d623704c0nb7: found rtmpdump-2.4.0.0.fa8646daeb19dfd12c181f7d19de708d623704c0nb7
=> Full dependency curl>=7.86.0nb1: found curl-7.87.0
=> Full dependency libjpeg-turbo>=1.1.0: found libjpeg-turbo-2.1.4
=> Full dependency gcc12-libs>=12.2.0: found gcc12-libs-12.2.0
===> Overriding tools for lightspark-0.8.5nb9
===> Extracting for lightspark-0.8.5nb9
===> Patching for lightspark-0.8.5nb9
=> Applying pkgsrc patches for lightspark-0.8.5nb9
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-CMakeLists.txt
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-CMakeLists.txt
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-CMakeLists.txt,v 1.3 2020/12/03 22:23:33 nia Exp $
|
|Hunk 1:
|
|Use /lib for "private libs" (liblightspark). This may be evil,
|but currently the private rpath isn't being added properly.
|
|Hunk 2:
|
|Install config file as example.
|
|--- CMakeLists.txt.orig	2020-07-05 10:31:09.000000000 +0000
|+++ CMakeLists.txt
--------------------------
Patching file CMakeLists.txt using Plan A...
Hunk #1 succeeded at 112.
Hunk #2 succeeded at 173.
Hunk #3 succeeded at 539 (offset -13 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_3rdparty_jxrlib_image_decode_segdec.c
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_3rdparty_jxrlib_image_decode_segdec.c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_3rdparty_jxrlib_image_decode_segdec.c,v 1.1 2020/12/03 22:23:33 nia Exp $
|
|Use the more likely to be available bswap64 on non-Linux
|
|--- src/3rdparty/jxrlib/image/decode/segdec.c.orig	2020-07-05 10:31:09.000000000 +0000
|+++ src/3rdparty/jxrlib/image/decode/segdec.c
--------------------------
Patching file src/3rdparty/jxrlib/image/decode/segdec.c using Plan A...
Hunk #1 succeeded at 30.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_backends_urlutils.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_backends_urlutils.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_backends_urlutils.cpp,v 1.1 2019/07/09 16:33:30 nia Exp $
|
|NetBSD has alloca in stdlib.h, not alloca.h.
|
|--- src/backends/urlutils.cpp.orig	2018-06-02 09:25:36.000000000 +0000
|+++ src/backends/urlutils.cpp
--------------------------
Patching file src/backends/urlutils.cpp using Plan A...
Hunk #1 succeeded at 32.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_parsing_tags.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_parsing_tags.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_parsing_tags.cpp,v 1.1 2019/07/09 16:33:30 nia Exp $
|
|NetBSD has alloca in stdlib.h, not alloca.h.
|
|--- src/parsing/tags.cpp.orig	2018-06-02 09:25:36.000000000 +0000
|+++ src/parsing/tags.cpp
--------------------------
Patching file src/parsing/tags.cpp using Plan A...
Hunk #1 succeeded at 23.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_platforms_engineutils.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_platforms_engineutils.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_platforms_engineutils.cpp,v 1.3 2021/03/15 11:04:56 nia Exp $
|
|These are undefined, take advantage of SDL defines instead.
|
|--- src/platforms/engineutils.cpp.orig	2021-02-10 15:43:30.000000000 +0000
|+++ src/platforms/engineutils.cpp
--------------------------
Patching file src/platforms/engineutils.cpp using Plan A...
Hunk #1 succeeded at 37.
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_plugin__ppapi_plugin.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_plugin__ppapi_plugin.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_plugin__ppapi_plugin.cpp,v 1.2 2019/10/03 15:53:21 nia Exp $
|
|These are undefined, take advantage of SDL defines instead.
|
|--- src/plugin_ppapi/plugin.cpp.orig	2019-09-15 15:33:56.000000000 +0000
|+++ src/plugin_ppapi/plugin.cpp
--------------------------
Patching file src/plugin_ppapi/plugin.cpp using Plan A...
Hunk #1 succeeded at 77 (offset 2 lines).
done
=> Verifying /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_swf.cpp
=> Applying pkgsrc patch /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/multimedia/lightspark/patches/patch-src_swf.cpp
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$NetBSD: patch-src_swf.cpp,v 1.1 2020/12/03 22:23:33 nia Exp $
|
|Add missing header for unlink etc.
|
|--- src/swf.cpp.orig	2020-07-05 10:31:09.000000000 +0000
|+++ src/swf.cpp
--------------------------
Patching file src/swf.cpp using Plan A...
Hunk #1 succeeded at 17.
done
===> Creating toolchain wrappers for lightspark-0.8.5nb9
===> Configuring for lightspark-0.8.5nb9
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
=> Checking for portability problems in extracted files
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/pbulk/build/multimedia/lightspark/work/.cwrapper/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/pbulk/build/multimedia/lightspark/work/.cwrapper/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test GCC_IS_4_6
-- Performing Test GCC_IS_4_6 - Success
-- Gnash not found
-- The ASM-NASM compiler identification is NASM
-- Found assembler: /opt/local/bin/nasm
-- Found PkgConfig: /home/pbulk/build/multimedia/lightspark/work/.tools/bin/pkg-config (found version "1.8.0") 
-- Found ZLIB: /opt/local/lib/libz.so (found version "1.2.13") 
-- Found Freetype: /opt/local/lib/libfreetype.so  
-- Found OpenGL: /opt/local/lib/libGL.so   
-- Found GLEW: /opt/local/lib/libGLEW.so  
-- Found PCRE: /opt/local/lib/libpcre.so  
-- Found JPEG: /opt/local/lib/libjpeg.so (found version "80") 
-- Found PNG: /opt/local/lib/libpng16.so (found version "1.6.39") 
-- Checking for module 'liblzma'
--   Found liblzma, version 5.4.0
-- Checking for modules 'cairo;pangocairo'
--   Found cairo, version 1.16.0
--   Found pangocairo, version 1.50.12
-- Checking for modules 'libavcodec;libavutil;libavformat'
--   Found libavcodec, version 58.134.100
--   Found libavutil, version 56.70.100
--   Found libavformat, version 58.76.100
-- Checking for module 'libswresample'
--   Found libswresample, version 3.9.100
-- Looking for avcodec_decode_video2
-- Looking for avcodec_decode_video2 - found
-- Looking for avcodec_decode_audio3
-- Looking for avcodec_decode_audio3 - not found
-- Looking for avcodec_decode_audio4
-- Looking for avcodec_decode_audio4 - found
-- Looking for avio_alloc_context
-- Looking for avio_alloc_context - found
-- Looking for avcodec_alloc_context3
-- Looking for avcodec_alloc_context3 - found
-- Looking for avcodec_open2
-- Looking for avcodec_open2 - found
-- Looking for avformat_close_input
-- Looking for avformat_close_input - found
-- Looking for avformat_find_stream_info
-- Looking for avformat_find_stream_info - found
-- Looking for av_frame_alloc
-- Looking for av_frame_alloc - found
-- Looking for av_frame_unref
-- Looking for av_frame_unref - found
-- Looking for av_packet_unref
-- Looking for av_packet_unref - found
-- Looking for avcodec_send_packet
-- Looking for avcodec_send_packet - found
-- Looking for avcodec_receive_frame
-- Looking for avcodec_receive_frame - found
-- Looking for av_frame_get_sample_rate
-- Looking for av_frame_get_sample_rate - found
-- Performing Test HAVE_AVCODECID
-- Performing Test HAVE_AVCODECID - Success
-- Checking for module 'glib-2.0'
--   Found glib-2.0, version 2.74.3
-- Checking for module 'sdl2'
--   Found sdl2, version 2.26.1
-- Checking for module 'SDL2_mixer'
--   Found SDL2_mixer, version 2.0.4
-- Checking for module 'libcurl'
--   Found libcurl, version 7.87.0
-- Checking for module 'librtmp'
--   Found librtmp, version v2.4
-- Looking for C++ include atomic
-- Looking for C++ include atomic - not found
-- Checking for module 'x11'
--   Found x11, version 1.8.3
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_MANDIR


-- Build files have been written to: /home/pbulk/build/multimedia/lightspark/work/lightspark-0.8.5
=> Rewrite cmake Dependencies files