Skip to content
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

Error while trying to build RPM from .gem and .spec #27

Open
spacekookie opened this issue Jun 21, 2015 · 1 comment
Open

Error while trying to build RPM from .gem and .spec #27

spacekookie opened this issue Jun 21, 2015 · 1 comment

Comments

@spacekookie
Copy link

Step 9 : CMD rpmbuild  -ba /rpmbuild/SPECS/reedb.spec
---> Running in b635aea4c815
---> f89702171758
Successfully built f89702171758
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nxLE2X
+ umask 022
+ cd /root/rpmbuild/BUILD
+ gem unpack /root/rpmbuild/SOURCES/reedb-0.11.gem
ERROR:  While executing gem ... (Gem::Package::FormatError)
    No such file or directory @ rb_sysopen - /root/rpmbuild/SOURCES/reedb-0.11.gem

RPM build errors:

I created a tarball with a .gem file in it which is called "reedb-0.11.gem" and it seems to be unpacking it correctly.
What I don't understand is how it finds the .spec but doesn't correctly copy the .gem to the directory it needs to be in.

Not sure if this is a bug with your code. But maybe you can help me? Thanks

@shawnsi
Copy link
Owner

shawnsi commented Jun 22, 2015

Can you paste the exact command and full output? I'd also like to see a tar tf on the tarball and a copy of the spec if you can share that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants