suketa / ruby-duckdb

Ruby binding for DuckDB

Home Page:https://github.com/suketa/ruby-duckdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

failed to install with duckdb-0.10.0

suketa opened this issue · comments

got the following error when rake build with duckdb-0.10.0

compiling ../../../../ext/duckdb/appender.c
compiling ../../../../ext/duckdb/blob.c
compiling ../../../../ext/duckdb/column.c
compiling ../../../../ext/duckdb/config.c
compiling ../../../../ext/duckdb/connection.c
../../../../ext/duckdb/connection.c: In function ‘duckdb_connection_query_progress’:
../../../../ext/duckdb/connection.c:117:16: error: incompatible types when assigning to type ‘double’ from type ‘duckdb_query_progress_type’ {aka ‘struct <anonymous>’}
  117 |     progress = duckdb_query_progress(ctx->con);
      |                ^~~~~~~~~~~~~~~~~~~~~
../../../../ext/duckdb/connection.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’
make: *** [Makefile:248: connection.o] Error 1
rake aborted!
Command failed with status (2): [/usr/bin/make]

Tasks: TOP => build => compile => compile:x86_64-linux => compile:duckdb_native:x86_64-linux => copy:duckdb_native:x86_64-linux:3.3.0 => tmp/x86_64-linux/duckdb_native/3.3.0/duckdb_native.so
(See full trace by running task with --trace)