From Bugzilla Helper: User-Agent: Mozilla/5.0 Galeon/1.0.2 (X11; Linux i686; U;) Gecko/20011226 Description of problem: When installing a source RPM on a system that lacks a /usr/src/redhat directory (ie: /usr/src exists, but the directory 'redhat' doesn't exist within /usr/src), rpm fails: [root@tourist SRPMS]# rpm -i gaim-0.11.0pre4-5.src.rpm error: cannot create %sourcedir /usr/src/redhat/SOURCES If /usr/src/redhat exists but directories within that, such as SOURCES and SPECS, do, then they are silently created and the install succeeds. So if /usr/src/redhat doesn't exist, I would expect it to be created during the src rpm installation. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Make sure /usr/src/redhat doesn't exist. 2. Choose any source rpm 3. as root # rpm -i foo-1.2.3.src.rpm Actual Results: error: cannot create %sourcedir /usr/src/redhat/SOURCES Expected Results: /usr/src/redhat is created, source rpm is installed normally Additional info:
The /usr/src/redhat directories are part of the rpm-build package, and are created when the rpm-build package is installed.
warning: group mockbuild does not exist - using root after installing src.rpm gives like this error why like that???? Please reply me.. via mail ashish.laxkar16