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

    /usr/pkg/bin/ruby18 extconf.rb
checking gsl version... 1.16
checking gsl cflags... -I/usr/pkg/include
checking for main() in -lcblas... no
checking gsl libs... -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lgsl -lgslcblas -lm
checking for round()... yes
checking for rngextra/rngextra.h... no
checking for qrngextra/qrngextra.h... no
checking for ool/ool_version.h... no
checking for tensor/tensor.h... no
checking for jacobi.h... no
checking for gsl/gsl_cqp.h... no
checking for gsl/gsl_multimin_fsdf.h... no
checking for gsl_poly_solve_quartic() in -lgsl... no
checking for gsl_eigen_francis() in -lgsl... yes
checking for ndlinear/gsl_multifit_ndlinear.h... no
checking for alf/alf.h... no
checking rb-gsl version...1.15.3
checking ruby version... 1.8.7
checking for graph... no
checking for narray.h... no
checking for tamu_anova/tamu_anova.h... no
checking for main() in -ltamuanova... no
creating Makefile

make
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c alf.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c array.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c array_complex.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c blas.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c blas1.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c blas2.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c blas3.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c block.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c bspline.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c bundle.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c cdf.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c cheb.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c combination.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c common.c
common.c:137:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
    if (isspace(*p)) {
        ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
common.c:159:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
    if (isspace(*p)) {
        ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
common.c:195:9: warning: array subscript is of type 'char' [-Wchar-subscripts]
    if (isspace(*p)) {
        ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
3 warnings generated.
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c complex.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c const.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c const_additional.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c cqp.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c deriv.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c dht.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c diff.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c dirac.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c eigen.c
eigen.c:1107:5: warning: variable 'v' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    CHECK_MATRIX_COMPLEX(argv2[1]);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:229:36: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1125:25: note: uninitialized use occurs here
  gsl_eigen_nonsymmv(m, v, evec, w);
                        ^
eigen.c:1107:5: note: remove the 'if' if its condition is always true
    CHECK_MATRIX_COMPLEX(argv2[1]);
    ^
../include/rb_gsl_common.h:229:33: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
                                ^
eigen.c:1063:24: note: initialize the variable 'v' to silence this warning
  gsl_vector_complex *v;
                       ^
                        = NULL
eigen.c:1107:5: warning: variable 'evec' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    CHECK_MATRIX_COMPLEX(argv2[1]);
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:229:36: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1125:28: note: uninitialized use occurs here
  gsl_eigen_nonsymmv(m, v, evec, w);
                           ^~~~
eigen.c:1107:5: note: remove the 'if' if its condition is always true
    CHECK_MATRIX_COMPLEX(argv2[1]);
    ^
../include/rb_gsl_common.h:229:33: note: expanded from macro 'CHECK_MATRIX_COMPLEX'
#define CHECK_MATRIX_COMPLEX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix_complex))\
                                ^
eigen.c:1064:27: note: initialize the variable 'evec' to silence this warning
  gsl_matrix_complex *evec;
                          ^
                           = NULL
eigen.c:1240:5: warning: variable 'v' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    CHECK_MATRIX(argv2[2]);
    ^~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:205:28: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1260:27: note: uninitialized use occurs here
  gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
                          ^
eigen.c:1240:5: note: remove the 'if' if its condition is always true
    CHECK_MATRIX(argv2[2]);
    ^
../include/rb_gsl_common.h:205:25: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
                        ^
eigen.c:1200:24: note: initialize the variable 'v' to silence this warning
  gsl_vector_complex *v;
                       ^
                        = NULL
eigen.c:1240:5: warning: variable 'evec' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    CHECK_MATRIX(argv2[2]);
    ^~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:205:28: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1260:30: note: uninitialized use occurs here
  gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
                             ^~~~
eigen.c:1240:5: note: remove the 'if' if its condition is always true
    CHECK_MATRIX(argv2[2]);
    ^
../include/rb_gsl_common.h:205:25: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
                        ^
eigen.c:1201:27: note: initialize the variable 'evec' to silence this warning
  gsl_matrix_complex *evec;
                          ^
                           = NULL
eigen.c:1240:5: warning: variable 'Z' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
    CHECK_MATRIX(argv2[2]);
    ^~~~~~~~~~~~~~~~~~~~~~
../include/rb_gsl_common.h:205:28: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1260:36: note: uninitialized use occurs here
  gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
                                   ^
eigen.c:1240:5: note: remove the 'if' if its condition is always true
    CHECK_MATRIX(argv2[2]);
    ^
../include/rb_gsl_common.h:205:25: note: expanded from macro 'CHECK_MATRIX'
#define CHECK_MATRIX(x) if(!rb_obj_is_kind_of(x,cgsl_matrix))\
                        ^
eigen.c:1228:9: warning: variable 'Z' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
    if (CLASS_OF(argv2[0]) == cgsl_eigen_nonsymm_workspace) {
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/scratch/math/ruby-gsl/work/.buildlink/lib/ruby/1.8/x86_64-netbsd/ruby.h:194:21: note: expanded from macro 'CLASS_OF'
#define CLASS_OF(v) rb_class_of((VALUE)(v))
                    ^
eigen.c:1260:36: note: uninitialized use occurs here
  gsl_eigen_nonsymmv_Z(m, v, evec, Z, w);
                                   ^
eigen.c:1228:5: note: remove the 'if' if its condition is always false
    if (CLASS_OF(argv2[0]) == cgsl_eigen_nonsymm_workspace) {
    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
eigen.c:1199:20: note: initialize the variable 'Z' to silence this warning
  gsl_matrix *m, *Z;
                   ^
                    = NULL
6 warnings generated.
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c error.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c fcmp.c
gcc -I. -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_ROUND  -I/usr/pkg/lib/ruby/gems/1.8/gems/narray-0.6.0.8/. -I./.gem.20130730-14343-is9anm -I/usr/include  -I/usr/include -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -Wall -I../include  -I/usr/pkg/include -c fft.c
fft.c:910:48: error: use of undeclared identifier 'forward'
  rb_define_const(mgsl_fft, "Forward", INT2FIX(forward));
                                               ^
/scratch/math/ruby-gsl/work/.buildlink/lib/ruby/1.8/x86_64-netbsd/ruby.h:143:37: note: expanded from macro 'INT2FIX'
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG))
                                    ^
fft.c:911:48: error: use of undeclared identifier 'forward'
  rb_define_const(mgsl_fft, "FORWARD", INT2FIX(forward));
                                               ^
/scratch/math/ruby-gsl/work/.buildlink/lib/ruby/1.8/x86_64-netbsd/ruby.h:143:37: note: expanded from macro 'INT2FIX'
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG))
                                    ^
fft.c:912:49: error: use of undeclared identifier 'backward'
  rb_define_const(mgsl_fft, "Backward", INT2FIX(backward));
                                                ^
/scratch/math/ruby-gsl/work/.buildlink/lib/ruby/1.8/x86_64-netbsd/ruby.h:143:37: note: expanded from macro 'INT2FIX'
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG))
                                    ^
fft.c:913:49: error: use of undeclared identifier 'backward'
  rb_define_const(mgsl_fft, "BACKWARD", INT2FIX(backward));
                                                ^
/scratch/math/ruby-gsl/work/.buildlink/lib/ruby/1.8/x86_64-netbsd/ruby.h:143:37: note: expanded from macro 'INT2FIX'
#define INT2FIX(i) ((VALUE)(((long)(i))<<1 | FIXNUM_FLAG))
                                    ^
4 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/math/ruby-gsl/work/.inst/usr/pkg/lib/ruby/gems/1.8/gems/gsl-1.15.3/ext


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

Stop.
make: stopped in /data/pkgsrc/math/ruby-gsl
*** Error code 1

Stop.
make: stopped in /data/pkgsrc/math/ruby-gsl
