Description of problem: installing the srpms is failing with this message, [root@QA-91 ~]# cd swift/ [root@QA-91 swift]# ls swift-1.4.8-1.src.rpm swift-plugin-1.0-1.src.rpm [root@QA-91 swift]# rpm -i swift-1.4.8-1.src.rpm warning: user makerpm does not exist - using root warning: group makerpm does not exist - using root warning: user makerpm does not exist - using root warning: group makerpm does not exist - using root [root@QA-91 swift]# rpm -i swift-plugin-1.0-1.src.rpm warning: user makerpm does not exist - using root warning: group makerpm does not exist - using root warning: user makerpm does not exist - using root warning: group makerpm does not exist - using root [root@QA-91 swift]# Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. execute the rpm -i <.rpm> 2. 3. Actual results: the failure while installing the rpms Expected results: the installation should happen without the above mentioned errors Additional info:
Building rpm's with root as user fixes the problem.
[root@QA-92 swift]# [root@QA-92 swift]# rpm -i swift-1.4.8-1.src.rpm warning: user makerpm does not exist - using root warning: group makerpm does not exist - using root [root@QA-92 swift]# rpm -i swift-plugin-1.0-1.src.rpm warning: user makerpm does not exist - using root warning: group makerpm does not exist - using root
Even though I built the rpm's as root, the files beneath still had user as makerpm. I have changed the owner as root now. It should work.
works this time without issues, [root@QA-91 ~]# ls -R rpmbuild/ rpmbuild/: SOURCES SPECS rpmbuild/SOURCES: gluster.patch gluster-swift-functions gluster-swift-proxy.init openstack-swift-nonet.patch gluster-swift-account.init gluster-swift-object.init openstack-swift-docmod.patch swift-1.4.8.tar.gz gluster-swift-container.init gluster-swift-plugin-1.0-1.tar.gz openstack-swift-newdeps.patch rpmbuild/SPECS: gluster-swift-plugin.spec gluster-swift.spec [root@QA-91 ~]#