-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
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
Empty requirement causes install failure #14
Comments
I found I had to set auto-req = "no" and provide my own dependencies to work around this. |
@jeking3 as you mentions, workaround is to disable the automatic dependency process with setting auto-req = "no". If |
I'll close this out because it appears to be working now. I should mention I run this in the rust:1.52.1-alpine container (to make the RPM), so perhaps that's part of the problem: On alpine:
Then on centos 8:
The |
After using cargo generate-rpm I end up with an rpm that has an empty "requires":
[root@6794b4c1c5ee tmp]# rpm -q --requires /cli/target/cloudtruth-0.2.0-1.x86_64.rpm /bin/sh
This causes install to fail:
[root@6794b4c1c5ee tmp]# rpm -i /cli/target/cloudtruth-0.2.0-1.x86_64.rpm error: Failed dependencies: is needed by cloudtruth-0:0.2.0-1.x86_64
Any idea what could be causing this?
The text was updated successfully, but these errors were encountered: