Comments (4)
@mlafeldt Thank you very much for your answer. I still haven't solved it. I tried using clang to replace gcc cc g++ but it didn't work. I know it's related to c++11, but I can't solve it.
Compiling libduckdb-sys v0.9.2 (/Users/simonyi/mosdb/morse-brain/libduckdb-sys)
The following warnings were emitted during compilation:
warning: In file included from duckdb/ub_src_function_scalar_string_regexp.cpp:1:
warning: In file included from duckdb/src/function/scalar/string/regexp/regexp_util.cpp:1:
warning: In file included from duckdb/src/include/duckdb/function/scalar/regexp.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/function_set.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/aggregate_function.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/exception.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/exception_format_value.hpp:12:
warning: duckdb/src/include/duckdb/common/hugeint.hpp:18:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(int64_t upper, uint64_t lower) : lower(lower), upper(upper) {
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:18:12: error: constructor cannot have a return type
warning: constexpr hugeint_t(int64_t upper, uint64_t lower) : lower(lower), upper(upper) {
warning: ^~~~~~~~~
warning: duckdb/src/include/duckdb/common/hugeint.hpp:20:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(const hugeint_t &rhs) = default;
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:20:12: error: constructor cannot have a return type
warning: constexpr hugeint_t(const hugeint_t &rhs) = default;
warning: ^~~~~~~~~
warning: duckdb/src/include/duckdb/common/hugeint.hpp:21:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(hugeint_t &&rhs) = default;
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:21:12: error: constructor cannot have a return type
warning: constexpr hugeint_t(hugeint_t &&rhs) = default;
warning: ^~~~~~~~~
warning: In file included from duckdb/ub_src_function_scalar_string_regexp.cpp:1:
warning: In file included from duckdb/src/function/scalar/string/regexp/regexp_util.cpp:1:
warning: In file included from duckdb/src/include/duckdb/function/scalar/regexp.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/function_set.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/aggregate_function.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:11:
warning: duckdb/src/include/duckdb/common/exception.hpp:96:25: error: exception specification of overriding function is more lax than base version
warning: DUCKDB_API const char *what() const noexcept override;
warning: ^
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:159:23: note: overridden virtual function is here
warning: virtual const char* what() const _NOEXCEPT;
warning: ^
warning: In file included from duckdb/ub_src_function_scalar_string_regexp.cpp:1:
warning: In file included from duckdb/src/function/scalar/string/regexp/regexp_util.cpp:1:
warning: In file included from duckdb/src/include/duckdb/function/scalar/regexp.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/function_set.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/aggregate_function.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:11:
warning: duckdb/src/include/duckdb/common/exception.hpp:96:37: error: expected ';' at end of declaration list
warning: DUCKDB_API const char *what() const noexcept override;
warning: ^
warning: ;
warning: duckdb/src/include/duckdb/common/exception.hpp:101:3: error: expected expression
warning: [[noreturn]] DUCKDB_API static void ThrowAsTypeWithMessage(ExceptionType type, const string &message,
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:101:26: error: expected member name or ';' after declaration specifiers
warning: [[noreturn]] DUCKDB_API static void ThrowAsTypeWithMessage(ExceptionType type, const string &message,
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:88:7: error: exception specification of overriding function is more lax than base version
warning: class Exception : public std::exception {
warning: ^
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:158:11: note: overridden virtual function is here
warning: virtual ~exception() _NOEXCEPT;
warning: ^
warning: In file included from duckdb/ub_src_function_scalar_string_regexp.cpp:1:
warning: In file included from duckdb/src/function/scalar/string/regexp/regexp_util.cpp:1:
warning: In file included from duckdb/src/include/duckdb/function/scalar/regexp.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/function_set.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/aggregate_function.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:11:
warning: duckdb/src/include/duckdb/common/exception.hpp:354:3: error: expected expression
warning: [[noreturn]] void Throw() const {
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:354:15: error: expected member name or ';' after declaration specifiers
warning: [[noreturn]] void Throw() const {
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:332:76: error: member initializer 'status_code' does not name a non-static data member or base class
warning: : IOException(ExceptionType::HTTP, ConstructMessage(msg, params...)), status_code(status_code), reason(reason),
warning: ^~~~~~~~~~~~~~~~~~~~~~~~
warning: duckdb/src/include/duckdb/common/exception.hpp:339:37: error: use of undeclared identifier 'status_code'
warning: return make_shared<HTTPException>(status_code, response_body, headers, reason, RawMessage());
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:346:10: error: use of undeclared identifier 'status_code'
warning: return status_code;
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:392:47: error: delegating constructors are permitted only in C++11
warning: explicit FatalException(const string &msg) : FatalException(ExceptionType::FATAL, msg) {
warning: ^~~~~~~~~~~~~~
warning: In file included from duckdb/ub_src_function_scalar_string_regexp.cpp:1:
warning: In file included from duckdb/src/function/scalar/string/regexp/regexp_util.cpp:1:
warning: In file included from duckdb/src/include/duckdb/function/scalar/regexp.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/function_set.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/aggregate_function.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/types/vector.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/common.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/constants.hpp:14:
warning: In file included from duckdb/src/include/duckdb/common/unique_ptr.hpp:5:
warning: duckdb/src/include/duckdb/common/memory_safety.hpp:11:9: error: unknown type name 'constexpr'
warning: static constexpr bool enabled = ENABLED;
warning: ^
warning: In file included from duckdb/ub_src_function_scalar_string_regexp.cpp:1:
warning: In file included from duckdb/src/function/scalar/string/regexp/regexp_util.cpp:1:
warning: In file included from duckdb/src/include/duckdb/function/scalar/regexp.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/function_set.hpp:11:
warning: In file included from duckdb/src/include/duckdb/function/aggregate_function.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/vector_operations/aggregate_executor.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/types/vector.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/common.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/constants.hpp:14:
warning: duckdb/src/include/duckdb/common/unique_ptr.hpp:51:70: error: expected ';' at end of declaration list
warning: reset(typename original::pointer ptr = typename original::pointer()) noexcept {
warning: ^
warning: ;
warning: fatal error: too many errors emitted, stopping now [-ferror-limit=]
warning: 20 errors generated.
warning: ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "sccache" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "/opt/homebrew/opt/openssl@3/include" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/extension/json/yyjson/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/snappy" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/extension/json/include" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/extension/parquet/include" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/extension/httpfs/include" "-I" "duckdb/third_party/parquet" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/hyperloglog" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/zstd/include" "-I" "duckdb/third_party/thrift" "-w" "-DDUCKDB_EXTENSION_HTTPFS_LINKED=1" "-DDUCKDB_EXTENSION_PARQUET_LINKED=1" "-DDUCKDB_EXTENSION_JSON_LINKED=1" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/Users/simonyi/mosdb/morse-brain/libduckdb-sys/target/debug/build/libduckdb-sys-105f448a5b5bb3a1/out/duckdb/ub_src_function_scalar_string_regexp.o" "-c" "duckdb/ub_src_function_scalar_string_regexp.cpp" with args "c++" did not execute successfully (status code exit status: 1).running: env -u IPHONEOS_DEPLOYMENT_TARGET "sccache" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "/opt/homebrew/opt/openssl@3/include" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/extension/json/yyjson/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/snappy" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/extension/json/include" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/extension/parquet/include" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/extension/httpfs/include" "-I" "duckdb/third_party/parquet" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/hyperloglog" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/zstd/include" "-I" "duckdb/third_party/thrift" "-w" "-DDUCKDB_EXTENSION_HTTPFS_LINKED=1" "-DDUCKDB_EXTENSION_PARQUET_LINKED=1" "-DDUCKDB_EXTENSION_JSON_LINKED=1" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/Users/simonyi/mosdb/morse-brain/libduckdb-sys/target/debug/build/libduckdb-sys-105f448a5b5bb3a1/out/duckdb/third_party/libpg_query/src_backend_nodes_list.o" "-c" "duckdb/third_party/libpg_query/src_backend_nodes_list.cpp"
warning: In file included from duckdb/src/verification/statement_verifier.cpp:1:
warning: In file included from duckdb/src/include/duckdb/verification/statement_verifier.hpp:11:
warning: In file included from duckdb/src/include/duckdb/main/client_context.hpp:11:
warning: In file included from duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:11:
warning: In file included from duckdb/src/include/duckdb/catalog/catalog_entry.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/common.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/constants.hpp:14:
warning: In file included from duckdb/src/include/duckdb/common/unique_ptr.hpp:3:
warning: In file included from duckdb/src/include/duckdb/common/exception.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/exception_format_value.hpp:12:
warning: duckdb/src/include/duckdb/common/hugeint.hpp:18:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(int64_t upper, uint64_t lower) : lower(lower), upper(upper) {
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:18:12: error: constructor cannot have a return type
warning: constexpr hugeint_t(int64_t upper, uint64_t lower) : lower(lower), upper(upper) {
warning: ^~~~~~~~~
warning: duckdb/src/include/duckdb/common/hugeint.hpp:20:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(const hugeint_t &rhs) = default;
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:20:12: error: constructor cannot have a return type
warning: In file included from duckdb/third_party/parquet/parquet_types.cpp:7:
warning: In file included from duckdb/third_party/parquet/parquet_types.h:12:
warning: In file included from duckdb/src/include/duckdb/common/vector.hpp:14:
warning: In file included from duckdb/src/include/duckdb/common/exception.hpp:12:
warning: In file included from duckdb/src/include/duckdb/common/exception_format_value.hpp:12:
warning: duckdb/src/include/duckdb/common/hugeint.hpp:18:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(int64_t upper, uint64_t lower) : lower(lower), upper(upper) {
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:18:12: error: constructor cannot have a return type
warning: constexpr hugeint_t(int64_t upper, uint64_t lower) : lower(lower), upper(upper) {
warning: ^~~~~~~~~
warning: duckdb/src/include/duckdb/common/hugeint.hpp:20:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(const hugeint_t &rhs) = default;
warning: ^
warning: constexpr hugeint_t(const hugeint_t &rhs) = default;
warning: ^~~~~~~~~
warning: duckdb/src/include/duckdb/common/hugeint.hpp:21:2: error: unknown type name 'constexpr'
warning: constexpr hugeint_t(hugeint_t &&rhs) = default;
warning: ^
warning: duckdb/src/include/duckdb/common/hugeint.hpp:21:12: error: constructor cannot have a return type
warning: constexpr hugeint_t(hugeint_t &&rhs) = default;
warning: ^~~~~~~~~
warning: In file included from duckdb/src/verification/statement_verifier.cpp:1:
warning: In file included from duckdb/src/include/duckdb/verification/statement_verifier.hpp:11:
warning: In file included from duckdb/src/include/duckdb/main/client_context.hpp:11:
warning: In file included from duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:11:
warning: In file included from duckdb/src/include/duckdb/catalog/catalog_entry.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/common.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/constants.hpp:14:
warning: In file included from duckdb/src/include/duckdb/common/unique_ptr.hpp:3:
warning: duckdb/src/include/duckdb/common/exception.hpp:96:25: error: exception specification of overriding function is more lax than base version
warning: DUCKDB_API const char *what() const noexcept override;
warning: ^
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:159:23: note: overridden virtual function is here
warning: virtual const char* what() const _NOEXCEPT;
warning: ^
warning: In file included from duckdb/src/verification/statement_verifier.cpp:1:
warning: In file included from duckdb/src/include/duckdb/verification/statement_verifier.hpp:11:
warning: In file included from duckdb/src/include/duckdb/main/client_context.hpp:11:
warning: In file included from duckdb/src/include/duckdb/catalog/catalog_entry/schema_catalog_entry.hpp:11:
warning: In file included from duckdb/src/include/duckdb/catalog/catalog_entry.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/common.hpp:11:
warning: In file included from duckdb/src/include/duckdb/common/constants.hpp:14:
warning: In file included from duckdb/src/include/duckdb/common/unique_ptr.hpp:3:
warning: duckdb/src/include/duckdb/common/exception.hpp:96:37: error: expected ';' at end of declaration list
warning: DUCKDB_API const char *what() const noexcept override;
warning: ^
warning: ;
warning: duckdb/src/include/duckdb/common/exception.hpp:101:3: error: expected expression
warning: [[noreturn]] DUCKDB_API static void ThrowAsTypeWithMessage(ExceptionType type, const string &message,
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:101:26: error: expected member name or ';' after declaration specifiers
warning: [[noreturn]] DUCKDB_API static void ThrowAsTypeWithMessage(ExceptionType type, const string &message,
warning: ^
warning: duckdb/src/include/duckdb/common/exception.hpp:88:7: error: exception specification of overriding function is more lax than base version
warning: class Exception : public std::exception {
warning: ^
warning: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/exception:158:11: note: overridden virtual function is here
warning: virtual ~exception() _NOEXCEPT;
cargo:warning=fatal error: too many errors emitted, stopping now [-ferror-limit=]
cargo:warning=20 errors generated.
exit status: 1
cargo:warning=ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "sccache" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "/opt/homebrew/opt/openssl@3/include" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/extension/json/yyjson/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/snappy" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/extension/json/include" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/extension/parquet/include" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/extension/httpfs/include" "-I" "duckdb/third_party/parquet" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/hyperloglog" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/zstd/include" "-I" "duckdb/third_party/thrift" "-w" "-DDUCKDB_EXTENSION_HTTPFS_LINKED=1" "-DDUCKDB_EXTENSION_PARQUET_LINKED=1" "-DDUCKDB_EXTENSION_JSON_LINKED=1" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/Users/simonyi/mosdb/morse-brain/libduckdb-sys/target/debug/build/libduckdb-sys-105f448a5b5bb3a1/out/duckdb/src/verification/deserialized_statement_verifier.o" "-c" "duckdb/src/verification/deserialized_statement_verifier.cpp" with args "c++" did not execute successfully (status code exit status: 1).
exit status: 1
cargo:warning=ToolExecError: Command env -u IPHONEOS_DEPLOYMENT_TARGET "sccache" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "/opt/homebrew/opt/openssl@3/include" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/extension/json/yyjson/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/snappy" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/extension/json/include" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/extension/parquet/include" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/extension/httpfs/include" "-I" "duckdb/third_party/parquet" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/hyperloglog" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/zstd/include" "-I" "duckdb/third_party/thrift" "-w" "-DDUCKDB_EXTENSION_HTTPFS_LINKED=1" "-DDUCKDB_EXTENSION_PARQUET_LINKED=1" "-DDUCKDB_EXTENSION_JSON_LINKED=1" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/Users/simonyi/mosdb/morse-brain/libduckdb-sys/target/debug/build/libduckdb-sys-105f448a5b5bb3a1/out/duckdb/ub_src_catalog.o" "-c" "duckdb/ub_src_catalog.cpp" with args "c++" did not execute successfully (status code exit status: 1).
exit status: 0
--- stderr
error occurred: Command env -u IPHONEOS_DEPLOYMENT_TARGET "sccache" "c++" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-arch" "arm64" "-I" "/opt/homebrew/opt/openssl@3/include" "-I" "duckdb" "-I" "duckdb/third_party/fmt/include" "-I" "duckdb/third_party/mbedtls" "-I" "duckdb/extension/json/yyjson/include" "-I" "duckdb/third_party/jaro_winkler" "-I" "duckdb/third_party/tdigest" "-I" "duckdb/third_party/utf8proc/include" "-I" "duckdb/third_party/mbedtls/library" "-I" "duckdb/third_party/jaro_winkler/details" "-I" "duckdb/third_party/miniz" "-I" "duckdb/src/include" "-I" "duckdb/third_party/snappy" "-I" "duckdb/third_party/utf8proc" "-I" "duckdb/extension/json/include" "-I" "duckdb/third_party/fast_float" "-I" "duckdb/third_party/libpg_query/include" "-I" "duckdb/extension/parquet/include" "-I" "duckdb/third_party/httplib" "-I" "duckdb/third_party/fastpforlib" "-I" "duckdb/extension/httpfs/include" "-I" "duckdb/third_party/parquet" "-I" "duckdb/third_party/pcg" "-I" "duckdb/third_party/hyperloglog" "-I" "duckdb/third_party/fsst" "-I" "duckdb/third_party/concurrentqueue" "-I" "duckdb/third_party/mbedtls/include" "-I" "duckdb/third_party/re2" "-I" "duckdb/third_party/libpg_query" "-I" "duckdb/third_party/zstd/include" "-I" "duckdb/third_party/thrift" "-w" "-DDUCKDB_EXTENSION_HTTPFS_LINKED=1" "-DDUCKDB_EXTENSION_PARQUET_LINKED=1" "-DDUCKDB_EXTENSION_JSON_LINKED=1" "-DDUCKDB_EXTENSION_AUTOINSTALL_DEFAULT=1" "-DDUCKDB_EXTENSION_AUTOLOAD_DEFAULT=1" "-o" "/Users/simonyi/mosdb/morse-brain/libduckdb-sys/target/debug/build/libduckdb-sys-105f448a5b5bb3a1/out/duckdb/ub_src_catalog.o" "-c" "duckdb/ub_src_catalog.cpp" with args "c++" did not execute successfully (status code exit status: 1).
from duckdb-rs.
@web3creator Looks like you're missing C++ header files - see apple/swift-nio-ssl#105 for a similar problem and possible solutions.
from duckdb-rs.
Are those errors occurring when you build it directly, or as a dep of something else?
For me, I had similar errors when trying to build on FreeBSD as a dep of another project with certain features of the duckdb crate enabled. Then I switched to using just the default features and it built successfully. Then I gradually kept adding enabled features again.
For me the following features out of the ones I tested make it unable to build on my FreeBSD server:
extensions-full
, which in turn enable a few other featureshttpfs
(also enabled byextensions-full
)json
(also enabled byextensions-full
)parquet
(also enabled byextensions-full
)
In the end I have this in the [dependencies]
section of my Cargo.toml
and am able to successfully build:
duckdb = { version = "0.9", features = ["chrono", "serde_json", "url", "r2d2", "uuid", "vtab-full"] }
from duckdb-rs.
And looking at https://docs.rs/crate/duckdb/latest/features I notice that all of the three features that cause build failure in this manner for me are enabling the bundled
feature flag
Is there a way to enable for example parquet without the bundled
feature flag, when my system installed duckdb already has parquet support built into it anyway?
from duckdb-rs.
Related Issues (20)
- u64 not being casted to UBigInt and being casted to BigInt instead HOT 1
- Feature request - support Timestamp data types in the appender api
- column_count can panic HOT 2
- Assertion failed: types == input.GetTypes() in column_data_collection.cpp, line 718
- impl Drop for Appender has unnecessary unsafe calls. HOT 1
- Listing tables in rust never iterates HOT 2
- duckdb-rs 0.10.0 compilation failed on windows 11 HOT 6
- duckdb-rs 0.10 is failing on macOS Venture (13.5.2) with code 14 HOT 2
- `DataStruct.struct_vector(i).child(j)` leads to assertion failure
- No support for `UHUGEINT` (`u128`) in `FromSql` trait HOT 2
- Proper way of creating a static connection pool with r2d2 HOT 2
- The latest rust crate build for MacOS fails with default settings HOT 1
- Compared to sqlite, query execution speed is several times slower in rust code HOT 13
- BUG: Panic on `SELECT * FROM arrow(?, ?)` when using `TimestampMillisecondArray` arrow type. HOT 5
- Segfault when using `appender` with Generated Columns
- Question: If an INSERT statement includes a RETURNING Clause, how can I retrieve the returned content? HOT 4
- Support for Decimal128 & Decimal256 without downcasting to f64 HOT 6
- update link to param types in rust client api
- Pivot not working with prepared statements HOT 1
- Segmentation fault on `try_clone` misuse HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb-rs.