===> Building for ruby33-quota-0.5.1nb11 compiling quota.c quota.c:454:36: warning: declaration of 'struct dqblk' will not be visible outside of this function [-Wvisibility] rb_diskquota_get(VALUE dqb, struct dqblk * c_dqb) ^ quota.c:456:9: warning: unused variable 'v' [-Wunused-variable] VALUE v; ^ quota.c:502:25: warning: declaration of 'struct dqblk' will not be visible outside of this function [-Wvisibility] rb_diskquota_new(struct dqblk *c_dqb) ^ quota.c:553:10: warning: variable 'dqb' is uninitialized when used here [-Wuninitialized] return dqb; ^~~ quota.c:504:12: note: initialize the variable 'dqb' to silence this warning VALUE dqb; ^ = 0 quota.c:565:16: error: variable has incomplete type 'struct dqblk' struct dqblk c_dqb; ^ quota.c:565:10: note: forward declaration of 'struct dqblk' struct dqblk c_dqb; ^ quota.c:574:7: warning: implicit declaration of function 'rb_quotactl' is invalid in C99 [-Wimplicit-function-declaration] if( rb_quotactl(Q_GETQUOTA,c_dev,uid,(caddr_t)(&c_dqb)) == -1 ){ ^ quota.c:574:19: error: use of undeclared identifier 'Q_GETQUOTA' if( rb_quotactl(Q_GETQUOTA,c_dev,uid,(caddr_t)(&c_dqb)) == -1 ){ ^ quota.c:598:7: warning: implicit declaration of function 'rb_quotactl' is invalid in C99 [-Wimplicit-function-declaration] if( rb_quotactl(Q_QUOTAOFF,c_dev,Qnil,NULL) == -1 ){ ^ quota.c:598:19: error: use of undeclared identifier 'Q_QUOTAOFF' if( rb_quotactl(Q_QUOTAOFF,c_dev,Qnil,NULL) == -1 ){ ^ quota.c:619:7: warning: implicit declaration of function 'rb_quotactl' is invalid in C99 [-Wimplicit-function-declaration] if( rb_quotactl(Q_QUOTAON,c_dev,Qnil,(caddr_t)c_quotas) == -1 ){ ^ quota.c:619:19: error: use of undeclared identifier 'Q_QUOTAON' if( rb_quotactl(Q_QUOTAON,c_dev,Qnil,(caddr_t)c_quotas) == -1 ){ ^ quota.c:634:16: error: variable has incomplete type 'struct dqblk' struct dqblk c_dqb; ^ quota.c:634:10: note: forward declaration of 'struct dqblk' struct dqblk c_dqb; ^ quota.c:648:7: warning: implicit declaration of function 'rb_quotactl' is invalid in C99 [-Wimplicit-function-declaration] if( rb_quotactl(Q_SETQUOTA,c_dev,uid,(caddr_t)(&c_dqb)) == -1 ){ ^ quota.c:648:19: error: use of undeclared identifier 'Q_SETQUOTA' if( rb_quotactl(Q_SETQUOTA,c_dev,uid,(caddr_t)(&c_dqb)) == -1 ){ ^ quota.c:693:7: warning: implicit declaration of function 'rb_quotactl' is invalid in C99 [-Wimplicit-function-declaration] if( rb_quotactl(Q_SYNC,c_dev,Qnil,NULL) == -1 ){ /* uid and addr are ignored */ ^ quota.c:693:19: error: use of undeclared identifier 'Q_SYNC' if( rb_quotactl(Q_SYNC,c_dev,Qnil,NULL) == -1 ){ /* uid and addr are ignored */ ^ quota.c:705:41: warning: implicit declaration of function 'rb_tainted_str_new2' is invalid in C99 [-Wimplicit-function-declaration] rb_define_const(rb_mQuota, "VERSION", rb_tainted_str_new2(RUBY_QUOTA_VERSION)); ^ 10 warnings and 7 errors generated. *** [quota.o] Error code 1 bmake: stopped making "all" in /Users/pbulk/build/sysutils/ruby-quota/work/ruby-quota-0.5.1 bmake: 1 error bmake: stopped making "all" in /Users/pbulk/build/sysutils/ruby-quota/work/ruby-quota-0.5.1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/ruby-quota *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-x86_64/sysutils/ruby-quota