=> Bootstrap dependency digest>=20010302: found digest-20111104
===> 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'.
===> Building for ruby18-quota-0.5.1nb11
gcc -I. -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I/usr/pkg/lib/ruby/1.8/x86_64-netbsd -I. -DHAVE_UNISTD_H -DHAVE_SYS_QUOTA_H -DHAVE_SYS_TYPES_H -DHAVE_UFS_UFS_QUOTA_H -DHAVE_SYS_UCRED_H -DHAVE_SYS_STATVFS_H -I/usr/pkg/include -I/usr/include   -fPIC -O2 -pthread -I/usr/include  -fPIC -pipe  -c quota.c
quota.c:196:25: warning: implicit declaration of function 'QCMD' is invalid in C99 [-Wimplicit-function-declaration]
    ret = quotactl(path,QCMD(cmd,GRPQUOTA),uid,addr);
                        ^
quota.c:196:44: error: too many arguments to function call, expected 2, have 4
    ret = quotactl(path,QCMD(cmd,GRPQUOTA),uid,addr);
          ~~~~~~~~                         ^~~~~~~~
/usr/include/quota/quotaprop.h:89:1: note: 'quotactl' declared here
int quotactl(const char *, struct plistref *) __RENAME(__quotactl50);
^
quota.c:199:44: error: too many arguments to function call, expected 2, have 4
    ret = quotactl(path,QCMD(cmd,USRQUOTA),uid,addr);
          ~~~~~~~~                         ^~~~~~~~
/usr/include/quota/quotaprop.h:89:1: note: 'quotactl' declared here
int quotactl(const char *, struct plistref *) __RENAME(__quotactl50);
^
quota.c:252:36: warning: declaration of 'struct dqblk' will not be visible outside of this function
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:278:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_bhardlimit = GetMember("bhardlimit");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:279:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_bsoftlimit = GetMember("bsoftlimit");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:280:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_curblocks  = GetMember("curblocks");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:281:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_ihardlimit = GetMember("ihardlimit");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:282:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_isoftlimit = GetMember("isoftlimit");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:283:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_curinodes  = GetMember("curinodes");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:284:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_btime      = GetMember("btimelimit");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:285:8: error: incomplete definition of type 'struct dqblk'
  c_dqb->dqb_itime      = GetMember("itimelimit");
  ~~~~~^
quota.c:252:36: note: forward declaration of 'struct dqblk'
rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb)
                                   ^
quota.c:300:25: warning: declaration of 'struct dqblk' will not be visible outside of this function
rb_diskquota_new(struct dqblk *c_dqb)
                        ^
quota.c:330:23: error: incomplete definition of type 'struct dqblk'
                      UINT2NUM(c_dqb->dqb_bhardlimit),
                      ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/scratch/sysutils/ruby-quota/work/.buildlink/lib/ruby/1.8/x86_64-netbsd/ruby.h:151:34: note: expanded from macro 'UINT2NUM'
#define UINT2NUM(v) rb_uint2inum(v)
                                 ^
quota.c:300:25: note: forward declaration of 'struct dqblk'
rb_diskquota_new(struct dqblk *c_dqb)
                        ^
quota.c:358:16: error: variable has incomplete type 'struct dqblk'
  struct dqblk c_dqb;
               ^
quota.c:358:10: note: forward declaration of 'struct dqblk'
  struct dqblk c_dqb;
         ^
quota.c:361:19: error: use of undeclared identifier 'Q_GETQUOTA'
  if( rb_quotactl(Q_GETQUOTA,c_dev,uid,(caddr_t)(&c_dqb)) == -1 ){
                  ^
quota.c:375:19: error: use of undeclared identifier 'Q_QUOTAOFF'
  if( rb_quotactl(Q_QUOTAOFF,c_dev,Qnil,NULL) == -1 ){
                  ^
quota.c:388:19: error: use of undeclared identifier 'Q_QUOTAON'
  if( rb_quotactl(Q_QUOTAON,c_dev,Qnil,(caddr_t)c_quotas) == -1 ){
                  ^
quota.c:399:16: error: variable has incomplete type 'struct dqblk'
  struct dqblk c_dqb;
               ^
quota.c:399:10: note: forward declaration of 'struct dqblk'
  struct dqblk c_dqb;
         ^
quota.c:403:19: error: use of undeclared identifier 'Q_SETQUOTA'
  if( rb_quotactl(Q_SETQUOTA,c_dev,uid,(caddr_t)(&c_dqb)) == -1 ){
                  ^
quota.c:444:19: error: use of undeclared identifier 'Q_SYNC'
  if( rb_quotactl(Q_SYNC,c_dev,Qnil,NULL) == -1 ){ /* uid and addr are ignored */
                  ^
3 warnings and 18 errors generated.
*** Error code 1

Stop.
make: stopped in /scratch/sysutils/ruby-quota/work/ruby-quota-0.5.1
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/sysutils/ruby-quota
*** Error code 1

Stop.
make: stopped in /bulk-data/pkgsrc/sysutils/ruby-quota
