Re: mock 0.8.9 will not build anything

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

<<attachment: smime.p7s>>

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux