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

First build of this repo after clone fails #87

Open
whowutwut opened this issue Aug 1, 2018 · 1 comment
Open

First build of this repo after clone fails #87

whowutwut opened this issue Aug 1, 2018 · 1 comment

Comments

@whowutwut
Copy link
Member

First build fails after clone, I suspect that something is not configured correctly in setting up the rpm build environment

[root@c910f02c05p03 vhu]# git clone https://github.com/xcat2/xcat-inventory.git
Cloning into 'xcat-inventory'...
remote: Counting objects: 1856, done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 1856 (delta 7), reused 5 (delta 0), pack-reused 1837
Receiving objects: 100% (1856/1856), 406.63 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1079/1079), done.
[root@c910f02c05p03 vhu]# cd xcat-inventory/
[root@c910f02c05p03 xcat-inventory]# ./makepythonrpm xcat-inventory
tar (child): /root/rpmbuild/SOURCES/xcat-inventory-0.1.4.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
xcat-inventory/
xcat-inventory/.gitignore
xcat-inventory/cli/
xcat-inventory/cli/xcat-inventory
xcat-inventory/debian/
xcat-inventory/debian/changelog
xcat-inventory/debian/compat
xcat-inventory/debian/control
xcat-inventory/debian/copyright
Building /root/rpmbuild/RPMS/noarch/xcat-inventory-0.1.4*.noarch.rpm ...
error: File /root/rpmbuild/SOURCES/xcat-inventory-0.1.4.tar.gz: No such file or directory
/usr/bin/cat: /root/rpmbuild/SOURCES/xcat-inventory-0.1.4.tar.gz: No such file or directory
error: File /root/rpmbuild/SOURCES/xcat-inventory-0.1.4.tar.gz: No such file or directory
/usr/bin/cat: /root/rpmbuild/SOURCES/xcat-inventory-0.1.4.tar.gz: No such file or directory
error: Failed to read spec file from /root/rpmbuild/SOURCES/xcat-inventory-0.1.4.tar.gz

Running again succeeds:

[root@c910f02c05p03 xcat-inventory]# ./makepythonrpm xcat-inventory
xcat-inventory/
xcat-inventory/.gitignore
xcat-inventory/cli/
xcat-inventory/cli/xcat-inventory
xcat-inventory/debian/
xcat-inventory/debian/changelog
xcat-inventory/debian/compat
xcat-inventory/debian/control
xcat-inventory/debian/copyright
xcat-inventory/debian/dirs
xcat-inventory/debian/docs
xcat-inventory/debian/install
xcat-inventory/debian/postinst
xcat-inventory/debian/rules
xcat-inventory/debian/source/
xcat-inventory/debian/source/format
xcat-inventory/deps/
xcat-inventory/deps/python-PyMySQL-0.7.6-6.2.noarch.rpm
xcat-inventory/requirements.txt
xcat-inventory/setup.py
xcat-inventory/templates/
xcat-inventory/templates/flat_cluster_template.yaml
xcat-inventory/templates/flat_kvm_cluster_template.yaml
xcat-inventory/tests/
xcat-inventory/tests/shell_test.py
xcat-inventory/xcat-inventory.spec
xcat-inventory/xcclient/
xcat-inventory/xcclient/__init__.py
xcat-inventory/xcclient/inventory/
xcat-inventory/xcclient/inventory/__init__.py
xcat-inventory/xcclient/inventory/dbfactory.py
xcat-inventory/xcclient/inventory/dbobject.py
xcat-inventory/xcclient/inventory/dbsession.py
xcat-inventory/xcclient/inventory/exceptions.py
xcat-inventory/xcclient/inventory/manager.py
xcat-inventory/xcclient/inventory/schema/
xcat-inventory/xcclient/inventory/schema/0.1/
xcat-inventory/xcclient/inventory/schema/0.1/credential.yaml
xcat-inventory/xcclient/inventory/schema/0.1/network.yaml
xcat-inventory/xcclient/inventory/schema/0.1/node.yaml
xcat-inventory/xcclient/inventory/schema/0.1/osimage.yaml
xcat-inventory/xcclient/inventory/schema/0.1/passwd.yaml
xcat-inventory/xcclient/inventory/schema/0.1/policy.yaml
xcat-inventory/xcclient/inventory/schema/0.1/route.yaml
xcat-inventory/xcclient/inventory/schema/0.1/site.yaml
xcat-inventory/xcclient/inventory/schema/0.1/zone.yaml
xcat-inventory/xcclient/inventory/schema/0.2/
xcat-inventory/xcclient/inventory/schema/0.2/credential.yaml
xcat-inventory/xcclient/inventory/schema/0.2/network.yaml
xcat-inventory/xcclient/inventory/schema/0.2/node.yaml
xcat-inventory/xcclient/inventory/schema/0.2/osimage.yaml
xcat-inventory/xcclient/inventory/schema/0.2/passwd.yaml
xcat-inventory/xcclient/inventory/schema/0.2/policy.yaml
xcat-inventory/xcclient/inventory/schema/0.2/route.yaml
xcat-inventory/xcclient/inventory/schema/0.2/site.yaml
xcat-inventory/xcclient/inventory/schema/0.2/zone.yaml
xcat-inventory/xcclient/inventory/schema/1.0/
xcat-inventory/xcclient/inventory/schema/1.0/credential.yaml
xcat-inventory/xcclient/inventory/schema/1.0/network.yaml
xcat-inventory/xcclient/inventory/schema/1.0/node.yaml
xcat-inventory/xcclient/inventory/schema/1.0/osimage.yaml
xcat-inventory/xcclient/inventory/schema/1.0/passwd.yaml
xcat-inventory/xcclient/inventory/schema/1.0/policy.yaml
xcat-inventory/xcclient/inventory/schema/1.0/route.yaml
xcat-inventory/xcclient/inventory/schema/1.0/site.yaml
xcat-inventory/xcclient/inventory/schema/1.0/zone.yaml
xcat-inventory/xcclient/inventory/shell.py
xcat-inventory/xcclient/inventory/utils.py
xcat-inventory/xcclient/inventory/vutil.py
xcat-inventory/xcclient/inventory/xcatobj.py
xcat-inventory/xcclient/shell.py
Building /root/rpmbuild/RPMS/noarch/xcat-inventory-0.1.4*.noarch.rpm ...
/root/rpmbuild/RPMS/noarch/xcat-inventory-0.1.4-c14.noarch.rpm
[root@c910f02c05p03 xcat-inventory]#
@immarvin
Copy link
Contributor

fixed in #155

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