New comment by aryalaadi on void-packages repository https://github.com/void-linux/void-packages/pull/49019#issuecomment-2087960452 Comment: feel free to make a new pr, ive given up on this On Wed, 1 May 2024, 1:09 am Owen Law, ***@***.***> wrote: > ok ive managed to get the package to build after i created the full source > archive myself (ive requested the upstream to provide the archive on every > release) with something like this > > pkgname=zed > version=0.124.8 > revision=1 > build_style=cargo > hostmakedepends="pkg-config python3 cargo" > makedepends="alsa-lib-devel libzstd-devel fontconfig-devel wayland-devel libxkbcommon-devel openssl-devel" > depends="alsa-lib libzstd fontconfig wayland libxkbcommon libxkbcommon-x11 openssl" > short_desc="High-performance, multiplayer code editor" > maintainer="aryalaadi ***@***.***>" > license="GPL-3.0" > homepage="https://github.com/zed-industries/zed" > distfiles="http://localhost:8000/zed.tar.gz" > checksum=a45d80c9c68e8aa232490ea3bfe00712e8e296d606ed37d83f1875a693e46654 > > but after it was done compiling i got this error > > error: found a virtual manifest at `/builddir/zed-0.124.8/Cargo.toml` instead of a package manifest > => ERROR: zed-0.124.8_1: do_install: '${make_cmd} install --target ${RUST_TARGET} --root="${DESTDIR}/usr" --offline --locked ${configure_args} ${make_install_args}' exited with 101 > => ERROR: in do_install() at common/build-style/cargo.sh:22 > > any idea on what could be causing this? > > Here's a working template I made: > > # Template file for 'zed' > pkgname=zed > version=0.132.4 > revision=1 > build_style=cargo > make_install_args="--path crates/zed" > hostmakedepends="pkg-config" > makedepends="alsa-lib-devel fontconfig-devel libxcb-devel libxkbcommon-devel libzstd-devel openssl-devel wayland-devel libgit2-devel" > short_desc="High-performance, multiplayer code editor" > maintainer="Owen Law ***@***.***>" > license="AGPL-3.0-or-later, GPL-3.0-or-later, Apache-2.0" > homepage="https://zed.dev/" > _protocol=1.1.2 > distfiles="https://github.com/zed-industries/zed/archive/refs/tags/v${version}.tar.gz > https://github.com/livekit/protocol/archive/refs/tags/v${_protocol}.tar.gz>protocol-v${_protocol}.tar.gz" > checksum="e9b0d3079b331114f2dbfb99a23cf7af79d67b9ca9ae94b128953a7654e39cb2 > 9e3dac3be15f896a6602a4fac12c91286e3b97834ef3e17e3aa69fc592d80761" > > skip_extraction="protocol-v${_protocol}.tar.gz" > > post_extract() { > vsrcextract -C crates/live_kit_server/protocol "protocol-v${_protocol}.tar.gz" > vlicense LICENSE-AGPL > } > > — > Reply to this email directly, view it on GitHub > , > or unsubscribe > > . > You are receiving this because you authored the thread.Message ID: > ***@***.***> >