=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for ruby31-gstreamer-4.2.2
=> Generating pre-install file lists
=> Installing gem into installation root
Building native extensions. This could take a while...
ERROR:  Error installing /Users/pbulk/build/multimedia/ruby-gstreamer/work/gstreamer-4.2.2/gstreamer-4.2.2.gem:
	ERROR: Failed to build gem native extension.

    current directory: /Users/pbulk/build/multimedia/ruby-gstreamer/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/gstreamer-4.2.2/ext/gstreamer
/opt/pkg/bin/ruby31 -I /opt/pkg/lib/ruby/3.1.0 extconf.rb
checking for --enable-debug-build option... no
checking for -Wall option to compiler... yes
checking for -Wcast-align option to compiler... yes
checking for -Wextra option to compiler... no
checking for -Wformat=2 option to compiler... yes
checking for -Winit-self option to compiler... yes
checking for -Wlarger-than-65500 option to compiler... yes
checking for -Wmissing-declarations option to compiler... yes
checking for -Wmissing-format-attribute option to compiler... yes
checking for -Wmissing-include-dirs option to compiler... yes
checking for -Wmissing-noreturn option to compiler... yes
checking for -Wmissing-prototypes option to compiler... yes
checking for -Wnested-externs option to compiler... yes
checking for -Wold-style-definition option to compiler... yes
checking for -Wpacked option to compiler... yes
checking for -Wp,-D_FORTIFY_SOURCE=2 option to compiler... yes
checking for -Wpointer-arith option to compiler... yes
checking for -Wundef option to compiler... yes
checking for -Wout-of-line-declaration option to compiler... yes
checking for -Wunsafe-loop-optimizations option to compiler... no
checking for -Wwrite-strings option to compiler... yes
checking for Homebrew... no
checking for gstreamer-1.0... yes (1.24.1)
checking for gobject-introspection-1.0... yes (1.80.1)
creating ruby-gstreamer.pc
creating Makefile

current directory: /Users/pbulk/build/multimedia/ruby-gstreamer/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/gstreamer-4.2.2/ext/gstreamer
make DESTDIR\= sitearchdir\=./.gem.20240508-77366-vsupob sitelibdir\=./.gem.20240508-77366-vsupob clean

current directory: /Users/pbulk/build/multimedia/ruby-gstreamer/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/gstreamer-4.2.2/ext/gstreamer
make DESTDIR\= sitearchdir\=./.gem.20240508-77366-vsupob sitelibdir\=./.gem.20240508-77366-vsupob
compiling rbgst-child-proxy.c
rbgst-child-proxy.c:29:1: warning: function 'rg_raise_no_property_error' could be declared with attribute 'noreturn' [-Wmissing-noreturn]
{
^
1 warning generated.
compiling rbgst-element.c
compiling rbgst.c
rbgst.c:33:9: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32]
    n = RARRAY_LEN(from);
      ~ ^~~~~~~~~~~~~~~~
/Users/pbulk/build/multimedia/ruby-gstreamer/work/.buildlink/include/ruby-3.1.0/ruby/internal/core/rarray.h:68:36: note: expanded from macro 'RARRAY_LEN'
#define RARRAY_LEN                 rb_array_len                 /**< @alias{rb_array_len} */
                                   ^
1 warning generated.
linking shared-object gstreamer.bundle
ld: warning: ignoring duplicate libraries: '-lglib-2.0', '-lgobject-2.0', '-lintl'
Undefined symbols for architecture arm64:
  "_rbgobj_gc_mark_instance", referenced from:
      _rb_gst_element_mark in rbgst-element.o
  "_rbgobj_register_mark_func", referenced from:
      _rb_gst_init_element in rbgst-element.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1

Stop.
make: stopped in /Users/pbulk/build/multimedia/ruby-gstreamer/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/gstreamer-4.2.2/ext/gstreamer

make failed, exit code 1

Gem files will remain installed in /Users/pbulk/build/multimedia/ruby-gstreamer/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/gems/gstreamer-4.2.2 for inspection.
Results logged to /Users/pbulk/build/multimedia/ruby-gstreamer/work/.inst/opt/pkg/lib/ruby/gems/3.1.0/extensions/arm64-darwin-23/3.1.0/gstreamer-4.2.2/gem_make.out
*** Error code 1

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/ruby-gstreamer
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/multimedia/ruby-gstreamer