=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> 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'.
===> Installing for ruby18-shadow-2.2.0
=> Generating pre-install file lists
=> Installing gem into installation root
ERROR:  Error installing /scratch/security/ruby-shadow/work/ruby-shadow-2.2.0/ruby-shadow-2.2.0.gem:
	ERROR: Failed to build gem native extension.

    /usr/pkg/bin/ruby18 extconf.rb --build-args --with-opt-dir=/usr/pkg --vendor
checking for getspent() in -lshadow... no
checking for getspent()... no
checking for fgetspent()... no
checking for setspent()... no
checking for endspent()... no
checking for lckpwdf()... no
checking for ulckpwdf()... no
checking for endpwent()... yes
checking for getpwent()... yes
checking for getpwnam()... yes
checking for getpwnam_r()... yes
checking for getpwuid()... yes
checking for setpassent()... yes
checking for setpwent()... yes
creating Makefile

make
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ENDPWENT -DHAVE_GETPWENT -DHAVE_GETPWNAM -DHAVE_GETPWNAM_R -DHAVE_GETPWUID -DHAVE_SETPASSENT -DHAVE_SETPWENT -I/usr/pkg/include -I/usr/include  -I/usr/include -fPIC  -Wall -pedantic -DOSX  -c shadow.c
gcc -shared -o shadow.so shadow.o -L. -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib     -Wl,-R -Wl,/usr/pkg/lib -L/usr/pkg/lib -lruby18  -lpthread -lrt -lcrypt -lm   -lc
io_lib=/usr/pkg/lib/ruby/1.8/x86_64-netbsd/ruby/rubyio.h
hdr=/usr/pkg/lib/ruby/1.8/x86_64-netbsd/ruby.h

make install
/usr/bin/install -c -m 0755 shadow.so /usr/pkg/lib/ruby/vendor_ruby/1.8/x86_64-netbsd
install: /usr/pkg/lib/ruby/vendor_ruby/1.8/x86_64-netbsd/shadow.so: open: Permission denied
make: *** [/usr/pkg/lib/ruby/vendor_ruby/1.8/x86_64-netbsd/shadow.so] Error 1


Gem files will remain installed in /scratch/security/ruby-shadow/work/.inst/usr/pkg/lib/ruby/gems/1.8/gems/ruby-shadow-2.2.0 for inspection.
Results logged to /scratch/security/ruby-shadow/work/.inst/usr/pkg/lib/ruby/gems/1.8/gems/ruby-shadow-2.2.0/./gem_make.out
Building native extensions with: '--build-args --with-opt-dir=/usr/pkg --vendor'
This could take a while...
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/security/ruby-shadow
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/security/ruby-shadow
