mock 0.8.9 will not build anything

Frank Büttner frank-buettner at gmx.net
Mon Jan 21 08:47:59 UTC 2008


Lubomir Kundrak schrieb:
> On Mon, 2008-01-21 at 09:14 +0100, Frank Büttner wrote:
>> Lubomir Kundrak schrieb:
>>> What is in /var/lib/mock/epel-4-i386/root -- is there an installed
>>> buildroot? What happens when you run the following by hand (as root)?:
>> No, it is incomplete
>>> /usr/bin/yum --installroot /var/lib/mock/epel-4-i386/root update
>>>
>> fails with:
>> CRITICAL:yum.cli:Config Error: Parsing file failed: File contains no 
>> section headers.
>> file: file:///var/lib/mock/epel-4-i386/root//etc/yum.conf, line: 2
>> "config_opts['plugin_conf']['ccache_enable'] = False\n"
> 
> Soo... did you really compare your configuration with stock distribution
> one? Please show me your /etc/mock/fedora-4-i386-epel.cfg.
> 
> Thanks,

So here the file for
/etc/mock/fedora-4-i386-epel.cfg

#!/usr/bin/python -tt
import os
config_opts['root'] = 'epel-4-i386'
config_opts['target_arch'] = 'i386'
config_opts['yum.conf'] = """
config_opts['plugin_conf']['ccache_enable'] = False
[main]
cachedir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
# repos
[core]
name=base
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=os
baseurl=file:///Linux/CentOS/4/os/i386/
[update]
name=updates
#mirrorlist=http://mirrorlist.centos.org/?release=4&arch=i386&repo=updates
baseurl=file:///Linux/CentOS/4/updates/i386/
[groups]
name=groups
baseurl=http://buildsys.fedoraproject.org/buildgroups/rhel4/i386/
[extras]
name=epel
#mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-4&arch=i386
baseurl=file:///Linux/Fedora/epel/4/i386/
[local]
name=local
baseurl=http://buildsys.fedoraproject.org/plague-results/fedora-4-epel/
"""

I have only change the baseurl to use an local rsync repo in the SAN.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5766 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080121/07b851e5/attachment.bin>


More information about the fedora-devel-list mailing list