File: //usr/local/rvm/gems/default/extensions/x86_64-linux/3.0.0/sqlite3-1.4.2/gem_make.out
current directory: /usr/local/rvm/gems/ruby-3.0.2/gems/sqlite3-1.4.2/ext/sqlite3
/usr/local/rvm/rubies/ruby-3.0.2/bin/ruby -I /usr/local/rvm/rubies/ruby-3.0.2/lib/ruby/3.0.0 -r ./siteconf20211109-156016-pesmyy.rb extconf.rb
checking for sqlite3.h... yes
checking for pthread_create() in -lpthread... yes
checking for -ldl... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... yes
checking for rb_integer_pack()... yes
checking for sqlite3_initialize()... yes
checking for sqlite3_backup_init()... yes
checking for sqlite3_column_database_name()... yes
checking for sqlite3_enable_load_extension()... yes
checking for sqlite3_load_extension()... yes
checking for sqlite3_open_v2()... yes
checking for sqlite3_prepare_v2()... yes
checking for sqlite3_int64 in sqlite3.h... yes
checking for sqlite3_uint64 in sqlite3.h... yes
creating Makefile
current directory: /usr/local/rvm/gems/ruby-3.0.2/gems/sqlite3-1.4.2/ext/sqlite3
make DESTDIR\= clean
current directory: /usr/local/rvm/gems/ruby-3.0.2/gems/sqlite3-1.4.2/ext/sqlite3
make DESTDIR\=
compiling aggregator.c
compiling backup.c
compiling database.c
database.c: In function ‘rb_sqlite3_open_v2’:
database.c:38:9: warning: unused variable ‘flags’ [-Wunused-variable]
VALUE flags;
^~~~~
database.c: In function ‘exec_batch’:
database.c:726:57: warning: passing argument 3 of ‘sqlite3_exec’ from incompatible pointer type [-Wincompatible-pointer-types]
status = sqlite3_exec(ctx->db, StringValuePtr(sql), hash_callback_function, callback_ary, &errMsg);
^~~~~~~~~~~~~~~~~~~~~~
In file included from ./sqlite3_ruby.h:25,
from database.c:1:
/usr/include/sqlite3.h:406:9: note: expected ‘int (*)(void *, int, char **, char **)’ but argument is of type ‘int (*)(VALUE, int, char **, char **)’ {aka ‘int (*)(long unsigned int, int, char **, char **)’}
int (*callback)(void*,int,char**,char**), /* Callback function */
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
database.c:726:81: warning: passing argument 4 of ‘sqlite3_exec’ makes pointer from integer without a cast [-Wint-conversion]
status = sqlite3_exec(ctx->db, StringValuePtr(sql), hash_callback_function, callback_ary, &errMsg);
^~~~~~~~~~~~
In file included from ./sqlite3_ruby.h:25,
from database.c:1:
/usr/include/sqlite3.h:407:3: note: expected ‘void *’ but argument is of type ‘VALUE’ {aka ‘long unsigned int’}
void *, /* 1st argument to callback */
^~~~~~
database.c:728:57: warning: passing argument 3 of ‘sqlite3_exec’ from incompatible pointer type [-Wincompatible-pointer-types]
status = sqlite3_exec(ctx->db, StringValuePtr(sql), regular_callback_function, callback_ary, &errMsg);
^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ./sqlite3_ruby.h:25,
from database.c:1:
/usr/include/sqlite3.h:406:9: note: expected ‘int (*)(void *, int, char **, char **)’ but argument is of type ‘int (*)(VALUE, int, char **, char **)’ {aka ‘int (*)(long unsigned int, int, char **, char **)’}
int (*callback)(void*,int,char**,char**), /* Callback function */
~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
database.c:728:84: warning: passing argument 4 of ‘sqlite3_exec’ makes pointer from integer without a cast [-Wint-conversion]
status = sqlite3_exec(ctx->db, StringValuePtr(sql), regular_callback_function, callback_ary, &errMsg);
^~~~~~~~~~~~
In file included from ./sqlite3_ruby.h:25,
from database.c:1:
/usr/include/sqlite3.h:407:3: note: expected ‘void *’ but argument is of type ‘VALUE’ {aka ‘long unsigned int’}
void *, /* 1st argument to callback */
^~~~~~
database.c: At top level:
cc1: warning: unrecognized command line option ‘-Wno-self-assign’
cc1: warning: unrecognized command line option ‘-Wno-parentheses-equality’
cc1: warning: unrecognized command line option ‘-Wno-constant-logical-operand’
compiling exception.c
compiling sqlite3.c
compiling statement.c
linking shared-object sqlite3/sqlite3_native.so
current directory: /usr/local/rvm/gems/ruby-3.0.2/gems/sqlite3-1.4.2/ext/sqlite3
make DESTDIR\= install
/usr/bin/install -c -m 0755 sqlite3_native.so ./.gem.20211109-156016-zkg44y/sqlite3