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

    current directory: /home/pbulk/build/net/ruby-pcaprub/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pcaprub-0.13.1/ext/pcaprub_c
/opt/pkg/bin/ruby32 extconf.rb

[*] Running checks for pcaprub_c code...
platform is x86_64-solaris2.11
checking for ruby/thread.h... yes
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... yes
checking for pcap_open_live() in -lpcap... yes
checking for pcap_setnonblock() in -lpcap... yes
creating Makefile

current directory: /home/pbulk/build/net/ruby-pcaprub/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pcaprub-0.13.1/ext/pcaprub_c
make DESTDIR\= sitearchdir\=./.gem.20240503-216586-dbhatn sitelibdir\=./.gem.20240503-216586-dbhatn clean

current directory: /home/pbulk/build/net/ruby-pcaprub/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pcaprub-0.13.1/ext/pcaprub_c
make DESTDIR\= sitearchdir\=./.gem.20240503-216586-dbhatn sitelibdir\=./.gem.20240503-216586-dbhatn
compiling pcaprub.c
pcaprub.c: In function 'rbpcap_s_lookupdev':
pcaprub.c:108:3: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
  108 |   dev = pcap_lookupdev(eb);
      |   ^~~
In file included from /home/pbulk/build/net/ruby-pcaprub/work/.buildlink/include/pcap.h:43,
                 from pcaprub.c:11:
/home/pbulk/build/net/ruby-pcaprub/work/.buildlink/include/pcap/pcap.h:395:18: note: declared here
  395 | PCAP_API char   *pcap_lookupdev(char *);
      |                  ^~~~~~~~~~~~~~
pcaprub.c: In function 'rbpcap_setfilter':
pcaprub.c:418:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  418 |   u_int32_t mask = 0, netid = 0;
      |   ^~~~~~~~~
      |   uint32_t
pcaprub.c: In function 'rbpcap_compile':
pcaprub.c:463:3: error: unknown type name 'u_int32_t'; did you mean 'uint32_t'?
  463 |   u_int32_t mask = 0;
      |   ^~~~~~~~~
      |   uint32_t
*** Error code 1

Stop.
make: stopped in /home/pbulk/build/net/ruby-pcaprub/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pcaprub-0.13.1/ext/pcaprub_c

make failed, exit code 1

Gem files will remain installed in /home/pbulk/build/net/ruby-pcaprub/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/pcaprub-0.13.1 for inspection.
Results logged to /home/pbulk/build/net/ruby-pcaprub/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-solaris-2.11/3.2.0/pcaprub-0.13.1/gem_make.out
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/ruby-pcaprub
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/net/ruby-pcaprub