I am having trouble using mock on Fedora 15 and am not sure what the problem is. Here are the error messages I am getting:
[bradbell@brad-home cppad]$ fedpkg mockbuild warning: Could not canonicalize hostname: brad-home.localdomain Wrote: /home/bradbell/fedpkg/cppad/cppad-20110101.5-1.fc17.src.rpm ERROR: Must be member of 'mock' group to run mock! ([]) ... snip ...
[bradbell@brad-home cppad]$ mock --version ERROR: Must be member of 'mock' group to run mock! ([])
[bradbell@brad-home cppad]$ groups mock
I am having trouble using mock on Fedora 15 and am not sure what the problem is. Here are the error messages I am getting:
[bradbell@brad-home cppad]$ fedpkg mockbuild warning: Could not canonicalize hostname: brad-home.localdomain Wrote: /home/bradbell/fedpkg/cppad/cppad-20110101.5-1.fc17.src.rpm ERROR: Must be member of 'mock' group to run mock! ([]) ... snip ... [bradbell@brad-home cppad]$ mock --version ERROR: Must be member of 'mock' group to run mock! ([]) [bradbell@brad-home cppad]$ groups mock
Try a completely fresh session, and see what id gives you.
-J
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
I rebooted the machine and still have the same problem
[bradbell@brad-home ~]$ groups mock [bradbell@brad-home ~]$ mock --version ERROR: Must be member of 'mock' group to run mock! ([]) ... snip ...
On 01/-10/-28163 11:59 AM, Jon Ciesla wrote:
I am having trouble using mock on Fedora 15 and am not sure what the problem is. Here are the error messages I am getting:
[bradbell@brad-home cppad]$ fedpkg mockbuild warning: Could not canonicalize hostname: brad-home.localdomain Wrote: /home/bradbell/fedpkg/cppad/cppad-20110101.5-1.fc17.src.rpm ERROR: Must be member of 'mock' group to run mock! ([]) ... snip ... [bradbell@brad-home cppad]$ mock --version ERROR: Must be member of 'mock' group to run mock! ([]) [bradbell@brad-home cppad]$ groups mock
Try a completely fresh session, and see what id gives you.
-J
-- packaging mailing list packaging@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/packaging
On 19/10/11 13:18, Brad Bell wrote:
I rebooted the machine and still have the same problem
[bradbell@brad-home ~]$ groups mock [bradbell@brad-home ~]$ mock --version ERROR: Must be member of 'mock' group to run mock! ([]) ... snip ...
I'm guessing bradbell has mock assigned as their default group as groups is only returning the one result?
"bradbell" must be a member of "mock" in /etc/group for mock to work. Try running "getent group mock" instead. You want it to return something like "mock:x:448:bradbell"
HTH
Dan
On 01/-10/-28163 11:59 AM, Daniel Piddock wrote:
On 19/10/11 13:18, Brad Bell wrote:
I rebooted the machine and still have the same problem
[bradbell@brad-home ~]$ groups mock [bradbell@brad-home ~]$ mock --version ERROR: Must be member of 'mock' group to run mock! ([]) ... snip ...
I'm guessing bradbell has mock assigned as their default group as groups is only returning the one result?
"bradbell" must be a member of "mock" in /etc/group for mock to work. Try running "getent group mock" instead. You want it to return something like "mock:x:448:bradbell"
HTH
Dan
Yes, the only group bradbell belonged to was mock.
I changed the groups so that now [bradbell@brad-home diabetes]$ groups bradbell mock and [bradbell@brad-home diabetes]$ getent group mock mock:x:491:bradbell I was able to build the a package in mock with these group settings.
Thanks
packaging@lists.fedoraproject.org