Package Details: vectorchord 1.1.1-1

Git Clone URL: https://aur.archlinux.org/vectorchord.git (read-only, click to copy)
Package Base: vectorchord
Description: Scalable, fast, and disk-friendly vector search in Postgres, successor to pgvecto.rs
Upstream URL: https://github.com/tensorchord/VectorChord
Licenses: AGPL-3.0-ONLY OR Elastic-2.0
Submitter: AlexBocken
Maintainer: usamoi
Last Packager: usamoi
Votes: 2
Popularity: 0.009150
First Submitted: 2025-06-08 20:46 (UTC)
Last Updated: 2026-02-28 04:27 (UTC)

Latest Comments

« First ‹ Previous 1 2

cotsuka commented on 2025-10-24 17:27 (UTC)

Adding my own build error. Installing clang as a build dependency fixes it for me.

  --- stderr
  build_paths=BuildPaths { manifest_dir: "/home/cameron/.cache/paru/clone/vectorchord/src/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/pgrx-pg-sys-0.16.1", out_dir: "/home/cameron/.cache/paru/clone/vectorchord/src/VectorChord-0.5.3/target/x86_64-unknown-linux-gnu/release/build/pgrx-pg-sys-92c6bb5cfe143aba/out", src_dir: "/home/cameron/.cache/paru/clone/vectorchord/src/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/pgrx-pg-sys-0.16.1/src/include", shim_src: "/home/cameron/.cache/paru/clone/vectorchord/src/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/pgrx-pg-sys-0.16.1/pgrx-cshim.c", shim_dst: "/home/cameron/.cache/paru/clone/vectorchord/src/VectorChord-0.5.3/target/x86_64-unknown-linux-gnu/release/build/pgrx-pg-sys-92c6bb5cfe143aba/out/pgrx-cshim.c" }
  Generating bindings for pg17
  pg_config --configure CLANG = None
  pg_target_includes = ["/usr/include/postgresql/server/"]

  thread '<unnamed>' panicked at /home/cameron/.cache/paru/clone/vectorchord/src/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/bindgen-0.71.1/lib.rs:604:27:
  Unable to find libclang: "couldn't find any valid shared libraries matching: ['libclang.so', 'libclang-*.so', 'libclang.so.*', 'libclang-*.so.*'], set the `LIBCLANG_PATH` environment variable to a path where one of these files can be found (invalid: [])"
  stack backtrace:
     0: __rustc::rust_begin_unwind
     1: core::panicking::panic_fmt
     2: core::result::unwrap_failed
     3: core::result::Result<T,E>::expect
     4: bindgen::ensure_libclang_is_loaded::{{closure}}
     5: std::sync::once_lock::OnceLock<T>::get_or_init::{{closure}}
     6: std::sync::once_lock::OnceLock<T>::initialize::{{closure}}
     7: std::sync::poison::once::Once::call_once_force::{{closure}}
     8: std::sys::sync::once::futex::Once::call
     9: std::sync::poison::once::Once::call_once_force
    10: std::sync::once_lock::OnceLock<T>::initialize
    11: std::sync::once_lock::OnceLock<T>::get_or_try_init
    12: std::sync::once_lock::OnceLock<T>::get_or_init
    13: bindgen::ensure_libclang_is_loaded
    14: bindgen::clang_version
    15: pgrx_bindgen::build::clang::detect_include_paths_for
    16: pgrx_bindgen::build::run_bindgen
    17: pgrx_bindgen::build::get_bindings
    18: pgrx_bindgen::build::generate_bindings
    19: pgrx_bindgen::build::main::{{closure}}::{{closure}}::{{closure}}
  note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.

  thread 'main' panicked at /home/cameron/.cache/paru/clone/vectorchord/src/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/pgrx-bindgen-0.16.1/src/build.rs:270:41:
  thread panicked while generating bindings: Any { .. }
  stack backtrace:
     0: __rustc::rust_begin_unwind
     1: core::panicking::panic_fmt
     2: core::result::unwrap_failed
     3: core::result::Result<T,E>::expect
     4: pgrx_bindgen::build::main::{{closure}}::{{closure}}
     5: core::iter::adapters::map::map_try_fold::{{closure}}
     6: <alloc::vec::into_iter::IntoIter<T,A> as core::iter::traits::iterator::Iterator>::try_fold
     7: <core::iter::adapters::map::Map<I,F> as core::iter::traits::iterator::Iterator>::try_fold
     8: <I as alloc::vec::in_place_collect::SpecInPlaceCollect<T,I>>::collect_in_place
     9: alloc::vec::in_place_collect::from_iter_in_place
    10: alloc::vec::in_place_collect::from_iter_in_place{{reify.shim}}
    11: alloc::vec::in_place_collect::<impl alloc::vec::spec_from_iter::SpecFromIter<T,I> for alloc::vec::Vec<T>>::from_iter
    12: <alloc::vec::Vec<T> as core::iter::traits::collect::FromIterator<T>>::from_iter
    13: core::iter::traits::iterator::Iterator::collect
    14: pgrx_bindgen::build::main::{{closure}}
    15: std::thread::scoped::scope::{{closure}}
    16: <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once
    17: std::panicking::catch_unwind::do_call
    18: __rust_try
    19: std::thread::scoped::scope
    20: pgrx_bindgen::build::main
    21: core::ops::function::FnOnce::call_once

CountMurphy commented on 2025-10-23 17:31 (UTC) (edited on 2025-10-23 20:51 (UTC) by CountMurphy)

Commenting out line 35 created no change. Also tried building on a fresh VM. Same results

EDIT: Manually updating the vectorchord-bin package (which pulls the binary from vectorchord's github) produces a vchord.so that does not produce the error message and the upgrade works.

AlexBocken commented on 2025-10-23 17:20 (UTC)

hmmm the symbol error might be due to now compiling with gcc by default. Could you comment out line 35 of the PKGBUILD and report back whether the issue persists? Thank you!

CountMurphy commented on 2025-10-23 16:31 (UTC) (edited on 2025-10-23 20:51 (UTC) by CountMurphy)

Updated to 0.5.3, but when I try to restart the daemon fails with the following message:

could not load library "/usr/lib/
postgresql/vchord.so": /usr/lib/postgresql/vchord.so: undefined symbol: mi_malloc_aligned   

Downgrading to the previous version (0.4.3) fixes the issue

RuneArch commented on 2025-07-06 17:39 (UTC)

It appears to compile petgraph v0.8.1 and fails... avoiding a wall of text to fit the 5k char limit, but with more details:

(CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true to improve clarity)


error: failed to run custom build command for `simd v0.0.0 (/tmp/makepkg/vectorchord/src/VectorChord-0.4.3/crates/simd)`

Caused by:
  process didn't exit successfully: `/tmp/makepkg/vectorchord/src/VectorChord-0.4.3/target/release/build/simd-b1d1211747d69dc0/build-script-build` (exit status: 1)

I what appears to be environment variable dumps, then:



  error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "--target=x86_64-unknown-linux-gnu" "-fno-omit-frame-pointer" "-march=native" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-g" "-ffile-prefix-map=/tmp/makepkg/vectorchord/src=/usr/src/debug/vectorchord" "-flto=auto" "-o" "/tmp/makepkg/vectorchord/src/VectorChord-0.4.3/target/release/build/simd-cea6d30c579a0631/out/bb6bfe1d2e603894-x86_64.o" "-c" "./cshim/x86_64.c"

warning: build failed, waiting for other jobs to finish...
Error: Cargo build failed: PGRX_PG_CONFIG_PATH="pg_config" "cargo" "build" "--release" "-p" "vchord" "--lib" "--features" "pg17"

Stack backtrace:                                                                                                                     
   0: anyhow::error::<impl anyhow::Error>::msg                                                                                       
             at /usr/src/debug/vectorchord/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/backtrace.rs:2
7:14                                                                                                                                 
   1: anyhow::__private::format_err                                                                                                  
             at /usr/src/debug/vectorchord/cargo-cache/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.98/src/lib.rs:697:13 
   2: make::main::{{closure}}                                                                                                        
             at /usr/src/debug/vectorchord/VectorChord-0.4.3/crates/make/src/main.rs:110:13                                          
   3: make::main                                                                                                                     
             at /usr/src/debug/vectorchord/VectorChord-0.4.3/crates/make/src/main.rs:254:13                                          
   4: core::ops::function::FnOnce::call_once                                                                                         
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/core/src/ops/function.rs:250:5                               
   5: std::sys::backtrace::__rust_begin_short_backtrace                                                                              
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/std/src/sys/backtrace.rs:152:18                              
   6: std::rt::lang_start::{{closure}}                                                                                               
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/std/src/rt.rs:206:18                                         
   7: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once                                            
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/core/src/ops/function.rs:284:21                              
   8: std::panicking::catch_unwind::do_call                                                                                          
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/std/src/panicking.rs:589:40                                  
   9: std::panicking::catch_unwind                                                                                                   
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/std/src/panicking.rs:552:19                                  
  10: std::panic::catch_unwind                                                                                                       
             at /rustc/cdd545be1b4f024d38360aa9f000dcb782fbc81b/library/std/src/panic.rs:359:14                                      
  11: std::rt::lang_start_internal::{{closure}}                                                                                   

Helpful?

AlexBocken commented on 2025-07-06 13:48 (UTC)

@RuneArch Thanks for the report! Sadly I cannot reproduce this error. Did it print out any additional information before the one you posted? This one is quite vague.

RuneArch commented on 2025-07-06 12:04 (UTC)

Getting an error trying to build this, not sure where to start debugging it


 error occurred in cc-rs: command did not execute successfully (status code exit status: 1): LC_ALL="C" "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "--target=x86_64-unknown-linux-gnu" "-fno-omit-frame-pointer" "-march=native" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-fno-omit-frame-pointer" "-mno-omit-leaf-frame-pointer" "-g" "-ffile-prefix-map=/tmp/makepkg/vectorchord/src=/usr/src/debug/vectorchord" "-flto=auto" "-o" "/tmp/makepkg/vectorchord/src/VectorChord-0.4.3/target/release/build/simd-3e3350c9bc369a25/out/bb6bfe1d2e603894-x86_64.o" "-c" "./cshim/x86_64.c"

Error: Cargo build failed: PGRX_PG_CONFIG_PATH="pg_config" "cargo" "build" "--release" "-p" "vchord" "--lib" "--features" "pg17"

AlexBocken commented on 2025-07-01 08:08 (UTC)

Many thanks for the report! Should be fixed now with 0.4.3-2, accidentally trimmed of the first character of the checksum.

riaqn commented on 2025-07-01 07:40 (UTC)

validation failed:

==> Validating source files with sha256sums...
    0.4.3.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!