===> Building for ruby31-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: 'rbimpl_tainted_str_new_cstr' is deprecated: taintedness turned out to be a wrong idea. [-Wdeprecated-declarations] rb_define_const(rb_mQuota, "VERSION", rb_tainted_str_new2(RUBY_QUOTA_VERSION)); ^ /Users/pbulk/build/sysutils/ruby-quota/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1742:29: note: expanded from macro 'rb_tainted_str_new2' #define rb_tainted_str_new2 rb_tainted_str_new_cstr /**< @old{rb_tainted_str_new_cstr} */ ^ /Users/pbulk/build/sysutils/ruby-quota/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1615:7: note: expanded from macro 'rb_tainted_str_new_cstr' rbimpl_tainted_str_new_cstr : \ ^ /Users/pbulk/build/sysutils/ruby-quota/work/.buildlink/include/ruby-3.1.0/ruby/internal/intern/string.h:1401:1: note: 'rbimpl_tainted_str_new_cstr' has been explicitly marked deprecated here RBIMPL_ATTR_DEPRECATED(("taintedness turned out to be a wrong idea.")) ^ /Users/pbulk/build/sysutils/ruby-quota/work/.buildlink/include/ruby-3.1.0/ruby/internal/attr/deprecated.h:36:53: note: expanded from macro 'RBIMPL_ATTR_DEPRECATED' # define RBIMPL_ATTR_DEPRECATED(msg) __attribute__((__deprecated__ msg)) ^ 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-arm64/sysutils/ruby-quota *** Error code 1 Stop. bmake: stopped making "all" in /Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/sysutils/ruby-quota