=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for ruby-2.5.7.tar.xz
=> Checksum RMD160 OK for ruby-2.5.7.tar.xz
=> Checksum SHA512 OK for ruby-2.5.7.tar.xz
===> Installing dependencies for ruby25-fiddle-2.5.7nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency ruby25-base>=2.5.7: found ruby25-base-2.5.7nb2
=> Full dependency libffi>=3.3nb1: found libffi-3.3nb1
===> Overriding tools for ruby25-fiddle-2.5.7nb1
===> Extracting for ruby25-fiddle-2.5.7nb1
===> Patching for ruby25-fiddle-2.5.7nb1
===> Creating toolchain wrappers for ruby25-fiddle-2.5.7nb1
===> Configuring for ruby25-fiddle-2.5.7nb1
===>  Running extconf.rb to configure
/usr/pkg/bin/ruby25  extconf.rb --with-opt-dir=/usr/pkg --vendor --enable-pthread
checking for ffi.h... yes
checking for -lffi... no
checking for -llibffi... no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/usr/pkg/bin/$(RUBY_BASE_NAME)25
	--enable-bundled-libffi
	--disable-bundled-libffi
	--with-libffi-dir
	--without-libffi-dir
	--with-libffi-include
	--without-libffi-include=${libffi-dir}/include
	--with-libffi-lib
	--without-libffi-lib=${libffi-dir}/lib
	--with-libffi-config
	--without-libffi-config
	--with-pkg-config
	--without-pkg-config
	--with-ffilib
	--without-ffilib
	--with-libffilib
	--without-libffilib
extconf.rb:93:in `block in <main>': failed to configure libffi. Please install libffi. (RuntimeError)
	from /usr/pkg/lib/ruby/2.5.0/mkmf.rb:320:in `open'
	from extconf.rb:85:in `<main>'
*** Error code 1

Stop.
make[1]: stopped in /usr/pkgsrc/devel/ruby-fiddle
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/ruby-fiddle