You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enter the dev shell using duckdb from nixpkgs nix develop .#nixpkgs-duckdb (currently v0.10.0)
Try to build the extension make build
You should see the build error importing third_party headers
> zig build --release=fastinstall└─ install odbc_scanner └─ zig build-lib odbc_scanner ReleaseFast native 1 errors/nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/common/hive_partitioning.hpp:17:10: error: 're2/re2.h' file not found#include "re2/re2.h" ^~~~~~~~~~~~/home/alex/workspace/rupurt/zodbc-scanner-duckdb-extension/src/bridge.cpp:7:10: note: in file included from /home/alex/workspace/rupurt/zodbc-scanner-duckdb-extension/src/bridge.cpp:7:#include "duckdb/main/extension_util.hpp" ^/nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/main/extension_util.hpp:14:10: note: in file included from /nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/main/extension_util.hpp:14:#include "duckdb/main/secret/secret.hpp" ^/nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/main/secret/secret.hpp:13:10: note: in file included from /nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/main/secret/secret.hpp:13:#include "duckdb/common/serializer/deserializer.hpp" ^/nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/common/serializer/deserializer.hpp:18:10: note: in file included from /nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/common/serializer/deserializer.hpp:18:#include "duckdb/execution/operator/csv_scanner/options/csv_reader_options.hpp" ^/nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/execution/operator/csv_scanner/options/csv_reader_options.hpp:19:10: note: in file included from /nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/execution/operator/csv_scanner/options/csv_reader_options.hpp:19:#include "duckdb/common/multi_file_reader_options.hpp" ^/nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/common/multi_file_reader_options.hpp:13:10: note: in file included from /nix/store/xi8f7wsss21aycd5n0h6hvbdk3w2ilvv-duckdb-0.10.0/include/duckdb/common/multi_file_reader_options.hpp:13:#include "duckdb/common/hive_partitioning.hpp" ^error: the following command failed with 1 compilation errors:
Expected behavior
I should be able to build DuckDB extensions in Nix environments that rely on third_party libraries included in the DuckDB git repository with C & C++ toolchains.
Describe the bug
The current DuckDB derivation can't build extensions that rely on headers in the DuckDB third_party directory.
Steps To Reproduce
Steps to reproduce the behavior:
nix develop .#nixpkgs-duckdb
(currently v0.10.0)make build
third_party
headersExpected behavior
I should be able to build DuckDB extensions in Nix environments that rely on
third_party
libraries included in the DuckDB git repository with C & C++ toolchains.Notify maintainers
@costrouc @cpcloud
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: