Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Build fails in duckdb #575

Open
yurivict opened this issue Nov 2, 2024 · 2 comments
Open

[BUG] Build fails in duckdb #575

yurivict opened this issue Nov 2, 2024 · 2 comments

Comments

@yurivict
Copy link

yurivict commented Nov 2, 2024

Current Behavior:

Build fails because it somehow can't find :

[libduckdb-sys 1.0.0] cargo:warning=/wrkdirs/usr/ports/misc/quary/work/target/release/build/libduckdb-sys-5a87e5a46b16f13e/out/duckdb/third_party/libpg_query/include/pg_functions.hpp:4:10: fatal error: 'string' file not found
[libduckdb-sys 1.0.0] cargo:warning=    4 | #include <string>
[libduckdb-sys 1.0.0] cargo:warning=      |          ^~~~~~~~
[libduckdb-sys 1.0.0] cargo:warning=1 error generated.  
[libduckdb-sys 1.0.0] exit status: 1

log

There's really no nee to rebuild duckdb because we have a separate duckdb package that passes 100% of tests.
How to use the external duckdb package?

Steps To Reproduce:

Regular build.

Environment:

  • Version: 0.7.0
  • rust-nightly-1.83.0.20241001
  • OS: FreeBSD 14.1

Anything else:

The version 0.3.2 was building fine.

@yurivict yurivict changed the title [BUG] <title> [BUG] Build fails in duckdb Nov 2, 2024
@gvozdvmozgu
Copy link
Collaborator

If we remove features = ["bundled"], will it start building? Ideally, it should then link dynamically and use the existing duckdb package.

duckdb = { version = "1.0.0", features = ["bundled"] }

@yurivict
Copy link
Author

yurivict commented Nov 2, 2024

@gvozdvmozgu
I confirm that it builds fine with "bundled" removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants