We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Follow-up from #15. This is on 1.1.7 with rust 1.68. As requested cargo install rmz cpz:
cargo install rmz cpz
[ 115s] Executing(%install): /usr/bin/bash -e /var/tmp/rpm-tmp.VtpYef [ 115s] + umask 022 [ 115s] + cd /home/abuild/rpmbuild/BUILD [ 115s] + /usr/bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/fuc-1.1.7-3.1.x86_64 [ 115s] + /usr/bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT [ 115s] + /usr/bin/mkdir /home/abuild/rpmbuild/BUILDROOT/fuc-1.1.7-3.1.x86_64 [ 115s] + cd fuc-1.1.7 [ 115s] + unset LIBSSH2_SYS_USE_PKG_CONFIG [ 115s] + [[ -z '' ]] [ 115s] + CARGO_AUDITABLE=auditable [ 115s] + CARGO_FEATURE_VENDORED=1 [ 115s] + RUSTFLAGS='-Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false' [ 115s] + /usr/bin/cargo auditable install -j3 --offline --no-track --root=/home/abuild/rpmbuild/BUILDROOT/fuc-1.1.7-3.1.x86_64/usr --path . cpz rmz [ 115s] error: could not find `cpz` in /home/abuild/rpmbuild/BUILD/fuc-1.1.7 with version `*` [ 115s] error: could not find `rmz` in /home/abuild/rpmbuild/BUILD/fuc-1.1.7 with version `*` [ 115s] Summary Failed to install cpz, rmz (see error(s) above). [ 115s] error: some crates failed to install [ 115s] error: Bad exit status from /var/tmp/rpm-tmp.VtpYef (%install)
Can be worked around with rpm.
The text was updated successfully, but these errors were encountered:
Ah, I think that's just workspace shenanigans. You probably have to install --path cpz and install --path rmz.
install --path cpz
install --path rmz
Sorry, something went wrong.
Right. With Firstyear/cargo-packaging#3 that's %{cargo_install -p cpz} in rpm.
%{cargo_install -p cpz}
rpm
[ 210s] Installing /home/abuild/rpmbuild/BUILDROOT/fuc-1.1.7-9.1.x86_64/usr/bin/cpz [ 210s] Installed package `cpz v1.1.7 (/home/abuild/rpmbuild/BUILD/fuc-1.1.7/cpz)` (executable `cpz`)
Sweeeet!
No branches or pull requests
Follow-up from #15. This is on 1.1.7 with rust 1.68. As requested
cargo install rmz cpz
:Can be worked around with rpm.
The text was updated successfully, but these errors were encountered: