-
-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Is your feature request related to a problem? Please describe.
Hi I manually downloaded tar.gz
file here https://github.com/theseus-rs/postgresql-binaries/releases
and then I added bundled
feature on Cargo.toml
and then when I try to build I get the following:
$ POSTGRESQL_VERSION=0.20.0 POSTGRESQL_RELEASES_URL=file:///home/heliofrota/Desktop/tc/trustify/vendor/pg-emb.tar.gz cargo build
Compiling trustify-common v0.3.6 (/home/heliofrota/Desktop/tc/trustify/common)
Compiling postgresql_embedded v0.20.0
Compiling trustify-migration v0.3.6 (/home/heliofrota/Desktop/tc/trustify/migration)
error: failed to run custom build command for `postgresql_embedded v0.20.0`
Caused by:
process didn't exit successfully: `/home/heliofrota/Desktop/tc/trustify/target/debug/build/postgresql_embedded-3b1defd71c68ea64/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=POSTGRESQL_VERSION
cargo:rerun-if-env-changed=POSTGRESQL_RELEASES_URL
PostgreSQL releases URL: file:///home/heliofrota/Desktop/tc/trustify/vendor/pg-emb.tar.gz
PostgreSQL version: 0.20.0
Target: x86_64-unknown-linux-gnu
OUT_DIR: "/home/heliofrota/Desktop/tc/trustify/target/debug/build/postgresql_embedded-20febf3d7626bdda/out"
--- stderr
Error: unsupported repository for 'file:///home/heliofrota/Desktop/tc/trustify/vendor/pg-emb.tar.gz'
Describe the solution you'd like
I'd like to use file:///
😃
Describe alternatives you've considered
Nothing thanks 👍
Additional context
I made 1 attempt to use a local python server pointing to localhost:8000
and I got the same error
$ python3 -m http.server 8000 --directory vendor &
$ POSTGRESQL_VERSION=0.20.0 POSTGRESQL_RELEASES_URL=http://localhost:8000/pg-emb.tar.gz cargo build
Compiling trustify-auth v0.3.6 (/home/heliofrota/Desktop/tc/trustify/common/auth)
Compiling trustify-entity v0.3.6 (/home/heliofrota/Desktop/tc/trustify/entity)
Compiling trustify-module-storage v0.3.6 (/home/heliofrota/Desktop/tc/trustify/modules/storage)
Compiling postgresql_embedded v0.20.0
error: failed to run custom build command for `postgresql_embedded v0.20.0`
Caused by:
process didn't exit successfully: `/home/heliofrota/Desktop/tc/trustify/target/debug/build/postgresql_embedded-3b1defd71c68ea64/build-script-build` (exit status: 1)
--- stdout
cargo:rerun-if-env-changed=POSTGRESQL_VERSION
cargo:rerun-if-env-changed=POSTGRESQL_RELEASES_URL
PostgreSQL releases URL: http://localhost:8000/pg-emb.tar.gz
PostgreSQL version: 0.20.0
Target: x86_64-unknown-linux-gnu
OUT_DIR: "/home/heliofrota/Desktop/tc/trustify/target/debug/build/postgresql_embedded-20febf3d7626bdda/out"
--- stderr
Error: unsupported repository for 'http://localhost:8000/pg-emb.tar.gz'
Metadata
Metadata
Assignees
Labels
No labels