=> Bootstrap dependency digest>=20010302: found digest-20080510
===> 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-eventmachine-0.12.10
=> Generating pre-install file lists
=> Installing gem into installation root
ERROR:  Error installing /scratch/devel/ruby-eventmachine/work/eventmachine-0.12.10/eventmachine-0.12.10.gem:
	ERROR: Failed to build gem native extension.

/usr/pkg/bin/ruby18 extconf.rb --build-args
checking for rb_trap_immediate in ruby.h,rubysig.h... yes
checking for rb_thread_blocking_region()... no
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... yes
checking for rb_thread_check_ints()... no
checking for rb_time_new()... yes
checking for sys/event.h... yes
checking for sys/queue.h... yes
checking for main() in -lssl... yes
checking for main() in -lcrypto... yes
checking for openssl/ssl.h... yes
checking for openssl/err.h... yes
creating Makefile

make
c++ -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -DWITH_SSL -DHAVE_MAKE_PAIR -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c binder.cpp
c++ -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -DWITH_SSL -DHAVE_MAKE_PAIR -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c cmain.cpp
c++ -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -DWITH_SSL -DHAVE_MAKE_PAIR -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c cplusplus.cpp
c++ -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -DWITH_SSL -DHAVE_MAKE_PAIR -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c ed.cpp
c++ -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DBUILD_FOR_RUBY -DHAVE_RB_TRAP_IMMEDIATE -DHAVE_RBTRAP -DHAVE_WRITEV -DHAVE_WRITEV -DHAVE_RB_TIME_NEW -DOS_UNIX -DHAVE_SYS_EVENT_H -DHAVE_SYS_QUEUE_H -DHAVE_KQUEUE -DHAVE_OPENSSL_SSL_H -DHAVE_OPENSSL_ERR_H -DWITH_SSL -DHAVE_MAKE_PAIR -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c em.cpp
em.cpp: In member function 'void EventMachine_t::_ReadLoopBreaker()':
em.cpp:924: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'bool EventMachine_t::_RunTimers()':
em.cpp:948: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'const long unsigned int EventMachine_t::ConnectToServer(const char*, int, const char*, int)':
em.cpp:1089: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'const long unsigned int EventMachine_t::ConnectToUnixServer(const char*)':
em.cpp:1218: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1221: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1237: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1243: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1249: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'int EventMachine_t::DetachFD(EventableDescriptor*)':
em.cpp:1350: error: invalid conversion from 'EventableDescriptor*' to '__intptr_t'
em.cpp: In member function 'const long unsigned int EventMachine_t::CreateTcpServer(const char*, int)':
em.cpp:1453: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1455: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1535: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'const long unsigned int EventMachine_t::OpenDatagramSocket(const char*, int)':
em.cpp:1545: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1596: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'const long unsigned int EventMachine_t::_OpenFileForWriting(const char*)':
em.cpp:1781: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'const long unsigned int EventMachine_t::CreateUnixDomainServer(const char*)':
em.cpp:1813: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1874: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp: In member function 'const long unsigned int EventMachine_t::Socketpair(char* const*)':
em.cpp:1935: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1940: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1942: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1946: warning: converting to non-pointer type 'long unsigned int' from NULL
em.cpp:1956: warning: converting to non-pointer type 'long unsigned int' from NULL
*** Error code 1

Stop.
make: stopped in /scratch/devel/ruby-eventmachine/work/.inst/usr/pkg/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext


Gem files will remain installed in /scratch/devel/ruby-eventmachine/work/.inst/usr/pkg/lib/ruby/gems/1.8/gems/eventmachine-0.12.10 for inspection.
Results logged to /scratch/devel/ruby-eventmachine/work/.inst/usr/pkg/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/ext/gem_make.out
Building native extensions.  This could take a while...
*** Error code 1

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

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