=> Bootstrap dependency digest>=20010302: found digest-20121220
WARNING: [license.mk] Every package should define a LICENSE.
===> 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
cc -I. -I. -I/usr/pkg/lib/ruby/1.8/i386-netbsdelf -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
In file included from shadow.c:20:
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/ruby.h:156: warning: ISO C90 does not support 'long long'
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/ruby.h:158: warning: ISO C90 does not support 'long long'
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/ruby.h:287: warning: ISO C90 does not support 'long long'
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/ruby.h:288: warning: ISO C90 does not support 'long long'
In file included from /scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/ruby.h:756,
                 from shadow.c:20:
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/intern.h:79: warning: ISO C90 does not support 'long long'
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/intern.h:80: warning: ISO C90 does not support 'long long'
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/intern.h:81: warning: ISO C90 does not support 'long long'
/scratch/security/ruby-shadow/work/.buildlink/lib/ruby/1.8/i386-netbsdelf/intern.h:82: warning: ISO C90 does not support 'long long'
cc -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/i386-netbsdelf/ruby/rubyio.h
hdr=/usr/pkg/lib/ruby/1.8/i386-netbsdelf/ruby.h

make install
/usr/bin/install -c -m 0755 shadow.so /usr/pkg/lib/ruby/vendor_ruby/1.8/i386-netbsdelf
install: /usr/pkg/lib/ruby/vendor_ruby/1.8/i386-netbsdelf/shadow.so: open: Permission denied
make: *** [/usr/pkg/lib/ruby/vendor_ruby/1.8/i386-netbsdelf/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 /usr/pkgsrc/security/ruby-shadow
*** Error code 1

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