about summary refs log tree commit diff
path: root/test/python/test_traits.py
diff options
context:
space:
mode:
authorPjotr <wrk@bosa.lan>2026-10-11 11:34:10 +0000
committerPjotr <wrk@bosa.lan>2026-10-11 11:34:10 +0000
commit8e13f31ceca05aa06b8a98b76e1141763b6a4140 (patch)
tree2703626c8a139b5091d148fd5db7083d70387be2 /test/python/test_traits.py
parentab13b3dcca0d832434e190bd716b213e6d8d64f0 (diff)
downloadgenenetwork4-8e13f31ceca05aa06b8a98b76e1141763b6a4140.tar.gz
guix: build xapian-rs with libclang 13, not 22
autocxx-bindgen with libclang 22 mis-parses Xapian 1.4.29: the C++ it
generates for xapian-rs instantiates the abstract Xapian::Weight (via
a bogus std::vector<Xapian::Weight> bridge) and emits an out-of-scope
'::op', so the build failed in the cargo build phase.  The xapian-rs
fork was built (and target/ produced) with libclang 13.0.1, whose
parse is correct.  Depend on clang-13 and point LIBCLANG_PATH at it in
the set-duckdb-paths phase.  (clang-13's package name is "clang", so
it replaces the clang-22 input rather than colliding with it.)

Also create the scratch directory in tests/embedded.rs: the SQLite test
opened test.db under a directory that did not exist yet.

guix build -f guix.scm now completes end to end (Rust check phase and
the Python REST suite), producing
/gnu/store/3avgh789ffy3lrfiql334dghp9sa4sqd-genenetwork4-git-0.1.0.
Diffstat (limited to 'test/python/test_traits.py')
0 files changed, 0 insertions, 0 deletions