{"action":"closed","issue":{"url":"https://api.github.com/repos/chef/omnibus/issues/511","labels_url":"https://api.github.com/repos/chef/omnibus/issues/511/labels{/name}","comments_url":"https://api.github.com/repos/chef/omnibus/issues/511/comments","events_url":"https://api.github.com/repos/chef/omnibus/issues/511/events","html_url":"https://github.com/chef/omnibus/issues/511","id":94409659,"number":511,"title":"\"Could not locate or access the package at the given path\" on centos 6 ","user":{"login":"tristanjuricek","id":68132,"avatar_url":"https://avatars.githubusercontent.com/u/68132?v=3","gravatar_id":"","url":"https://api.github.com/users/tristanjuricek","html_url":"https://github.com/tristanjuricek","followers_url":"https://api.github.com/users/tristanjuricek/followers","following_url":"https://api.github.com/users/tristanjuricek/following{/other_user}","gists_url":"https://api.github.com/users/tristanjuricek/gists{/gist_id}","starred_url":"https://api.github.com/users/tristanjuricek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tristanjuricek/subscriptions","organizations_url":"https://api.github.com/users/tristanjuricek/orgs","repos_url":"https://api.github.com/users/tristanjuricek/repos","events_url":"https://api.github.com/users/tristanjuricek/events{/privacy}","received_events_url":"https://api.github.com/users/tristanjuricek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T22:59:51Z","updated_at":"2015-07-13T20:15:18Z","closed_at":"2015-07-13T20:15:18Z","body":"I'm getting the error when building an RPM on a CentOS 6 instance\r\n\r\n                        [Packager::RPM] I | Rendering `/home/perforce/.rvm/gems/ruby-2.2.2@build/bundler/gems/omnibus-438bb3561c49/resources/rpm/spec.erb' to `/tmp/helix-web-services20150710-18415-8fn1z2/SPECS/helix-web-services-2015.1+20150710224334-1.el6.x86_64.rpm.spec'\r\n                        [Packager::RPM] I | Creating .rpm file\r\n    Could not locate or access the package at the given path:\r\n    \r\n        /var/cache/omnibus/pkg/helix-web-services-2015.1+20150710224334-1.el6.x86_64.rpm\r\n\r\nWhat's strange is that CD-ing to the temp directory and running {{rpmbuild}} is working.\r\n\r\n    cd /tmp/helix-web-services20150710-18415-8fn1z2/\r\n    rpmbuild --buildroot=`pwd`/BUILD -ba SPECS/helix-web-services-2015.1+20150710224334-1.el6.x86_64.rpm.spec\r\n\r\nThe output looks like this:\r\n\r\n    Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bRGoaz\r\n    Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F88hbs \r\n    Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.VuHwcl\r\n    Processing files: helix-web-services-2015.1+20150710224334-1.el6.x86_64\r\n    Checking for unpackaged file(s): /usr/lib/rpm/check-files /tmp/helix-web-services20150710-18415-8fn1z2/BUILD\r\n    Wrote: /root/rpmbuild/SRPMS/helix-web-services-2015.1+20150710224334-1.el6.src.rpm\r\n    Wrote: /root/rpmbuild/RPMS/x86_64/helix-web-services-2015.1+20150710224334-1.el6.x86_64.rpm\r\n    Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ugf2pR\r\n\r\n(The above was run as root, but I've gotten the same results running as a normal user.) \r\n\r\nHow is the rpm getting generated from the spec? Via `rpmbuild`? I'm fairly new to omnibus so I'm not exactly sure how the source is organized.\r\n\r\nI'm using very recent versions of `omnibus` and `omnibus-software. \r\n\r\n    GIT\r\n\t  remote: git://github.com/chef/omnibus-software.git\r\n\t  revision: 2d1b0f827c0304d5e59b6da09b057f4fcbcf639e\r\n\t  specs:\r\n\t    omnibus-software (4.0.0)\r\n\r\n\tGIT\r\n\t  remote: git://github.com/chef/omnibus.git\r\n\t  revision: 438bb3561c4945110452b416448e417c42e8ba27\r\n\t  specs:\r\n\t    omnibus (4.0.0)\r\n            .... snip...."}}