=> Bootstrap dependency digest>=20010302: found digest-20160304
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
=> Checksum SHA1 OK for Data-Random-0.13.tar.gz
=> Checksum RMD160 OK for Data-Random-0.13.tar.gz
=> Checksum SHA512 OK for Data-Random-0.13.tar.gz
===> Installing dependencies for p5-Data-Random-0.13
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency p5-YAML-Tiny-[0-9]*: found p5-YAML-Tiny-1.73
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency p5-GD>=1.18: found p5-GD-2.68nb1
=> Full dependency p5-Time-Piece>=1.16: found p5-Time-Piece-1.3204
=> Full dependency perl>=5.26.0<5.28.0: found perl-5.26.2
===> Overriding tools for p5-Data-Random-0.13
===> Extracting for p5-Data-Random-0.13
===> Patching for p5-Data-Random-0.13
===> Creating toolchain wrappers for p5-Data-Random-0.13
===> Configuring for p5-Data-Random-0.13
=> Checking for portability problems in extracted files
Can't locate File/ShareDir/Install.pm in @INC (you may need to install the File::ShareDir::Install module) (@INC contains: /usr/pkg/lib/perl5/site_perl/5.26.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/site_perl/5.26.0 /usr/pkg/lib/perl5/vendor_perl/5.26.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/vendor_perl/5.26.0 /usr/pkg/lib/perl5/5.26.0/x86_64-netbsd-thread-multi /usr/pkg/lib/perl5/5.26.0 .) at Makefile.PL line 9.
BEGIN failed--compilation aborted at Makefile.PL line 9.
*** Error code 2

Stop.
make[1]: stopped in /data/pkgsrc/devel/p5-Data-Random
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/devel/p5-Data-Random