+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-RMagick-5.1.0/work.log
+ su pbulk -c '"$@"' make /opt/local/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=31 WRKLOG=/tmp/bulklog/ruby31-RMagick-5.1.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for ruby31-RMagick-5.1.0
=> Generating pre-install file lists
=> Installing gem into installation root
Building native extensions. This could take a while...
ERROR:  Error installing /home/pbulk/build/graphics/ruby-RMagick/work/rmagick-5.1.0/rmagick-5.1.0.gem:
	ERROR: Failed to build gem native extension.

    current directory: /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/local/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0/ext/RMagick
/opt/local/bin/ruby31 -I /opt/local/lib/ruby/3.1.0 extconf.rb
checking for brew... no
checking for pacman... no
checking for Ruby version >= 2.3.0... yes
checking for outdated ImageMagick version (<= 6.7.7)... no
checking for gcc... yes

Warning: Found a partial ImageMagick installation. Your operating
system likely has some built-in ImageMagick libraries but not all of
ImageMagick. This will most likely cause problems at both compile and
runtime.
Found partial installation at: /opt/local

checking for __GNUC__... yes
checking for MagickCore/MagickCore.h... yes
checking for rb_gc_adjust_memory_usage() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... yes
checking for posix_memalign() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... yes
checking for malloc_usable_size() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... no
checking for malloc_size() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... no
checking for _aligned_msize() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... no
checking for GetImageChannelEntropy() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... no
checking for SetImageGray() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... yes
checking for SetMagickAlignedMemoryMethods() in assert.h,ctype.h,stdio.h,stdlib.h,math.h,time.h,sys/types.h,MagickCore/MagickCore.h... yes
checking for malloc.h... yes
creating extconf.h
creating Makefile
======================================================================
Mon 15 Apr 24 11:40:38
This installation of RMagick 5.1.0 is configured for
Ruby 3.1.3 (x86_64-solaris2.11) and ImageMagick 7.1.0
======================================================================


Configured compile options: {:magick_version=>"7.1.0", :local_libs=>"  -L/opt/local/lib -Wl,-R/opt/local/lib -lMagickCore-7.Q16HDRI", :cppflags=>"-I/opt/local/include -I/usr/include -I/opt/local/include/db4 -std=gnu99 -D_XOPEN_SOURCE=700 $(DEFS) $(cppflags) -I/opt/local/include -I/usr/include -I/opt/local/include/ImageMagick-7 -I/opt/local/include/glib-2.0 -I/opt/local/include/gio-unix-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/freetype2 -fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/opt/local/include/ImageMagick-7 -std=gnu99 -Wno-void-pointer-to-int-cast -Wno-void-pointer-to-enum-cast -Wno-pointer-to-int-cast", :ldflags=>"-L. -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -pthread -Wl,-R/opt/local/lib -liconv -L/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -Wl,-R/opt/local/gcc12/lib/gcc/x86_64-sun-solaris2.11/12.2.0 -L/opt/local/lib -Wl,-R/opt/local/lib -liconv -pthread -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -lintl -L/opt/local/lib -Wl,-R/opt/local/lib -lMagickCore-7.Q16HDRI -Wl,-rpath,/opt/local/lib", :defs=>["-DHAVE_MAGICKCORE_MAGICKCORE_H", "-DHAVE_RB_GC_ADJUST_MEMORY_USAGE", "-DHAVE_POSIX_MEMALIGN", "-DHAVE_SETIMAGEGRAY", "-DHAVE_SETMAGICKALIGNEDMEMORYMETHODS", "-DHAVE_MALLOC_H", "-DRUBY_VERSION_STRING=\"ruby 3.1.3\"", "-DRMAGICK_VERSION_STRING=\"RMagick 5.1.0\"", "-DIMAGEMAGICK_GREATER_THAN_EQUAL_6_8_9=1", "-DIMAGEMAGICK_GREATER_THAN_EQUAL_6_9_0=1", "-DIMAGEMAGICK_GREATER_THAN_EQUAL_6_9_10=1", "-DIMAGEMAGICK_7=1", "-DIMAGEMAGICK_GREATER_THAN_EQUAL_7_0_8=1", "-DIMAGEMAGICK_GREATER_THAN_EQUAL_7_0_10=1"], :config_h=>"Makefile"}

current directory: /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/local/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0/ext/RMagick
make DESTDIR\= sitearchdir\=./.gem.20240415-86275-z3igwj sitelibdir\=./.gem.20240415-86275-z3igwj clean

current directory: /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/local/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0/ext/RMagick
make DESTDIR\= sitearchdir\=./.gem.20240415-86275-z3igwj sitelibdir\=./.gem.20240415-86275-z3igwj
compiling rmagick.c
In file included from /usr/include/poll.h:41,
                 from /home/pbulk/build/graphics/ruby-RMagick/work/.buildlink/include/ruby-3.1.0/ruby/io.h:30,
                 from rmagick.h:26,
                 from rmagick.c:13:
/usr/include/signal.h:92:29: error: unknown type name 'procset_t'
   92 | extern int sigsendset(const procset_t *, int);
      |                             ^~~~~~~~~
cc1: note: unrecognized command-line option '-Wno-void-pointer-to-enum-cast' may have been intended to silence earlier diagnostics
cc1: note: unrecognized command-line option '-Wno-void-pointer-to-int-cast' may have been intended to silence earlier diagnostics
*** Error code 1

Stop.
make: stopped in /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/local/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0/ext/RMagick

make failed, exit code 1

Gem files will remain installed in /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/local/lib/ruby/gems/3.1.0/gems/rmagick-5.1.0 for inspection.
Results logged to /home/pbulk/build/graphics/ruby-RMagick/work/.inst/opt/local/lib/ruby/gems/3.1.0/extensions/x86_64-solaris-2.11/3.1.0/rmagick-5.1.0/gem_make.out
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/ruby-RMagick
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-2022Q4-x86_64/graphics/ruby-RMagick