+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-odbc-0.999992/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent RUBY_VERSION_REQD=32 WRKLOG=/tmp/bulklog/ruby32-odbc-0.999992/work.log ===> Installing for ruby32-odbc-0.999992 => Generating pre-install file lists => Installing gem into installation root Building native extensions with: '--build-args --disable-dlopen --with-odbc-include=/opt/pkg/include/iodbc --with-odbc-lib=/opt/pkg/lib/iodbc' This could take a while... ERROR: Error installing /home/pbulk/build/databases/ruby-odbc/work/ruby-odbc-0.999992/ruby-odbc-0.999992.gem: ERROR: Failed to build gem native extension. current directory: /home/pbulk/build/databases/ruby-odbc/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ruby-odbc-0.999992/ext/utf8 /opt/pkg/bin/ruby32 extconf.rb --build-args --disable-dlopen --with-odbc-include\=/opt/pkg/include/iodbc --with-odbc-lib\=/opt/pkg/lib/iodbc checking for version.h... no checking for ruby/version.h... yes checking for sql.h... yes checking for sqlext.h... yes checking for SQLTCHAR in sqltypes.h... yes checking for SQLLEN in sqltypes.h... yes checking for SQLULEN in sqltypes.h... yes checking for odbcinst.h... yes checking for SQLAllocConnect() in -lodbc... yes checking for SQLConfigDataSource() in -lodbcinst... no checking for SQLConfigDataSource() in -liodbcinst... yes checking for SQLConfigDataSourceW() in odbcinst.h... yes checking for SQLWriteFileDSNW() in odbcinst.h... yes checking for SQLReadFileDSNW() in odbcinst.h... yes checking for SQLInstallerError() in odbcinst.h... yes checking for SQLInstallerErrorW() in odbcinst.h... yes creating Makefile current directory: /home/pbulk/build/databases/ruby-odbc/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ruby-odbc-0.999992/ext/utf8 make DESTDIR\= sitearchdir\=./.gem.20250704-343778-csan3c sitelibdir\=./.gem.20250704-343778-csan3c clean current directory: /home/pbulk/build/databases/ruby-odbc/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ruby-odbc-0.999992/ext/utf8 make DESTDIR\= sitearchdir\=./.gem.20250704-343778-csan3c sitelibdir\=./.gem.20250704-343778-csan3c compiling init.c compiling odbc.c In file included from odbc.c:17: ../odbc.c:94:9: warning: "RB_OBJ_TAINT" redefined 94 | #define RB_OBJ_TAINT(o) o | ^~~~~~~~~~~~ In file included from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/internal/core/rstring.h:30, from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/internal/arithmetic/char.h:29, from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/internal/arithmetic.h:24, from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:28, from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby.h:38, from ../odbc.c:21: /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/internal/fl_type.h:116:9: note: this is the location of the previous definition 116 | #define RB_OBJ_TAINT RB_OBJ_TAINT | ^~~~~~~~~~~~ ../odbc.c: In function 'dbc_wfdsn': ../odbc.c:2715:46: warning: passing argument 4 of 'SQLWriteFileDSN' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 2715 | (LPCSTR) skname, (LPCSTR) sval)) { | ^~~~~~~~~~~~~ In file included from ../odbc.c:39: /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/iodbc/odbcinst.h:315:11: note: expected 'LPSTR' {aka 'char *'} but argument is of type 'const char *' 315 | LPSTR lpszString); | ~~~~~~^~~~~~~~~~ ../odbc.c: In function 'dbc_getinfo': ../odbc.c:4075:17: error: passing argument 1 of 'sprintf' from incompatible pointer type [-Wincompatible-pointer-types] 4075 | sprintf(buffer, "Unknown info type %d for ODBC::Connection.get_info", | ^~~~~~ | | | SQLWCHAR * {aka int *} In file included from /usr/include/stdio.h:82, from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/defines.h:16, from /home/pbulk/build/databases/ruby-odbc/work/.buildlink/include/ruby-3.2.0/ruby/ruby.h:25: /usr/include/iso/stdio_iso.h:212:25: note: expected 'char * restrict' but argument is of type 'SQLWCHAR *' {aka 'int *'} 212 | extern int sprintf(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, ...); ../odbc.c:4077:17: error: passing argument 1 of 'set_err' from incompatible pointer type [-Wincompatible-pointer-types] 4077 | set_err(buffer, 1); | ^~~~~~ | | | SQLWCHAR * {aka int *} ../odbc.c:1891:21: note: expected 'const char *' but argument is of type 'SQLWCHAR *' {aka 'int *'} 1891 | set_err(const char *msg, int warn) | ~~~~~~~~~~~~^~~ *** Error code 1 Stop. make: stopped making "all" in /home/pbulk/build/databases/ruby-odbc/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ruby-odbc-0.999992/ext/utf8 make failed, exit code 1 Gem files will remain installed in /home/pbulk/build/databases/ruby-odbc/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/gems/ruby-odbc-0.999992 for inspection. Results logged to /home/pbulk/build/databases/ruby-odbc/work/.inst/opt/pkg/lib/ruby/gems/3.2.0/extensions/x86_64-solaris-2.11/3.2.0/ruby-odbc-0.999992/gem_make.out *** Error code 1 Stop. bmake[1]: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/ruby-odbc *** Error code 1 Stop. bmake: stopped making "stage-install" in /data/jenkins/workspace/pkgsrc-upstream-trunk/databases/ruby-odbc