Search Criteria
Package Details: pgvecto.rs 0.4.0-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pgvecto.rs.git (read-only, click to copy) |
---|---|
Package Base: | pgvecto.rs |
Description: | Postgres extension that provides vector similarity search functions. It is written in Rust and based on pgrx. |
Upstream URL: | https://github.com/tensorchord/pgvecto.rs |
Licenses: | Apache-2.0 |
Conflicts: | pgvecto.rs |
Provides: | pgvecto.rs |
Submitter: | pikl |
Maintainer: | pikl |
Last Packager: | pikl |
Votes: | 2 |
Popularity: | 0.001762 |
First Submitted: | 2023-12-16 16:45 (UTC) |
Last Updated: | 2025-01-25 22:08 (UTC) |
Dependencies (17)
- bison (byacc-bisonAUR, bison-gitAUR) (make)
- ccache (ccache-gitAUR) (make)
- clang16AUR (make)
- flex (flex-gitAUR) (make)
- gcc (gcc-gitAUR, gccrs-gitAUR, gcc11AUR, gcc-snapshotAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- gnupg (gnupg-gitAUR, gnupg-largekeysAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- libxslt (libxslt-gitAUR) (make)
- lsb-release (make)
- make (make-gitAUR) (make)
- pkgconf (pkgconf-gitAUR) (make)
- postgresql (postgresql-12AUR, postgresql13AUR, postgresql-gitAUR, postgresql16-docsAUR, postgresql16AUR, postgresql15-docsAUR, postgresql15AUR) (make)
- readline (readline-gitAUR) (make)
- rustup (rustup-gitAUR, rustup-stubAUR) (make)
- tzdata (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
Latest Comments
30p87 commented on 2025-01-14 00:18 (UTC) (edited on 2025-01-14 01:04 (UTC) by 30p87)
postgresql was recently updated to 17. Now, the build process fails due to
Error: 0: wrong
pg_configgiven to
--pg16"/usr/bin/pg_config"
is for PostgreSQL 17
.Bumping _pgver to 17, pkgver to 0.4.0, downgrading pkgrel to 1, updating the checksums and changing
cargo pgrx init --pg16=/usr/bin/pg_config
tocargo pgrx init --pg17=/usr/bin/pg_config
fixes that.Now though, Rust is failing to update https://github.com/tensorchord/pgrx.git from github due to 500/502. Fuck Github btw. I'm looking into it.
Edit: Welp. Looks like that 500/502 was just github and temporarily fucking up worldwide-used infrastructure. Fuck M$. Builds clean through now.
tbh commented on 2024-06-02 17:31 (UTC)
Per https://aur.archlinux.org/packages/immich-server#comment-965665 I needed to install clang16 and put /usr/lib/llvm16/bin on the PATH to build.
feedc0de commented on 2024-03-28 17:00 (UTC)
I had to add the following lines in build() to avoid compiler errors: + unset CPPFLAGS + unset CFLAGS + unset CXXFLAGS
without this, I get these compiler errors:
cargo:warning=./src/c.c:83:15: error: always_inline function '_mm512_set1_ps' requires target feature 'avx512f', but would be inlined into function 'v_f16_cosine_v4' that is compiled without support for 'avx512f'
Koli commented on 2024-02-27 16:12 (UTC)
Thanks for the update!
I am still having some issues with the build, unfortunately I'm also not very familiar with compiling rust.
pikl commented on 2024-02-25 11:03 (UTC) (edited on 2024-02-25 14:46 (UTC) by pikl)
@krutoileshii
,@Koli
now bumped tov0.2.0
and the problem generatingerror: multiple input filenames provided (first two filenames are '' and/home/XXXXXX/.pgrx/postmaster_stubs/usr/bin/postmaster_stub.rs
is fixed.Apologies it took a while, this is the first rust package I've maintained so it took me a little while to understand what was going on. Turned out to be defined but empty
RUSTFLAGS=
env variable - as is usual formakepkg
environment, creating an empty argument for the compiler command. Will report to upstream.pohl7589 commented on 2024-02-24 20:20 (UTC) (edited on 2024-02-24 20:21 (UTC) by pohl7589)
bump version to 0.2.0 (required for immich v1.95.0). Cargo.toml has version 0.0.0 for some reason. I think it needs to be changed to 0.2.0, otherwise the sql schema cannot be found.
Koli commented on 2024-02-23 16:35 (UTC)
@krutoileshii Can confirm, I am getting the same error. Have you found any solution yet?
krutoileshii commented on 2024-02-14 04:24 (UTC) (edited on 2024-02-14 04:40 (UTC) by krutoileshii)
Keep getting the below error trying to compile:
error: multiple input filenames provided (first two filenames are
` and
/home/XXXXXX/.pgrx/postmaster_stubs/usr/bin/postmaster_stub.rs`)Error: 0: rustc exited with code 1
Location: cargo-pgrx/src/command/schema.rs:554