FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

LinkBack Thread Tools
Old 09-24-2011, 09:16 AM
"Robin YB(yang)"
Default Problem with koji build system

Hello everyone, I am a new koji user. These days I was setting up koji environment on redhat6, using koji 1.6.0 and mock 1.1.12. After that, I tried to run koji build system on my own server.
Then I encountered a problem about mock. when I run the build command, the build system did not work correctly, and exited with the following information:

BuildrootError: could not init mock buildroot, mock exited with status 20.

After that, I checked the build log, and find it failed after sending this command to yum:

‚Äú/usr/bin/yum ?installroot¬* /home/fedora/mock/build0.1-build-43-28/root/
groupinstall build ‚ÄĚ

The error information is:

Warning: Group build does not have any packages.

The yum.conf directory was :


And the repodata directory was:


I checked the comps.xml and the repomd.xml in repodataÔľĆand could not find any problem.


When I use yum to run this command :

/usr/bin/yum ?installroot¬* /home/fedora/mock/build0.1-build-43-28/root/
groupinstall build

It was the same error.

But when I use other directories as the installroot, this error didn’t happen. Did someone know why did this happen?





3093 DEBUG util.py:60:¬* creating dir: /home/fedora/mock/build0.1-build-43-28/root/dev/shm

3095 DEBUG backend.py:739:¬* ['/usr/bin/yum', '--installroot', '/home/fedora/mock/build0.1-build-43-28/root/', 'groupinstall', 'build']

3096 DEBUG util.py:284:¬* Executing command: ['/usr/bin/yum', '--installroot', '/home/fedora/mock/build0.1-build-43-28/root/', 'groupinstall', 'build']

3097 DEBUG util.py:250:¬* Ignored option -c (probably due to merging -yc != -y -c)

3098 DEBUG util.py:250:¬* Warning: Group build does not have any packages.






buildsys mailing list

Thread Tools

All times are GMT. The time now is 04:50 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org